[JIRA] (JENKINS-55146) PCT sometimes crashes on Java 11 due to module read errors when using the docker image

3 views
Skip to first unread message

m.vilacides@gmail.com (JIRA)

unread,
Jan 9, 2019, 4:58:02 AM1/9/19
to jenkinsc...@googlegroups.com
Isa Vilacides updated an issue
 
Jenkins / Bug JENKINS-55146
PCT sometimes crashes on Java 11 due to module read errors when using the docker image
Change By: Isa Vilacides
Summary: PCT sometimes crashes on Java 11 due to module read errors when using the docker image
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

m.vilacides@gmail.com (JIRA)

unread,
Jan 9, 2019, 5:05:03 AM1/9/19
to jenkinsc...@googlegroups.com
Isa Vilacides updated an issue
[https://issues.apache.org/jira/browse/SUREFIRE-1496]

 

Command: // custom image is used for error propagation
{code:java}
docker run --rm -v maven-repo:/root/.m2 -v $(pwd)/out:/pct/out -e ARTIFACT_ID=ssh-slaves -e VERSION=ssh-slaves-1.24 -e JDK_VERSION=11 onenashev/pct
{code}
 

Output:

 
{code:java}
+ echo 'ERROR: PCT failed with code 1. Will check for Maven Surefire dumps if it crashed' ERROR: PCT failed with code 1. Will check for Maven Surefire dumps if it crashed + read file + find /pct/tmp/work/ssh-slaves/target/surefire-reports/2018-12-12T11-08-54_738-jvmRun1.dumpstream Found Maven Surefire dump file: /pct/tmp/work/ssh-slaves/target/surefire-reports/2018-12-12T11-08-54_738-jvmRun1.dumpstream + echo 'Found Maven Surefire dump file: /pct/tmp/work/ssh-slaves/target/surefire-reports/2018-12-12T11-08-54_738-jvmRun1.dumpstream' + cat /pct/tmp/work/ssh-slaves/target/surefire-reports/2018-12-12T11-08-54_738-jvmRun1.dumpstream # Created on 2018-12-12T11:08:55.538 Corrupted stdin stream in forked JVM 1. Stream 'Error occurred during initialization of boot layer'. java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'Error occurred during initialization of boot layer'. at org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:469) at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:191) at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:158) at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:87) at java.lang.Thread.run(Thread.java:748) # Created on 2018-12-12T11:08:55.541 Corrupted stdin stream in forked JVM 1. Stream 'java.lang.module.FindException: Error reading /pct/jdk11-libs/javax.activation.jar'. java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'java.lang.module.FindException: Error reading /pct/jdk11-libs/javax.activation.jar'. at org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:469) at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:191) at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:158) at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:87) at java.lang.Thread.run(Thread.java:748) # Created on 2018-12-12T11:08:55.542 Corrupted stdin stream in forked JVM 1. Stream 'Caused by: java.util.zip.ZipException: zip END header not found'. java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma after third character in command 'Caused by: java.util.zip.ZipException: zip END header not found'. at org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:469) at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:191) at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:158) at org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:87) at java.lang.Thread.run(Thread.java:748) {code}

 

*Acceptance criteria*
* Figure out if it's failing under other conditions
* PCT runs with Java 11 and docker image

m.vilacides@gmail.com (JIRA)

unread,
Jan 11, 2019, 4:28:02 AM1/11/19
to jenkinsc...@googlegroups.com
Isa Vilacides updated an issue
Change By: Isa Vilacides
Labels: java11 java11-devtools-compatibility scrub triaged

tibordigana@apache.org (JIRA)

unread,
Jan 12, 2019, 3:30:02 AM1/12/19
to jenkinsc...@googlegroups.com
Tibor Digana commented on Bug JENKINS-55146
 
Re: PCT sometimes crashes on Java 11 due to module read errors when using the docker image

We use tcp/ip sockets in Surefire/Failsafe (3.0.0-M4 or M5) instead of interprocess pipes which is nowadays sollution for interprocess communication.

tibordigana@apache.org (JIRA)

unread,
Jan 12, 2019, 3:30:03 AM1/12/19
to jenkinsc...@googlegroups.com
Tibor Digana edited a comment on Bug JENKINS-55146
We will use tcp/ip sockets in Surefire/Failsafe (3.0.0-M4 or M5) instead of interprocess pipes which is nowadays sollution for interprocess communication.

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 5, 2019, 5:19:02 AM2/5/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 5, 2019, 5:21:03 AM2/5/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Feb 5, 2019, 5:21:03 AM2/5/19
to jenkinsc...@googlegroups.com
Oleg Nenashev commented on Bug JENKINS-55146
 
Re: PCT sometimes crashes on Java 11 due to module read errors when using the docker image

It was actually caused by a glitch in the Docker packaging. And it was fixed by Adrien Lecharpentier in https://github.com/jenkinsci/plugin-compat-tester/pull/111 . I still confirm there is similar behavior outside Docker rarely, but I believe it is related to another issue

tibordigana@apache.org (JIRA)

unread,
Nov 3, 2019, 10:06:02 PM11/3/19
to jenkinsc...@googlegroups.com

Oleg Nenashev

Regarding the Alpine/BusyBox we made three fixes

https://issues.apache.org/jira/browse/SUREFIRE-1702

https://issues.apache.org/jira/browse/SUREFIRE-1703

https://issues.apache.org/jira/browse/SUREFIRE-1704

and we are finishing the last issue to ct a new release version 3.0.0-M4.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

tibordigana@apache.org (JIRA)

unread,
Nov 3, 2019, 10:07:02 PM11/3/19
to jenkinsc...@googlegroups.com
Tibor Digana edited a comment on Bug JENKINS-55146
[~oleg_nenashev]
and we are finishing the last issue few issues to ct cut a new release version 3.0.0-M4.
Reply all
Reply to author
Forward
0 new messages