[
https://issues.apache.org/jira/browse/CALCITE-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034053#comment-18034053
]
Zhen Chen edited comment on CALCITE-7255 at 10/30/25 1:07 AM:
--------------------------------------------------------------
[~francischuang] Here is my test scenario.
- using code from
[https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-1.41.0-rc0/apache-calcite-1.41.0-src.tar.gz]
- WSL2 Ubuntu 22.04
- docker-desktop v4.46.0
docker image eclipse-temurin:8
- java -version
openjdk version "1.8.0_462"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_462-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.462-b08, mixed mode)
- gradle -version
------------------------------------------------------------
Gradle 8.7
------------------------------------------------------------
Build time: 2024-03-22 15:52:46 UTC
Revision: 650af14d7653aa949fce5e886e685efc9cf97c10
Kotlin: 1.9.22
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4
2023
JVM: 1.8.0_462 (Temurin 25.462-b08)
OS: Linux 6.6.87.2-microsoft-standard-WSL2 amd64
- command is "gradle check"
This environment configuration is reproducible. The location where it hangs
matches what francis said.
follow as:
CalciteSqlOperatorTest > testExtractValue() STANDARD_ERROR
[Fatal Error] :1:14: The markup in the document following the root element
must be well-formed.
3.4sec, org.apache.calcite.test.CalciteSqlOperatorTest >
testRlikeOperator()
0.0sec, 3 completed, 0 failed, 0 skipped,
org.apache.calcite.test.CalciteSqlOperatorTest >
testCastFormatClauseByteToString(CastType, SqlOperatorFixture)
WARNING 214.2sec, 576 completed, 0 failed, 1 skipped,
org.apache.calcite.test.CalciteSqlOperatorTest
<============-> 99% EXECUTING [10m 20s]
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> :core:test > 15151 tests completed, 109 skipped
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> :core:test > Executing test org.apache.calcite.test.SqlLineTest
was (Author: jensen):
[~francischuang] Here is my test scenario.
- using code from
https://dist.apache.org/repos/dist/dev/calcite/apache-calcite-1.41.0-rc0/apache-calcite-1.41.0-src.tar.gz
- WSL2 Ubuntu 22.04
- docker-desktop v4.46.0
docker image eclipse-temurin:8
- java -version
openjdk version "1.8.0_462"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_462-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.462-b08, mixed mode)
- gradle -version
------------------------------------------------------------
Gradle 8.7
------------------------------------------------------------
Build time: 2024-03-22 15:52:46 UTC
Revision: 650af14d7653aa949fce5e886e685efc9cf97c10
Kotlin: 1.9.22
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 1.8.0_462 (Temurin 25.462-b08)
OS: Linux 6.6.87.2-microsoft-standard-WSL2 amd64
- command is "gradle check"
This environment configuration is reproducible. The location where it hangs
matches what francis said.
follow as:
CalciteSqlOperatorTest > testExtractValue() STANDARD_ERROR
[Fatal Error] :1:14: The markup in the document following the root element
must be well-formed.
3.4sec, org.apache.calcite.test.CalciteSqlOperatorTest >
testRlikeOperator()
0.0sec, 3 completed, 0 failed, 0 skipped,
org.apache.calcite.test.CalciteSqlOperatorTest >
testCastFormatClauseByteToString(CastType, SqlOperatorFixture)
WARNING 214.2sec, 576 completed, 0 failed, 1 skipped,
org.apache.calcite.test.CalciteSqlOperatorTest
<============-> 99% EXECUTING [10m 20s]
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> :core:test > 15151 tests completed, 109 skipped
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> IDLE
> :core:test > Executing test org.apache.calcite.test.SqlLineTest
> Gradle check hangs when running tests using OpenJDK8
> ----------------------------------------------------
>
> Key: CALCITE-7255
> URL: https://issues.apache.org/jira/browse/CALCITE-7255
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.40.0
> Reporter: Francis Chuang
> Priority: Major
>
> I am able to reproduce the problem using the following setups:
> * Ubuntu 24.04 with OpenJDK 8
> * eclipse-temurin:8 docker container on Windows 11 using WSL2 (Ubuntu 24.04)
> This is the output from when it hangs:
> {code:java}
> CalciteSqlOperatorTest > testExtractValue() STANDARD_ERROR
> [Fatal Error] :1:14: The markup in the document following the root
> element must be well-formed.
> 3.2sec, org.apache.calcite.test.CalciteSqlOperatorTest >
> testRlikeOperator()
> 0.0sec, 3 completed, 0 failed, 0 skipped,
> org.apache.calcite.test.CalciteSqlOperatorTest >
> testCastFormatClauseByteToString(CastType, SqlOperatorFixture)
> WARNING 138.2sec, 576 completed, 0 failed, 1 skipped,
> org.apache.calcite.test.CalciteSqlOperatorTest
> <===<============-> 99% EXECUTING [1h 9m 4s]
> > IDLE
> > IDLE
> > IDLE
> > IDLE
> > IDLE
> > IDLEe:test > Executing test org.apache.calcite.test.SqlLineTest
> > IDLE
> > :core:test > Executing test org.apache.calcite.test.SqlLineTest
> > IDLE
> > IDLE
> > IDLE
> > IDLE
> > IDLEe:test > Executing test org.apache.calcite.test.CalciteSqlOperatorTest
> > IDLE
> > IDLE
> > IDLE
> > IDLE
> > IDLE
> > IDLE
> > IDLE
> > IDLE
> > :core:test > 15151 tests completed, 109 skipped{code}
> This problem does not occur when using eclipse-temurin:23. I have not test
> other versions.
> Java version in Ubuntu 24.04 VM:
> {code:java}
> $ java -version
> openjdk version "1.8.0_462"
> OpenJDK Runtime Environment (build
> 1.8.0_462-8u462-ga~us1-0ubuntu2~24.04.2-b08)
> OpenJDK 64-Bit Server VM (build 25.462-b08, mixed mode){code}
>
> Java version in eclipse-temurin:8 container:
> {code:java}
> $ java -version
> openjdk version "1.8.0_462"
> OpenJDK Runtime Environment (Temurin)(build 1.8.0_462-b08)
> OpenJDK 64-Bit Server VM (Temurin)(build 25.462-b08, mixed mode){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)