Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins suddenly showing "wrapper script does not seem to be touching the log file" and times out with a FAILURE message

I've been using Jenkins for years in a LEMP stack environment. Once I upgraded it to 2.164.3 with all the plugins installed, most of the non-heavy commands are running just fine, however, commands like npm install and npm run build are throwing the following error:

chunk {11} 11.e29c3bf0e5c6dc0d1345.js () 67 kB  [rendered]
chunk {12} 12.feab1e5f3e9fe4c5151d.js () 67.4 kB  [rendered]
chunk {13} 13.b50c5fcbf01d8b109ca8.js () 8.25 kB  [rendered]
chunk {14} 14.7fd9fd5c4ed7b4abee56.js () 5.84 kB  [rendered]
wrapper script does not seem to be touching the log file in /var/lib/jenkins/workspace/XXXXXXX/XXXXXXXStagingDashboard@tmp/durable-d0e65b91
(JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
[Pipeline] }
$ ssh-agent -k
unset SSH_AUTH_SOCK;

These are screenshots of the error logs I can see in Jenkins Log and Durable Plugin logs.

enter image description here

enter image description here

enter image description here

This is the job logs showing the error while executing npm run build prod.

enter image description here

This is the groovy script triggering the job:

enter image description here

I tried to add the edit HEARTBEAT interval using the below but it only ended up waiting more time to get the same error at the end: enter image description here

What do you guys advise?!

like image 576
Ghassan Zein Avatar asked May 24 '19 11:05

Ghassan Zein


1 Answers

This could be due to lack of memory in your server. i had this problem due to low memory. Job was executed successfully after I run the job following a reboot

like image 84
Gihan Avatar answered Nov 15 '22 05:11

Gihan