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

SCCommandLineOptionTests/SCURLClassLoaderNPTest failed on JDK10-win_x86-64_cmprssptrs #1814

Open
renfeiw opened this issue May 1, 2018 · 9 comments

Comments

@renfeiw
Copy link
Contributor

renfeiw commented May 1, 2018

  • cmdLineTester_SCCommandLineOptionTests_1
---SUMMARY OF FAILED TESTS---
nameOption
nameOption14
verboseOption
-----------------------------
  • cmdLineTester_SCURLClassLoaderNPTests_1
---SUMMARY OF FAILED TESTS---
FindStore.FindClassfile
FindStore.FindDiffcpClassfile
-----------------------------

PR build link: https://ci.eclipse.org/openj9/job/PullRequest-Sanity-JDK10-win_x86-64_cmprssptrs-OpenJ9/2/

@hangshao0
Copy link
Contributor

nameOption14:
"-Xshareclasses:name=123456789A123456789B123456789C123456789D123456789E1234567%u"

The login name is too long.

@hangshao0
Copy link
Contributor

hangshao0 commented May 1, 2018

cmdLineTester_SCURLClassLoaderNPTests_1

19:16:17 [Test] Testing: FindStore.FindClassfile
19:16:17 [Test] Test start time: 2018/04/30 18:16:11 Central Standard Time
19:16:17 [Test] Running command: "C:/cygwin64/home/jenkins/workspace/PullRequest-Sanity-JDK10-win_x86-64_cmprssptrs-OpenJ9/build/windows-x86_64-normal-server-release/images/jdk/bin\java" -Xcompressedrefs -Xcompressedrefs -Xjit -Xgcpolicy:gencon -Xshareclasses:nonpersistent,controlDir=.,name=FindStore,noTimestampChecks -cp .\FindStore\M_Classes;.\FindStore\N_Classes;.\FindStore\O_Classes;.\FindStore\P_Classes;.\FindStore\Nothing.jar jnurlcldr.shared.findstore.M_Main
19:16:17 [Test] Time spent starting: 2 milliseconds
19:16:17 [Test] Time spent executing: 190 milliseconds
19:16:17 [Test] Test result: FAILED
19:16:17 [Test] [ERR] Error: Could not find or load main class jnurlcldr.shared.findstore.M_Main
19:16:17 [Test] [ERR] Caused by: java.lang.ClassNotFoundException: jnurlcldr.shared.findstore.M_Main

I guess this is related to the removal of class files in #1803. If this is not related to #1803, then there is a test setup issue that the class is missing.

@renfeiw
Copy link
Contributor Author

renfeiw commented May 1, 2018

I don't think it's related to #1803. jnurlcldr.shared.findstore.M_Main does not exist in VM_Test project, so it should not be removed by #1803. I will exclude these tests for now.

renfeiw added a commit to renfeiw/openj9 that referenced this issue May 2, 2018
- Exclude tests on JDK10 win environment for eclipse-openj9#1814


[ci skip]


Signed-off-by: Renfei Wang <renfeiw@ca.ibm.com>
@llxia
Copy link
Contributor

llxia commented May 11, 2018

Tests failed on JDK9 win: https://ci.eclipse.org/openj9/job/Test-Sanity-JDK9-win_x86-64_cmprssptrs/2/tapResults/

---SUMMARY OF FAILED TESTS---
nameOption
nameOption14
verboseOption

@llxia
Copy link
Contributor

llxia commented May 11, 2018

@renfeiw could you temporally exclude the test for JDK 9 until the issue is fixed. Thanks.

renfeiw added a commit to renfeiw/openj9 that referenced this issue May 11, 2018
- PR eclipse-openj9#1814

[ci skip]


Signed-off-by: Renfei Wang <renfeiw@ca.ibm.com>
@pshipton
Copy link
Member

Seems the test also needs to be excluded on Windows Java 8 now https://ci.eclipse.org/openj9/job/Test-Sanity-JDK8-win_x86-64_cmprssptrs/1/tapResults
'''
Testing: nameOption
Test start time: 2018/05/18 12:36:04 Central Standard Time
Running command: cmd /c nameOption.bat C:/Users/jenkins/workspace/Test-Sanity-JDK8-win_x86-64_cmprssptrs/j2sdk-image/jre/bin..../bin C:/Users/jenkins/workspace/Test-Sanity-JDK8-win_x86-64_cmprssptrs/j2sdk-image/jre/bin..../bin
Time spent starting: 2 milliseconds
Time spent executing: 1340 milliseconds
Test result: FAILED
[OUT] Hello, world!
[OUT] TEST PASSED
[OUT] sharedcc_jenkins
[OUT] nameOption.out:
[OUT] nameOption.out: Listing all caches in cacheDir C:\Users\jenkins\AppData\Local\javasharedresources
[OUT] nameOption.out:
[OUT] nameOption.out: Cache name level cache-type feature last detach time
[OUT] nameOption.out:
[OUT] nameOption.out: Compatible shared caches
[OUT] nameOption.out: sharedcc_LOCAL SERVICE Java8 64-bit persistent cr Fri May 18 12:36:05 2018
[OUT] nameOption.out:
[OUT] TEST FAILED
[OUT] TEST PASSED
[ERR] javac: file not found: HelloWorld.java
[ERR] Usage: javac
[ERR] use -help for a list of possible options
[ERR] javac: file not found: SimpleGrep.java
[ERR] Usage: javac
[ERR] use -help for a list of possible options
[ERR] JVMSHRC023E Cache does not exist

Success condition was found: [Output match: TEST PASSED]
Failure condition was found: [Output match: TEST FAILED]
Failure condition was not found: [Output match: Error:]
Failure condition was not found: [Output match: Unhandled Exception]
Failure condition was not found: [Output match: Exception:]

Testing: nameOption14
Test start time: 2018/05/18 12:36:08 Central Standard Time
Running command: perl nameOption14.pl C:/Users/jenkins/workspace/Test-Sanity-JDK8-win_x86-64_cmprssptrs/j2sdk-image/jre/bin..../bin/java.exe 64
Time spent starting: 1 milliseconds
Time spent executing: 180 milliseconds
Test result: FAILED
[OUT] cache name to create: 123456789A123456789B123456789C123456789D123456789E1234567%u:to grep: 123456789A123456789B123456789C123456789D123456789E1234567jenkins
[OUT]
[OUT] command to execute :C:/Users/jenkins/workspace/Test-Sanity-JDK8-win_x86-64_cmprssptrs/j2sdk-image/jre/bin\..\../bin/java.exe -Xshareclasses:name=123456789A123456789B123456789C123456789D123456789E1234567%u HelloWorld 1> nameOption14.out:
[OUT]
[OUT] TEST FAILED : create_status: destroy_status:0
[ERR] JVMSHRC375E The cache name is to long when the user name is included. There are 8 bytes left in this buffer, and your user name is 13 bytes.
[ERR] JVMJ9VM015W Initialization error for library j9shr29(11): JVMJ9VM009E J9VMDllMain failed
[ERR] Error: Could not create the Java Virtual Machine.
[ERR] Error: A fatal exception has occurred. Program will exit.

Success condition was not found: [Output match: TEST PASSED]
Failure condition was found: [Output match: TEST FAILED]
Failure condition was found: [Output match: Error:]
Failure condition was not found: [Output match: Unhandled Exception]
Failure condition was not found: [Output match: Exception:]

renfeiw added a commit to renfeiw/openj9 that referenced this issue May 18, 2018
- Related PR eclipse-openj9#1814


[ci skip]


Signed-off-by: Renfei Wang <renfeiw@ca.ibm.com>
@hangshao0
Copy link
Contributor

cmdLineTester_SCURLClassLoaderNPTests has been re-included by #2694

@hangshao0
Copy link
Contributor

hangshao0 commented Sep 26, 2018

cmdLineTester_SCCommandLineOptionTests is still failing on Windows

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

4 participants