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

JNLP slave agent on Mac disconnects very often

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • remoting
    • None
    • Mac OS X 10.10 slave node. Jenkins 1.599 master.

      I start the slave agent with downloaded jnlp file and javaws, because I am running iOS automation and that is a must. The problem is that the slave agent disconnects from the master several times a day, and sometimes during the test was running. This is extremely problematic and makes our pipeline very unstable. The error log is almost the same with Issue JENKINS-25490, but I can be sure that this is neither a duplicate of that nor Issue JENKINS-24272, because in 1.599 those should have already been fixed. Besides, my master was not restarting. The slave just dropped. Here is the log at the slave agent

      CouldNotLoadArgumentException[ Could not load file/URL specified: /tmp/javawJ3YZLo]
      at com.sun.javaws.Main.launchApp(Unknown Source)
      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      at com.sun.javaws.Main.access$000(Unknown Source)
      at com.sun.javaws.Main$1.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:745)
      
      Wrapped Exception:
      java.io.FileNotFoundException: /var/tmp/javawbNh76b (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.<init>(FileInputStream.java:138)
      at java.io.FileInputStream.<init>(FileInputStream.java:93)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
      at com.sun.javaws.Main.launchApp(Unknown Source)
      at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
      at com.sun.javaws.Main.access$000(Unknown Source)
      at com.sun.javaws.Main$1.run(Unknown Source)
      at java.lang.Thread.run(Thread.java:745)
      

            Unassigned Unassigned
            k76154 JY Hsu
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: