You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2020/11/29 14:28:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17240264#comment-17240264 ] 

Andriy Redko commented on CXF-8382:
-----------------------------------

[~peterdm] could you please check if you have any files at rt/rs/security/oauth-parent/oauth2/target/surefire-reports folder? And share those if available? Thank you.

> 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
>
>
> When I run all the unit tests on master (SHA1 ID {{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for no apparent reason.
> I am using OpenJDK Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test running anymore.
> Thread dump in attachment.
> h3. 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}
> h3. Workaround
> Skip that project and continue with the next project:
> * {{CTRL-C}}
> * {{mvn surefire:test -rf :cxf-rt-rs-security-oauth2-saml}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)