Giter Site home page Giter Site logo

jenkins_tools's People

Contributors

dirk-thomas avatar kuj1pal avatar tfoote avatar wmeeusse avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jenkins_tools's Issues

job generation is failing to open a file for writing and crashing

This is probably a failure to create the temp directory.

While we're looking at this the folder seems to be hard coded to /tmp/workspace. Is that necessary?

http://jenkins.willowgarage.com:8080/job/_fuerte-reconfigure-doc-jobs/135/console

Started by timer
Building on master in workspace /var/lib/jenkins/jobs/_fuerte-reconfigure-doc-jobs/workspace
[workspace] $ /bin/sh -xe /tmp/hudson8696979435589961911.sh
+ generate_jenkins_doc fuerte --delete
Cloning into '/tmp/tmp4OumBq'...
Building list of repos for distro fuerte
Created Jenkins instance
Traceback (most recent call last):
  File "/usr/bin/generate_jenkins_doc", line 97, in <module>
    main()
  File "/usr/bin/generate_jenkins_doc", line 75, in main
    jenkins_tools.run_jenkins_periodic(jenkins_instance, u, a, job_name, "[email protected]", "nightly", "doc", [ros_distro, s], info['username'], priority=30)
  File "/usr/lib/pymodules/python2.7/jenkins_tools/run_jenkins.py", line 107, in run_jenkins_periodic
    _update_jenkins_job(jenkins_instance, jc, ubuntu_distro, arch, job_name, email, script, script_args, user_name, params, matrix=matrix, priority=priority)
  File "/usr/lib/pymodules/python2.7/jenkins_tools/run_jenkins.py", line 76, in _update_jenkins_job
    with open('/tmp/workspace/gen_jobs/%s.xml' % job_name, 'w') as f:
IOError: [Errno 2] No such file or directory: '/tmp/workspace/gen_jobs/doc-fuerte-image_pipeline.xml'
Build step 'Execute shell' marked build as failure
Sending e-mails to: [email protected]
Finished: FAILURE

devel and doc builds are deadlocking on the flock

udevd appears to be locking the file too. After a few retries repeatedly failing it has stopped failing.

root@host03:~# strace -p 9201
Process 9201 attached - interrupt to quit
flock(3, LOCK_EX^C <unfinished ...>
Process 9201 detached
root@host03:~# readlink /proc/9201/fd/3
/var/cache/pbuilder/jenkins_tools.trusty.amd64-0.4.1.updatelock
root@host03:~# lsof /var/cache/pbuilder/jenkins_tools.trusty.amd64-0.4.1.updatelock
COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
flock    9201 root    3u   REG  253,3        0 1408567 /var/cache/pbuilder/jenkins_tools.trusty.amd64-0.4.1.updatelock
udevd   25361 root    3r   REG  253,3        0 1408567 /var/cache/pbuilder/jenkins_tools.trusty.amd64-0.4.1.updatelock

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.