Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4686

Build 328: Tomcat returns 404 Error When Using Python URLLIB library

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • core
    • None
    • Platform: Other, OS: Linux

      I upgraded my Hudson site from 320 to 328 (and then 329). Doing so caused some
      outside scripts to stop working correctly. The outside scripts are written in
      Python, and use the Hudson Python API, but the bug isn't directly related to the
      API.

      The issue occurs when I try to call for a build in builds 328 and 329. For
      instance, if I call:

      http://myserver:8080/job/mybuild/build?delay=0sec

      using Python's urllib2.urlopen call, python raises a "404 File Not Found"
      exception back. When I capture the error and view it in a browser, it's the
      standard Tomcat "file not found" error. The build still occurs, but because
      there python raises the exception and I don't get a response object, the rest of
      my script fails. I also tried this call with other python HTTP objects and they
      all fail.

      If I switch Hudson back to build 320, the problem goes away and I get the
      response that I'm expecting.

      Since I jumped from 320 to 328, I don't know exactly when this started. Let me
      know if you need me to do some experimenting to tell you exactly when the issue
      starting happening.

            Unassigned Unassigned
            seanman1 seanman1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: