chore(deps): bump org.openrewrite.recipe:rewrite-recipe-bom from 3.0.1 to 3.0.2 #660
+1
−1
ci.jenkins.io / Jenkins
failed
Jan 19, 2025 in 7m 5s
windows-21/Archive (windows-21): error in 'error' step
linux-21 / Build (linux-21) / Shell Script
Error in sh
step, with arguments mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660@tmp/changelist clean install
.
null
Build log
[2025-01-19T09:36:13.681Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660@tmp/changelist clean install
[2025-01-19T09:36:14.785Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=261969472 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=4191511552 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedOops -XX:+UseG1GC
[2025-01-19T09:36:17.894Z] Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
[2025-01-19T09:36:17.894Z] Maven home: /home/jenkins/agent/tools/hudson.tasks.Maven_MavenInstallation/mvn
[2025-01-19T09:36:17.894Z] Java version: 21.0.5, vendor: Eclipse Adoptium, runtime: /opt/jdk-21
[2025-01-19T09:36:17.895Z] Default locale: en_US, platform encoding: UTF-8
[2025-01-19T09:36:17.895Z] OS name: "linux", version: "6.8.0-1020-azure", arch: "amd64", family: "unix"
[2025-01-19T09:36:24.519Z] [INFO] Error stacktraces are turned on.
[2025-01-19T09:36:28.129Z] [INFO] Setting: -Dchangelist=1294.v842db_2b_cfa_38 -DscmTag=842db2bcfa3849ebfea425cbccf3289c54fd56a8 -Dproject.build.outputTimestamp=2025-01-19T09:34:49Z
[2025-01-19T09:36:28.129Z] [INFO] No information available to set -DgitHubRepo
[2025-01-19T09:36:28.130Z] [INFO] Scanning for projects...
[2025-01-19T09:36:28.231Z] [INFO] ------------------------------------------------------------------------
[2025-01-19T09:36:28.231Z] [INFO] Reactor Build Order:
[2025-01-19T09:36:28.231Z] [INFO]
[2025-01-19T09:36:28.232Z] [INFO] Plugin Modernizer Parent [pom]
[2025-01-19T09:36:28.232Z] [INFO] Plugin Modernizer Core [jar]
[2025-01-19T09:36:28.232Z] [INFO] Plugin Modernizer CLI Interface [jar]
[2025-01-19T09:36:28.635Z] [INFO]
[2025-01-19T09:36:28.635Z] [INFO] ---------< io.jenkins.plugin-modernizer:plugin-modernizer-pom >---------
[2025-01-19T09:36:28.636Z] [INFO] Building Plugin Modernizer Parent 1294.v842db_2b_cfa_38 [1/3]
[2025-01-19T09:36:28.636Z] [INFO] from pom.xml
[2025-01-19T09:36:28.636Z] [INFO] --------------------------------[ pom ]---------------------------------
[2025-01-19T09:36:28.637Z] [INFO]
[2025-01-19T09:36:28.637Z] [INFO] --- help:3.5.1:evaluate (default-cli) @ plugin-modernizer-pom ---
[2025-01-19T09:36:29.439Z] [INFO] No artifact parameter specified, using 'io.jenkins.plugin-modernizer:plugin-modernizer-pom:pom:1294.v842db_2b_cfa_38' as project.
[2025-01-19T09:36:29.440Z] [INFO] Result of evaluation written to: /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660@tmp/changelist
[2025-01-19T09:36:29.440Z] [INFO]
[2025-01-19T09:36:29.440Z] [INFO] ---------< io.jenkins.plugin-modernizer:plugin-modernizer-pom >---------
[2025-01-19T09:36:29.441Z] [INFO] Building Plugin Modernizer Parent 1294.v842db_2b_cfa_38 [2/3]
[2025-01-19T09:36:29.441Z] [INFO] from pom.xml
[2025-01-19T09:36:29.441Z] [INFO] --------------------------------[ pom ]---------------------------------
[2025-01-19T09:36:32.052Z] [INFO]
[2025-01-19T09:36:32.053Z] [INFO] --- clean:3.4.0:clean (default-clean) @ plugin-modernizer-pom ---
[2025-01-19T09:36:32.053Z] [INFO]
[2025-01-19T09:36:32.053Z] [INFO] --- clean:3.4.0:clean (clean-logs) @ plugin-modernizer-pom ---
[2025-01-19T09:36:32.054Z] [INFO] Deleting /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660 (includes = [logs/*.log, logs/*.txt, logs/*.gz], excludes = [])
[2025-01-19T09:36:32.054Z] [INFO]
[2025-01-19T09:36:32.054Z] [INFO] --- buildnumber:3.2.1:create (default) @ plugin-modernizer-pom ---
[2025-01-19T09:36:34.861Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660' && 'git' 'rev-parse' '--show-prefix'
[2025-01-19T09:36:34.862Z] [INFO] Working directory: /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660
[2025-01-19T09:36:34.862Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660' && 'git' 'status' '--porcelain' '.'
[2025-01-19T09:36:34.863Z] [INFO] Working directory: /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660
[2025-01-19T09:36:34.863Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[2025-01-19T09:36:34.863Z] [INFO] Working directory: /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660
[2025-01-19T09:36:34.863Z] [INFO] Storing buildNumber: 842db2bcfa3849ebfea425cbccf3289c54fd56a8 at timestamp: 1737279394684
[2025-01-19T09:36:34.865Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660' && 'git' 'symbolic-ref' 'HEAD'
[2025-01-19T09:36:34.866Z] [INFO] Working directory: /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660
[2025-01-19T09:36:34.866Z] [WARNING] Cannot get the branch information from the git repository:
[2025-01-19T09:36:34.866Z] Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
[2025-01-19T09:36:34.866Z]
[2025-01-19T09:36:34.867Z] [INFO] Executing: /bin/sh -c cd '/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660' && 'git' 'log' '-1' '--no-merges' '--format=format:%H %aI %aE %aN'
[2025-01-19T09:36:34.871Z] [INFO] Working directory: /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660
[2025-01-19T09:36:34.871Z] [INFO] Storing scmBranch: UNKNOWN
[2025-01-19T09:36:34.871Z] [INFO]
[2025-01-19T09:36:34.872Z] [INFO] --- enforcer:3.5.0:enforce (display-info) @ plugin-modernizer-pom ---
[2025-01-19T09:36:35.875Z] [INFO] Rule 0: io.jenkins.tools.incrementals.enforcer.RequireExtensionVersion passed
[2025-01-19T09:36:35.875Z] [INFO] Rule 1: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[2025-01-19T09:36:35.876Z] [INFO] Rule 2: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[2025-01-19T09:36:35.976Z] [INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2025-01-19T09:36:35.977Z] [INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2025-01-19T09:36:35.977Z] [INFO] Rule 5: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2025-01-19T09:36:35.977Z] [INFO]
[2025-01-19T09:36:35.978Z] [INFO] --- jacoco:0.8.12:prepare-agent (default) @ plugin-modernizer-pom ---
[2025-01-19T09:36:36.579Z] [INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660@tmp/m2repo/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660/target/jacoco.exec,excludes=**/gg/jte/**
[2025-01-19T09:36:36.580Z] [INFO]
[2025-01-19T09:36:36.580Z] [INFO] --- flatten:1.6.0:flatten (flatten) @ plugin-modernizer-pom ---
[2025-01-19T09:36:36.681Z] [INFO] Generating flattened POM of project io.jenkins.plugin-modernizer:plugin-modernizer-pom:pom:1294.v842db_2b_cfa_38...
[2025-01-19T09:36:37.784Z] [INFO]
[2025-01-19T09:36:37.784Z] [INFO] --- source:3.3.1:jar-no-fork (attach-sources) @ plugin-modernizer-pom ---
[2025-01-19T09:36:38.286Z] [INFO]
[2025-01-19T09:36:38.286Z] [INFO] --- javadoc:3.11.2:jar (attach-javadocs) @ plugin-modernizer-pom ---
[2025-01-19T09:36:41.294Z] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[2025-01-19T09:36:41.295Z] [INFO]
[2025-01-19T09:36:41.295Z] [INFO] >>> spotbugs:4.8.3.1:check (spotbugs) > :spotbugs @ plugin-modernizer-pom >>>
[2025-01-19T09:36:41.295Z] [INFO]
[2025-01-19T09:36:41.295Z] [INFO] --- spotbugs:4.8.3.1:spotbugs (spotbugs) @ plugin-modernizer-pom ---
[2025-01-19T09:36:47.514Z] [INFO]
[2025-01-19T09:36:47.514Z] [INFO] <<< spotbugs:4.8.3.1:check (spotbugs) < :spotbugs @ plugin-modernizer-pom <<<
[2025-01-19T09:36:47.515Z] [INFO]
[2025-01-19T09:36:47.515Z] [INFO]
[2025-01-19T09:36:47.515Z] [INFO] --- spotbugs:4.8.3.1:check (spotbugs) @ plugin-modernizer-pom ---
[2025-01-19T09:36:47.616Z] [INFO]
[2025-01-19T09:36:47.616Z] [INFO] --- spotless:2.44.1:check (default) @ plugin-modernizer-pom ---
[2025-01-19T09:36:51.024Z] [INFO] Index file does not exist. Fallback to an empty index
[2025-01-19T09:36:51.024Z] [INFO] Sorting file /tmp/pom17798819854856788352.xml
[2025-01-19T09:36:51.126Z] [INFO] Pom file is already sorted, exiting
[2025-01-19T09:36:51.126Z] [INFO] Spotless.Pom is keeping 1 files clean - 0 needs changes to be clean, 1 were already clean, 0 were skipped because caching determined they were already clean
[2025-01-19T09:36:51.126Z] [INFO]
[2025-01-19T09:36:51.127Z] [INFO] --- jacoco:0.8.12:report (report) @ plugin-modernizer-pom ---
[2025-01-19T09:36:51.227Z] [INFO] Skipping JaCoCo execution due to missing execution data file.
[2025-01-19T09:36:51.228Z] [INFO]
[2025-01-19T09:36:51.228Z] [INFO] --- install:3.1.3:install (default-install) @ plugin-modernizer-pom ---
[2025-01-19T09:36:51.228Z] [INFO] Installing /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660/target/plugin-modernizer-pom-1294.v842db_2b_cfa_38.pom to /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660@tmp/m2repo/io/jenkins/plugin-modernizer/plugin-modernizer-pom/1294.v842db_2b_cfa_38/plugin-modernizer-pom-1294.v842db_2b_cfa_38.pom
[2025-01-19T09:36:51.228Z] [INFO]
[2025-01-19T09:36:51.229Z] [INFO] --------< io.jenkins.plugin-modernizer:plugin-modernizer-core >---------
[2025-01-19T09:36:51.229Z] [INFO] Building Plugin Modernizer Core 1294.v842db_2b_cfa_38 [3/3]
[2025-01-19T09:36:51.229Z] [INFO] from plugin-modernizer-core/pom.xml
[2025-01-19T09:36:51.229Z] [INFO] --------------------------------[ jar ]---------------------------------
[2025-01-19T09:37:05.058Z] [INFO]
[2025-01-19T09:37:05.058Z] [INFO] --- clean:3.4.0:clean (default-clean) @ plugin-modernizer-core ---
[2025-01-19T09:37:05.059Z] [INFO]
[2025-01-19T09:37:05.059Z] [INFO] --- clean:3.4.0:clean (clean-logs) @ plugin-modernizer-core ---
[2025-01-19T09:37:05.059Z] [INFO] Deleting /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660/plugin-modernizer-core (includes = [logs/*.log, logs/*.txt, logs/*.gz], excludes = [])
[2025-01-19T09:37:05.059Z] [INFO]
[2025-01-19T09:37:05.059Z] [INFO] --- buildnumber:3.2.1:create (default) @ plugin-modernizer-core ---
[2025-01-19T09:37:05.059Z] [INFO]
[2025-01-19T09:37:05.060Z] [INFO] --- enforcer:3.5.0:enforce (display-info) @ plugin-modernizer-core ---
[2025-01-19T09:37:05.060Z] [INFO] Rule 3: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[2025-01-19T09:37:05.161Z] [INFO] Rule 4: org.apache.maven.enforcer.rules.dependency.RequireUpperBoundDeps passed
[2025-01-19T09:37:05.663Z] [INFO] Rule 5: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed
[2025-01-19T09:37:05.664Z] [INFO]
[2025-01-19T09:37:05.664Z] [INFO] --- dependency:3.8.1:copy (copy) @ plugin-modernizer-core ---
[2025-01-19T09:37:05.965Z] [INFO] Configured Artifact: org.kohsuke.stapler:stapler:1942.v708e07325402:jar
[2025-01-19T09:37:06.066Z] [INFO] Configured Artifact: jakarta.servlet:jakarta.servlet-api:6.1.0:jar
[2025-01-19T09:37:07.770Z] [INFO] Configured Artifact: javax.servlet:javax.servlet-api:4.0.1:jar
[2025-01-19T09:37:07.770Z] [INFO] Configured Artifact: org.testcontainers:testcontainers:1.20.4:jar
[2025-01-19T09:37:09.674Z] [INFO] Configured Artifact: org.jenkins-ci.test:docker-fixtures:200.v22a_e8766731c:jar
[2025-01-19T09:37:09.674Z] [INFO] Configured Artifact: org.jenkins-ci.plugins:ssh-slaves:1.12:jar
[2025-01-19T09:37:09.675Z] [INFO] Configured Artifact: org.jenkins-ci.plugins:ssh-slaves:3.1021.va_cc11b_de26a_e:jar
[2025-01-19T09:37:09.675Z] [INFO]
[2025-01-19T09:37:09.675Z] [INFO] --- jacoco:0.8.12:prepare-agent (default) @ plugin-modernizer-core ---
[2025-01-19T09:37:09.675Z] [INFO] argLine set to -javaagent:/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660@tmp/m2repo/org/jacoco/org.jacoco.agent/0.8.12/org.jacoco.agent-0.8.12-runtime.jar=destfile=/home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660/plugin-modernizer-core/target/jacoco.exec,excludes=**/gg/jte/**
[2025-01-19T09:37:09.675Z] [INFO]
[2025-01-19T09:37:09.675Z] [INFO] --- jte:3.1.16:generate (default) @ plugin-modernizer-core ---
[2025-01-19T09:37:11.880Z] [INFO] Generating jte templates found in /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660/plugin-modernizer-core/src/main/jte
[2025-01-19T09:37:11.880Z] [INFO] Successfully generated 30 jte files in 0s to /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660/plugin-modernizer-core/target/generated-sources/jte
[2025-01-19T09:37:11.880Z] [INFO]
[2025-01-19T09:37:11.880Z] [INFO] --- resources:3.3.1:resources (default-resources) @ plugin-modernizer-core ---
[2025-01-19T09:37:12.382Z] [INFO] Copying 2 resources from src/main/resources to target/classes
[2025-01-19T09:37:12.382Z] [INFO] Copying 1 resource from src/main/resources to target/classes
[2025-01-19T09:37:12.382Z] [INFO] Copying 1 resource from src/main/resources/META-INF/rewrite to target/classes/META-INF/rewrite
[2025-01-19T09:37:12.383Z] [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html
[2025-01-19T09:37:12.383Z] [INFO]
[2025-01-19T09:37:12.383Z] [INFO] --- flatten:1.6.0:flatten (flatten) @ plugin-modernizer-core ---
[2025-01-19T09:37:12.383Z] [INFO] Generating flattened POM of project io.jenkins.plugin-modernizer:plugin-modernizer-core:jar:1294.v842db_2b_cfa_38...
[2025-01-19T09:37:12.383Z] [INFO]
[2025-01-19T09:37:12.383Z] [INFO] --- compiler:3.13.0:compile (default-compile) @ plugin-modernizer-core ---
[2025-01-19T09:37:13.586Z] [INFO] Recompiling the module because of changed source code.
[2025-01-19T09:37:13.586Z] [INFO] Compiling 90 source files with javac [debug parameters release 17] to target/classes
[2025-01-19T09:37:17.107Z] [INFO]
[2025-01-19T09:37:17.111Z] [INFO] --- resources:3.3.1:testResources (default-testResources) @ plugin-modernizer-core ---
[2025-01-19T09:37:17.111Z] [INFO] Copying 4 resources from src/test/resources to target/test-classes
[2025-01-19T09:37:17.111Z] [INFO]
[2025-01-19T09:37:17.111Z] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ plugin-modernizer-core ---
[2025-01-19T09:37:17.111Z] [INFO] Recompiling the module because of changed dependency.
[2025-01-19T09:37:17.112Z] [INFO] Compiling 30 source files with javac [debug parameters release 17] to target/test-classes
[2025-01-19T09:37:18.517Z] [INFO]
[2025-01-19T09:37:18.517Z] [INFO] --- surefire:3.5.2:test (default-test) @ plugin-modernizer-core ---
[2025-01-19T09:37:20.622Z] [INFO] Surefire report directory: /home/jenkins/agent/workspace/ls_plugin-modernizer-tool_PR-660/plugin-modernizer-core/target/surefire-reports
[2025-01-19T09:37:20.622Z] [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[2025-01-19T09:37:20.723Z] [INFO]
[2025-01-19T09:37:20.724Z] [INFO] -------------------------------------------------------
[2025-01-19T09:37:20.724Z] [INFO] T E S T S
[2025-01-19T09:37:20.724Z] [INFO] -------------------------------------------------------
[2025-01-19T09:37:23.037Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.DeclarativeRecipesTest
[2025-01-19T09:37:23.037Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.model.JDKTest
[2025-01-19T09:37:23.038Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.model.PluginTest
[2025-01-19T09:37:23.038Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.github.GHServiceTest
[2025-01-19T09:37:23.240Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s -- in io.jenkins.tools.pluginmodernizer.core.model.JDKTest
[2025-01-19T09:37:23.240Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.visitors.RemovePropertyCommentVisitorTest
[2025-01-19T09:37:23.244Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.visitors.AddBeforePropertyTest
[2025-01-19T09:37:23.746Z] OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
[2025-01-19T09:37:26.474Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.132 s -- in io.jenkins.tools.pluginmodernizer.core.visitors.AddBeforePropertyTest
[2025-01-19T09:37:26.474Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.visitors.UpdateJenkinsFileVisitorTest
[2025-01-19T09:37:26.474Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.286 s -- in io.jenkins.tools.pluginmodernizer.core.visitors.RemovePropertyCommentVisitorTest
[2025-01-19T09:37:26.475Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.visitors.AddPropertyCommentVisitorTest
[2025-01-19T09:37:26.683Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 s -- in io.jenkins.tools.pluginmodernizer.core.visitors.AddPropertyCommentVisitorTest
[2025-01-19T09:37:26.683Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.RemoveReleaseDrafterTest
[2025-01-19T09:37:26.986Z] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.266 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.RemoveReleaseDrafterTest
[2025-01-19T09:37:26.987Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.RemovePropertyTest
[2025-01-19T09:37:27.897Z] [INFO] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.865 s -- in io.jenkins.tools.pluginmodernizer.core.model.PluginTest
[2025-01-19T09:37:27.897Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.UpdateScmUrlTest
[2025-01-19T09:37:28.198Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.284 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.UpdateScmUrlTest
[2025-01-19T09:37:28.199Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.EnsureIndexJellyTest
[2025-01-19T09:37:35.237Z] [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.753 s -- in io.jenkins.tools.pluginmodernizer.core.visitors.UpdateJenkinsFileVisitorTest
[2025-01-19T09:37:35.238Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.code.ReplaceRemovedSSHLauncherConstructorTest
[2025-01-19T09:37:37.959Z] [INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.760 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.code.ReplaceRemovedSSHLauncherConstructorTest
[2025-01-19T09:37:37.959Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.UpgradeJenkinsVersionTest
[2025-01-19T09:37:41.467Z] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.41 s -- in io.jenkins.tools.pluginmodernizer.core.github.GHServiceTest
[2025-01-19T09:37:41.467Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.MigrateToJenkinsBaseLinePropertyTest
[2025-01-19T09:38:06.723Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.77 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.UpgradeJenkinsVersionTest
[2025-01-19T09:38:06.723Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.SetupDependabotTest
[2025-01-19T09:38:06.824Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.SetupDependabotTest
[2025-01-19T09:38:06.824Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.IsUsingBomTest
[2025-01-19T09:38:10.735Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.74 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.RemovePropertyTest
[2025-01-19T09:38:10.735Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.IsUsingArchetypeCommonFileTest
[2025-01-19T09:38:11.542Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.823 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.IsUsingArchetypeCommonFileTest
[2025-01-19T09:38:11.542Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.EnsureRelativePathTest
[2025-01-19T09:38:11.643Z] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.EnsureRelativePathTest
[2025-01-19T09:38:11.643Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.UpdateBomTest
[2025-01-19T09:38:11.844Z] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.57 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.EnsureIndexJellyTest
[2025-01-19T09:38:11.845Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.config.ConfigTest
[2025-01-19T09:38:11.845Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.029 s -- in io.jenkins.tools.pluginmodernizer.core.config.ConfigTest
[2025-01-19T09:38:11.845Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.utils.TemplateUtilsTest
[2025-01-19T09:38:11.945Z] [INFO] Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.149 s -- in io.jenkins.tools.pluginmodernizer.core.utils.TemplateUtilsTest
[2025-01-19T09:38:11.946Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.utils.JsonUtilsTest
[2025-01-19T09:38:12.046Z] [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.095 s -- in io.jenkins.tools.pluginmodernizer.core.utils.JsonUtilsTest
[2025-01-19T09:38:14.055Z] [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.58 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.MigrateToJenkinsBaseLinePropertyTest
[2025-01-19T09:38:25.279Z] [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.44 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.IsUsingBomTest
[2025-01-19T09:38:25.279Z] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.57 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.UpdateBomTest
[2025-01-19T09:39:48.635Z] [ERROR] Tests run: 20, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 145.7 s <<< FAILURE! -- in io.jenkins.tools.pluginmodernizer.core.recipes.DeclarativeRecipesTest
[2025-01-19T09:39:48.635Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.recipes.DeclarativeRecipesTest.fetchMinimalMetadata -- Time elapsed: 0.055 s <<< FAILURE!
[2025-01-19T09:39:48.636Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:39:48.636Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:39:48.636Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:39:48.636Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:39:48.636Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:39:48.636Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:39:48.636Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:39:48.636Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:39:48.637Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:39:48.637Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:39:48.637Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:39:48.637Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:39:48.637Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:39:48.637Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:39:48.637Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:39:48.637Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:39:48.638Z] at io.jenkins.tools.pluginmodernizer.core.recipes.DeclarativeRecipesTest.fetchMinimalMetadata(DeclarativeRecipesTest.java:60)
[2025-01-19T09:39:48.640Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:39:48.641Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:39:48.641Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:39:48.643Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:39:48.643Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:39:48.643Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:39:48.643Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "pomMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:39:48.643Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:39:48.643Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:39:48.644Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:55)
[2025-01-19T09:39:48.644Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:39:48.644Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:39:48.644Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:39:48.645Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:39:48.645Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:39:48.646Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:39:48.646Z] ... 19 more
[2025-01-19T09:39:48.646Z]
[2025-01-19T09:39:48.646Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.recipes.MergeGitIgnoreRecipeTest
[2025-01-19T09:39:48.747Z] [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 s -- in io.jenkins.tools.pluginmodernizer.core.recipes.MergeGitIgnoreRecipeTest
[2025-01-19T09:39:48.747Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.impl.CacheManagerTest
[2025-01-19T09:39:48.747Z] [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 s -- in io.jenkins.tools.pluginmodernizer.core.impl.CacheManagerTest
[2025-01-19T09:39:48.747Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.utils.PluginServiceTest
[2025-01-19T09:39:51.353Z] [INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.634 s -- in io.jenkins.tools.pluginmodernizer.core.utils.PluginServiceTest
[2025-01-19T09:39:51.353Z] [INFO] Running io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest
[2025-01-19T09:40:01.377Z] [ERROR] Tests run: 19, Failures: 18, Errors: 0, Skipped: 1, Time elapsed: 10.02 s <<< FAILURE! -- in io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest
[2025-01-19T09:40:01.377Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testPluginWithJenkinsfileWithJdkInfoVersionAndPlatform -- Time elapsed: 0.252 s <<< FAILURE!
[2025-01-19T09:40:01.377Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.377Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.378Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.378Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.378Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.378Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.378Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.378Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.378Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.378Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.379Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.379Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.379Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.379Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.379Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.379Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.379Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testPluginWithJenkinsfileWithJdkInfoVersionAndPlatform(FetchMetadataTest.java:602)
[2025-01-19T09:40:01.379Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.379Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.380Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.381Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.381Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.381Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:40:01.382Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "jenkinsFileMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:40:01.382Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:40:01.382Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:40:01.382Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:45)
[2025-01-19T09:40:01.382Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:40:01.382Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:40:01.382Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:40:01.382Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:40:01.383Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:40:01.383Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:40:01.383Z] ... 19 more
[2025-01-19T09:40:01.383Z]
[2025-01-19T09:40:01.383Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testPluginWithJenkinsfileDefault -- Time elapsed: 0.013 s <<< FAILURE!
[2025-01-19T09:40:01.383Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.383Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.383Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.383Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.383Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.384Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.384Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.387Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.387Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.387Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.387Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.387Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.387Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.387Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.387Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.388Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.388Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testPluginWithJenkinsfileDefault(FetchMetadataTest.java:662)
[2025-01-19T09:40:01.388Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.388Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.388Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.388Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.388Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.388Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:40:01.388Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "jenkinsFileMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:40:01.388Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:40:01.389Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:40:01.389Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:45)
[2025-01-19T09:40:01.389Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:40:01.389Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:40:01.389Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:40:01.389Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:40:01.389Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:40:01.389Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:40:01.389Z] ... 19 more
[2025-01-19T09:40:01.389Z]
[2025-01-19T09:40:01.393Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithPomAndJavaFile -- Time elapsed: 8.160 s <<< FAILURE!
[2025-01-19T09:40:01.393Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.393Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.393Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.393Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.393Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.393Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.393Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.394Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.394Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.394Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.394Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.394Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.394Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.394Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.397Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.397Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.397Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithPomAndJavaFile(FetchMetadataTest.java:300)
[2025-01-19T09:40:01.397Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.397Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.397Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.397Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.398Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.398Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:40:01.398Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "javaMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:40:01.398Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:40:01.398Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:40:01.398Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:63)
[2025-01-19T09:40:01.398Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:40:01.399Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:40:01.399Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:40:01.399Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:40:01.399Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:40:01.399Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:40:01.399Z] ... 19 more
[2025-01-19T09:40:01.399Z]
[2025-01-19T09:40:01.399Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testPluginWithJenkinsfileWithJdkInfoVersionVar -- Time elapsed: 0.133 s <<< FAILURE!
[2025-01-19T09:40:01.399Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.399Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.399Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.400Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.400Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.401Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.401Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.402Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.402Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.403Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.403Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.403Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.403Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.403Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.404Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.406Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.406Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testPluginWithJenkinsfileWithJdkInfoVersionVar(FetchMetadataTest.java:632)
[2025-01-19T09:40:01.406Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.406Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.406Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.406Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.406Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.406Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:40:01.407Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "jenkinsFileMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:40:01.407Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:40:01.407Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:40:01.407Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:45)
[2025-01-19T09:40:01.407Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:40:01.407Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:40:01.407Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:40:01.407Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:40:01.407Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:40:01.407Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:40:01.407Z] ... 19 more
[2025-01-19T09:40:01.408Z]
[2025-01-19T09:40:01.408Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithDockerFixtures -- Time elapsed: 0.203 s <<< FAILURE!
[2025-01-19T09:40:01.408Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.408Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.408Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.408Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.408Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.408Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.408Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.408Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.408Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.408Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.409Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.409Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.416Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.416Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.416Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.416Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.416Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithDockerFixtures(FetchMetadataTest.java:406)
[2025-01-19T09:40:01.416Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.416Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.417Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.417Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.417Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.417Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:40:01.417Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "javaMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:40:01.417Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:40:01.417Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:40:01.417Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:63)
[2025-01-19T09:40:01.417Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:40:01.417Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:40:01.417Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:40:01.417Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:40:01.418Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:40:01.418Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:40:01.418Z] ... 19 more
[2025-01-19T09:40:01.418Z]
[2025-01-19T09:40:01.418Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testPluginWithJenkinsfileWithJdkInfoConfiguration -- Time elapsed: 0.160 s <<< FAILURE!
[2025-01-19T09:40:01.418Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.424Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.424Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.424Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.424Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.424Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.424Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.424Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.424Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.424Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.425Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.425Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.425Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.425Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.425Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.425Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.425Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testPluginWithJenkinsfileWithJdkInfoConfiguration(FetchMetadataTest.java:507)
[2025-01-19T09:40:01.425Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.425Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.425Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.425Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.426Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.426Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:40:01.426Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "jenkinsFileMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:40:01.426Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:40:01.426Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:40:01.426Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:45)
[2025-01-19T09:40:01.426Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:40:01.426Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:40:01.427Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:40:01.427Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:40:01.429Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:40:01.429Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:40:01.429Z] ... 19 more
[2025-01-19T09:40:01.429Z]
[2025-01-19T09:40:01.429Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithDifferentParent -- Time elapsed: 0.027 s <<< FAILURE!
[2025-01-19T09:40:01.429Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.429Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.429Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.429Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.429Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.430Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.430Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.431Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.431Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.431Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.431Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.431Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.431Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.431Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.431Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.431Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.431Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithDifferentParent(FetchMetadataTest.java:220)
[2025-01-19T09:40:01.431Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.431Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.432Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.432Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.432Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.432Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:40:01.432Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "pomMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:40:01.432Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:40:01.432Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:40:01.432Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:55)
[2025-01-19T09:40:01.432Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:40:01.432Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:40:01.433Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:40:01.435Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:40:01.435Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:40:01.435Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:40:01.435Z] ... 19 more
[2025-01-19T09:40:01.435Z]
[2025-01-19T09:40:01.435Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithPomOnly -- Time elapsed: 0.024 s <<< FAILURE!
[2025-01-19T09:40:01.436Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.436Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.437Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.437Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.437Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.437Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.437Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.437Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.437Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.437Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.437Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.438Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.438Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.438Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.438Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.438Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.438Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithPomOnly(FetchMetadataTest.java:200)
[2025-01-19T09:40:01.438Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.438Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.438Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.438Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.438Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.439Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
[2025-01-19T09:40:01.439Z] Caused by: java.lang.AssertionError: Recipe mutated execution context key "pomMetadata". Recipes should not mutate the contents of the ExecutionContext as it allows mutable state to leak between recipes, opening the door for difficult to debug recipe composition errors. If you need to store state within the execution of a single recipe use Cursor messaging. If you want to pass state between recipes, use a ScanningRecipe instead.
[2025-01-19T09:40:01.439Z] at org.openrewrite.CursorValidatingExecutionContextView.putMessage(CursorValidatingExecutionContextView.java:55)
[2025-01-19T09:40:01.439Z] at org.openrewrite.scheduling.WatchableExecutionContext.putMessage(WatchableExecutionContext.java:41)
[2025-01-19T09:40:01.439Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:55)
[2025-01-19T09:40:01.439Z] at io.jenkins.tools.pluginmodernizer.core.extractor.MetadataVisitor.visit(MetadataVisitor.java:15)
[2025-01-19T09:40:01.439Z] at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:157)
[2025-01-19T09:40:01.439Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$6(RecipeRunCycle.java:186)
[2025-01-19T09:40:01.439Z] at io.micrometer.core.instrument.AbstractTimer.recordCallable(AbstractTimer.java:178)
[2025-01-19T09:40:01.439Z] at org.openrewrite.table.RecipeRunStats.recordEdit(RecipeRunStats.java:67)
[2025-01-19T09:40:01.439Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:182)
[2025-01-19T09:40:01.440Z] ... 19 more
[2025-01-19T09:40:01.440Z]
[2025-01-19T09:40:01.440Z] [ERROR] io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithManyCommonFilesAndTestContainers -- Time elapsed: 0.248 s <<< FAILURE!
[2025-01-19T09:40:01.440Z] java.lang.AssertionError: Failed to parse sources or run recipe
[2025-01-19T09:40:01.440Z] at org.openrewrite.test.RewriteTest.lambda$defaultExecutionContext$14(RewriteTest.java:637)
[2025-01-19T09:40:01.440Z] at org.openrewrite.scheduling.RecipeRunCycle.handleError(RecipeRunCycle.java:264)
[2025-01-19T09:40:01.440Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$7(RecipeRunCycle.java:206)
[2025-01-19T09:40:01.440Z] at org.openrewrite.scheduling.RecipeStack.reduce(RecipeStack.java:57)
[2025-01-19T09:40:01.440Z] at org.openrewrite.scheduling.RecipeRunCycle.lambda$editSources$8(RecipeRunCycle.java:155)
[2025-01-19T09:40:01.440Z] at org.openrewrite.internal.InMemoryLargeSourceSet.lambda$edit$0(InMemoryLargeSourceSet.java:66)
[2025-01-19T09:40:01.440Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:243)
[2025-01-19T09:40:01.440Z] at org.openrewrite.internal.ListUtils.map(ListUtils.java:266)
[2025-01-19T09:40:01.441Z] at org.openrewrite.internal.InMemoryLargeSourceSet.edit(InMemoryLargeSourceSet.java:65)
[2025-01-19T09:40:01.441Z] at org.openrewrite.scheduling.RecipeRunCycle.editSources(RecipeRunCycle.java:154)
[2025-01-19T09:40:01.441Z] at org.openrewrite.RecipeScheduler.runRecipeCycles(RecipeScheduler.java:87)
[2025-01-19T09:40:01.441Z] at org.openrewrite.RecipeScheduler.scheduleRun(RecipeScheduler.java:41)
[2025-01-19T09:40:01.441Z] at org.openrewrite.Recipe.run(Recipe.java:378)
[2025-01-19T09:40:01.441Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:373)
[2025-01-19T09:40:01.441Z] at org.openrewrite.test.RewriteTest.rewriteRun(RewriteTest.java:129)
[2025-01-19T09:40:01.441Z] at io.jenkins.tools.pluginmodernizer.core.extractor.FetchMetadataTest.testWithManyCommonFilesAndTestContainers(FetchMetadataTest.java:327)
[2025-01-19T09:40:01.441Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
[2025-01-19T09:40:01.441Z] at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
[2025-01-19T09:40:01.441Z] at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
[2025-01-19T09:40:01.441Z] at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
[2025-01-19T09:40:01.441Z] at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
[2025-01-19T09:40:01.442Z] at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Output truncated.
Details
- linux-21 (1.6 sec)
- Checkout (linux-21) (9.9 sec)
- Build (linux-21) (5 min 56 sec)
Error: null
Unstable: 19 tests failed
- windows-21 (6 min 54 sec)
- Checkout (windows-21) (16 sec)
- Build (windows-21) (5 min 10 sec)
Unstable: 19 tests failed - Archive (windows-21) (0.75 sec)
Error: There were test failures; halting early
Loading