jenkins-slave package fails to upgrade if jenkins server is unreachable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jenkins (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This is a bit of a corner case but if for some reason jenkins slave is already configured and upgraded but jenkins server is unreachable, then the package upgrade hangs forever while trying to download slave.jar on start.
The process list is:
\_ /bin/sh /var/lib/
\_ /bin/sh /usr/sbin/
\_ start jenkins-slave
[...]
/bin/sh -e /proc/self/fd/9
\_ /bin/sh /usr/share/
\_ wget -q -O /var/run/
download-slave.sh could check the availability of the server before trying to download slave.jar.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: jenkins (not installed)
ProcVersionSign
Uname: Linux 3.11.0-1-generic x86_64
ApportVersion: 2.12-0ubuntu3
Architecture: amd64
Date: Wed Aug 14 21:47:34 2013
InstallationDate: Installed on 2012-10-25 (293 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: jenkins
UpgradeStatus: Upgraded to saucy on 2012-12-02 (255 days ago)