[ 
https://issues.apache.org/jira/browse/CALCITE-7255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18034135#comment-18034135
 ] 

Zhen Chen edited comment on CALCITE-7255 at 10/30/25 10:25 AM:
---------------------------------------------------------------

I tested it in this environment and it works properly. Could not reproduce the 
issue. Could this be an issue with the docker image eclipse-temurin:8?

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy

# java -version
openjdk version "1.8.0_462"
OpenJDK Runtime Environment (build 1.8.0_462-8u462-ga~us1-0ubuntu2~22.04.2-b08)
OpenJDK 64-Bit Server VM (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 (Private Build 25.462-b08)
OS:           Linux 6.6.87.2-microsoft-standard-WSL2 amd64


was (Author: jensen):
I tested it in this environment and it works properly. Could not reproduce the 
issue. Could this be an issue with the docker image eclipse-temurin:8?

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy


# java -version
openjdk version "1.8.0_462"
OpenJDK Runtime Environment (build 1.8.0_462-8u462-ga~us1-0ubuntu2~22.04.2-b08)
OpenJDK 64-Bit Server VM (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 (Private Build 25.462-b08)
OS:           Linux 6.6.87.2-microsoft-standard-WSL2 amd64

> 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, 1.41.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)

Reply via email to