Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JDK18] FileEncodingTest.testFileEncodingToDefault failures #14093

Closed
babsingh opened this issue Dec 6, 2021 · 1 comment
Closed

[JDK18] FileEncodingTest.testFileEncodingToDefault failures #14093

babsingh opened this issue Dec 6, 2021 · 1 comment

Comments

@babsingh
Copy link
Contributor

babsingh commented Dec 6, 2021

OpenJDK Tests

TEST: java/lang/System/FileEncodingTest.java

Errors

==== Error 1 ====
[2021-11-17T18:34:44.365Z] test FileEncodingTest.testFileEncodingToDefault("", "UTF-8"): failure
[2021-11-17T18:34:44.365Z] java.lang.RuntimeException: Expected to get exit value of [0]
[2021-11-17T18:34:44.365Z]
[2021-11-17T18:34:44.365Z]      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
[2021-11-17T18:34:44.365Z]      at FileEncodingTest.testFileEncodingToDefault(FileEncodingTest.java:81)
[2021-11-17T18:34:44.365Z]      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-17T18:34:44.365Z]      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
[2021-11-17T18:34:44.365Z]      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:52)
[2021-11-17T18:34:44.365Z]      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
[2021-11-17T18:34:44.365Z]      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
[2021-11-17T18:34:44.365Z]      at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
[2021-11-17T18:34:44.365Z]      at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
[2021-11-17T18:34:44.365Z]      at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
[2021-11-17T18:34:44.365Z]      at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
[2021-11-17T18:34:44.365Z]      at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
[2021-11-17T18:34:44.365Z]      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
[2021-11-17T18:34:44.365Z]      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
[2021-11-17T18:34:44.365Z]      at org.testng.TestRunner$$Lambda$121/0x00000000200b6bb0.accept(Unknown Source)
[2021-11-17T18:34:44.365Z]      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[2021-11-17T18:34:44.365Z]      at org.testng.TestRunner.privateRun(TestRunner.java:764)
[2021-11-17T18:34:44.365Z]      at org.testng.TestRunner.run(TestRunner.java:585)
[2021-11-17T18:34:44.365Z]      at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
[2021-11-17T18:34:44.365Z]      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
[2021-11-17T18:34:44.365Z]      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
[2021-11-17T18:34:44.365Z]      at org.testng.SuiteRunner.run(SuiteRunner.java:286)
[2021-11-17T18:34:44.365Z]      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
[2021-11-17T18:34:44.365Z]      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
[2021-11-17T18:34:44.365Z]      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
[2021-11-17T18:34:44.365Z]      at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
[2021-11-17T18:34:44.365Z]      at org.testng.TestNG.runSuites(TestNG.java:1069)
[2021-11-17T18:34:44.366Z]      at org.testng.TestNG.run(TestNG.java:1037)
[2021-11-17T18:34:44.366Z]      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
[2021-11-17T18:34:44.366Z]      at jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
[2021-11-17T18:34:44.366Z]      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:52)
[2021-11-17T18:34:44.366Z]      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
[2021-11-17T18:34:44.366Z]      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-17T18:34:44.366Z]      at java.base/java.lang.Thread.run(Thread.java:884)

==== Error 2 ====
[2021-11-17T18:34:44.366Z] test FileEncodingTest.testFileEncodingToDefault("COMPAT", "<should_be_replaced>"): failure
[2021-11-17T18:34:44.366Z] java.lang.RuntimeException: Expected to get exit value of [0]
[2021-11-17T18:34:44.366Z]
[2021-11-17T18:34:44.366Z]      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
[2021-11-17T18:34:44.366Z]      at FileEncodingTest.testFileEncodingToDefault(FileEncodingTest.java:81)
[2021-11-17T18:34:44.366Z]      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2021-11-17T18:34:44.366Z]      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
[2021-11-17T18:34:44.367Z]      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:52)
[2021-11-17T18:34:44.367Z]      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
[2021-11-17T18:34:44.367Z]      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
[2021-11-17T18:34:44.367Z]      at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
[2021-11-17T18:34:44.367Z]      at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
[2021-11-17T18:34:44.367Z]      at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
[2021-11-17T18:34:44.367Z]      at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
[2021-11-17T18:34:44.367Z]      at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
[2021-11-17T18:34:44.367Z]      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
[2021-11-17T18:34:44.367Z]      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
[2021-11-17T18:34:44.367Z]      at org.testng.TestRunner$$Lambda$121/0x00000000200b6bb0.accept(Unknown Source)
[2021-11-17T18:34:44.367Z]      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[2021-11-17T18:34:44.367Z]      at org.testng.TestRunner.privateRun(TestRunner.java:764)
[2021-11-17T18:34:44.367Z]      at org.testng.TestRunner.run(TestRunner.java:585)
[2021-11-17T18:34:44.367Z]      at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
[2021-11-17T18:34:44.367Z]      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
[2021-11-17T18:34:44.367Z]      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
[2021-11-17T18:34:44.367Z]      at org.testng.SuiteRunner.run(SuiteRunner.java:286)
[2021-11-17T18:34:44.367Z]      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
[2021-11-17T18:34:44.367Z]      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
[2021-11-17T18:34:44.367Z]      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
[2021-11-17T18:34:44.367Z]      at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
[2021-11-17T18:34:44.367Z]      at org.testng.TestNG.runSuites(TestNG.java:1069)
[2021-11-17T18:34:44.367Z]      at org.testng.TestNG.run(TestNG.java:1037)
[2021-11-17T18:34:44.367Z]      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
[2021-11-17T18:34:44.367Z]      at jdk.internal.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
[2021-11-17T18:34:44.367Z]      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:52)
[2021-11-17T18:34:44.367Z]      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
[2021-11-17T18:34:44.367Z]      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
[2021-11-17T18:34:44.367Z]      at java.base/java.lang.Thread.run(Thread.java:884)

Related: #13946

@babsingh babsingh added this to the Release 0.31 (Java 18) milestone Dec 6, 2021
babsingh added a commit to babsingh/aqa-tests that referenced this issue Dec 6, 2021
babsingh added a commit to babsingh/aqa-tests that referenced this issue Dec 6, 2021
llxia pushed a commit to adoptium/aqa-tests that referenced this issue Dec 7, 2021
@JasonFengJ9
Copy link
Member

Closing as dup of #14233 which specified two failures:

15:15:22  TEST: java/lang/System/MacEncoding/MacJNUEncoding.java
15:15:22  TEST: java/lang/System/MacEncoding/TestFileEncoding.java

Their share same underneath cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants