-
Bug
-
Resolution: Fixed
-
Blocker
-
Jenkins 2.240.0, Java 1.8.0_45, OS HPE NonStop J06.22
-
-
Git plugin 4.3.0 - June 19, 2020
Pipelines are now failing after a trivial checkout after installing Jenkins 2.240. This is occurring after the first step of our pipelines, starting with:
node { stage('checkout') { checkout([$class: 'GitSCM', branches: [[name: '*/ituglib_release']], extensions: [ [$class: 'CleanBeforeCheckout']], userRemoteConfigs: [[url: '/home/git/zlib']]]) } stage('config') { ... ...
java.lang.ArithmeticException: long overflow at java.lang.Math.multiplyExact(Math.java:1052) at java.time.Duration.toNanos(Duration.java:1186) at org.eclipse.jgit.internal.storage.file.FileSnapshot.getEffectiveRacyThreshold(FileSnapshot.java:524) at org.eclipse.jgit.internal.storage.file.FileSnapshot.isRacyClean(FileSnapshot.java:509) at org.eclipse.jgit.internal.storage.file.FileSnapshot.isModified(FileSnapshot.java:553) at org.eclipse.jgit.internal.storage.file.FileSnapshot.isModified(FileSnapshot.java:358) at org.eclipse.jgit.internal.storage.file.ObjectDirectory.searchPacksAgain(ObjectDirectory.java:775) at org.eclipse.jgit.internal.storage.file.ObjectDirectory.openPackedObject(ObjectDirectory.java:502) at org.eclipse.jgit.internal.storage.file.ObjectDirectory.openPackedFromSelfOrAlternate(ObjectDirectory.java:446) at org.eclipse.jgit.internal.storage.file.ObjectDirectory.openObject(ObjectDirectory.java:437) at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:165) at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:236) at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:941) at org.eclipse.jgit.revwalk.RevWalk.parseCommit(RevWalk.java:851) at hudson.plugins.git.util.RevCommitRepositoryCallback.invoke(RevCommitRepositoryCallback.java:25) at hudson.plugins.git.util.RevCommitRepositoryCallback.invoke(RevCommitRepositoryCallback.java:13) at org.jenkinsci.plugins.gitclient.AbstractGitAPIImpl.withRepository(AbstractGitAPIImpl.java:29) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.withRepository(CliGitAPIImpl.java:81) at hudson.plugins.git.GitSCM.printCommitMessageToLog(GitSCM.java:1252) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1225) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:125) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$$Lambda$280/2135930507.run(Unknown Source) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)