The error itself means the Agent has had no response. Check the Agent side 
log/status.

For example, I've seen one time the Agent is executing an command waiting 
for user input, causing this error.

On Monday, April 6, 2020 at 12:08:00 PM UTC-5, David Foley wrote:
>
> Hi All,
>
> Currently I'm having an Issue with jenkins Hearbeat Timeout, during my 
> build stage within a Pipeline: Within my build Stage I'm after adding in a 
> System.setPropery but still this doesn't seem to dealing with the Timout of 
> 10Mins
>
>   stage('Creating Virutal Machine'){
>             script {
>                 System.setProperty(
> "org.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL"
> , "86400");
>                 
>             }
>          withCredentials([usernamePassword(credentialsId: '', 
> passwordVariable: 'local_pass', usernameVariable: 'local_user'), 
> usernamePassword(credentialsId: 'ServiceAccount', passwordVariable: 'pass'
> , usernameVariable: 'user')]) { 
>              if (params.Second_Drive == "Yes" ) {
>                 sh label: '', script: '''ansible-playbook create_vm1.yaml 
>  --extra-vars "vcenter='$vCenter' password=$pass cluster='$Cluster' 
> datacenter='$DataCenter' VM_Name='$Virtual_Machine_Name' template='
> $Template' datastore='$DataStore' network_name='$Network' ip=$IP_ADDRESS 
> domain=$Domain netmask=$Netmask gateway=$Gateway local_pass=$local_pass 
> mb=$RAM cpu=$CPU"'''
>              }
>              else {
>                  sh label: '', script: '''ansible-playbook create_vm.yaml 
>  --extra-vars "vcenter='$vCenter' password=$pass cluster='$Cluster' 
> datacenter='$DataCenter' VM_Name='$Virtual_Machine_Name' template='
> $Template' datastore='$DataStore' network_name='$Network' ip=$IP_ADDRESS 
> domain=$Domain netmask=$Netmask gateway=$Gateway local_pass=$local_pass 
> mb=$RAM cpu=$CPU"'''
>              } 
>          }
>     }
>
> But most of the time the jobs within Jenkins seems to Error out / Time out 
> with the following: 
>
>
>
> TASK [Virtual Machine customization] 
> *******************************************
> wrapper script does not seem to be touching the log file in 
> /var/jenkins_home/workspace/vSphere/Virtual Machine 
> Creation@tmp/durable-7b8a591f
> (JENKINS-48300: if on an extremely laggy filesystem, consider 
> -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/33541317-add1-4c94-9644-5256f5acb848%40googlegroups.com.

Reply via email to