See 
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/851/display/redirect?page=changes>

Changes:

[mbudiu] [CALCITE-6248] Illegal dates are accepted by casts


------------------------------------------
[...truncated 300.77 KB...]
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:87:
 warning: no @param for kind
  public static SqlBasicAggFunction create(SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:87:
 warning: no @param for returnTypeInference
  public static SqlBasicAggFunction create(SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:87:
 warning: no @param for operandTypeChecker
  public static SqlBasicAggFunction create(SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:87:
 warning: no @return
  public static SqlBasicAggFunction create(SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @param for name
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @param for kind
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @param for returnTypeInference
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @param for operandTypeChecker
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:94:
 warning: no @return
  public static SqlBasicAggFunction create(String name, SqlKind kind,
                                    ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:147:
 warning: no @param for name
  public SqlAggFunction withName(String name) {
                        ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:147:
 warning: no @return
  public SqlAggFunction withName(String name) {
                        ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:165:
 warning: no @param for category
  public SqlBasicAggFunction withFunctionType(SqlFunctionCategory category) {
                             ^
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/core/src/main/java/org/apache/calcite/sql/fun/SqlBasicAggFunction.java>:165:
 warning: no @return
  public SqlBasicAggFunction withFunctionType(SqlFunctionCategory category) {
                             ^

> Task :piglet:test
          8.3sec, org.apache.calcite.test.PigletTest > 
testValues()
          8.3sec, org.apache.calcite.test.PigRelBuilderTest 
> testGroup2()
         10.0sec,   22 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.PigRelBuilderTest
         11.1sec, org.apache.calcite.test.PigRelExTest > 
testNegation()
         11.3sec, org.apache.calcite.test.PigRelOpTest > 
testLoadWithSchema()
          2.6sec, org.apache.calcite.test.PigScriptTest > 
testReadScript()
          2.7sec,    1 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.PigScriptTest
WARNING  14.1sec,   19 completed,   0 failed,   1 
skipped, org.apache.calcite.test.PigletTest
          2.9sec, org.apache.calcite.test.PigRelOpTest > 
testForEachNested()
          2.1sec, org.apache.calcite.test.PigRelExTest > 
testCast()
WARNING  23.0sec,   29 completed,   0 failed,   1 
skipped, org.apache.calcite.test.PigRelExTest
          2.2sec, org.apache.calcite.test.PigRelOpTest > 
testJoin2Rels()
         25.5sec,   35 completed,   0 failed,   0 skipped, 
org.apache.calcite.test.PigRelOpTest
WARNING  29.9sec,  106 completed,   0 failed,   2 
skipped, Gradle Test Run :piglet:test

> Task :piglet:check
> Task :piglet:build

> Task :plus:test
SKIPPED   0.0sec,    0 completed,   0 failed,   0 
skipped, org.apache.calcite.slt.SqlLogicTests > testAll()
WARNING   0.8sec,    0 completed,   0 failed,   0 
skipped, org.apache.calcite.slt.SqlLogicTests
WARNING   0.0sec,    2 completed,   0 failed,   2 
skipped, org.apache.calcite.materialize.TpcdsLatticeSuggesterTest
          8.4sec, 
org.apache.calcite.chinook.RemotePreparedStatementParametersTest > 
testParametersShouldWorkWithRaw()
         11.6sec, 
org.apache.calcite.adapter.os.OsAdapterTest > testVmstat()
          3.2sec, 
org.apache.calcite.chinook.RemotePreparedStatementParametersTest > 
testSeveralParametersShouldWorkWithCalcite()
         12.2sec,    3 completed,   0 failed,   0 skipped, 
org.apache.calcite.chinook.RemotePreparedStatementParametersTest
         14.8sec, org.apache.calcite.chinook.EndToEndTest > 
test(String)[1], [1] sql/preferred-for-specific-user.iq
         17.3sec,    4 completed,   0 failed,   0 skipped, 
org.apache.calcite.chinook.EndToEndTest > test(String)
         17.3sec,    4 completed,   0 failed,   0 skipped, 
org.apache.calcite.chinook.EndToEndTest
          2.1sec, 
org.apache.calcite.adapter.os.OsAdapterTest > testCpuInfo()
          2.6sec, 
org.apache.calcite.adapter.os.OsAdapterTest > testJps()
WARNING  20.9sec,   22 completed,   0 failed,   2 
skipped, org.apache.calcite.adapter.os.OsAdapterTest

> Task :redis:compileJava
Note: 
<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/redis/src/main/java/org/apache/calcite/adapter/redis/RedisSchema.java>
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :redis:classes
> Task :redis:jandexMain
> Task :redis:processJandexIndex NO-SOURCE
> Task :redis:jar
> Task :redis:sourcesJar
> Task :redis:assemble
> Task :redis:forbiddenApisMain
> Task :redis:compileTestJava
> Task :redis:testClasses
> Task :redis:forbiddenApisTest
> Task :redis:forbiddenApis
> Task :redis:jandexTest
> Task :redis:jandex
> Task :redis:javadoc

> Task :plus:test
         29.8sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery02Conversion()

> Task :redis:javadocJar

> Task :plus:test
         11.8sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery02()
         15.1sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery01()
         12.6sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery03()
          3.6sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery04()
          5.7sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery08()

> Task :redis:test FAILED
WARNING   0.1sec,    1 completed,   0 failed,   1 
skipped, org.apache.calcite.adapter.redis.RedisMiniServer

Gradle Test Executor 19 STANDARD_OUT
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:33,725 
[ForkJoinPool-1-worker-1] INFO  - Pulling docker image: 
testcontainers/ryuk:0.5.1. Please be patient; this may take some time but only 
needs to be done once.
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:34,119 
[docker-java-stream--1761815518] INFO  - Starting to pull image
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:34,285 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  0 
downloaded,  0 extracted, (0 bytes/0 bytes)
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:34,311 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  2 pending,  1 
downloaded,  0 extracted, (27 KB/? MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:34,355 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  1 pending,  2 
downloaded,  0 extracted, (58 KB/? MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:34,356 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  3 
downloaded,  0 extracted, (337 KB/5 MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:34,744 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  3 
downloaded,  1 extracted, (2 MB/5 MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:35,208 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  3 
downloaded,  2 extracted, (2 MB/5 MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:35,523 
[docker-java-stream--1761815518] INFO  - Pulling image layers:  0 pending,  3 
downloaded,  3 extracted, (5 MB/5 MB)
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:35,586 
[ForkJoinPool-1-worker-1] INFO  - Image testcontainers/ryuk:0.5.1 pull took 
PT1.848S
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:35,586 
[docker-java-stream--1761815518] INFO  - Pull complete. 3 layers, pulled in 1s 
(downloaded 5 MB at 5 MB/s)
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:35,720 
[ForkJoinPool-1-worker-1] INFO  - Creating container for image: 
testcontainers/ryuk:0.5.1
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:36,073 
[ForkJoinPool-1-worker-1] INFO  - Container testcontainers/ryuk:0.5.1 is 
starting: 94e440414af3b871f6a78713582d6eed8cdbdc561f6490a0d8e17b9a6edb9b47
    tc.testcontainers/ryuk:0.5.1 2024-04-01 16:45:37,329 
[ForkJoinPool-1-worker-1] INFO  - Container testcontainers/ryuk:0.5.1 started 
in PT1.609S
    tc.redis:2.8.19 2024-04-01 16:45:37,413 [ForkJoinPool-1-worker-1] INFO  - 
Pulling docker image: redis:2.8.19. Please be patient; this may take some time 
but only needs to be done once.
    tc.redis:2.8.19 2024-04-01 16:45:37,699 [docker-java-stream--1564687249] 
INFO  - Starting to pull image
    tc.redis:2.8.19 2024-04-01 16:45:37,700 [docker-java-stream--1564687249] 
INFO  - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 
bytes/0 bytes)
    tc.redis:2.8.19 2024-04-01 16:45:37,931 [docker-java-stream-1857506576] 
INFO  - Starting to pull image
    tc.redis:2.8.19 2024-04-01 16:45:37,932 [docker-java-stream-1857506576] 
INFO  - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 
bytes/0 bytes)
    tc.redis:2.8.19 2024-04-01 16:45:37,953 [ForkJoinPool-1-worker-1] INFO  - 
Pulling docker image: redis:2.8.19. Please be patient; this may take some time 
but only needs to be done once.
    tc.redis:2.8.19 2024-04-01 16:45:38,213 [docker-java-stream--1564687249] 
INFO  - Starting to pull image
    tc.redis:2.8.19 2024-04-01 16:45:38,214 [docker-java-stream--1564687249] 
INFO  - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 
bytes/0 bytes)
    tc.redis:2.8.19 2024-04-01 16:45:38,544 [docker-java-stream-1857506576] 
INFO  - Starting to pull image
    tc.redis:2.8.19 2024-04-01 16:45:38,547 [docker-java-stream-1857506576] 
INFO  - Pulling image layers:  0 pending,  0 downloaded,  0 extracted, (0 
bytes/0 bytes)
FAILURE   0.0sec, 
org.apache.calcite.adapter.redis.RedisAdapterCaseBase > 
initializationError
    org.testcontainers.containers.ContainerFetchException: Can't get Docker 
image: RemoteDockerImage(imageName=redis:2.8.19, 
imagePullPolicy=DefaultPullPolicy(), 
imageNameSubstitutor=org.testcontainers.utility.ImageNameSubstitutor$LogWrappedImageNameSubstitutor@32db02dc)
        at 
org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1367)
        at 
org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:362)
        at 
org.testcontainers.containers.GenericContainer.start(GenericContainer.java:333)
        at 
org.apache.calcite.adapter.redis.RedisCaseBase.startRedisContainer(RedisCaseBase.java:67)
        at 
org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
        at 
org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
        at 
org.junit.jupiter.engine.extension.SameThreadTimeoutInvocation.proceed(SameThreadTimeoutInvocation.java:45)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptLifecycleMethod(TimeoutExtension.java:128)
        at 
org.junit.jupiter.engine.extension.TimeoutExtension.interceptBeforeAllMethod(TimeoutExtension.java:70)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
        at 
org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
        at 
org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
        at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllMethods$13(ClassBasedTestDescriptor.java:411)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllMethods(ClassBasedTestDescriptor.java:409)
        at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:215)
        at 
org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:84)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
        at 
org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService$ExclusiveTask.compute(ForkJoinPoolHierarchicalTestExecutorService.java:185)
        at 
org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.executeNonConcurrentTasks(ForkJoinPoolHierarchicalTestExecutorService.java:155)
        at 
org.junit.platform.engine.support.hierarchical.ForkJoinPoolHierarchicalTestExecutorService.invokeAll(ForkJoinPoolHierarchicalTestExecutorService.java:135)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
        at 
org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
        at 
org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
        at 
org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
        Caused by: org.testcontainers.containers.ContainerFetchException: 
Failed to get Docker client for redis:2.8.19
            at 
org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:125)
            at 
org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:28)
            at 
org.testcontainers.utility.LazyFuture.getResolvedValue(LazyFuture.java:20)
            at org.testcontainers.utility.LazyFuture.get(LazyFuture.java:41)
            at 
org.testcontainers.containers.GenericContainer.getDockerImageName(GenericContainer.java:1365)
            ... 42 more
            Caused by: 
com.github.dockerjava.api.exception.DockerClientException: Could not pull 
image: [DEPRECATION NOTICE] Docker Image Format v1 and Docker Image manifest 
version 2, schema 1 support is disabled by default and will be removed in an 
upcoming release. Suggest the author of docker.io/library/redis:2.8.19 to 
upgrade the image to the OCI Format or Docker Image manifest v2, schema 2. More 
information at https://docs.docker.com/go/deprecated-image-specs/
                at 
com.github.dockerjava.api.command.PullImageResultCallback.checkDockerClientPullSuccessful(PullImageResultCallback.java:97)
                at 
com.github.dockerjava.api.command.PullImageResultCallback.throwFirstError(PullImageResultCallback.java:112)
                at 
com.github.dockerjava.api.async.ResultCallbackTemplate.awaitCompletion(ResultCallbackTemplate.java:93)
                at 
org.testcontainers.images.TimeLimitedLoggedPullImageResultCallback.awaitCompletion(TimeLimitedLoggedPullImageResultCallback.java:58)
                at 
org.testcontainers.images.RemoteDockerImage.resolve(RemoteDockerImage.java:97)
                ... 46 more

FAILURE  10.0sec,    1 completed,   1 failed,   0 
skipped, org.apache.calcite.adapter.redis.RedisAdapterCaseBase
FAILURE  13.9sec,    2 completed,   1 failed, 
  1 skipped, Gradle Test Run :redis:test

2 tests completed, 1 failed, 1 skipped

> Task :plus:test
          4.6sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery09()
         15.1sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery21()

> Task :server:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :plus:test
          2.5sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery10()
         21.8sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery05()

> Task :core:javadoc
100 warnings

> Task :plus:test
         43.9sec, org.apache.calcite.adapter.tpch.TpchTest 
> testQuery07()
WARNING  78.8sec,   29 completed,   0 failed,   7 
skipped, org.apache.calcite.adapter.tpch.TpchTest
WARNING  81.8sec,   60 completed,   0 failed,  11 
skipped, Gradle Test Run :plus:test

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':redis:test'.
> There were failing tests. See the report at: 
> file://<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/redis/build/reports/tests/test/index.html>

* 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

Deprecated Gradle features were used in this build, making it incompatible with 
Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings 
and determine if they come from your own scripts or plugins.

See 
https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6m 31s
398 actionable tasks: 398 executed

Publishing build scan...
https://ge.apache.org/s/3rsi7ynyzldue


See the profiling report at: 
file://<https://ci-builds.apache.org/job/Calcite/job/Calcite-snapshots/ws/build/reports/profile/profile-2024-04-01-16-39-49.html>
A fine-grained performance profile is available: use the --scan option.
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Recording test results
[Checks API] No suitable checks publisher found.

Reply via email to