solr icon indicating copy to clipboard operation
solr copied to clipboard

Update fasterxml to v2.19.1

Open solrbot opened this issue 10 months ago • 1 comments

This PR contains the following updates:

Package Type Update Change
com.fasterxml.jackson.dataformat:jackson-dataformat-smile dependencies minor 2.18.2 -> 2.19.1
com.fasterxml.jackson.dataformat:jackson-dataformat-cbor dependencies minor 2.18.2 -> 2.19.1
com.fasterxml.jackson.core:jackson-databind (source) dependencies minor 2.18.2 -> 2.19.1
com.fasterxml.jackson.core:jackson-core dependencies minor 2.18.2 -> 2.19.1
com.fasterxml.jackson.core:jackson-annotations (source) dependencies minor 2.18.2 -> 2.19.1
com.fasterxml.jackson:jackson-bom dependencies minor 2.18.2 -> 2.19.1

Configuration

📅 Schedule: Branch creation - "* * * * *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot

solrbot avatar Mar 01 '25 04:03 solrbot

@malliaridis Do you want to handle this and related / dependent deps? I have scheduled it for rebase on next solrbot run to clean up the conflict.

janhoy avatar Sep 01 '25 21:09 janhoy

⚠️ Artifact update problem

Renovate failed to update artifacts related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: ./gradlew resolveAndLockAll --write-locks

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Script '/tmp/renovate/repos/github/apache/solr/gradle/validation/dependencies.gradle' line: 101

* What went wrong:
Execution failed for task ':solr:api:resolveAndLockAll'.
> Could not resolve all files for configuration ':solr:api:apiHelper'.
   > Could not find com.fasterxml.jackson.core:jackson-annotations:2.20.0.
     Searched in the following locations:
       - https://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.20.0/jackson-annotations-2.20.0.pom
     Required by:
         project :solr:api
         project :solr:api > project :platform

* Try:
> If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Script '/tmp/renovate/repos/github/apache/solr/gradle/validation/dependencies.gradle' line: 101

* What went wrong:
Execution failed for task ':solr:benchmark:resolveAndLockAll'.
> Could not resolve all files for configuration ':solr:benchmark:compileClasspath'.
   > Could not find com.fasterxml.jackson.core:jackson-annotations:2.20.0.
     Required by:
         project :solr:benchmark > project :solr:test-framework > project :solr:api
         project :solr:benchmark > project :solr:test-framework > project :solr:core > project :platform

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
==============================================================================

BUILD FAILED in 14s

File name: undefined
Command failed: ./gradlew updateLicenses

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':solr:api:collectJarInfos'.
> Could not resolve all dependencies for configuration ':solr:api:jarValidation'.
   > Did not resolve 'com.fasterxml.jackson.core:jackson-annotations:2.18.2' which is part of the dependency lock state
   > Could not resolve com.fasterxml.jackson.core:jackson-annotations:2.20.0.
     Required by:
         project :solr:api
         project :solr:api > project :platform
         project :solr:api > project :solr:test-framework > project :solr:core
         project :solr:api > project :solr:test-framework > project :solr:solrj
      > Cannot find a version of 'com.fasterxml.jackson.core:jackson-annotations' that satisfies the version constraints:
           Dependency path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'com.fasterxml.jackson.core:jackson-annotations:2.20.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'com.fasterxml.jackson.core:jackson-annotations:{strictly 2.18.2}' because of the following reason: dependency was locked to version '2.18.2'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache:platform:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-annotations:2.20.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:api:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-annotations:2.20.0'
           Dependency path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'com.fasterxml.jackson.core:jackson-databind:2.20.0' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-annotations:2.20'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:core:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-annotations:2.20.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:solrj:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-annotations:2.20.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'com.fasterxml.jackson.core:jackson-databind:2.20.0' (runtimeElements) --> 'com.fasterxml.jackson:jackson-bom:2.18.2' (platform-runtime) --> 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'
           Dependency path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:core:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.glassfish.jersey.media:jersey-media-json-jackson:3.1.11' (runtime) --> 'com.fasterxml.jackson.core:jackson-annotations:2.18.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:core:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.glassfish.jersey.media:jersey-media-json-jackson:3.1.11' (runtime) --> 'com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:2.18.2' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-annotations:2.18.2'

   > Could not resolve com.fasterxml.jackson.core:jackson-databind:2.20.0.
     Required by:
         project :solr:api
         project :solr:api > project :platform
         project :solr:api > project :solr:test-framework > project :solr:core
         project :solr:api > project :solr:test-framework > project :solr:solrj
      > Cannot find a version of 'com.fasterxml.jackson.core:jackson-databind' that satisfies the version constraints:
           Dependency path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'com.fasterxml.jackson.core:jackson-databind:2.20.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'com.fasterxml.jackson.core:jackson-databind:{strictly 2.18.2}' because of the following reason: dependency was locked to version '2.18.2'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache:platform:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-databind:2.20.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:core:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-databind:2.20.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:solrj:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-databind:2.20.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'com.fasterxml.jackson.core:jackson-databind:2.20.0' (runtimeElements) --> 'com.fasterxml.jackson:jackson-bom:2.18.2' (platform-runtime) --> 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
           Dependency path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:core:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.glassfish.jersey.media:jersey-media-json-jackson:3.1.11' (runtime) --> 'com.fasterxml.jackson.core:jackson-databind:2.18.0'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:core:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.18.2' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:core:10.0.0-SNAPSHOT' (runtimeElements) --> 'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.18.2' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-databind:2.18.2'
           Constraint path 'org.apache.solr:api:10.0.0-SNAPSHOT' --> 'org.apache.solr:test-framework:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.apache.solr:core:10.0.0-SNAPSHOT' (runtimeElements) --> 'org.glassfish.jersey.media:jersey-media-json-jackson:3.1.11' (runtime) --> 'com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:2.18.2' (runtimeElements) --> 'com.fasterxml.jackson.core:jackson-databind:2.18.2'

> There are 7 more failures with identical causes.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.

BUILD FAILED in 14s

solrbot avatar Sep 03 '25 02:09 solrbot

I will try to review this ideally by the end of this week.

malliaridis avatar Sep 04 '25 14:09 malliaridis

Btw. minimum supported Guava version is set to 22.0, but I believe it does not have any impact here or in branch_9x.

malliaridis avatar Sep 10 '25 15:09 malliaridis

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

solrbot avatar Sep 10 '25 16:09 solrbot

@janhoy I have looked into the current test failures, and it seems that one test is related to CBOR serialization, part of the fasterxml databind module. It fails because the current bytes of the serialized object do not match the expected value (actual is lower). I am not sure if this is a (breaking or not) change caused by the update. Updating the expected bytes to the actual bytes fixes the test.

Some other tests fail as well, but it seems it is not related to the update. I will try to troubleshoot a bit more, but I believe this would be the final state.

malliaridis avatar Sep 11 '25 18:09 malliaridis