You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "stoty (via GitHub)" <gi...@apache.org> on 2025/02/24 05:42:57 UTC

[PR] [CALCITE-6851] ShadingTest.validateShadedJar fails on first/clean build [calcite-avatica]

stoty opened a new pull request, #279:
URL: https://github.com/apache/calcite-avatica/pull/279

   (no comment)


-- 
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: commits-unsubscribe@calcite.apache.org

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


Re: [PR] [CALCITE-6851] ShadingTest.validateShadedJar fails on first/clean build [calcite-avatica]

Posted by "F21 (via GitHub)" <gi...@apache.org>.
F21 commented on PR #279:
URL: https://github.com/apache/calcite-avatica/pull/279#issuecomment-2677655358

   Not sure if related to this change, but I am seeing test failures when running `./gradlew check` using a clean clone of your branch using the `eclipse-temurin:23` docker container. I also see the same error when using `eclipse-temurin:8`.
   
   Here's the output of running `./gradlew check` twice:
   ```
   $ ./gradlew check
   
   > Configure project :
   Building Apache Calcite Avatica 1.27.0-SNAPSHOT
   
   > Task :standalone-server:test FAILED
   FAILURE   0.0sec, org.apache.calcite.avatica.shadetest.ShadingTest > validateShadedJar
       java.nio.file.NoSuchFileException: /calcite-avatica/standalone-server/build/libs
           at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
           at java.base/sun.nio.fs.UnixException.asIOException(UnixException.java:115)
           at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:502)
           at java.base/java.nio.file.Files.newDirectoryStream(Files.java:482)
           at java.base/java.nio.file.Files.list(Files.java:3796)
           at org.apache.calcite.avatica.shadetest.ShadingTest.getShadedJarFile(ShadingTest.java:67)
           at org.apache.calcite.avatica.shadetest.ShadingTest.validateShadedJar(ShadingTest.java:50)
   
   
   org.apache.calcite.avatica.shadetest.ShadingTest > validateShadedJar FAILED
       java.nio.file.NoSuchFileException: /calcite-avatica/standalone-server/build/libs
           at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
           at java.base/sun.nio.fs.UnixException.asIOException(UnixException.java:115)
           at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:502)
           at java.base/java.nio.file.Files.newDirectoryStream(Files.java:482)
           at java.base/java.nio.file.Files.list(Files.java:3796)
           at org.apache.calcite.avatica.shadetest.ShadingTest.getShadedJarFile(ShadingTest.java:67)
           at org.apache.calcite.avatica.shadetest.ShadingTest.validateShadedJar(ShadingTest.java:50)
   FAILURE   0.2sec,    1 completed,   1 failed,   0 skipped, org.apache.calcite.avatica.shadetest.ShadingTest
   FAILURE   1.4sec,    1 completed,   1 failed,   0 skipped, Gradle Test Run :standalone-server:test
   
   1 test completed, 1 failed
   
   > Task :core:compileTestJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   > Task :server:compileTestJava
   Note: Some input files use unchecked or unsafe operations.
   Note: Recompile with -Xlint:unchecked for details.
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':standalone-server:test'.
   > There were failing tests. See the report at: file:///calcite-avatica/standalone-server/build/reports/tests/test/index.html
   
   * Try:
   > Run with --scan to get full insights.
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
   
   You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
   
   BUILD FAILED in 11s
   84 actionable tasks: 23 executed, 61 up-to-date
   $ ./gradlew check
   
   > Configure project :
   Building Apache Calcite Avatica 1.27.0-SNAPSHOT
   
   > Task :standalone-server:test FAILED
   FAILURE   0.1sec, org.apache.calcite.avatica.shadetest.ShadingTest > validateShadedJar
       java.nio.file.NoSuchFileException: /calcite-avatica/standalone-server/build/libs
           at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
           at java.base/sun.nio.fs.UnixException.asIOException(UnixException.java:115)
           at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:502)
           at java.base/java.nio.file.Files.newDirectoryStream(Files.java:482)
           at java.base/java.nio.file.Files.list(Files.java:3796)
           at org.apache.calcite.avatica.shadetest.ShadingTest.getShadedJarFile(ShadingTest.java:67)
           at org.apache.calcite.avatica.shadetest.ShadingTest.validateShadedJar(ShadingTest.java:50)
   
   
   org.apache.calcite.avatica.shadetest.ShadingTest > validateShadedJar FAILED
       java.nio.file.NoSuchFileException: /calcite-avatica/standalone-server/build/libs
           at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
           at java.base/sun.nio.fs.UnixException.asIOException(UnixException.java:115)
           at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:502)
           at java.base/java.nio.file.Files.newDirectoryStream(Files.java:482)
           at java.base/java.nio.file.Files.list(Files.java:3796)
           at org.apache.calcite.avatica.shadetest.ShadingTest.getShadedJarFile(ShadingTest.java:67)
           at org.apache.calcite.avatica.shadetest.ShadingTest.validateShadedJar(ShadingTest.java:50)
   FAILURE   0.2sec,    1 completed,   1 failed,   0 skipped, org.apache.calcite.avatica.shadetest.ShadingTest
   FAILURE   0.9sec,    1 completed,   1 failed,   0 skipped, Gradle Test Run :standalone-server:test
   
   1 test completed, 1 failed
   
   > Task :metrics-dropwizardmetrics:test
             0.1sec,    1 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardCounterTest
             0.0sec,    1 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardGaugeTest
             0.6sec,    1 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardHistogramTest
             0.0sec,    1 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardMeterTest
             0.0sec,    3 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardMetricsSystemFactoryTest
             0.2sec,    5 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardMetricsSystemTest
             0.0sec,    1 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.dropwizard.DropwizardTimerTest
             1.7sec,   13 completed,   0 failed,   0 skipped, Gradle Test Run :metrics-dropwizardmetrics:test
   
   > Task :metrics:test
             1.1sec,    3 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.MetricsSystemLoaderTest
             0.0sec,    1 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.noop.NoopMetricsSystemFactoryTest
             0.0sec,    2 completed,   0 failed,   0 skipped, org.apache.calcite.avatica.metrics.noop.NoopMetricsSystemTest
             1.8sec,    6 completed,   0 failed,   0 skipped, Gradle Test Run :metrics:test
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':standalone-server:test'.
   > There were failing tests. See the report at: file:///calcite-avatica/standalone-server/build/reports/tests/test/index.html
   
   * Try:
   > Run with --scan to get full insights.
   
   Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
   
   You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
   
   For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
   
   BUILD FAILED in 6s
   99 actionable tasks: 17 executed, 82 up-to-date
   $
   ```


-- 
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: commits-unsubscribe@calcite.apache.org

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


Re: [PR] [CALCITE-6851] ShadingTest.validateShadedJar fails on first/clean build [calcite-avatica]

Posted by "stoty (via GitHub)" <gi...@apache.org>.
stoty commented on PR #279:
URL: https://github.com/apache/calcite-avatica/pull/279#issuecomment-2677741764

   I have added the dependsOn to both modules, now both check and build works for me @F21 .


-- 
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: commits-unsubscribe@calcite.apache.org

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


Re: [PR] [CALCITE-6851] ShadingTest.validateShadedJar fails on first/clean build [calcite-avatica]

Posted by "stoty (via GitHub)" <gi...@apache.org>.
stoty commented on PR #279:
URL: https://github.com/apache/calcite-avatica/pull/279#issuecomment-2677711273

   I can repro that.
   build works, but check doesn't.
   
   I will try and look into a gradle lifecycle more.


-- 
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: commits-unsubscribe@calcite.apache.org

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


Re: [PR] [CALCITE-6851] ShadingTest.validateShadedJar fails on first/clean build [calcite-avatica]

Posted by "stoty (via GitHub)" <gi...@apache.org>.
stoty closed pull request #279: [CALCITE-6851] ShadingTest.validateShadedJar fails on first/clean build
URL: https://github.com/apache/calcite-avatica/pull/279


-- 
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: commits-unsubscribe@calcite.apache.org

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


Re: [PR] [CALCITE-6851] ShadingTest.validateShadedJar fails on first/clean build [calcite-avatica]

Posted by "F21 (via GitHub)" <gi...@apache.org>.
F21 commented on PR #279:
URL: https://github.com/apache/calcite-avatica/pull/279#issuecomment-2677750564

   Works for me, but seeing an error related to `ConnectionPropertiesHATest`. I will file an issue for that.


-- 
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: commits-unsubscribe@calcite.apache.org

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


Re: [PR] [CALCITE-6851] ShadingTest.validateShadedJar fails on first/clean build [calcite-avatica]

Posted by "stoty (via GitHub)" <gi...@apache.org>.
stoty commented on PR #279:
URL: https://github.com/apache/calcite-avatica/pull/279#issuecomment-2680700695

   Committed manually.


-- 
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: commits-unsubscribe@calcite.apache.org

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