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

Sauce OnDemand fails to start up

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      * Debug messages will be sent to sauce_connect.log
      Exception in thread "MainThread" Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "__pyclasspath__/sauce_connect.py", line 649, in setup_logging
        File "/var/lib/jenkins/plugins/sauce-ondemand/WEB-INF/lib/sauce-connect-3.0.18.jar/Lib/logging/handlers.py", line 109, in __init__
        File "/var/lib/jenkins/plugins/sauce-ondemand/WEB-INF/lib/sauce-connect-3.0.18.jar/Lib/logging/handlers.py", line 61, in __init__
        File "/var/lib/jenkins/plugins/sauce-ondemand/WEB-INF/lib/sauce-connect-3.0.18.jar/Lib/logging/__init__.py", line 770, in __init__
      IOError: (13, 'Permission denied', 'sauce_connect.log')
      

      Not sure where this is being thrown, the Jenkins process can definitely access /var/lib/jenkins on the master (that's its home directory)

      Ideally this shouldn't break the connector like this, but my hunch is that some how the slave is starting the tunnel and using a current working directory from the master (/var/lib/jenkins doesn't exist on the slaves).

      Check out the FilePath class which should help generate safe paths on slaves

        Attachments

          Activity

          rtyler R. Tyler Croy created issue -
          rossrowe Ross Rowe made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          rossrowe Ross Rowe made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 143671 ] JNJira + In-Review [ 190672 ]

            People

            Assignee:
            rossrowe Ross Rowe
            Reporter:
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: