Some builds started to fail with "unknown user: jenkins-build"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android Infrastructure |
Fix Released
|
Critical
|
Paul Sokolovsky |
Bug Description
Well, it's not that they "started", we had such cases previously, but it's more or less common pattern lately, like at least 3-4 cases in last 2 weeks.
From build log:
++ sudo -E -H -u jenkins-build bash -es TUFOSUZFU1RfUkV
sudo: unknown user: jenkins-build
I.e. it happens when initial bootstrap build script switches from root to start actual build-specific script.
Related branches
- James Tunnicliffe (community): Approve
-
Diff: 33 lines (+9/-10)1 file modifiednode/setup-build-android (+9/-10)
- James Tunnicliffe (community): Approve
- Linaro Infrastructure: Pending requested
-
Diff: 66 lines (+21/-5)1 file modifiednode/setup-build-android (+21/-5)
- James Tunnicliffe (community): Approve
- Linaro Infrastructure: Pending requested
-
Diff: 37 lines (+10/-3)1 file modifiednode/setup-build-android (+10/-3)
Changed in linaro-android-infrastructure: | |
importance: | Undecided → Medium |
summary: |
- Some build starte dto fail with "unknown user: jenkins-build" + Some builds started to fail with "unknown user: jenkins-build" |
Changed in linaro-android-infrastructure: | |
status: | Fix Committed → In Progress |
From the corresponding slave init log (slave- i-6942a70d. log):
Get:51 http:// us-east- 1.ec2.archive. ubuntu. com.s3. amazonaws. com/ubuntu/ natty/main uuid-dev amd64 2.17.2-9.1ubuntu4 [28.3 kB] us-east- 1.ec2.archive. ubuntu. com.s3. amazonaws. com/ubuntu/ pool/main/ libx/libxdmcp/ libxdmcp- dev_1.1. 0-1ubuntu1_ amd64.deb Size mismatch us-east- 1.ec2.archive. ubuntu. com.s3. amazonaws. com/ubuntu/ pool/main/ x/x11proto- input/x11proto- input-dev_ 2.0.1-1ubuntu1_ all.deb Size mismatch us-east- 1.ec2.archive. ubuntu. com.s3. amazonaws. com/ubuntu/ pool/main/ x/x11proto- kb/x11proto- kb-dev_ 1.0.5-1_ all.deb Size mismatch us-east- 1.ec2.archive. ubuntu. com.s3. amazonaws. com/ubuntu/ pool/main/ libx/libxcb/ libxcb1- dev_1.7- 2ubuntu2_ amd64.deb Size mismatch us-east- 1.ec2.archive. ubuntu. com.s3. amazonaws. com/ubuntu/ pool/main/ libx/libx11/ libx11- dev_1.4. 2-1ubuntu3_ amd64.deb Size mismatch 1299864outputs (331major+ 1445498minor) pagefaults 0swaps
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Failed to fetch http://
Fetched 95.3 MB in 26s (3,646 kB/s)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Command exited with non-zero status 100
14.69user 10.20system 1:09.70elapsed 35%CPU (0avgtext+0avgdata 103344maxresident)k
33304inputs+
Verifying that java exists
java full version "1.6.0_26-b03"
Copying slave.jar
Launching slave agent