Skip to content

Instantly share code, notes, and snippets.

@iocanel
Created November 28, 2016 12:31
Show Gist options
  • Save iocanel/5980ad489e489720c9e38d628a83d619 to your computer and use it in GitHub Desktop.
Save iocanel/5980ad489e489720c9e38d628a83d619 to your computer and use it in GitHub Desktop.
A new build could not be created in job fabric8/pipeline-test-project/master
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at jenkins.model.lazy.LazyBuildMixIn.newBuild(LazyBuildMixIn.java:184)
at org.jenkinsci.plugins.workflow.job.WorkflowJob.createExecutable(WorkflowJob.java:252)
at hudson.model.Executor$1.call(Executor.java:358)
at hudson.model.Executor$1.call(Executor.java:340)
at hudson.model.Queue._withLock(Queue.java:1362)
at hudson.model.Queue.withLock(Queue.java:1223)
at hudson.model.Executor.run(Executor.java:340)
Caused by: java.io.IOException: Failed to create a temporary file in /var/jenkins_home/jobs/fabric8/jobs/pipeline-test-project/branches/master
at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:68)
at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:55)
at hudson.util.TextFile.write(TextFile.java:118)
at hudson.model.Job.saveNextBuildNumber(Job.java:291)
at hudson.model.Job.assignBuildNumber(Job.java:349)
at hudson.model.Run.<init>(Run.java:287)
at org.jenkinsci.plugins.workflow.job.WorkflowRun.<init>(WorkflowRun.java:161)
... 11 more
Caused by: java.io.IOException: Socket not connected
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(File.java:2024)
at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:66)
... 17 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment