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

testRASAPI_0_FAILED due to The (dump) file exists. #11800

Open
JasonFengJ9 opened this issue Jan 27, 2021 · 12 comments
Open

testRASAPI_0_FAILED due to The (dump) file exists. #11800

JasonFengJ9 opened this issue Jan 27, 2021 · 12 comments

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build Test_openjdkNext_j9_extended.functional_x86-64_windows_Nightly/377:

23:37:40  openjdk version "17-internal" 2021-09-14
23:37:40  OpenJDK Runtime Environment (build 17-internal+0-adhoc.jenkins.buildjdknextx86-64windowsnightly)
23:37:40  Eclipse OpenJ9 VM (build master-d132a6b28b5, JRE 17 Windows Server 2016 amd64-64-Bit Compressed References 20210125_449 (JIT enabled, AOT enabled)
23:37:40  OpenJ9   - d132a6b28b5
23:37:40  OMR      - b38b0b77c99
23:37:40  JCL      - fba167cf63c based on jdk-17+5)

Optional info

Failure output (captured from console output)

===============================================
Running test testRASAPI_0 ...
===============================================
testRASAPI_0 Start Time: Tue Jan 26 01:29:59 2021 Epoch Time (ms): 1611642599888
variation: NoOptions
JVM_OPTIONS:  
Buildfile: C:\Users\jenkins\workspace\Test_openjdkNext_j9_extended.functional_x86-64_windows_Nightly_testList_1\jvmtest\functional\RasapiTest\test.xml

[test]     [junit] JVMDUMP010I Java dump written to /STDOUT/
     [test]     [junit] JVMDUMP034I User requested Java dump using 'C:\Users\jenkins\workspace\Test_openjdkNext_j9_extended.functional_x86-64_windows_Nightly_testList_1\jvmtest\functional\RasapiTest\javacore.testJavaDumpWithSameFile.1611642614599.txt' through com.ibm.jvm.Dump.javaDumpToFile
     [test]     [junit] JVMDUMP010I Java dump written to C:\Users\jenkins\workspace\Test_openjdkNext_j9_extended.functional_x86-64_windows_Nightly_testList_1\jvmtest\functional\RasapiTest\javacore.testJavaDumpWithSameFile.1611642614599.txt
     [test]     [junit] JVMDUMP030W Cannot write dump to file C:\Users\jenkins\workspace\Test_openjdkNext_j9_extended.functional_x86-64_windows_Nightly_testList_1\jvmtest\functional\RasapiTest\javacore.testJavaDumpWithSameFile.1611642614599.txt: (80) The file exists.
     [test]     [junit] JVMDUMP034I User requested Java dump using 'C:\Temp\javacore.testJavaDumpWithSameFile.1611642614599.txt' through com.ibm.jvm.Dump.javaDumpToFile
     [test]     [junit] JVMDUMP010I Java dump written to C:\Temp\javacore.testJavaDumpWithSameFile.1611642614599.txt
     [test]     [junit] com.ibm.jvm.InvalidDumpOptionException: Error in dump options.
     [test]     [junit] reach here
     [test]     [junit] JVMDUMP030W Cannot write dump to file C:\Users\jenkins\workspace\Test_openjdkNext_j9_extended.functional_x86-64_windows_Nightly_testList_1\jvmtest\functional\RasapiTest\javacore.testJavaDumpWithSameFile.1611642614599.txt: (80) The file exists.

BUILD FAILED
C:\Users\jenkins\workspace\Test_openjdkNext_j9_extended.functional_x86-64_windows_Nightly_testList_1\jvmtest\functional\RasapiTest\test.xml:52: Timeout: killed the sub-process

Total time: 15 minutes 1 second

testRASAPI_0_FAILED

Need determine if the test removes existing dump files before starting the run, or the cleanup failed due to machine issue.

@pshipton
Copy link
Member

This test was recently added, 5 days ago
#11556
@llxia fyi

@JasonFengJ9
Copy link
Member Author

It appears in JDK8 ibuild across platforms

[test]     [junit] NULL           ---------------------- END OF DUMP -------------------------------------
     [test]     [junit] JVMDUMP010I Java dump written to /bluebird/builds/bld_464579/jvmtest/test/SE80/functional/RasapiTest/javacore.testJavaDumpWithSameFile.1611811334200.txt
     [test]     [junit] JVMDUMP030W Cannot write dump to file /bluebird/builds/bld_464579/jvmtest/test/SE80/functional/RasapiTest/javacore.testJavaDumpWithSameFile.1611811334200.txt: Do not specify an existing file.
     [test]     [junit] JVMDUMP034I User requested Java dump using '/tmp/javacore.testJavaDumpWithSameFile.1611811334200.txt' through com.ibm.jvm.Dump.javaDumpToFile
     [test]     [junit] JVMDUMP010I Java dump written to /tmp/javacore.testJavaDumpWithSameFile.1611811334200.txt
     [test]     [junit] JVMDUMP030W Cannot write dump to file /bluebird/builds/bld_464579/jvmtest/test/SE80/functional/RasapiTest/javacore.testJavaDumpWithSameFile.1611811334200.txt: Do not specify an existing file.
     [test]     [junit] com.ibm.jvm.InvalidDumpOptionException: Error in dump options.

@JasonFengJ9 JasonFengJ9 changed the title JDK17 Windows : testRASAPI_0_FAILED due to The (dump) file exists. testRASAPI_0_FAILED due to The (dump) file exists. Jan 28, 2021
@pshipton
Copy link
Member

@llxia seems this test isn't working.

@llxia
Copy link
Contributor

llxia commented Jan 29, 2021

On Jenkins, the test passed in Test_openjdkNext_j9_extended.functional_x86-64_windows_Nightly/379 and it worked in my Grinder: Grinder/13571/.

Testing on the failed machine to see if I can reproduce this failure.

Update: Grinder/13578/ with 10x iterations passed on the previously failed machine win16x64rt3-8

@llxia
Copy link
Contributor

llxia commented Jan 29, 2021

@OscarQQ is vmfarm failure a known issue? If so, could you exclude the test on vmfarm? Thanks

@pshipton
Copy link
Member

Another different failure (hang) of testRASAPI_0 in OpenJ9 jdk16 testing #11821

@llxia
Copy link
Contributor

llxia commented Jan 29, 2021

@OscarQQ Could you exclude the test on JDK16 and JDK17? The problem seems intermittent.

OscarQQ added a commit to OscarQQ/openj9 that referenced this issue Jan 29, 2021
related: eclipse-openj9#11800
[ci skip]

Signed-off-by: Yixin Qian <Yixin.Qian@ibm.com>
@JasonFengJ9
Copy link
Member Author

A slightly different failure at an internal ibuild 466720 (job_output.php?id=671244631) which might be due to the existing dump files.

     [test]     [junit] 	FAILED
     [test]     [junit] Failed to find expected number of files in /bluebird/builds/bld_466720/jvmtest/test/SE80/functional/RasapiTest , found:[com.ibm.jvm.ras.tests.jar, test.xml, junit4.jar, autoGen.mk, junitvmwatcher1791756860094546621.properties, junit7825584026004656005.properties, heap.testTriggerDumpClassicHeapToFile.1614744756746.txt, junitvmwatcher7209927740504311610.properties, junit3118576621082231881.properties, core.20210302.231153.11927554.0023.dmp] expected:<7> but was:<10>
     [test]     [junit] junit.framework.AssertionFailedError: Failed to find expected number of files in /bluebird/builds/bld_466720/jvmtest/test/SE80/functional/RasapiTest , found:[com.ibm.jvm.ras.tests.jar, test.xml, junit4.jar, autoGen.mk, junitvmwatcher1791756860094546621.properties, junit7825584026004656005.properties, heap.testTriggerDumpClassicHeapToFile.1614744756746.txt, junitvmwatcher7209927740504311610.properties, junit3118576621082231881.properties, core.20210302.231153.11927554.0023.dmp] expected:<7> but was:<10>
     [test]     [junit] 	at com.ibm.jvm.ras.tests.DumpAPITriggerTests.doTestTriggerDumpX(DumpAPITriggerTests.java:309)
     [test]     [junit] 	at com.ibm.jvm.ras.tests.DumpAPITriggerTests.testTriggerDumpClassicHeapToFile(DumpAPITriggerTests.java:150)
     [test]     [junit] 
     [test] 
     [test] BUILD FAILED
     [test] /bluebird/builds/bld_466720/jvmtest/test/SE80/functional/RasapiTest/test.xml:77: Test com.ibm.jvm.ras.tests.DumpAPITriggerTests failed

@pshipton
Copy link
Member

pshipton commented Mar 3, 2021

The test was excluded so it shouldn't run starting in the next ibuild.

@OscarQQ
Copy link
Contributor

OscarQQ commented Mar 3, 2021

related: runtimes/tooling/pull/867 this pr is to disable testRASAPI on vmfarm, still needs one pending approval

@pshipton
Copy link
Member

pshipton commented Mar 3, 2021

Ah sorry, confused it with testOSGiTCK #12072.

I poked @llxia in the tooling issue.

@llxia
Copy link
Contributor

llxia commented Mar 3, 2021

I merged the excludes in the tooling repo.

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