Jenkins管道错误:rsync:[发送方]写入错误:管道破裂(32);套接字IO错误(代码10);收到信号1(代码19)
发布时间:2022-05-01 01:46:59 363
相关标签: # bootstrap# 服务器# jenkins# git# 服务器
试图通过jenkins部署分支,推送到git,jenkins hook开始管道线程部署,5个服务器阵列配置相同,第一个部署,第二个部署此错误:
命令:
rsync -achvv --no-t --no-p --no-g --info=name,misc,stats2 --out-format='[%o] %n (%b/%l bytes)' --delete-after --exclude-from '.gitignore' --exclude '*.git*' --exclude '.rsync-filter' . '//somepath...'— sync files to //somepath...
第一个服务器输出:
[2022-04-26T23:32:10.961Z] + rsync -achvv --no-t --no-p --no-g --info=name,misc,stats2 '--out-format=[%o] %n (%b/%l bytes)' --delete-after --exclude-from .gitignore --exclude '*.git*' --exclude .rsync-filter . //1st_server_path
[2022-04-26T23:32:11.529Z] building file list ...
[2022-04-26T23:32:11.529Z] [sender] hiding directory .git because of pattern *.git*
[2022-04-26T23:32:11.529Z] [sender] hiding file .gitattributes because of pattern *.git*
[2022-04-26T23:32:11.529Z] [sender] hiding file .gitignore because of pattern *.git*
[2022-04-26T23:32:11.529Z] [sender] hiding file .rsync-filter because of pattern .rsync-filter
[2022-04-26T23:32:12.084Z] [sender] hiding file app/Listeners/.gitkeep because of pattern *.git*
[2022-04-26T23:32:12.340Z] [sender] hiding file app/Policies/.gitkeep because of pattern *.git*
[2022-04-26T23:32:12.340Z] [sender] hiding file bootstrap/cache/.gitignore because of pattern *.git*
[2022-04-26T23:32:12.340Z] [sender] hiding file database/.gitignore because of pattern *.git*
[2022-04-26T23:32:12.340Z] [sender] hiding file database/migrations/.gitkeep because of pattern *.git*
[2022-04-26T23:32:13.266Z] [sender] hiding file database/seeds/.gitkeep because of pattern *.git*
[2022-04-26T23:32:13.520Z] [sender] hiding directory public/js/plugins because of pattern /public/js/plugins
[2022-04-26T23:32:14.885Z] [sender] hiding directory storage/app because of pattern /storage/app
[2022-04-26T23:32:14.885Z] [sender] hiding directory storage/framework because of pattern /storage/framework
[2022-04-26T23:32:14.885Z] [sender] hiding directory storage/logs because of pattern /storage/logs
[2022-04-26T23:32:14.885Z] done
[2022-04-26T23:44:21.806Z] delta-transmission disabled for local transfer or --whole-file
[2022-04-26T23:44:21.806Z] total: matches=0 hash_hits=0 false_alarms=0 data=0
[2022-04-26T23:51:58.442Z] deleting in .
[2022-04-26T23:51:58.442Z] [generator] protecting file - Copia.gitignore because of pattern *.git*
[2022-04-26T23:51:58.442Z] [generator] protecting file .env because of pattern .env
[2022-04-26T23:51:58.442Z] [generator] protecting file .gitattributes because of pattern *.git*
[2022-04-26T23:51:58.442Z] [generator] protecting file .gitignore because of pattern *.git*
[2022-04-26T23:51:58.442Z] [generator] protecting file .rsync-filter because of pattern .rsync-filter
[2022-04-26T23:51:58.442Z] [generator] protecting directory vendor because of pattern /vendor
[2022-04-26T23:51:58.442Z] [generator] protecting file web.config because of pattern web.config
[2022-04-26T23:51:58.442Z] [generator] protecting file app/Listeners/.gitkeep because of pattern *.git*
[2022-04-26T23:51:58.442Z] [generator] protecting file app/Policies/.gitkeep because of pattern *.git*
[2022-04-26T23:51:58.443Z] [generator] protecting file bootstrap/cache/.gitignore because of pattern *.git*
[2022-04-26T23:51:58.443Z] [del.] bootstrap/cache/services.php (0/0 bytes)
[2022-04-26T23:51:58.443Z] [generator] protecting file database/.gitignore because of pattern *.git*
[2022-04-26T23:51:58.443Z] [generator] protecting file database/migrations/.gitkeep because of pattern *.git*
[2022-04-26T23:51:58.443Z] [generator] protecting file database/seeds/.gitkeep because of pattern *.git*
[2022-04-26T23:51:58.443Z] [generator] protecting file public/anexos because of pattern /public/anexos
[2022-04-26T23:51:58.443Z] [generator] protecting file public/app because of pattern /public/app
[2022-04-26T23:51:58.443Z] [generator] protecting file public/uploads because of pattern /public/uploads
[2022-04-26T23:51:58.443Z] [generator] protecting directory public/js/plugins because of pattern /public/js/plugins
[2022-04-26T23:51:58.443Z] [generator] protecting file resources/views/vendor/.gitkeep because of pattern *.git*
[2022-04-26T23:51:58.443Z] cannot delete non-empty directory: resources/views/vendor
[2022-04-26T23:51:58.443Z] [generator] protecting directory storage/app because of pattern /storage/app
[2022-04-26T23:51:58.443Z] [generator] protecting directory storage/framework because of pattern /storage/framework
[2022-04-26T23:51:58.443Z] [generator] protecting directory storage/logs because of pattern /storage/logs
[2022-04-26T23:51:58.443Z]
[2022-04-26T23:51:58.443Z] Number of files: 1,472 (reg: 1,266, dir: 206)
[2022-04-26T23:51:58.443Z] Number of created files: 0
[2022-04-26T23:51:58.443Z] Number of deleted files: 1 (reg: 1)
[2022-04-26T23:51:58.443Z] Number of regular files transferred: 0
[2022-04-26T23:51:58.443Z] Total file size: 26.37M bytes
[2022-04-26T23:51:58.443Z] Total transferred file size: 0 bytes
[2022-04-26T23:51:58.443Z] Literal data: 0 bytes
[2022-04-26T23:51:58.443Z] Matched data: 0 bytes
[2022-04-26T23:51:58.443Z] File list size: 65.53K
[2022-04-26T23:51:58.443Z] File list generation time: 3.087 seconds
[2022-04-26T23:51:58.443Z] File list transfer time: 0.000 seconds
[2022-04-26T23:51:58.443Z] Total bytes sent: 70.59K
[2022-04-26T23:51:58.443Z] Total bytes received: 78
[2022-04-26T23:51:58.443Z]
[2022-04-26T23:51:58.443Z] sent 70.59K bytes received 78 bytes 98.23 bytes/sec
[2022-04-26T23:51:58.443Z] total size is 26.37M speedup is 373.15
第二服务器
[2022-04-26T23:52:01.517Z] + rsync -achvv --no-t --no-p --no-g --info=name,misc,stats2 '--out-format=[%o] %n (%b/%l bytes)' --delete-after --exclude-from .gitignore --exclude '*.git*' --exclude .rsync-filter . //2nd_server_path
[2022-04-26T23:52:02.466Z] building file list ...
[2022-04-26T23:52:02.466Z] [sender] hiding directory .git because of pattern *.git*
[2022-04-26T23:52:02.466Z] [sender] hiding file .gitattributes because of pattern *.git*
[2022-04-26T23:52:02.466Z] [sender] hiding file .gitignore because of pattern *.git*
[2022-04-26T23:52:02.466Z] [sender] hiding file .rsync-filter because of pattern .rsync-filter
[2022-04-26T23:52:03.022Z] [sender] hiding file app/Listeners/.gitkeep because of pattern *.git*
[2022-04-26T23:52:03.277Z] [sender] hiding file app/Policies/.gitkeep because of pattern *.git*
[2022-04-26T23:52:03.277Z] [sender] hiding file bootstrap/cache/.gitignore because of pattern *.git*
[2022-04-26T23:52:03.277Z] [sender] hiding file database/.gitignore because of pattern *.git*
[2022-04-26T23:52:03.277Z] [sender] hiding file database/migrations/.gitkeep because of pattern *.git*
[2022-04-26T23:52:04.199Z] [sender] hiding file database/seeds/.gitkeep because of pattern *.git*
[2022-04-26T23:52:04.454Z] [sender] hiding directory public/js/plugins because of pattern /public/js/plugins
[2022-04-26T23:52:05.837Z] [sender] hiding directory storage/app because of pattern /storage/app
[2022-04-26T23:52:05.837Z] [sender] hiding directory storage/framework because of pattern /storage/framework
[2022-04-26T23:52:05.837Z] [sender] hiding directory storage/logs because of pattern /storage/logs
[2022-04-26T23:52:05.837Z] done
[2022-04-26T23:54:12.295Z] delta-transmission disabled for local transfer or --whole-file
[2022-04-26T23:54:12.295Z] [send] //2nd_server_path/someController.php (170383/170320 bytes)
[2022-04-27T00:02:04.022Z] [send] //2nd_server_path/someView.php (26960/26915 bytes)
[2022-04-27T00:02:04.022Z] [send] //2nd_server_path/otherView.php (39888/39841 bytes)
[2022-04-27T00:03:40.493Z] [send] //2nd_server_path/view/report.blade.php (4367/4324 bytes)
[2022-04-27T00:03:40.493Z] rsync: [sender] write error: Connection reset by peer (104)
[2022-04-27T00:03:40.493Z] rsync error: error in socket IO (code 10) at io.c(823) [sender=3.2.3]
[2022-04-27T00:03:40.493Z] rsync error: received SIGUSR1 (code 19) at main.c(1592) [generator=3.2.3]
script returned exit code 10
注意事项:以前被手动覆盖的文件都是服务器!
为什么第一台服务器部署,第二台服务器出错?
特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报