Details
-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b117
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8028922 | port-stage-ppc-aix | Erik Gahlin | P4 | Resolved | Fixed | master |
Description
TESTFAIL:javax/management/loading/LibraryLoader/LibraryLoaderTest.java
This test is leaving a file open and will fail when run in jtreg -samevm mode.
The file open issue only messes up windows, but tests should close their open files.
The testcase itself says it Passed.
Note that it's still got a dll opened... humm... it may be necessary to just change this test to a "othervm" test????
Maybe you can't close the dll that is opened? Which would mean that any test that loads a native library needs to be "othervm???
--------------------------------------------------
warning: failed to delete C:\temp\jprt\T1\T\043749.ss145989\source\jdk\build\win
dows-i586\testoutput\jdk_management1\JTwork\javax\management\loading\LibraryLoad
er\LibraryLoaderTest\genrandom.dll.1741227875917784089.tmp
TEST: javax/management/loading/LibraryLoader/LibraryLoaderTest.java
JDK under test: (C:\temp\jprt\T1\T\043749~1.SS1\TESTPR~1\WINDOW~1.0-P)
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-jprtadm_2010_06_02_01_40-b
00)
Java HotSpot(TM) Client VM (build 19.0-b02-201006020437.ss145989.tl-pit-2d-awt-s
win, mixed mode, sharing)
Test result (overridden): Passed. Execution successful
ACTION: clean -- Passed. Clean successful
REASON: User specified action: run clean LibraryLoaderTest
TIME: 0.0 seconds
messages:
command: clean LibraryLoaderTest
reason: User specified action: run clean LibraryLoaderTest
elapsed time (seconds): 0.0
ACTION: build -- Passed. Build successful
REASON: User specified action: run build LibraryLoaderTest
TIME: 0.609 seconds
messages:
command: build LibraryLoaderTest
reason: User specified action: run build LibraryLoaderTest
elapsed time (seconds): 0.609
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.609 seconds
messages:
command: compile C:\temp\jprt\T1\T\043749.ss145989\source\jdk\test\javax\managem
ent\loading\LibraryLoader\LibraryLoaderTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.609
STDOUT:
STDERR:
ACTION: build -- Passed. All files up to date
REASON: Named class compiled on demand
TIME: 0.0 seconds
messages:
command: build LibraryLoaderTest
reason: Named class compiled on demand
elapsed time (seconds): 0.0
ACTION: main -- Passed. Execution successful
REASON: User specified action: run main LibraryLoaderTest
TIME: 1.125 seconds
messages:
command: main LibraryLoaderTest
reason: User specified action: run main LibraryLoaderTest
elapsed time (seconds): 1.125
elapsed time (seconds): 1.125
STDOUT:
os.name=Windows 2000
os.name=x86
java.library.path=C:\temp\jprt\T1\T\043749~1.SS1\TESTPR~1\WINDOW~1.0-P\bin;.;C:\
WINNT\Sun\Java\bin;C:\WINNT\system32;C:\WINNT;C:/jprt/products/T1/jdk6u20-fcs/jd
k1.6.0_20/bin;C:/jprt/products/T1/ant1.7.1/apache-ant-1.7.1/bin;C:/PROGRA~1/MICR
OS~1.NET/Vc7/bin;C:/PROGRA~1/MICROS~1.NET/Common7/IDE;C:/PROGRA~1/MICROS~1.NET/C
ommon7/Tools/bin/prerelease;C:/PROGRA~1/MICROS~1.NET/Common7/Tools;C:/PROGRA~1/M
ICROS~1.NET/SDK/v1.1/bin;C:/PROGRA~1/MICROS~1.NET/Common7/Tools/bin;C:/jprt/slas
hjava/devtools/win32/bin;C:/MKS/mksnt;c:/jprt/jdk1.6.0/bin;c:/jprt/dist/sbin;c:/
WINNT/system32;c:/WINNT;c:/WINNT/system32/Wbem
test.src=C:\temp\jprt\T1\T\043749.ss145989\source\jdk\test\javax\management\load
ing\LibraryLoader
user.dir=C:\temp\jprt\T1\T\043749.ss145989\source\jdk\build\windows-i586\testout
put\jdk_management1\JTwork\javax\management\loading\LibraryLoader\LibraryLoaderT
est
MLet = testDomain:type=MLet,index=0
Old Library Directory = C:/temp/jprt/T1/T/043749.ss145989/io
New Library Directory = C:\temp\jprt\T1\T\043749.ss145989\source\jdk\build\windo
ws-i586\testoutput\jdk_management1\JTwork\javax\management\loading\LibraryLoader
\LibraryLoaderTest
MLet URL = file:/C:/temp/jprt/T1/T/043749.ss145989/source/jdk/test/javax/managem
ent/loading/LibraryLoader/UseNativeLib0.html
MBean #0 = mletTests:type=nativeLibLoading,index=0.0
Random number = 41
MBean #1 = mletTests:type=nativeLibLoading,index=0.1
Random number = 18467
MLet = testDomain:type=MLet,index=1
Old Library Directory = C:/temp/jprt/T1/T/043749.ss145989/io
New Library Directory = C:\temp\jprt\T1\T\043749.ss145989\source\jdk\build\windo
ws-i586\testoutput\jdk_management1\JTwork\javax\management\loading\LibraryLoader
\LibraryLoaderTest
MLet URL = file:/C:/temp/jprt/T1/T/043749.ss145989/source/jdk/test/javax/managem
ent/loading/LibraryLoader/UseNativeLib1.html
MBean #0 = mletTests:type=nativeLibLoading,index=1.1
Random number = 6334
MBean #1 = mletTests:type=nativeLibLoading,index=1.0
Random number = 26500
Bye! Bye!
STDERR:
STATUS:Passed.
TEST RESULT: Error. failed to clean up files after test
--------------------------------------------------
This test is leaving a file open and will fail when run in jtreg -samevm mode.
The file open issue only messes up windows, but tests should close their open files.
The testcase itself says it Passed.
Note that it's still got a dll opened... humm... it may be necessary to just change this test to a "othervm" test????
Maybe you can't close the dll that is opened? Which would mean that any test that loads a native library needs to be "othervm???
--------------------------------------------------
warning: failed to delete C:\temp\jprt\T1\T\043749.ss145989\source\jdk\build\win
dows-i586\testoutput\jdk_management1\JTwork\javax\management\loading\LibraryLoad
er\LibraryLoaderTest\genrandom.dll.1741227875917784089.tmp
TEST: javax/management/loading/LibraryLoader/LibraryLoaderTest.java
JDK under test: (C:\temp\jprt\T1\T\043749~1.SS1\TESTPR~1\WINDOW~1.0-P)
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-jprtadm_2010_06_02_01_40-b
00)
Java HotSpot(TM) Client VM (build 19.0-b02-201006020437.ss145989.tl-pit-2d-awt-s
win, mixed mode, sharing)
Test result (overridden): Passed. Execution successful
ACTION: clean -- Passed. Clean successful
REASON: User specified action: run clean LibraryLoaderTest
TIME: 0.0 seconds
messages:
command: clean LibraryLoaderTest
reason: User specified action: run clean LibraryLoaderTest
elapsed time (seconds): 0.0
ACTION: build -- Passed. Build successful
REASON: User specified action: run build LibraryLoaderTest
TIME: 0.609 seconds
messages:
command: build LibraryLoaderTest
reason: User specified action: run build LibraryLoaderTest
elapsed time (seconds): 0.609
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.609 seconds
messages:
command: compile C:\temp\jprt\T1\T\043749.ss145989\source\jdk\test\javax\managem
ent\loading\LibraryLoader\LibraryLoaderTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.609
STDOUT:
STDERR:
ACTION: build -- Passed. All files up to date
REASON: Named class compiled on demand
TIME: 0.0 seconds
messages:
command: build LibraryLoaderTest
reason: Named class compiled on demand
elapsed time (seconds): 0.0
ACTION: main -- Passed. Execution successful
REASON: User specified action: run main LibraryLoaderTest
TIME: 1.125 seconds
messages:
command: main LibraryLoaderTest
reason: User specified action: run main LibraryLoaderTest
elapsed time (seconds): 1.125
elapsed time (seconds): 1.125
STDOUT:
os.name=Windows 2000
os.name=x86
java.library.path=C:\temp\jprt\T1\T\043749~1.SS1\TESTPR~1\WINDOW~1.0-P\bin;.;C:\
WINNT\Sun\Java\bin;C:\WINNT\system32;C:\WINNT;C:/jprt/products/T1/jdk6u20-fcs/jd
k1.6.0_20/bin;C:/jprt/products/T1/ant1.7.1/apache-ant-1.7.1/bin;C:/PROGRA~1/MICR
OS~1.NET/Vc7/bin;C:/PROGRA~1/MICROS~1.NET/Common7/IDE;C:/PROGRA~1/MICROS~1.NET/C
ommon7/Tools/bin/prerelease;C:/PROGRA~1/MICROS~1.NET/Common7/Tools;C:/PROGRA~1/M
ICROS~1.NET/SDK/v1.1/bin;C:/PROGRA~1/MICROS~1.NET/Common7/Tools/bin;C:/jprt/slas
hjava/devtools/win32/bin;C:/MKS/mksnt;c:/jprt/jdk1.6.0/bin;c:/jprt/dist/sbin;c:/
WINNT/system32;c:/WINNT;c:/WINNT/system32/Wbem
test.src=C:\temp\jprt\T1\T\043749.ss145989\source\jdk\test\javax\management\load
ing\LibraryLoader
user.dir=C:\temp\jprt\T1\T\043749.ss145989\source\jdk\build\windows-i586\testout
put\jdk_management1\JTwork\javax\management\loading\LibraryLoader\LibraryLoaderT
est
MLet = testDomain:type=MLet,index=0
Old Library Directory = C:/temp/jprt/T1/T/043749.ss145989/io
New Library Directory = C:\temp\jprt\T1\T\043749.ss145989\source\jdk\build\windo
ws-i586\testoutput\jdk_management1\JTwork\javax\management\loading\LibraryLoader
\LibraryLoaderTest
MLet URL = file:/C:/temp/jprt/T1/T/043749.ss145989/source/jdk/test/javax/managem
ent/loading/LibraryLoader/UseNativeLib0.html
MBean #0 = mletTests:type=nativeLibLoading,index=0.0
Random number = 41
MBean #1 = mletTests:type=nativeLibLoading,index=0.1
Random number = 18467
MLet = testDomain:type=MLet,index=1
Old Library Directory = C:/temp/jprt/T1/T/043749.ss145989/io
New Library Directory = C:\temp\jprt\T1\T\043749.ss145989\source\jdk\build\windo
ws-i586\testoutput\jdk_management1\JTwork\javax\management\loading\LibraryLoader
\LibraryLoaderTest
MLet URL = file:/C:/temp/jprt/T1/T/043749.ss145989/source/jdk/test/javax/managem
ent/loading/LibraryLoader/UseNativeLib1.html
MBean #0 = mletTests:type=nativeLibLoading,index=1.1
Random number = 6334
MBean #1 = mletTests:type=nativeLibLoading,index=1.0
Random number = 26500
Bye! Bye!
STDERR:
STATUS:Passed.
TEST RESULT: Error. failed to clean up files after test
--------------------------------------------------
Attachments
Issue Links
- backported by
-
JDK-8028922 testcase failing on windows javax/management/loading/LibraryLoader/LibraryLoaderTest.java
- Resolved