java.io.FileNotFoundException: /tmp/javawogPqsh (No such file or directory)

Jenkins JIRA | Jesse Glick | 2 years ago
  1. 0

    I run {{jenkins.war}} and create a JNLP slave. I click _Launch_ and download the {{slave-agent.jnlp}} file. From a shell, I run {{javaws slave-agent.jnlp}}. (Starting it from the browser does not work in my case, perhaps due to the browser not finding the right version of {{javaws}}.) The slave agent starts up fine and is connected. Now I restart Jenkins. Suddenly the regular slave window closed, to be replaced by a Web Start dialog bq. Unable to launch the application. The (wrapped) exception is as follows: {code:none} java.io.FileNotFoundException: /tmp/javawogPqsh (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) {code} I am not sure what this means; the JNLP process was already launched before, so it should not be trying to launch it again, just make a new connection. Perhaps the slave agent (this is Remoting 2.47) is attempting to restart the entire JVM? Via {{UnixSlaveRestarter}}? The same problem occurs if I use {code:none} javaws http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp {code} without using the browser, so it is not simply a problem of the browser discarding a temporary file. But {code:none} java -jar slave.jar -jnlpUrl http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp {code} works fine: the agent retries the connection after ten seconds as expected.

    Jenkins JIRA | 2 years ago | Jesse Glick
    java.io.FileNotFoundException: /tmp/javawogPqsh (No such file or directory)
  2. 0

    [JENKINS-25895] GUI-mode JNLP slave does not reconnect after Jenkins restart (UnixSlaveRestarter broken) - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    java.io.FileNotFoundException: /tmp/javawogPqsh (No such file or directory)
  3. 0

    I run {{jenkins.war}} and create a JNLP slave. I click _Launch_ and download the {{slave-agent.jnlp}} file. From a shell, I run {{javaws slave-agent.jnlp}}. (Starting it from the browser does not work in my case, perhaps due to the browser not finding the right version of {{javaws}}.) The slave agent starts up fine and is connected. Now I restart Jenkins. Suddenly the regular slave window closed, to be replaced by a Web Start dialog bq. Unable to launch the application. The (wrapped) exception is as follows: {code:none} java.io.FileNotFoundException: /tmp/javawogPqsh (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) {code} I am not sure what this means; the JNLP process was already launched before, so it should not be trying to launch it again, just make a new connection. Perhaps the slave agent (this is Remoting 2.47) is attempting to restart the entire JVM? Via {{UnixSlaveRestarter}}? The same problem occurs if I use {code:none} javaws http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp {code} without using the browser, so it is not simply a problem of the browser discarding a temporary file. But {code:none} java -jar slave.jar -jnlpUrl http://localhost:8080/jenkins/computer/someslave/slave-agent.jnlp {code} works fine: the agent retries the connection after ten seconds as expected.

    Jenkins JIRA | 2 years ago | Jesse Glick
    java.io.FileNotFoundException: /tmp/javawogPqsh (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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 {code} 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) {code}

    Jenkins JIRA | 1 year ago | JY Hsu
    java.io.FileNotFoundException: /var/tmp/javawbNh76b (No such file or directory)
  6. 0

    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 {code} 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) {code}

    Jenkins JIRA | 1 year ago | JY Hsu
    java.io.FileNotFoundException: /var/tmp/javawbNh76b (No such file or directory)

  1. gehel 2 times, last 1 week ago
  2. Kialandei 100 times, last 1 week ago
  3. Reich 1 times, last 2 weeks ago
  4. bluebunnty 1 times, last 2 weeks ago
  5. Aria Pahlavan 1 times, last 2 weeks ago
43 more registered users
52 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    /tmp/javawogPqsh (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:138)
    3. java.io.FileInputStream.<init>(FileInputStream.java:93)
    3 frames
  3. com.sun.javaws
    Main$1.run
    1. com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    2. com.sun.javaws.Main.launchApp(Unknown Source)
    3. com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    4. com.sun.javaws.Main.access$000(Unknown Source)
    5. com.sun.javaws.Main$1.run(Unknown Source)
    5 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame