Skip to content

Bump org.jenkins-ci.plugins.workflow:workflow-cps in /bom-weekly (#2528)

ci.jenkins.io / Tests / pct-blueocean-plugin-2.387.x failed Sep 21, 2023 in 0s

io.jenkins.blueocean.rest.impl.pipeline.MultiBranchTest.multiBranchPipelineIndex failed

Send us feedback

Details

io.jenkins.blueocean.rest.impl.pipeline.MultiBranchTest.multiBranchPipelineIndex

/home/jenkins/agent/workspace/Tools_bom_master/target/pct-work/blueocean-plugin/blueocean-pipeline-api-impl/target/tmp/j h2197780848444070882/jobs/p/indexing
Stack trace
java.io.IOException: /home/jenkins/agent/workspace/Tools_bom_master/target/pct-work/blueocean-plugin/blueocean-pipeline-api-impl/target/tmp/j h2197780848444070882/jobs/p/indexing
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:144)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:131)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:131)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.dispose(TemporaryDirectoryAllocator.java:99)
	at org.jvnet.hudson.test.TestEnvironment.dispose(TestEnvironment.java:84)
	at org.jvnet.hudson.test.JenkinsRule.after(JenkinsRule.java:524)
	at org.jvnet.hudson.test.JenkinsRule$1.evaluate(JenkinsRule.java:625)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
	at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.nio.file.DirectoryNotEmptyException: /home/jenkins/agent/workspace/Tools_bom_master/target/pct-work/blueocean-plugin/blueocean-pipeline-api-impl/target/tmp/j h2197780848444070882/jobs/p
	at java.base/sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:247)
	at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
	at java.base/java.nio.file.Files.deleteIfExists(Files.java:1181)
	at org.jvnet.hudson.test.TemporaryDirectoryAllocator.delete(TemporaryDirectoryAllocator.java:141)
	... 10 more
Standard error
0.001 [id=5911]	WARNING	o.j.p.w.flow.FlowExecutionList#unregister: Owner[p/master/1:p/master #1] was not in the list to begin with: []
   0.001 [id=5911]	SEVERE	hudson.model.Executor#finish1: Executor threw an exception
java.lang.IllegalStateException: Jenkins.instance is missing. Read the documentation of Jenkins.getInstanceOrNull to see what you are doing wrong.
	at jenkins.model.Jenkins.get(Jenkins.java:814)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getDescriptor(AbstractFolder.java:599)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:890)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:130)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.childNameGenerator(AbstractFolder.java:591)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getRootDirFor(AbstractFolder.java:634)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:870)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:130)
	at hudson.model.AbstractItem.getRootDir(AbstractItem.java:201)
	at hudson.model.Job.getBuildDir(Job.java:887)
	at hudson.model.Run.getRootDir(Run.java:1094)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.setResult(WorkflowRun.java:620)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:627)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:363)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:442)
   0.006 [id=5943]	INFO	o.jvnet.hudson.test.JenkinsRule#createWebServer: Running on http://localhost:40935/jenkins/
   0.525 [id=5957]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
   0.525 [id=5961]	INFO	jenkins.InitReactorRunner$1#onAttained: Listed all plugins
   0.528 [id=5961]	INFO	j.b.api.BouncyCastlePlugin#start: /home/jenkins/agent/workspace/Tools_bom_master/target/pct-work/blueocean-plugin/blueocean-pipeline-api-impl/target/tmp/j h2197780848444070882/plugins/bouncycastle-api/WEB-INF/optional-lib not found; for non RealJenkinsRule this is fine and can be ignored.
java.lang.AssertionError: class org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject is missing its descriptor
	at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1644)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getDescriptor(AbstractFolder.java:599)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:890)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:130)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.childNameGenerator(AbstractFolder.java:591)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getRootDirFor(AbstractFolder.java:634)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:870)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:130)
	at hudson.model.AbstractItem.getRootDir(AbstractItem.java:201)
	at jenkins.model.Jenkins.expandVariablesForDirectory(Jenkins.java:2610)
	at jenkins.model.Jenkins.getBuildDirFor(Jenkins.java:2591)
	at hudson.model.Job.getBuildDir(Job.java:889)
	at hudson.model.Run.getRootDir(Run.java:1094)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.getRootDir(WorkflowRun.java:1014)
	at org.jenkinsci.plugins.workflow.log.LogStorage.of(LogStorage.java:171)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogText(WorkflowRun.java:1090)
	at org.jvnet.hudson.test.BuildWatcher$RunningBuild.copy(BuildWatcher.java:128)
	at org.jvnet.hudson.test.BuildWatcher$1.run(BuildWatcher.java:65)
java.lang.AssertionError: class org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject is missing its descriptor
	at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1644)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getDescriptor(AbstractFolder.java:599)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:890)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:130)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.childNameGenerator(AbstractFolder.java:591)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getRootDirFor(AbstractFolder.java:634)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:870)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:130)
	at hudson.model.AbstractItem.getRootDir(AbstractItem.java:201)
	at jenkins.model.Jenkins.expandVariablesForDirectory(Jenkins.java:2610)
	at jenkins.model.Jenkins.getBuildDirFor(Jenkins.java:2591)
	at hudson.model.Job.getBuildDir(Job.java:889)
	at hudson.model.Run.getRootDir(Run.java:1094)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.getRootDir(WorkflowRun.java:1014)
	at org.jenkinsci.plugins.workflow.log.LogStorage.of(LogStorage.java:171)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogText(WorkflowRun.java:1090)
	at org.jvnet.hudson.test.BuildWatcher$RunningBuild.copy(BuildWatcher.java:128)
	at org.jvnet.hudson.test.BuildWatcher$1.run(BuildWatcher.java:65)
java.lang.AssertionError: class org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject is missing its descriptor
	at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1644)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getDescriptor(AbstractFolder.java:599)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:890)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:130)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.childNameGenerator(AbstractFolder.java:591)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getRootDirFor(AbstractFolder.java:634)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:870)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:130)
	at hudson.model.AbstractItem.getRootDir(AbstractItem.java:201)
	at jenkins.model.Jenkins.expandVariablesForDirectory(Jenkins.java:2610)
	at jenkins.model.Jenkins.getBuildDirFor(Jenkins.java:2591)
	at hudson.model.Job.getBuildDir(Job.java:889)
	at hudson.model.Run.getRootDir(Run.java:1094)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.getRootDir(WorkflowRun.java:1014)
	at org.jenkinsci.plugins.workflow.log.LogStorage.of(LogStorage.java:171)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogText(WorkflowRun.java:1090)
	at org.jvnet.hudson.test.BuildWatcher$RunningBuild.copy(BuildWatcher.java:128)
	at org.jvnet.hudson.test.BuildWatcher$1.run(BuildWatcher.java:65)
java.lang.AssertionError: class org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject is missing its descriptor
	at jenkins.model.Jenkins.getDescriptorOrDie(Jenkins.java:1644)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getDescriptor(AbstractFolder.java:599)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:890)
	at jenkins.branch.MultiBranchProject.getDescriptor(MultiBranchProject.java:130)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.childNameGenerator(AbstractFolder.java:591)
	at com.cloudbees.hudson.plugins.folder.AbstractFolder.getRootDirFor(AbstractFolder.java:634)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:870)
	at jenkins.branch.MultiBranchProject.getRootDirFor(MultiBranchProject.java:130)
	at hudson.model.AbstractItem.getRootDir(AbstractItem.java:201)
	at jenkins.model.Jenkins.expandVariablesForDirectory(Jenkins.java:2610)
	at jenkins.model.Jenkins.getBuildDirFor(Jenkins.java:2591)
	at hudson.model.Job.getBuildDir(Job.java:889)
	at hudson.model.Run.getRootDir(Run.java:1094)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.getRootDir(WorkflowRun.java:1014)
	at org.jenkinsci.plugins.workflow.log.LogStorage.of(LogStorage.java:171)
	at org.jenkinsci.plugins.workflow.job.WorkflowRun.getLogText(WorkflowRun.java:1090)
	at org.jvnet.hudson.test.BuildWatcher$RunningBuild.copy(BuildWatcher.java:128)
	at org.jvnet.hudson.test.BuildWatcher$1.run(BuildWatcher.java:65)
   1.446 [id=5960]	INFO	jenkins.InitReactorRunner$1#onAttained: Prepared all plugins
   1.451 [id=5963]	INFO	jenkins.InitReactorRunner$1#onAttained: Started all plugins
   1.452 [id=5957]	INFO	jenkins.InitReactorRunner$1#onAttained: Augmented all extensions
   2.503 [id=2746]	INFO	h.p.c.CopyArtifactConfiguration#load: CopyArtifact is set to Production mode.
   2.562 [id=5963]	INFO	jenkins.InitReactorRunner$1#onAttained: System config loaded
   2.579 [id=5958]	WARNING	o.j.p.s.EventHistoryStore#enableAutoDeleteOnExpire: AutoExpireTimer was already enable.
   2.596 [id=5958]	INFO	jenkins.InitReactorRunner$1#onAttained: System config adapted
   2.596 [id=5958]	INFO	jenkins.InitReactorRunner$1#onAttained: Loaded all jobs
   2.597 [id=5961]	INFO	o.j.p.u.i.IdStoreMigratorV1ToV2#migrateIdStore: Starting migration of IDs
   2.597 [id=5961]	INFO	o.j.p.u.i.IdStoreMigratorV1ToV2#performMigration: migration of unique IDs for Jobs and Folders complete - will continue to process Runs in the background.
   2.597 [id=5972]	INFO	o.j.p.u.i.IdStoreMigratorV1ToV2$RunIDMigrationThread#run: Finished unique-id migration of builds in 0 minutes 0 seconds.  Processed 0 runs from 0 jobs.
   2.600 [id=5962]	INFO	jenkins.InitReactorRunner$1#onAttained: Configuration for all jobs updated
   2.604 [id=5958]	INFO	jenkins.InitReactorRunner$1#onAttained: Completed initialization
$ git --version
Sep 21, 2023 9:01:33 AM hudson.lifecycle.Lifecycle onStatusUpdate
INFO: Stopping Jenkins
Sep 21, 2023 9:01:33 AM hudson.lifecycle.Lifecycle onStatusUpdate
INFO: Jenkins stopped
Sep 21, 2023 9:01:34 AM org.jvnet.hudson.test.TemporaryDirectoryAllocator dispose
INFO: deleting /home/jenkins/agent/workspace/Tools_bom_master/target/pct-work/blueocean-plugin/blueocean-pipeline-api-impl/target/tmp/j h2197780848444070882
Standard out
=== Starting multiBranchPipelineIndex(io.jenkins.blueocean.rest.impl.pipeline.MultiBranchTest)
[junit7961181763087783291] $ git version
git version 2.42.0
[junit5654355443837096205] $ git init --template=
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /home/jenkins/agent/workspace/Tools_bom_master/target/pct-work/blueocean-plugin/blueocean-pipeline-api-impl/target/tmp/junit7961181763087783291/junit5654355443837096205/.git/
[junit5654355443837096205] $ git branch -m master
[junit5654355443837096205] $ git add file
[junit5654355443837096205] $ git config user.name "Git SampleRepoRule"
[junit5654355443837096205] $ git config user.email gits@mplereporule
[junit5654355443837096205] $ git config init.defaultbranch master
[junit5654355443837096205] $ git config commit.gpgsign false
[junit5654355443837096205] $ git commit --message=init
[master (root-commit) af2113d] init
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 file
[junit5654355443837096205] $ git add Jenkinsfile
[junit5654355443837096205] $ git commit --all --message=flow
[master 199a173] flow
 2 files changed, 7 insertions(+)
 create mode 100644 Jenkinsfile
[junit5654355443837096205] $ git checkout -b feature/ux-1
Switched to a new branch 'feature/ux-1'
[junit5654355443837096205] $ git commit --all --message=tweaked1
[feature/ux-1 514f02f] tweaked1
 2 files changed, 2 insertions(+), 7 deletions(-)
[junit5654355443837096205] $ git checkout -b feature2
Switched to a new branch 'feature2'
[junit5654355443837096205] $ git commit --all --message=tweaked2
[feature2 2e3b320] tweaked2
 1 file changed, 1 insertion(+), 1 deletion(-)
[junit5654355443837096205] $ git checkout master
Switched to branch 'master'