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

Re-enable certain SharedClassesAPI tests on windows? #157

Closed
cjjdespres opened this issue Sep 30, 2024 · 5 comments · Fixed by #160
Closed

Re-enable certain SharedClassesAPI tests on windows? #157

cjjdespres opened this issue Sep 30, 2024 · 5 comments · Fixed by #160

Comments

@cjjdespres
Copy link

I happened to be going through some of the test code and noticed this:

// Temporarily excluding the native tests from running on Windows
// due to: https://github.com/eclipse-openj9/openj9-systemtest/issues/38
if ( !PlatformFinder.isWindows() ) {

but the end of the thread in #38 says that it was resolved. Maybe the tests should be re-enabled?

@tajila
Copy link

tajila commented Sep 30, 2024

@llxia @LongyuZhang FYI

@llxia
Copy link
Contributor

llxia commented Sep 30, 2024

@LongyuZhang could try to revert #40 and see if you can run the test.
According to https://github.com/adoptium/openj9-systemtest/blob/ce686f5d4aee846ce948b039beb3c264a9bb5c7b/openj9.test.sharedClasses.jvmti/docs/README.md?plain=1, the corresponding test should be SharedClassesAPI

@LongyuZhang
Copy link
Contributor

Sure, I will try the revert and run to see if it can pass.

@LongyuZhang
Copy link
Contributor

Noticed this test SharedClassesAPI has been failing on the xlinux weekly test already (https://hyc-runtimes-jenkins.swg-devops.com/job/Test_openjdk8_j9_extended.system_x86-64_linux_testList_1/221/tapTestReport/):

STF 21:38:25.321 - Monitoring processes: JVMT
 JVMT stderr JVMJ9TI001E Agent library /home/jenkins/workspace/Test_openjdk8_j9_extended.system_x86-64_linux_testList_1/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses.jvmti/bin/native/linux/libsharedClasses.so could not be opened (/home/jenkins/workspace/Test_openjdk8_j9_extended.system_x86-64_linux_testList_1/jvmtest/system/openj9-systemtest/openj9.test.sharedClasses.jvmti/bin/native/linux/liblibsharedClasses.so.so: cannot open shared object file: No such file or directory)
 JVMT stderr JVMJ9VM015W Initialization error for library j9jvmti29(-3): JVMJ9VM009E J9VMDllMain failed
 STF 21:38:25.358 - **FAILED** Process JVMT ended with exit code (1) and not the expected exit code/s (0)
 STF 21:38:25.358 - Monitoring Report Summary:
 STF 21:38:25.358 -   o Process JVMT ended with exit code (1) and not the expected exit code/s (0)
 STF 21:38:25.359 - Killing processes: JVMT
 STF 21:38:25.359 -   o Process JVMT pid 7166 is not running
 **FAILED** at step 65 (DefaultLocGrpAccessJVMTI - Check Shared Classes Caches). Expected return value=0 Actual=1 at /home/jenkins/workspace/Test_openjdk8_j9_extended.system_x86-64_linux_testList_1/aqa-tests/TKG/../TKG/output_17274936404586/SharedClassesAPI_0/20240927-213705-SharedClassesAPI/execute.pl line 2213.
 STF 21:38:25.653 - **FAILED** execute script failed. Expected return value=0 Actual=1

Should we open an issue for this failure first?

@pshipton
Copy link
Contributor

pshipton commented Oct 1, 2024

There is already and issue and a fix that will probably be merged tomorrow.
eclipse-openj9/openj9#20194

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

Successfully merging a pull request may close this issue.

5 participants