-
Bug
-
Resolution: Not A Defect
-
Trivial
-
None
-
Jenkins 2.150.2
Gradle Plugin version 1.28
Gradle version 4.2.1 on Linux server
Locks are not being released on the Gradle cache so other jobs are failing waiting for the locks to be released.
Debug message from Jenkins log: [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] The file lock is held by a different Gradle process (pid: 3265, operation: ). Will attempt to ping owner at port 42238
The lock file is not being deleted after builds complete.
Full log attached.
x102785: I don't think this has anything to do with the Gradle plugin. This is an issue with Gradle or the usage of Gradle.
Do you have two Gradle build run in parallel on the same machine?
Do your Gradle builds share the same user home?
What is the other process which is noted in the log doing?