2013-09-06 10:04:59 |
Jean-Baptiste Lallement |
description |
download-slave.sh creates empty slave.jar if download fails for some reason (name resolution or network error for example) Thus the slave fails to start and download is not retried on next start.
When slave.jar is empty the error in upstart job log file is:
-----
Downloading slave.jar from http://10.97.0.1:8080/...
Error: Invalid or corrupt jarfile /var/run/jenkins/slave.jar
-----
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: jenkins-slave 1.509.2+dfsg-1
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Fri Sep 6 11:41:44 2013
MarkForUpload: True
PackageArchitecture: all
SourcePackage: jenkins
UpgradeStatus: Upgraded to saucy on 2012-01-31 (583 days ago)
modified.conffile..etc.default.jenkins.slave: [modified]
mtime.conffile..etc.default.jenkins.slave: 2013-06-04T11:35:22.211561 |
download-slave.sh creates empty slave.jar if download fails for some reason (name resolution or network error for example) Thus the slave fails to starts with the following error in upstart job log file:
-----
Downloading slave.jar from http://10.97.0.1:8080/...
Error: Invalid or corrupt jarfile /var/run/jenkins/slave.jar
-----
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: jenkins-slave 1.509.2+dfsg-1
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
Uname: Linux 3.11.0-4-generic x86_64
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
Date: Fri Sep 6 11:41:44 2013
MarkForUpload: True
PackageArchitecture: all
SourcePackage: jenkins
UpgradeStatus: Upgraded to saucy on 2012-01-31 (583 days ago)
modified.conffile..etc.default.jenkins.slave: [modified]
mtime.conffile..etc.default.jenkins.slave: 2013-06-04T11:35:22.211561 |
|