-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.193
external-workspace-manager-plugin 1.20
pipeline 2.6
I have a pipeline Job that does some simple checks for all nodes every 5 minutes.
Sometimes (something like twice a day) this job fails with ConcurrentModificationException in ExwsAllocateActionImpl (on a Windows node while accessing a file on the network). This has been happening ever since but I didn't bother because the next build ran fine again.
But since some updates (in July or August) the build hangs in a strange state after this exception.
Somehow the build is still running although it is failed already.
Therefore the next build doesn't run because it waits for the previous build to finish (I configured to not allow concurrent builds).
I can't abort the failed build because it is already failed.
So I have to delete the failed build in order to get the next build running.
It doesn't happen anymore since I switched "Pipeline speed/durability override" from
performance optimized to maximum durability
Log:
Started by timer
Running in Durability level: PERFORMANCE_OPTIMIZED
[Pipeline] Start of Pipeline
[Pipeline] stage
[Pipeline] { (master)
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] node
Running on Jenkins in /rsync/JenkinsJobs/workspace/work_ServerCheck
[Pipeline] {
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] isUnix
[Pipeline] sh
+ df /rsync
[Pipeline] sh
+ uptime
[Pipeline] isUnix
[Pipeline] isUnix
[Pipeline] echo
master: 37.99999952316284
[Pipeline] echo
we have 34710392 bytes left on master
[Pipeline] fileOperations
File Delete Operation:
/rsync/JenkinsJobs/workspace/work_ServerCheck/build_152473_master.txt deleting....
Success.
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] writeFile
[Pipeline] exwsAllocate
Disk allocation strategy was not provided as step parameter. Fallback to the strategy defined in the Jenkins global config
Using Disk allocation strategy: 'Select the Disk with the most usable space'
Selected Disk ID 'S_Produkte__Builds' from the Disk Pool ID 'ArchivedBuilds'
The path on Disk is: unmerged/work_ServerCheck
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Running in /media/Builds/unmerged/work_ServerCheck
[Pipeline]
[Pipeline] // exws
[Pipeline] fileOperations
File Copy Operation:
/rsync/JenkinsJobs/workspace/work_ServerCheck/build_152474_master.txt
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Running in /media/Builds/unmerged/work_ServerCheck
[Pipeline]
[Pipeline] // exws
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (domvsaf1)
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] node
Running on domvsaf1 in /rsync/JenkinsJobs/workspace/work_ServerCheck
[Pipeline] { [Pipeline] sleep Sleeping for 1 sec [Pipeline] isUnix [Pipeline] sh + df /rsync [Pipeline] sh + uptime [Pipeline] isUnix [Pipeline] isUnix [Pipeline] echo domvsaf1: 0.9999999776482582 [Pipeline] echo we have 39575068 bytes left on domvsaf1 [Pipeline] fileOperations File Delete Operation: [Pipeline] sleep Sleeping for 1 sec /rsync/JenkinsJobs/workspace/work_ServerCheck/build_152473_domvsaf1.txt deleting.... Success. [Pipeline] writeFile [Pipeline] exwsAllocate Disk allocation strategy was not provided as step parameter. Fallback to the strategy defined in the Jenkins global config Using Disk allocation strategy: 'Select the Disk with the most usable space' Selected Disk ID 'S_Produkte__Builds' from the Disk Pool ID 'ArchivedBuilds' The path on Disk is: unmerged/work_ServerCheck [Pipeline] exws Searching for disk definitions in the External Workspace Templates from Jenkins global config Running in /media/Builds/unmerged/work_ServerCheck [Pipeline] \{ [Pipeline] pwd [Pipeline] fileOperations File Delete Operation: [Pipeline] sleep Sleeping for 1 sec /media/Builds/unmerged/work_ServerCheck/build_152473_domvsaf1.txt deleting.... Success. [Pipeline] }
[Pipeline] // exws
[Pipeline] fileOperations
File Copy Operation:
[Pipeline] sleep
Sleeping for 1 sec
/rsync/JenkinsJobs/workspace/work_ServerCheck/build_152474_domvsaf1.txt
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Running in /media/Builds/unmerged/work_ServerCheck
[Pipeline] {[Pipeline] fileExists[Pipeline] }
[Pipeline] // exws
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (SRV1625u)
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] node
Running on SRV1625u in /rsync/JenkinsJobs/workspace/work_ServerCheck
[Pipeline] {
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] isUnix
[Pipeline] sh
+ df /rsync
[Pipeline] sh
+ uptime
[Pipeline] isUnix
[Pipeline] isUnix
[Pipeline] echo
SRV1625u: 0.9999999776482582
[Pipeline] echo
we have 19422016 bytes left on SRV1625u
[Pipeline] fileOperations
File Delete Operation:
[Pipeline] sleep
Sleeping for 1 sec
/rsync/JenkinsJobs/workspace/work_ServerCheck/build_152473_SRV1625u.txt deleting....
Success.
[Pipeline] writeFile
[Pipeline] exwsAllocate
Disk allocation strategy was not provided as step parameter. Fallback to the strategy defined in the Jenkins global config
Using Disk allocation strategy: 'Select the Disk with the most usable space'
Selected Disk ID 'S_Produkte__Builds' from the Disk Pool ID 'ArchivedBuilds'
The path on Disk is: unmerged/work_ServerCheck
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Running in /media/Builds/unmerged/work_ServerCheck
[Pipeline]
{ [Pipeline] pwd [Pipeline] fileOperations File Delete Operation: [Pipeline] sleep Sleeping for 1 sec /media/Builds/unmerged/work_ServerCheck/build_152473_SRV1625u.txt deleting.... Success. [Pipeline] }
[Pipeline] // exws
[Pipeline] fileOperations
File Copy Operation:
[Pipeline] sleep
Sleeping for 1 sec
/rsync/JenkinsJobs/workspace/work_ServerCheck/build_152474_SRV1625u.txt
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Running in /media/Builds/unmerged/work_ServerCheck
[Pipeline]
{ [Pipeline] fileExists [Pipeline] }
[Pipeline] // exws
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (SRV4708)
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] node
Running on SRV4708 in /rsync/JenkinsJobs/workspace/work_ServerCheck
[Pipeline]
[Pipeline] // exws
[Pipeline] fileOperations
File Copy Operation:
[Pipeline] sleep
Sleeping for 1 sec
/rsync/JenkinsJobs/workspace/work_ServerCheck/build_152474_SRV4708.txt
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Running in /media/Builds/unmerged/work_ServerCheck
[Pipeline] {[Pipeline] fileExists[Pipeline] }
[Pipeline] // exws
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (domvsafb1)
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] node
Running on domvsafb1 in e:\jenkins\workspace\work_ServerCheck
[Pipeline] {
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] isUnix
[Pipeline] sh
+ df /cygdrive/e/jenkins/workspace/
[Pipeline] sh
+ wmic cpu get loadpercentage
[Pipeline] isUnix
[Pipeline] isUnix
[Pipeline] echo
domvsafb1: 12.0
[Pipeline] echo
we have 12600340 bytes left on domvsafb1
[Pipeline] fileOperations
File Delete Operation:
[Pipeline] sleep
Sleeping for 1 sec
e:\jenkins\workspace\work_ServerCheck\build_152473_domvsafb1.txt deleting....
Success.
[Pipeline] writeFile
[Pipeline] exwsAllocate
Disk allocation strategy was not provided as step parameter. Fallback to the strategy defined in the Jenkins global config
Using Disk allocation strategy: 'Select the Disk with the most usable space'
Selected Disk ID 'S_Produkte__Builds' from the Disk Pool ID 'ArchivedBuilds'
The path on Disk is: unmerged/work_ServerCheck
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Searching for disk definitions in the Node config
Running in \\servername_Builds\unmerged\work_ServerCheck
[Pipeline]
[Pipeline] // exws
[Pipeline] fileOperations
File Copy Operation:
[Pipeline] sleep
Sleeping for 1 sec
e:\jenkins\workspace\work_ServerCheck\build_152474_domvsafb1.txt
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Searching for disk definitions in the Node config
Running in \\servername_Builds\unmerged\work_ServerCheck
[Pipeline]
[Pipeline] // exws
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (domvsafb2)
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] node
Running on domvsafb2 in e:\jenkins\workspace\work_ServerCheck
[Pipeline]
[Pipeline] // exws
[Pipeline] fileOperations
File Copy Operation:
[Pipeline] sleep
Sleeping for 1 sec
e:\jenkins\workspace\work_ServerCheck\build_152474_domvsafb2.txt
[Pipeline] exws
Searching for disk definitions in the External Workspace Templates from Jenkins global config
Searching for disk definitions in the Node config
Running in \\servername_Builds\unmerged\work_ServerCheck
[Pipeline] {[Pipeline] fileExists[Pipeline] }
[Pipeline] // exws
[Pipeline] sleep
Sleeping for 1 sec
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] node
Running on SRV4708 in /rsync/JenkinsJobs/workspace/work_ServerCheck
[Pipeline]
[Pipeline] // node
data_load.csv file already exists, replacing the content with the provided content.
Creating file: /rsync/JenkinsJobs/workspace/work_ServerCheck/data_load.csv
data_disk.csv file already exists, replacing the content with the provided content.
Creating file: /rsync/JenkinsJobs/workspace/work_ServerCheck/data_disk.csv
- relates to
-
JENKINS-51568 Pipeline jobs hanging in Build Executor even if it is finished
- Open
-
JENKINS-59083 Builds stuck on "is already in progress" forever
- Resolved
-
JENKINS-31536 Jobs hanging in Build Executor even if it is finished
- Closed