You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@polaris.apache.org by "jbonofre (via GitHub)" <gi...@apache.org> on 2025/05/25 05:30:56 UTC

[I] `:polaris-version:jarTest` task is failing with the release profile [polaris]

jbonofre opened a new issue, #1676:
URL: https://github.com/apache/polaris/issues/1676

   ### Describe the bug
   
   When doing a release, we do a build with `-Prelease` property. The build does `:polaris-version:jarTest`.
   
   If it works without the release property, it fails when using `-Prelease`.
   
   ### To Reproduce
   
   Just run `./gradlew :polaris-version:jarTest -Prelease -PuseGpgAgent`
   
   ### Actual Behavior
   
   The following tests are failing:
   
   ```
   TestPolarisVersion > versionAvailable() FAILED
       org.assertj.core.error.AssertJMultipleFailuresError: 
       Multiple Failures (7 failures)
       -- failure 1 --
       Expecting value to be false but was true
       at TestPolarisVersion.versionAvailable(TestPolarisVersion.java:60)
       -- failure 2 --
       Expecting an empty Optional but was containing value: "0.10.0-beta-incubating"
       at TestPolarisVersion.versionAvailable(TestPolarisVersion.java:61)
       -- failure 3 --
       Expecting an empty Optional but was containing value: "2025-05-25-07:27:10:z"
       at TestPolarisVersion.versionAvailable(TestPolarisVersion.java:62)
       -- failure 4 --
       Expecting an empty Optional but was containing value: "52e30f0378d6092880918b15a34a6c6b4d51c1f8"
       at TestPolarisVersion.versionAvailable(TestPolarisVersion.java:63)
       -- failure 5 --
       Expecting an empty Optional but was containing value: "apache-polaris-0.10.0-beta-incubating-rc4"
       at TestPolarisVersion.versionAvailable(TestPolarisVersion.java:64)
       -- failure 6 --
       Expecting an empty Optional but was containing value: "Darwin MacBookPro.local 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:28:23 PDT 2025; root:xnu-11417.101.15~117/RELEASE_X86_64 x86_64"
       at TestPolarisVersion.versionAvailable(TestPolarisVersion.java:65)
       -- failure 7 --
       Expecting an empty Optional but was containing value: "21.0.7"
       at TestPolarisVersion.versionAvailable(TestPolarisVersion.java:66)
           at java.base@21.0.7/java.util.ArrayList.forEach(ArrayList.java:1596)
           at java.base@21.0.7/java.util.ArrayList.forEach(ArrayList.java:1596)
   ```
   
   ### Expected Behavior
   
   The `:polaris-version:jarTest` should pass without test failure with the `-Prelease` property.
   
   ### Additional context
   
   _No response_
   
   ### System information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] `:polaris-version:jarTest` task is failing with the release profile [polaris]

Posted by "flyrain (via GitHub)" <gi...@apache.org>.
flyrain closed issue #1676: `:polaris-version:jarTest` task is failing with the release profile
URL: https://github.com/apache/polaris/issues/1676


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@polaris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org