jenkins node java.nio.file.FileSystemException:xxxx/xx/:Operation not permitted
jenkins node
·
jenkins node 报错:java.nio.file.FileSystemException:xxxx/xx/:Operation not permitted
<===[JENKINS REMOTING CAPACITY]===>channel started
Dec 16, 2021 6:58:05 AM hudson.remoting.ResourceImageBoth initiateJarRetrieval
WARNING: Failed to initiate retrieval
java.nio.file.FileSystemException: /home/vivado/project/remoting/jarCache/ED/648D1153E5372F73AD803824DACC27.jar: Operation not permitted
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileAttributeViews$Basic.setTimes(UnixFileAttributeViews.java:109)
at java.nio.file.Files.setLastModifiedTime(Files.java:2306)
at hudson.remoting.FileSystemJarCache.lookInCache(FileSystemJarCache.java:78)
at hudson.remoting.JarCacheSupport.resolve(JarCacheSupport.java:49)
at hudson.remoting.ResourceImageBoth.initiateJarRetrieval(ResourceImageBoth.java:50)
at hudson.remoting.ResourceImageBoth.resolve(ResourceImageBoth.java:23)
at hudson.remoting.RemoteClassLoader.loadRemoteClass(RemoteClassLoader.java:284)
at hudson.remoting.RemoteClassLoader.loadWithMultiClassLoader(RemoteClassLoader.java:264)
at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:223)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:132)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1986)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1850)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2160)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1667)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:503)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:461)
at hudson.remoting.UserRequest.deserialize(UserRequest.java:289)
at hudson.remoting.UserRequest.perform(UserRequest.java:189)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:376)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Agent JVM has not reported exit code. Is it still running?
[12/16/21 06:58:08] Launch failed - cleaning up connection
[12/16/21 06:58:08] [SSH] Connection closed.
ERROR: Connection terminated
java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2799)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3274)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:934)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:396)
at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
at hudson.remoting.Command.readFrom(Command.java:142)
at hudson.remoting.Command.readFrom(Command.java:128)
at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:61)
Caused: java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:75)
原因如下:查看remoting/与remoting.jay所有者和属组是否为当前用户,若不是则删除掉两个文件,重新链接。
以上两个文件在该目录下
更多推荐
已为社区贡献1条内容
所有评论(0)