Skip to content

itests pass successfully but then hang for 30 seconds with an error #1093

@amichair

Description

@amichair

I think I'm seeing PAXEXAM-920 re-surface when upgrading maven-failsafe-plugin from 2.22.2 to 3.1.2 (running in Karaf 4.4.4, Pax Exam 4.13.3, OpenJDK 11.0.20.1+1, Linux). With 2.22.2 all is fine, and after changing to 3.1.2, for some application itests, the tests pass successfully but then hang for 30 seconds and the console shows

[ERROR] Surefire is going to kill self fork JVM. The exit has elapsed 30 seconds after System.exit(0).

I haven't fully analyzed what's going on, though it seems the forked JVM has no application threads left running, and the only non-daemon thread is the main one stuck waiting for an ack for a bye command or something like that. Sounds very similar to the original issue description...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions