Project

General

Profile

Bug #4313

osmo-bts-test left trxcon.log as root ?!?

Added by laforge about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
-
Start date:
12/06/2019
Due date:
% Done:

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?

History

#1 Updated by laforge about 2 months 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.

#2 Updated by laforge about 2 months 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

#3 Updated by pespin about 1 month 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

#4 Updated by laforge about 1 month 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.

#5 Updated by pespin about 1 month ago

Oh, good point, I'll look at that part.

#6 Updated by pespin about 1 month ago

I manually removed the logs directory in deb9build-ansible job homedir.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)