hudson.util.IOException2: Failed to open /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log

Jenkins JIRA | Cees Bos | 4 years ago
  1. 0

    We have a JNLP slave which failed to connect. On the slave side there was something about a connection reset as error. On the server side we found this in the log: {code} Feb 5, 2013 9:36:44 AM hudson.TcpSlaveAgentListener$ConnectionHandler run INFO: Accepted connection #142 from /10.1.31.168:4798 Feb 5, 2013 9:36:44 AM hudson.TcpSlaveAgentListener$ConnectionHandler run WARNING: Connection #142 failed hudson.util.IOException2: Failed to open /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log at hudson.util.io.ReopenableFileOutputStream.current(ReopenableFileOutputStream.java:58) at hudson.util.io.ReopenableFileOutputStream.write(ReopenableFileOutputStream.java:65) at hudson.remoting.ClassicCommandTransport.create(ClassicCommandTransport.java:137) at hudson.remoting.Channel.<init>(Channel.java:392) at hudson.remoting.Channel.<init>(Channel.java:388) at hudson.remoting.Channel.<init>(Channel.java:349) at hudson.remoting.Channel.<init>(Channel.java:345) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:320) at jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:120) at jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:100) at jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:44) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:150) Caused by: java.io.FileNotFoundException: /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:209) at hudson.util.io.ReopenableFileOutputStream.current(ReopenableFileOutputStream.java:56) ... 11 more {code} It appeared to be that the folder /opt/jenkins_home/logs/slaves/srv-nl-crd62 did not exist. After creating the folder, the slave could connect.

    Jenkins JIRA | 4 years ago | Cees Bos
    hudson.util.IOException2: Failed to open /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log
  2. 0

    We have a JNLP slave which failed to connect. On the slave side there was something about a connection reset as error. On the server side we found this in the log: {code} Feb 5, 2013 9:36:44 AM hudson.TcpSlaveAgentListener$ConnectionHandler run INFO: Accepted connection #142 from /10.1.31.168:4798 Feb 5, 2013 9:36:44 AM hudson.TcpSlaveAgentListener$ConnectionHandler run WARNING: Connection #142 failed hudson.util.IOException2: Failed to open /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log at hudson.util.io.ReopenableFileOutputStream.current(ReopenableFileOutputStream.java:58) at hudson.util.io.ReopenableFileOutputStream.write(ReopenableFileOutputStream.java:65) at hudson.remoting.ClassicCommandTransport.create(ClassicCommandTransport.java:137) at hudson.remoting.Channel.<init>(Channel.java:392) at hudson.remoting.Channel.<init>(Channel.java:388) at hudson.remoting.Channel.<init>(Channel.java:349) at hudson.remoting.Channel.<init>(Channel.java:345) at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:320) at jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:120) at jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:100) at jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:44) at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:150) Caused by: java.io.FileNotFoundException: /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:209) at hudson.util.io.ReopenableFileOutputStream.current(ReopenableFileOutputStream.java:56) ... 11 more {code} It appeared to be that the folder /opt/jenkins_home/logs/slaves/srv-nl-crd62 did not exist. After creating the folder, the slave could connect.

    Jenkins JIRA | 4 years ago | Cees Bos
    hudson.util.IOException2: Failed to open /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log
  3. 0

    404 error on save: Policy.error

    GitHub | 4 years ago | peller
    java.io.FileNotFoundException: /var/lib/maqetta/ws-orion/G/samples/Sample3-Mobile.html.workingcopy (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jenkins is running on freebsd platform. jenkins is added to sudoers and but still some times we are getting permission denied exception. this issue is not a consistent one but occurs frequently. throws this exception sometimes when job is triggered by SCM polling: org.tmatesoft.svn.core.SVNException: svn: E204899: Cannot write to '/usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base': /usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base (Permission denied) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:85) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:69) 07:01:49 at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.driveEditor(SVNEditModeReader.java:250) 07:01:49 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImpl.java:1503) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:192) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:76) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:38) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20) 07:01:49 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1238) 07:01:49 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) 07:01:49 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311) 07:01:49 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291) 07:01:49 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387) 07:01:49 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:157) 07:01:49 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:161) 07:01:49 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:908) 07:01:49 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:889) 07:01:49 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:872) 07:01:49 at hudson.FilePath.act(FilePath.java:906) 07:01:49 at hudson.FilePath.act(FilePath.java:879) 07:01:49 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:848) 07:01:49 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:786) 07:01:49 at hudson.model.AbstractProject.checkout(AbstractProject.java:1394) 07:01:49 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) 07:01:49 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 07:01:49 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) 07:01:49 at hudson.model.Run.execute(Run.java:1593) 07:01:49 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 07:01:49 at hudson.model.ResourceController.execute(ResourceController.java:88) 07:01:49 at hudson.model.Executor.run(Executor.java:247) 07:01:49 Caused by: org.tmatesoft.svn.core.SVNException: svn: E204899: Cannot write to '/usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base': /usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base (Permission denied) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:85) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1562) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1535) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.copyFile(SVNFileUtil.java:941) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.copyFile(SVNFileUtil.java:868) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.rename(SVNFileUtil.java:647) 07:01:49 at org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbPristines.installPristine(SvnWcDbPristines.java:225) 07:01:49 at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.installPristine(SVNWCDb.java:1343) 07:01:49 at org.tmatesoft.svn.core.internal.wc17.SVNUpdateEditor17.textDeltaEnd(SVNUpdateEditor17.java:1610) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNCancellableEditor.textDeltaEnd(SVNCancellableEditor.java:130) 07:01:49 at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.processCommand(SVNEditModeReader.java:176) 07:01:49 at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.driveEditor(SVNEditModeReader.java:232) 07:01:49 ... 29 more 07:01:49 Caused by: java.io.FileNotFoundException: /usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base (Permission denied) 07:01:49 at java.io.FileOutputStream.open(Native Method) 07:01:49 at java.io.FileOutputStream.<init>(FileOutputStream.java:209) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.createFileOutputStream(SVNFileUtil.java:1577) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1554) 07:01:49 ... 39 more 07:01:49 ERROR: Subversion update failed 07:01:49 java.io.IOException 07:01:49 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:207) 07:01:49 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:161) 07:01:49 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:908) 07:01:49 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:889) 07:01:49 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:872) 07:01:49 at hudson.FilePath.act(FilePath.java:906) 07:01:49 at hudson.FilePath.act(FilePath.java:879) 07:01:49 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:848) 07:01:49 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:786) 07:01:49 at hudson.model.AbstractProject.checkout(AbstractProject.java:1394) 07:01:49 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) 07:01:49 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 07:01:49 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) 07:01:49 at hudson.model.Run.execute(Run.java:1593) 07:01:49 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 07:01:49 at hudson.model.ResourceController.execute(ResourceController.java:88) 07:01:49 at hudson.model.Executor.run(Executor.java:247) 07:01:49 Caused by: hudson.scm.subversion.UpdaterException: failed to perform svn update 07:01:49 ... 17 more 07:01:49 Caused by: org.tmatesoft.svn.core.SVNException: svn: E204899: Cannot write to '/usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base': /usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base (Permission denied) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:85) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:69) 07:01:49 at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.driveEditor(SVNEditModeReader.java:250) 07:01:49 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.update(SVNRepositoryImpl.java:1503) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:192) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:76) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:38) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgUpdate.run(SvnNgUpdate.java:18) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) 07:01:49 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20) 07:01:49 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1238) 07:01:49 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) 07:01:49 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:311) 07:01:49 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:291) 07:01:49 at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:387) 07:01:49 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:157) 07:01:49 ... 16 more 07:01:49 Caused by: org.tmatesoft.svn.core.SVNException: svn: E204899: Cannot write to '/usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base': /usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base (Permission denied) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:85) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1562) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1535) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.copyFile(SVNFileUtil.java:941) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.copyFile(SVNFileUtil.java:868) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.rename(SVNFileUtil.java:647) 07:01:49 at org.tmatesoft.svn.core.internal.wc17.db.SvnWcDbPristines.installPristine(SvnWcDbPristines.java:225) 07:01:49 at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.installPristine(SVNWCDb.java:1343) 07:01:49 at org.tmatesoft.svn.core.internal.wc17.SVNUpdateEditor17.textDeltaEnd(SVNUpdateEditor17.java:1610) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNCancellableEditor.textDeltaEnd(SVNCancellableEditor.java:130) 07:01:49 at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.processCommand(SVNEditModeReader.java:176) 07:01:49 at org.tmatesoft.svn.core.internal.io.svn.SVNEditModeReader.driveEditor(SVNEditModeReader.java:232) 07:01:49 ... 29 more 07:01:49 Caused by: java.io.FileNotFoundException: /usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base (Permission denied) 07:01:49 at java.io.FileOutputStream.open(Native Method) 07:01:49 at java.io.FileOutputStream.<init>(FileOutputStream.java:209) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.createFileOutputStream(SVNFileUtil.java:1577) 07:01:49 at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.openFileForWriting(SVNFileUtil.java:1554) 07:01:49 ... 39 more

    Jenkins JIRA | 3 years ago | karthi Mohanraj
    org.tmatesoft.svn.core.SVNException: svn: E204899: Cannot write to '/usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base': /usr/local/jenkins/jobs/1.4/workspace/esbuild/.svn/pristine/2c/2ca0ecb32e712172207e3bf340cae6534f4fa25e.svn-base (Permission denied)
  6. 0

    File name is "invalid argument"

    areca | 5 years ago | kevinsevenseven
    com.application.areca.ApplicationException: com.application.areca.StoreException: Error during storage of Audiobooks/Living Language/All Audio Spanish/All Audio Spanish - 07 - 06 G - Ropa, colores, tallas - Clothing, colors, sizes - Cultural notes: Castilian Spanish has a 'th' sound where other Spanish has 's'.ogg : /media/Backup/2093279223/120228/Audiobooks/Living Language/All Audio Spanish/All Audio Spanish - 07 - 06 G - Ropa, colores, tallas - Clothing, colors, sizes - Cultural notes: Castilian Spanish has a 'th' sound where other Spanish has 's'.ogg (Invalid argument)

  1. tvrmsmith 1 times, last 6 days ago
  2. eti22 3 times, last 3 weeks ago
  3. tyson925 49 times, last 2 weeks ago
  4. MoYapro 1 times, last 1 month ago
  5. musketyr 3 times, last 1 month ago
24 more registered users
71 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

    /opt/jenkins_home/logs/slaves/srv-nl-crd62/slave.log (No such file or directory)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:209)
    2 frames
  3. Hudson
    ReopenableFileOutputStream.write
    1. hudson.util.io.ReopenableFileOutputStream.current(ReopenableFileOutputStream.java:56)
    2. hudson.util.io.ReopenableFileOutputStream.write(ReopenableFileOutputStream.java:65)
    2 frames
  4. Hudson :: Remoting Layer
    Channel.<init>
    1. hudson.remoting.ClassicCommandTransport.create(ClassicCommandTransport.java:137)
    2. hudson.remoting.Channel.<init>(Channel.java:392)
    3. hudson.remoting.Channel.<init>(Channel.java:388)
    4. hudson.remoting.Channel.<init>(Channel.java:349)
    5. hudson.remoting.Channel.<init>(Channel.java:345)
    5 frames
  5. Hudson
    SlaveComputer.setChannel
    1. hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:320)
    1 frame
  6. jenkins.slaves
    JnlpSlaveAgentProtocol2.handle
    1. jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:120)
    2. jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:100)
    3. jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:44)
    3 frames
  7. Hudson
    TcpSlaveAgentListener$ConnectionHandler.run
    1. hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:150)
    1 frame