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所有者和属组是否为当前用户,若不是则删除掉两个文件,重新链接。
在这里插入图片描述
以上两个文件在该目录下
在这里插入图片描述

随着软件开发复杂度的不断提高,团队开发成员间如何更好地协同工作以确保软件开发的质量已经慢慢成为开发过程中不可回避的问题。尤其是近些年来,敏捷(Agile) 在软件工程领域越来越红火,如何能再不断变化的需求中快速适应和保证软件的质量也显得尤其的重要。 持续集成正是针对这一类问题的一种软件开发实践。它倡导团队开发成员必须经常集成他们的工作,甚至每天都可能发生多次集成。而每次的集成都是通过自动化的构建来验证,包括自动编译、发布和测试,从 情景还原: 用docker拉取jenkins最新版本 docker pull jenkins/jenkins:lts报了这个错误: Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker 一通百度,发现原来是dns服务器的错误,把服务器改成8.8.8.8或者114.114.114.114即可 具体做法: vim /etc/sysconfig/network-scripts/ifcfg-ens33 vim /et [htmlpublisher] Archiving HTML reports... [htmlpublisher] Archiving at PROJECT level /var/lib/jenkins/workspace/算法精度测试 to /var/lib/jenkins/jobs/算法精度测试/htmlreports/HTML_20Report 问题原因:宿主中 /usr/share/elasticsearch/data/nodes没有操作权限,对应的主机/opt/workspace/work/es/single没有操作权限 docker run -e ES_JAVA_OPTS="-Xms256m -Xmx256m" \ -d -p 9200:9200 -p 9300:9300 \ -v /opt/workspace/work/es/single/config/es-single.yml:/usr/share/elasticsearch/confi android 13上,取消了android.permission.WRITE_EXTERNAL_STORAGE权限,只需要申请android.permission.MANAGE_EXTERNAL_STORAGE权限。许多的字符都属于公共空间文件的不合法字符(如上图),但是在私有空间是没有这个问题的。安卓11的时候继续强化对SD卡读写的管理,引入了MANAGE_EXTERNAL_STORAGE权限,而之前的WRITE_EXTERNAL_STORAGE已经失效了。6.0之前是不需要动态申请权限的,直接在。 Found mavenVersion 3.3.9 from file jar:file:/usr/local/src/ci/apache-maven-3.3.9/lib/maven-core-3.3.9.jar!/META-INF/maven/org.apache.maven/maven-core/pom.properties Parsing POMs downloaded artifact h Linux操作提示:“Cant open file for writing”或“operation not permitted”的解决办法 在Linux上使用vi命令修改一个文件内容的时候,发现无法保存,每次写完使用“:q!”命令可以正常退出但是使用":wq!"命令保存文件并退出时出现一下信息提示: E212: Can't open file for writing Press ENTER o 问题,我们从官网上面pull下jenkins后,如果直接运行容器的没问题 docker run -d -p 8080:8080 -v jenkins:latest 不过我们可能需要映射下容器内部的地址方便查看等等,官网推荐的也是需要映射下 docker run -d -p 8080:8080 -v /root/jenkins_home:/var/jenkins_home jenki...