Skip to content

Test jackson 2.21.1#6432

Closed
jonesbusy wants to merge 3 commits intojenkinsci:masterfrom
jonesbusy:feature/test-jackson-2.21.1
Closed

Test jackson 2.21.1#6432
jonesbusy wants to merge 3 commits intojenkinsci:masterfrom
jonesbusy:feature/test-jackson-2.21.1

Conversation

@jonesbusy
Copy link
Contributor

DO NOT MERGE

Observed issue #6429

In think update Jackson 2.20 to 2.21 is the path forward compatibility

I just tested with

PLUGINS=junit,jackson2-api,jackson3-api bash local-test.sh

It confirm aligning jackson2-api and jackson3-api fixes the junit issue

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@jonesbusy
Copy link
Contributor Author

Calendar view (infra issue)

[2026-03-03T05:39:10.266Z] org.apache.maven.plugin.PluginResolutionException: Plugin com.diffplug.spotless:spotless-maven-plugin:3.1.0 or one of its dependencies could not be resolved:
[2026-03-03T05:39:10.266Z] 	The following artifacts could not be resolved: com.diffplug.spotless:spotless-maven-plugin:pom:3.1.0 (absent): Could not transfer artifact com.diffplug.spotless:spotless-maven-plugin:pom:3.1.0 from/to artifact-caching-proxy (http://artifact-caching-proxy.artifact-caching-proxy.svc.cluster.local:8080/): artifact-caching-proxy.artifact-caching-proxy.svc.cluster.local: Temporary failure in name resolution
[2026-03-03T05:39:10.266Z] 
[2026-03-03T05:39:10.266Z]     at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve (DefaultPluginDependenciesResolver.java:135)
[2026-03-03T05:39:10.266Z]     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.lambda$getPluginDescriptor$0 (DefaultMavenPluginManager.java:188)
``

@jonesbusy
Copy link
Contributor Author

Similar infra issue for jobdsl (try to access https://mirrors.updates.jenkins.io/current/update-center.json)

[2026-03-03T05:49:19.502Z] 2026-03-03 05:49:19.457+0000 [id=1]	INFO	o.j.t.t.m.ExternalMavenRunner#run: Running mvn -B -V -e -ntp -pl :jobConfigHistory -Dmaven.test.failure.ignore=true -Dsurefire.rerunFailingTestsCount=1 -DforkCount=.75C -Dsurefire.excludesFile=/home/jenkins/agent/workspace/Tools_bom_PR-6432/excludes.txt -DoverrideWar=/home/jenkins/agent/workspace/Tools_bom_PR-6432/target/megawar-weekly.war -Djenkins.version=2.552 -DuseUpperBounds=true hpi:resolve-test-dependencies hpi:test-hpl hpi:test-runtime surefire:test in /home/jenkins/agent/workspace/Tools_bom_PR-6432/target/pct-work/job-config-history-plugin >> /home/jenkins/agent/workspace/Tools_bom_PR-6432/target/pct-work/logs/jobConfigHistory/v1356.ve360da_6c523a__against_core_version_2.552.log
[2026-03-03T05:49:19.704Z] Apache Maven 3.9.12 (848fbb4bf2d427b72bdb2471c22fced7ebd9a7a1)
[2026-03-03T05:49:19.704Z] Maven home: /usr/share/apache-maven-3.9.12
[2026-03-03T05:49:19.704Z] Java version: 21.0.10, vendor: Eclipse Adoptium, runtime: /opt/jdk-21
[2026-03-03T05:49:19.704Z] Default locale: en_US, platform encoding: UTF-8
[2026-03-03T05:49:19.704Z] OS name: "linux", version: "6.12.64-87.122.amzn2023.x86_64", arch: "amd64", family: "unix"
[2026-03-03T05:49:19.866Z] [INFO]       [get] https://updates.jenkins.io/update-center.json permanently moved to https://updates.jenkins.io/current/update-center.json
[2026-03-03T05:49:19.967Z] [INFO]       [get] https://updates.jenkins.io/current/update-center.json moved to https://mirrors.updates.jenkins.io/current/update-center.json
[2026-03-03T05:49:20.168Z] [INFO]       [get] Error opening connection java.io.FileNotFoundException: https://mirrors.updates.jenkins.io/current/update-center.json
[2026-03-03T05:49:20.169Z] [INFO]       [get] Error opening connection java.io.FileNotFoundException: https://mirrors.updates.jenkins.io/current/update-center.json
[2026-03-03T05:49:20.169Z] [INFO]       [get] Error opening connection java.io.FileNotFoundException: https://mirrors.updates.jenkins.io/current/update-center.json
[2026-03-03T05:49:20.169Z] [INFO]       [get] Can't get https://updates.jenkins.io/update-center.json to /home/jenkins/agent/workspace/Tools_bom_PR-6432/target/pct-work/job-dsl-plugin/job-dsl-plugin/target/update-center.jsonp
[2026-03-03T05:49:20.169Z] [INFO] ------------------------------------------------------------------------
[2026-03-03T05:49:20.169Z] [INFO] BUILD FAILURE
[2026-03-03T05:49:20.169Z] [INFO] ------------------------------------------------------------------------
[2026-03-03T05:49:20.169Z] [INFO] Total time:  14.331 s
[2026-03-03T05:49:20.169Z] [INFO] Finished at: 2026-03-03T05:49:20Z
[2026-03-03T05:49:20.169Z] [INFO] ------------------------------------------------------------------------
[2026-03-03T05:49:20.169Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (download-update-center) on project job-dsl: An Ant BuildException has occured: Can't get https://updates.jenkins.io/update-center.json to /home/jenkins/agent/workspace/Tools_bom_PR-6432/target/pct-work/job-dsl-plugin/job-dsl-plugin/target/update-center.jsonp
[2026-03-03T05:49:20.169Z] [ERROR] around Ant part ...<get src="https://updates.jenkins.io/update-center.json" dest="/home/jenkins/agent/workspace/Tools_bom_PR-6432/target/pct-work/job-dsl-plugin/job-dsl-plugin/target/update-center.jsonp" />... @ 4:192 in /home/jenkins/agent/workspace/Tools_bom_PR-6432/target/pct-work/job-dsl-plugin/job-dsl-plugin/target/antrun/build-main.xml
[2026-03-03T05:49:20.169Z] [ERROR] -> [Help 1]
``

@jonesbusy
Copy link
Contributor Author

jonesbusy commented Mar 3, 2026

Don't think this failure is cause by this PR

[2026-03-03T17:37:36.182Z] [INFO] --- checkstyle:3.6.0:check (validate) @ gitlab-oauth ---
[2026-03-03T17:37:37.293Z] [WARNING] Error injecting: org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo
[2026-03-03T17:37:37.294Z] java.lang.UnsupportedClassVersionError: com/puppycrawl/tools/checkstyle/api/CheckstyleException has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

Other infra issue

[2026-03-03T17:45:19.990Z] [PodInfo] jenkins-agents-bom/jnlp-maven-bom-5pf2m [2026-03-03T17:45:19.990Z] 	Container [jnlp] terminated [Error] No message [2026-03-03T17:45:19.990Z] 	Pod [Failed][PodFailed] No message [2026-03-03T17:45:19.990Z] jenkins-agents-bom/jnlp-maven-bom-5pf2m Container jnlp was terminated. [2026-03-03T17:45:15.208Z] [INFO]  [2026-03-03T17:45:15.208Z] [INFO] ---

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants