-
Bug
-
Resolution: Fixed
-
P4
-
6, 6u28, 7
-
b81
-
generic
-
generic, windows, windows_7
--------------------------------------------------
TEST: tools/launcher/UnicodeTest.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: Assumed action based on file name: run shell UnicodeTest.sh
TIME: 0.813 seconds
messages:
command: shell UnicodeTest.sh []
reason: Assumed action based on file name: run shell UnicodeTest.sh
elapsed time (seconds): 0.813
STDOUT:
creating test source files
building test apps
STDERR:
javac: file not found: UnicodeTest-src\ClassA
.java
Usage: javac <options> <source files>
use -help for a list of possible options
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jstat/jstatOptions1.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell jstatOptions1.sh
TIME: 0.313 seconds
messages:
command: shell jstatOptions1.sh []
reason: User specified action: run shell jstatOptions1.sh
elapsed time (seconds): 0.313
STDOUT:
1,12c1,12
< -class
< -compiler
< -gc
< -gccapacity
< -gccause
< -gcnew
< -gcnewcapacity
< -gcold
< -gcoldcapacity
< -gcpermcapacity
< -gcutil
< -printcompilation
---
> -class
> -compiler
> -gc
> -gccapacity
> -gccause
> -gcnew
> -gcnewcapacity
> -gcold
> -gcoldcapacity
> -gcpermcapacity
> -gcutil
> -printcompilation
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jstatd/jstatdUsage1.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell jstatdUsage1.sh
TIME: 0.328 seconds
messages:
command: shell jstatdUsage1.sh []
reason: User specified action: run shell jstatdUsage1.sh
elapsed time (seconds): 0.328
STDOUT:
1c1
< usage: jstatd [-nr] [-p port] [-n rminame]
---
> usage: jstatd [-nr] [-p port] [-n rminame]
Output of jstatd -? differs from expected output. Failed.
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/native2ascii/Native2AsciiTests.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: Assumed action based on file name: run shell Native2AsciiTests.sh
TIME: 0.391 seconds
messages:
command: shell Native2AsciiTests.sh []
reason: Assumed action based on file name: run shell Native2AsciiTests.sh
elapsed time (seconds): 0.391
STDOUT:
*** C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/test/sun/tools/native2ascii/A2N_4630463.expected Tue Nov 17 14:35:01 2009
--- x.out.1 Tue Dec 15 18:07:43 2009
***************
*** 1 ****
! €?‚ƒ„…†‡ˆ‰Š‹Œ?Ž??‘’“”•–—˜™š›œ?žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
--- 1 ----
! €?‚ƒ„…†‡ˆ‰Š‹Œ?Ž??‘’“”•–—˜™š›œ?žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
4630463 failed
STDERR:
+ diff -c C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/test/sun/tools/native2ascii/A2N_4630463.expected x.out.1
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: tools/launcher/ChangeDataModel.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell ChangeDataModel.sh
TIME: 0.657 seconds
messages:
command: shell ChangeDataModel.sh []
reason: User specified action: run shell ChangeDataModel.sh
elapsed time (seconds): 0.657
STDOUT:
Unrecognized data model: 32
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
TEST: tools/launcher/ClassPathWildCard.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell ClassPathWildCard.sh
TIME: 2.203 seconds
messages:
command: shell ClassPathWildCard.sh []
reason: User specified action: run shell ClassPathWildCard.sh
elapsed time (seconds): 2.203
STDOUT:
added manifest
adding: TestA.class(in = 966) (out= 577)(deflated 40%)
adding: TestA.java(in = 498) (out= 250)(deflated 49%)
added manifest
adding: TestB.class(in = 966) (out= 577)(deflated 40%)
adding: TestB.java(in = 498) (out= 250)(deflated 49%)
STDERR:
Error: Could not find main class JarDir.TestB.jar
java.lang.NoClassDefFoundError: JarDir.TestB.jar
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:198)
Caused by: java.lang.ClassNotFoundException: JarDir.TestB.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:299)
at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:195)
Exception in thread "main"
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
TEST: tools/launcher/DefaultLocaleTest.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell DefaultLocaleTest.sh Verify directory context variables are set
TIME: 0.828 seconds
messages:
command: shell DefaultLocaleTest.sh [Verify, directory, context, variables, are, set]
reason: User specified action: run shell DefaultLocaleTest.sh Verify directory context variables are set
elapsed time (seconds): 0.828
STDOUT:
Test fails
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
These tests do not work in a Windows XP CYGWIN 32bit environment, it is assumed the key issue is CYGWIN and the same fixes will solve it for all Windows and both 32bit and 64bit.
Some are serviceability, some are launcher tests, one native2ascii test.
There may be other *.sh tests in com/sun/tools/, sun/tools/, and tools/ that have similar issues but have been excluded from running for other reasons, so all *.sh tests should be checked. Expectation is that the same fix may apply to all of them. Some teams may choose to take the opportunity to rewrite the test in java.
These tests will be added to the jdk/test/ProblemList.txt file.
FAILED: com/sun/tools/attach/PermissionTests.sh
FAILED: com/sun/tools/attach/ProviderTests.sh
FAILED: sun/tools/jinfo/Basic.sh
FAILED: sun/tools/jps/jps-help.sh
FAILED: sun/tools/jstack/Basic.sh
FAILED: sun/tools/jstat/jstatHelp.sh
FAILED: sun/tools/jstat/jstatOptions1.sh
FAILED: sun/tools/jstatd/jstatdUsage1.sh
FAILED: sun/tools/native2ascii/Native2AsciiTests.sh
FAILED: tools/launcher/ChangeDataModel.sh
FAILED: tools/launcher/ClassPathWildCard.sh
FAILED: tools/launcher/DefaultLocaleTest.sh
FAILED: tools/launcher/UnicodeTest.sh
--------------------------------------------------
TEST: com/sun/tools/attach/PermissionTests.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: build -- Passed. Build successful
REASON: User specified action: run build PermissionTest
TIME: 0.5 seconds
messages:
command: build PermissionTest
reason: User specified action: run build PermissionTest
elapsed time (seconds): 0.5
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.454 seconds
messages:
command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\com\sun\tools\attach\PermissionTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.454
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell PermissionTests.sh
TIME: 0.156 seconds
messages:
command: shell PermissionTests.sh []
reason: User specified action: run shell PermissionTests.sh
elapsed time (seconds): 0.156
STDOUT:
Unrecognized system!
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
TEST: com/sun/tools/attach/ProviderTests.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: build -- Passed. Build successful
REASON: User specified action: run build ProviderTest SimpleProvider
TIME: 0.5 seconds
messages:
command: build ProviderTest SimpleProvider
reason: User specified action: run build ProviderTest SimpleProvider
elapsed time (seconds): 0.5
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.5 seconds
messages:
command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\com\sun\tools\attach\ProviderTest.java C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\com\sun\tools\attach\SimpleProvider.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.5
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell ProviderTests.sh
TIME: 0.156 seconds
messages:
command: shell ProviderTests.sh []
reason: User specified action: run shell ProviderTests.sh
elapsed time (seconds): 0.156
STDOUT:
Unrecognized system!
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jinfo/Basic.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: build -- Passed. Build successful
REASON: User specified action: run build SimpleApplication ShutdownSimpleApplication
TIME: 0.5 seconds
messages:
command: build SimpleApplication ShutdownSimpleApplication
reason: User specified action: run build SimpleApplication ShutdownSimpleApplication
elapsed time (seconds): 0.5
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.5 seconds
messages:
command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\tools\jinfo\..\common\SimpleApplication.java C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\tools\jinfo\..\common\ShutdownSimpleApplication.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.5
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell Basic.sh
TIME: 3.171 seconds
messages:
command: shell Basic.sh []
reason: User specified action: run shell Basic.sh
elapsed time (seconds): 3.171
STDOUT:
Waiting for Application to initialize...
Application is process 4288
Port number of application is: 1655
Connecting to port 1655 to shutdown Application ...
STDERR:
Attaching to process ID 4288, please wait...
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (jvm.dll, jvm_g.dll)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:388)
at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:369)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:565)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
at sun.tools.jinfo.JInfo.main(JInfo.java:71)
Debugger attached successfully.
jinfo requires a java VM process/core!
Attaching to process ID 4288, please wait...
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (jvm.dll, jvm_g.dll)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:388)
at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:369)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:565)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
at sun.tools.jinfo.JInfo.main(JInfo.java:71)
Debugger attached successfully.
jinfo requires a java VM process/core!
Attaching to process ID 4288, please wait...
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (jvm.dll, jvm_g.dll)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:388)
at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:369)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:565)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
at sun.tools.jinfo.JInfo.main(JInfo.java:71)
Debugger attached successfully.
jinfo requires a java VM process/core!
4288: jvm.dll not loaded by target process
4288: jvm.dll not loaded by target process
4288: jvm.dll not loaded by target process
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
TEST: sun/tools/jps/jps-help.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell jps-help.sh
TIME: 0.438 seconds
messages:
command: shell jps-help.sh []
reason: User specified action: run shell jps-help.sh
elapsed time (seconds): 0.438
STDOUT:
1,5c1,5
< usage: jps [-help]
< jps [-q] [-mlvV] [<hostid>]
<
< Definitions:
< <hostid>: <hostname>[:<port>]
---
> usage: jps [-help]
> jps [-q] [-mlvV] [<hostid>]
>
> Definitions:
> <hostid>: <hostname>[:<port>]
Output of jps -? differ from expected output. Failed.
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jstack/Basic.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: build -- Passed. Build successful
REASON: User specified action: run build SimpleApplication ShutdownSimpleApplication
TIME: 0.531 seconds
messages:
command: build SimpleApplication ShutdownSimpleApplication
reason: User specified action: run build SimpleApplication ShutdownSimpleApplication
elapsed time (seconds): 0.531
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.531 seconds
messages:
command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\tools\jstack\..\common\SimpleApplication.java C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\tools\jstack\..\common\ShutdownSimpleApplication.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.531
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell Basic.sh
TIME: 1.672 seconds
messages:
command: shell Basic.sh []
reason: User specified action: run shell Basic.sh
elapsed time (seconds): 1.672
STDOUT:
Waiting for Application to initialize...
Application is process 5892
5892: jvm.dll not loaded by target process
The -F option can be used when the target process is not responding
5892: jvm.dll not loaded by target process
The -F option can be used when the target process is not responding
Port number of application is: 1657
Connecting to port 1657 to shutdown Application ...
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jstat/jstatHelp.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell jstatHelp.sh
TIME: 0.313 seconds
messages:
command: shell jstatHelp.sh []
reason: User specified action: run shell jstatHelp.sh
elapsed time (seconds): 0.313
STDOUT:
1,20c1,20
< Usage: jstat -help|-options
< jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]
<
[snip]
> -J<flag> Pass <flag> directly to the runtime system.
Output of jstat -? differ from expected output. Failed.
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
For JDK6, the following test also fails:
sun/tools/idlj/Test6438259.sh
However, this test doesn't exist in JDK7.
TEST: tools/launcher/UnicodeTest.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: Assumed action based on file name: run shell UnicodeTest.sh
TIME: 0.813 seconds
messages:
command: shell UnicodeTest.sh []
reason: Assumed action based on file name: run shell UnicodeTest.sh
elapsed time (seconds): 0.813
STDOUT:
creating test source files
building test apps
STDERR:
javac: file not found: UnicodeTest-src\ClassA
.java
Usage: javac <options> <source files>
use -help for a list of possible options
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jstat/jstatOptions1.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell jstatOptions1.sh
TIME: 0.313 seconds
messages:
command: shell jstatOptions1.sh []
reason: User specified action: run shell jstatOptions1.sh
elapsed time (seconds): 0.313
STDOUT:
1,12c1,12
< -class
< -compiler
< -gc
< -gccapacity
< -gccause
< -gcnew
< -gcnewcapacity
< -gcold
< -gcoldcapacity
< -gcpermcapacity
< -gcutil
< -printcompilation
---
> -class
> -compiler
> -gc
> -gccapacity
> -gccause
> -gcnew
> -gcnewcapacity
> -gcold
> -gcoldcapacity
> -gcpermcapacity
> -gcutil
> -printcompilation
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jstatd/jstatdUsage1.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell jstatdUsage1.sh
TIME: 0.328 seconds
messages:
command: shell jstatdUsage1.sh []
reason: User specified action: run shell jstatdUsage1.sh
elapsed time (seconds): 0.328
STDOUT:
1c1
< usage: jstatd [-nr] [-p port] [-n rminame]
---
> usage: jstatd [-nr] [-p port] [-n rminame]
Output of jstatd -? differs from expected output. Failed.
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/native2ascii/Native2AsciiTests.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: Assumed action based on file name: run shell Native2AsciiTests.sh
TIME: 0.391 seconds
messages:
command: shell Native2AsciiTests.sh []
reason: Assumed action based on file name: run shell Native2AsciiTests.sh
elapsed time (seconds): 0.391
STDOUT:
*** C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/test/sun/tools/native2ascii/A2N_4630463.expected Tue Nov 17 14:35:01 2009
--- x.out.1 Tue Dec 15 18:07:43 2009
***************
*** 1 ****
! €?‚ƒ„…†‡ˆ‰Š‹Œ?Ž??‘’“”•–—˜™š›œ?žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
--- 1 ----
! €?‚ƒ„…†‡ˆ‰Š‹Œ?Ž??‘’“”•–—˜™š›œ?žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ
4630463 failed
STDERR:
+ diff -c C:/cygwin/home/ohair/hgrepos/openjdk7/jdk7-tl/jdk/test/sun/tools/native2ascii/A2N_4630463.expected x.out.1
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: tools/launcher/ChangeDataModel.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell ChangeDataModel.sh
TIME: 0.657 seconds
messages:
command: shell ChangeDataModel.sh []
reason: User specified action: run shell ChangeDataModel.sh
elapsed time (seconds): 0.657
STDOUT:
Unrecognized data model: 32
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
TEST: tools/launcher/ClassPathWildCard.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell ClassPathWildCard.sh
TIME: 2.203 seconds
messages:
command: shell ClassPathWildCard.sh []
reason: User specified action: run shell ClassPathWildCard.sh
elapsed time (seconds): 2.203
STDOUT:
added manifest
adding: TestA.class(in = 966) (out= 577)(deflated 40%)
adding: TestA.java(in = 498) (out= 250)(deflated 49%)
added manifest
adding: TestB.class(in = 966) (out= 577)(deflated 40%)
adding: TestB.java(in = 498) (out= 250)(deflated 49%)
STDERR:
Error: Could not find main class JarDir.TestB.jar
java.lang.NoClassDefFoundError: JarDir.TestB.jar
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:198)
Caused by: java.lang.ClassNotFoundException: JarDir.TestB.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:299)
at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:195)
Exception in thread "main"
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
TEST: tools/launcher/DefaultLocaleTest.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell DefaultLocaleTest.sh Verify directory context variables are set
TIME: 0.828 seconds
messages:
command: shell DefaultLocaleTest.sh [Verify, directory, context, variables, are, set]
reason: User specified action: run shell DefaultLocaleTest.sh Verify directory context variables are set
elapsed time (seconds): 0.828
STDOUT:
Test fails
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
These tests do not work in a Windows XP CYGWIN 32bit environment, it is assumed the key issue is CYGWIN and the same fixes will solve it for all Windows and both 32bit and 64bit.
Some are serviceability, some are launcher tests, one native2ascii test.
There may be other *.sh tests in com/sun/tools/, sun/tools/, and tools/ that have similar issues but have been excluded from running for other reasons, so all *.sh tests should be checked. Expectation is that the same fix may apply to all of them. Some teams may choose to take the opportunity to rewrite the test in java.
These tests will be added to the jdk/test/ProblemList.txt file.
FAILED: com/sun/tools/attach/PermissionTests.sh
FAILED: com/sun/tools/attach/ProviderTests.sh
FAILED: sun/tools/jinfo/Basic.sh
FAILED: sun/tools/jps/jps-help.sh
FAILED: sun/tools/jstack/Basic.sh
FAILED: sun/tools/jstat/jstatHelp.sh
FAILED: sun/tools/jstat/jstatOptions1.sh
FAILED: sun/tools/jstatd/jstatdUsage1.sh
FAILED: sun/tools/native2ascii/Native2AsciiTests.sh
FAILED: tools/launcher/ChangeDataModel.sh
FAILED: tools/launcher/ClassPathWildCard.sh
FAILED: tools/launcher/DefaultLocaleTest.sh
FAILED: tools/launcher/UnicodeTest.sh
--------------------------------------------------
TEST: com/sun/tools/attach/PermissionTests.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: build -- Passed. Build successful
REASON: User specified action: run build PermissionTest
TIME: 0.5 seconds
messages:
command: build PermissionTest
reason: User specified action: run build PermissionTest
elapsed time (seconds): 0.5
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.454 seconds
messages:
command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\com\sun\tools\attach\PermissionTest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.454
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell PermissionTests.sh
TIME: 0.156 seconds
messages:
command: shell PermissionTests.sh []
reason: User specified action: run shell PermissionTests.sh
elapsed time (seconds): 0.156
STDOUT:
Unrecognized system!
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
TEST: com/sun/tools/attach/ProviderTests.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: build -- Passed. Build successful
REASON: User specified action: run build ProviderTest SimpleProvider
TIME: 0.5 seconds
messages:
command: build ProviderTest SimpleProvider
reason: User specified action: run build ProviderTest SimpleProvider
elapsed time (seconds): 0.5
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.5 seconds
messages:
command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\com\sun\tools\attach\ProviderTest.java C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\com\sun\tools\attach\SimpleProvider.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.5
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell ProviderTests.sh
TIME: 0.156 seconds
messages:
command: shell ProviderTests.sh []
reason: User specified action: run shell ProviderTests.sh
elapsed time (seconds): 0.156
STDOUT:
Unrecognized system!
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jinfo/Basic.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: build -- Passed. Build successful
REASON: User specified action: run build SimpleApplication ShutdownSimpleApplication
TIME: 0.5 seconds
messages:
command: build SimpleApplication ShutdownSimpleApplication
reason: User specified action: run build SimpleApplication ShutdownSimpleApplication
elapsed time (seconds): 0.5
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.5 seconds
messages:
command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\tools\jinfo\..\common\SimpleApplication.java C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\tools\jinfo\..\common\ShutdownSimpleApplication.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.5
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell Basic.sh
TIME: 3.171 seconds
messages:
command: shell Basic.sh []
reason: User specified action: run shell Basic.sh
elapsed time (seconds): 3.171
STDOUT:
Waiting for Application to initialize...
Application is process 4288
Port number of application is: 1655
Connecting to port 1655 to shutdown Application ...
STDERR:
Attaching to process ID 4288, please wait...
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (jvm.dll, jvm_g.dll)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:388)
at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:369)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:565)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
at sun.tools.jinfo.JInfo.main(JInfo.java:71)
Debugger attached successfully.
jinfo requires a java VM process/core!
Attaching to process ID 4288, please wait...
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (jvm.dll, jvm_g.dll)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:388)
at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:369)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:565)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
at sun.tools.jinfo.JInfo.main(JInfo.java:71)
Debugger attached successfully.
jinfo requires a java VM process/core!
Attaching to process ID 4288, please wait...
sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTypeEntryTypeNameOffset" in any of the known library names (jvm.dll, jvm_g.dll)
at sun.jvm.hotspot.HotSpotTypeDataBase.lookupInProcess(HotSpotTypeDataBase.java:388)
at sun.jvm.hotspot.HotSpotTypeDataBase.getLongValueFromProcess(HotSpotTypeDataBase.java:369)
at sun.jvm.hotspot.HotSpotTypeDataBase.readVMTypes(HotSpotTypeDataBase.java:102)
at sun.jvm.hotspot.HotSpotTypeDataBase.<init>(HotSpotTypeDataBase.java:85)
at sun.jvm.hotspot.bugspot.BugSpotAgent.setupVM(BugSpotAgent.java:565)
at sun.jvm.hotspot.bugspot.BugSpotAgent.go(BugSpotAgent.java:494)
at sun.jvm.hotspot.bugspot.BugSpotAgent.attach(BugSpotAgent.java:332)
at sun.jvm.hotspot.tools.Tool.start(Tool.java:163)
at sun.jvm.hotspot.tools.JInfo.main(JInfo.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at sun.tools.jinfo.JInfo.runTool(JInfo.java:97)
at sun.tools.jinfo.JInfo.main(JInfo.java:71)
Debugger attached successfully.
jinfo requires a java VM process/core!
4288: jvm.dll not loaded by target process
4288: jvm.dll not loaded by target process
4288: jvm.dll not loaded by target process
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
TEST: sun/tools/jps/jps-help.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell jps-help.sh
TIME: 0.438 seconds
messages:
command: shell jps-help.sh []
reason: User specified action: run shell jps-help.sh
elapsed time (seconds): 0.438
STDOUT:
1,5c1,5
< usage: jps [-help]
< jps [-q] [-mlvV] [<hostid>]
<
< Definitions:
< <hostid>: <hostname>[:<port>]
---
> usage: jps [-help]
> jps [-q] [-mlvV] [<hostid>]
>
> Definitions:
> <hostid>: <hostname>[:<port>]
Output of jps -? differ from expected output. Failed.
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jstack/Basic.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: build -- Passed. Build successful
REASON: User specified action: run build SimpleApplication ShutdownSimpleApplication
TIME: 0.531 seconds
messages:
command: build SimpleApplication ShutdownSimpleApplication
reason: User specified action: run build SimpleApplication ShutdownSimpleApplication
elapsed time (seconds): 0.531
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.531 seconds
messages:
command: compile C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\tools\jstack\..\common\SimpleApplication.java C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\test\sun\tools\jstack\..\common\ShutdownSimpleApplication.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.531
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell Basic.sh
TIME: 1.672 seconds
messages:
command: shell Basic.sh []
reason: User specified action: run shell Basic.sh
elapsed time (seconds): 1.672
STDOUT:
Waiting for Application to initialize...
Application is process 5892
5892: jvm.dll not loaded by target process
The -F option can be used when the target process is not responding
5892: jvm.dll not loaded by target process
The -F option can be used when the target process is not responding
Port number of application is: 1657
Connecting to port 1657 to shutdown Application ...
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
--------------------------------------------------
TEST: sun/tools/jstat/jstatHelp.sh
JDK under test: C:\cygwin\home\ohair\hgrepos\openjdk7\jdk7-tl\jdk\build\WINDOW~1\J2SDK-~1
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell jstatHelp.sh
TIME: 0.313 seconds
messages:
command: shell jstatHelp.sh []
reason: User specified action: run shell jstatHelp.sh
elapsed time (seconds): 0.313
STDOUT:
1,20c1,20
< Usage: jstat -help|-options
< jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]
<
[snip]
> -J<flag> Pass <flag> directly to the runtime system.
Output of jstat -? differ from expected output. Failed.
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------
For JDK6, the following test also fails:
sun/tools/idlj/Test6438259.sh
However, this test doesn't exist in JDK7.
- duplicates
-
JDK-7095406 sun/tools/native2ascii/Native2AsciiTests.sh tests does not work with CYGWIN
-
- Closed
-
- relates to
-
JDK-6954517 Testcase failure tools/launcher/UnicodeTest.sh
-
- Resolved
-