RFR: 8249079: LambdaFileEncodingSerialization.java failed "exitCode = 1 expected [true] but found [false]"

Andrew Leonard andrew_m_leonard at uk.ibm.com
Tue Jul 14 12:26:49 UTC 2020


Thanks Christoph,
I am fairly sure the problem occurs due to the test spawned javac Process 
not having the correct LANG encoding to support the UTF-8 class name 
characters, hence why this patch sets the full set of LC_ALL, LANG and 
LANGUAGE, as I am suspecting on some machines where the hosting 
environment might have these set differently. Your Jenkins links are 
useful thanks.
If it is still an issue, then I think I will need to remove the test and 
re-think how to verify the use case, which we discovered on our z/OS port 
where the default file encoding is EBCDIC.
Appreciate your help
Thanks
Andrew

Andrew Leonard
Java Runtimes Development
IBM Hursley
IBM United Kingdom Ltd
internet email: andrew_m_leonard at uk.ibm.com 




From:   "Langer, Christoph" <christoph.langer at sap.com>
To:     Andrew Leonard <andrew_m_leonard at uk.ibm.com>, compiler-dev 
<compiler-dev at openjdk.java.net>
Cc:     Vicente Romero <vicente.romero at oracle.com>
Date:   14/07/2020 11:46
Subject:        [EXTERNAL] RE: RFR: 8249079: 
LambdaFileEncodingSerialization.java failed "exitCode = 1 expected [true] 
but found [false]"



Hi Andrew,
 
we’ve had this error in our latest CI builds for Sapmachine/OpenJDK 16:
https://ci.sapmachine.io/view/Pull%20Request%20Validation%20Builds%20/job/build-16-pr-validation-linux_x86_64/6/
https://ci.sapmachine.io/view/Pull%20Request%20Validation%20Builds%20/job/build-16-pr-validation-linux_ppc64le/5/
 
Furthermore we saw some probably related issue here:
https://ci.sapmachine.io/view/Pull%20Request%20Validation%20Builds%20/job/build-16-pr-validation-linux_ppc64/6/
ERROR: Cannot delete workspace :Malformed input or input contains 
unmappable characters: 
/home/jenkins/slave-home/workspace/build-16-pr-validation-linux_ppc64/test_report_jdk/JTwork/scratch/0/TestLambdaFileEncodingSerialization$ABC
������.class
Error when executing cleanup post condition:
hudson.AbortException: Cannot delete workspace: Malformed input or input 
contains unmappable characters: 
/home/jenkins/slave-home/workspace/build-16-pr-validation-linux_ppc64/test_report_jdk/JTwork/scratch/0/TestLambdaFileEncodingSerialization$ABC
������.class
                at 
hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:242)
 
I’m currently retrying to see if we can reproduce this. If so, I’m willing 
to try your patch…
 
Cheers
Christoph
 
From: compiler-dev <compiler-dev-retn at openjdk.java.net> On Behalf Of 
Andrew Leonard
Sent: Dienstag, 14. Juli 2020 12:04
To: compiler-dev <compiler-dev at openjdk.java.net>
Cc: Vicente Romero <vicente.romero at oracle.com>
Subject: Re: RFR: 8249079: LambdaFileEncodingSerialization.java failed 
"exitCode = 1 expected [true] but found [false]"
 
Is anyone able to help review and test this please? 
Can anyone tell me if the problem is still failing? 
I have been unable to recreate in my environment having run several 100 
iterations. I am hoping this webrev might cover the machine specific 
issue. 

Many thanks 
Andrew 

Andrew Leonard
Java Runtimes Development
IBM Hursley
IBM United Kingdom Ltd
internet email: andrew_m_leonard at uk.ibm.com 




From:        Andrew Leonard/UK/IBM 
To:        compiler-dev <compiler-dev at openjdk.java.net> 
Cc:        "Vicente Romero" <vicente.romero at oracle.com> 
Date:        10/07/2020 09:24 
Subject:        RFR: 8249079: LambdaFileEncodingSerialization.java failed 
"exitCode = 1 expected [true] but found [false]" 



Hi Vicente, 
Would you be able to review, perform a submit test and merge this fix 
please? 
I am suspecting the intermittent test failure is due to a specific test 
machine LANG/locale setup, which I know will produce the mentioned 
failure. 
I have added setting LANG & LANGUAGE to the test spawned javac Process, 
which I think should have been set. 
  webrev: http://cr.openjdk.java.net/~aleonard/8249079/webrev.00/ 
  Bug: https://bugs.openjdk.java.net/browse/JDK-8249079 
Thanks 
Andrew 

Andrew Leonard
Java Runtimes Development
IBM Hursley
IBM United Kingdom Ltd
internet email: andrew_m_leonard at uk.ibm.com 

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20200714/1da0da2b/attachment-0001.htm>


More information about the compiler-dev mailing list