Bug #4313
closedosmo-bts-test left trxcon.log as root ?!?
100%
Description
See https://jenkins.osmocom.org/jenkins/view/TTCN3/job/ttcn3-bts-test/726/console
Started by timer Running as SYSTEM Building remotely on build2-deb9build-ansible (ttcn3 obs osmo-gsm-tester-build osmocom-gerrit-debian9 osmocom-master-debian9 coverity) in workspace /home/osmocom-build/jenkins/workspace/ttcn3-bts-test No credentials specified Wiping out workspace first. jenkins.util.io.CompositeIOException: Unable to delete '/home/osmocom-build/jenkins/workspace/ttcn3-bts-test'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
root@build2-deb9build-ansible:/home/osmocom-build/jenkins/workspace/ttcn3-bts-test# ls -lR . .: total 4 drwxr-xr-x 3 osmocom-build osmocom-build 4096 Dec 6 07:00 logs ./logs: total 4 drwxr-xr-x 3 root root 4096 Dec 5 07:01 trxcon ./logs/trxcon: total 2648 -rw-r--r-- 1 root root 2701494 Dec 5 07:40 trxcon.log drwxr-xr-x 2 root root 4096 Dec 5 07:01 unix ./logs/trxcon/unix:
I'm not quite sure how that would happen?
Updated by laforge over 4 years ago
I manually removed the respective files and re-triggered the job. However, it remains to be investigated how this happens and how to prevent it in the future.
Updated by laforge over 4 years ago
- Assignee changed from osmith to pespin
- Priority changed from Normal to Urgent
Actually I think it's Icd243b62b8c80cdb2c2f09e1308f00565589c0e7 which is to be blamed, re-assigning to pespin
Updated by pespin over 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed by:
https://gerrit.osmocom.org/c/docker-playground/+/16524 ttcn3-bts: Fix trxcon docker volume dir created as root
Updated by laforge over 4 years ago
On Mon, Dec 09, 2019 at 10:51:47AM +0000, pespin [REDMINE] wrote:
https://gerrit.osmocom.org/c/docker-playground/+/16524 ttcn3-bts: Fix trxcon docker volume dir created as root
the question is: who will log into all the build slaves and change (or remove) the root-owned directory?
I think without that, it's not fixed yet.
Updated by pespin over 4 years ago
I manually removed the logs directory in deb9build-ansible job homedir.