[Qa-jenkins-dev] Bug#864414: Bug#864414: timeout and retry for reproducible_setup_fdroid_build_environment

Holger Levsen holger at layer-acht.org
Thu Jun 8 17:35:58 UTC 2017


Hi Hans,

On Thu, Jun 08, 2017 at 11:34:05AM +0200, Hans-Christoph Steiner wrote:
> We would like to configure Build Timeout and Naginator for the
> reproducible_setup_fdroid_build_environment job on pb7 so that the build
> times out after 12 hours.  Then if the build times out, it should retry
> it.  The Build Timeout plugin when used with the Naginator plugin
> provides this exact feature, calling it "Abort and restart the build".
> 
> Sometimes the VMs just hang forever, we don't know why.  But rerunning
> the job then works fine.  Here is an example, it failed after the whole
> VM was created, then it hung while trying to build an app with it:
> https://jenkins.debian.net/job/reproducible_setup_fdroid_build_environment/11/
> 
> I would submit a pull request myself, but I couldn't figure out how to
> enable this in the Jenkins YAML.

I'm not sure exactly how to do this combination, but job-cfg/packages-tests.yaml
shows how to configure the naginator plugin (search for that string…) and
job-cfg/packages-tests.yaml shows how to configure the timeout plugin (search
for timeout).

https://docs.openstack.org/infra/jenkins-job-builder/publishers.html describes
how to configure the naginator plugin, 
https://docs.openstack.org/infra/jenkins-job-builder/wrappers.html the timeout
plugin.


-- 
cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/qa-jenkins-dev/attachments/20170608/0c1ad109/attachment.sig>


More information about the Qa-jenkins-dev mailing list