You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Peter De Maeyer (Jira)" <ji...@apache.org> on 2020/11/28 20:37:00 UTC
[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for
no apparent reason
[ https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Maeyer updated CXF-8382:
---------------------------------
Description:
Current master branch: when running all the unit tests (admittedly, against my own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for no apparent reason.
I am using Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test running anymore.
Thread dump in attachment.
Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{<pid>}}{color}
# {{kill -3 <pid>}} {color:grey}to get the thread dump{color}
{noformat}
[INFO] --------------< org.apache.cxf:cxf-rt-rs-security-oauth2 >--------------
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT [90/198]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ cxf-rt-rs-security-oauth2 ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 mixed mode, sharing):
{noformat}
was:
Current master branch: when running all the unit tests (admittedly, against my own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for no apparent reason.
I am using Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test running anymore.
Thread dump in attachment.
Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} gets stuck
# {{ps -ef | grep java}} to identify the Java {{<pid>}}
# {{kill -3 <pid>}} to get the thread dump
{noformat}
[INFO] --------------< org.apache.cxf:cxf-rt-rs-security-oauth2 >--------------
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT [90/198]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ cxf-rt-rs-security-oauth2 ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 mixed mode, sharing):
{noformat}
> Running all unit tests gets stuck for no apparent reason
> --------------------------------------------------------
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
> Issue Type: Bug
> Reporter: Peter De Maeyer
> Priority: Minor
> Attachments: thread-dump.txt
>
>
> Current master branch: when running all the unit tests (admittedly, against my own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for no apparent reason.
> I am using Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{<pid>}}{color}
> # {{kill -3 <pid>}} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --------------< org.apache.cxf:cxf-rt-rs-security-oauth2 >--------------
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT [90/198]
> [INFO] -------------------------------[ bundle ]-------------------------------
> [INFO]
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ cxf-rt-rs-security-oauth2 ---
> [INFO]
> [INFO] -------------------------------------------------------
> [INFO] T E S T S
> [INFO] -------------------------------------------------------
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 mixed mode, sharing):
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)