Details
-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b108
-
Verified
Description
TESTFAIL:java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java
Affect Test:
java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java
The test sometimes fails:
----------messages:(3/276)----------
command: main -Djava.util.logging.manager=testgetglobal.DummyLogManagerImpl TestGetGlobalConcurrent
reason: User specified action: run main/othervm/timeout=10 -Djava.util.logging.manager=testgetglobal.DummyLogManagerImpl TestGetGlobalConcurrent
elapsed time (seconds): 0.272
----------System.out:(0/0)----------
----------System.err:(34/3005)----------
Could not load Logmanager "testgetglobal.LogManagerImpl"
java.lang.ClassNotFoundException: testgetglobal.LogManagerImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:359)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.util.logging.LogManager$1.run(LogManager.java:182)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:172)
at java.util.logging.Logger.getGlobal(Logger.java:254)
at TestGetGlobalConcurrent.main(TestGetGlobalConcurrent.java:165)
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:491)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:724)
java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
at TestGetGlobalConcurrent.main(TestGetGlobalConcurrent.java:172)
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:491)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:724)
JavaTest Message: Test threw exception: java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
Jul 22, 2013 6:37:04 PM TestGetGlobalConcurrent test1
INFO: 4. This message should appear on the console.
java.lang.Error: Unexpected message list:
[4. This message should appear on the console., 6. This message should appear on the console., 8. This message should appear on the console.] vs [4. This message should appear on the console., 5. This message should now appear on the console too.]
at TestGetGlobalConcurrent.test1(TestGetGlobalConcurrent.java:75)
at TestGetGlobalConcurrent$Run1.run(TestGetGlobalConcurrent.java:141)
at TestGetGlobalConcurrent$WaitAndRun.run(TestGetGlobalConcurrent.java:133)
at java.lang.Thread.run(Thread.java:724)
Jul 22, 2013 6:37:04 PM TestGetGlobalConcurrent test3
INFO: 8. This message should appear on the console.
java.lang.Error: Unexpected message list:
[4. This message should appear on the console., 6. This message should appear on the console., 8. This message should appear on the console.] vs [8. This message should appear on the console., 9. This message should now appear on the console too.]
at TestGetGlobalConcurrent.test3(TestGetGlobalConcurrent.java:102)
at TestGetGlobalConcurrent$Run3.run(TestGetGlobalConcurrent.java:147)
at TestGetGlobalConcurrent$WaitAndRun.run(TestGetGlobalConcurrent.java:133)
at java.lang.Thread.run(Thread.java:724)
Jul 22, 2013 6:37:04 PM TestGetGlobalConcurrent test2
INFO: 6. This message should appear on the console.
java.lang.Error: Unexpected message list:
[4. This message should appear on the console., 6. This message should appear on the console., 8. This message should appear on the console.] vs [6. This message should appear on the console., 7. This message should now appear on the console too.]
at TestGetGlobalConcurrent.test2(TestGetGlobalConcurrent.java:88)
at TestGetGlobalConcurrent$Run2.run(TestGetGlobalConcurrent.java:144)
at TestGetGlobalConcurrent$WaitAndRun.run(TestGetGlobalConcurrent.java:133)
at java.lang.Thread.run(Thread.java:724)
result: Failed. Execution failed: `main' threw exception: java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
Affect Test:
java/util/logging/Logger/getGlobal/TestGetGlobalConcurrent.java
The test sometimes fails:
----------messages:(3/276)----------
command: main -Djava.util.logging.manager=testgetglobal.DummyLogManagerImpl TestGetGlobalConcurrent
reason: User specified action: run main/othervm/timeout=10 -Djava.util.logging.manager=testgetglobal.DummyLogManagerImpl TestGetGlobalConcurrent
elapsed time (seconds): 0.272
----------System.out:(0/0)----------
----------System.err:(34/3005)----------
Could not load Logmanager "testgetglobal.LogManagerImpl"
java.lang.ClassNotFoundException: testgetglobal.LogManagerImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:359)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
at java.util.logging.LogManager$1.run(LogManager.java:182)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:172)
at java.util.logging.Logger.getGlobal(Logger.java:254)
at TestGetGlobalConcurrent.main(TestGetGlobalConcurrent.java:165)
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:491)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:724)
java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
at TestGetGlobalConcurrent.main(TestGetGlobalConcurrent.java:172)
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:491)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:724)
JavaTest Message: Test threw exception: java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
Jul 22, 2013 6:37:04 PM TestGetGlobalConcurrent test1
INFO: 4. This message should appear on the console.
java.lang.Error: Unexpected message list:
[4. This message should appear on the console., 6. This message should appear on the console., 8. This message should appear on the console.] vs [4. This message should appear on the console., 5. This message should now appear on the console too.]
at TestGetGlobalConcurrent.test1(TestGetGlobalConcurrent.java:75)
at TestGetGlobalConcurrent$Run1.run(TestGetGlobalConcurrent.java:141)
at TestGetGlobalConcurrent$WaitAndRun.run(TestGetGlobalConcurrent.java:133)
at java.lang.Thread.run(Thread.java:724)
Jul 22, 2013 6:37:04 PM TestGetGlobalConcurrent test3
INFO: 8. This message should appear on the console.
java.lang.Error: Unexpected message list:
[4. This message should appear on the console., 6. This message should appear on the console., 8. This message should appear on the console.] vs [8. This message should appear on the console., 9. This message should now appear on the console too.]
at TestGetGlobalConcurrent.test3(TestGetGlobalConcurrent.java:102)
at TestGetGlobalConcurrent$Run3.run(TestGetGlobalConcurrent.java:147)
at TestGetGlobalConcurrent$WaitAndRun.run(TestGetGlobalConcurrent.java:133)
at java.lang.Thread.run(Thread.java:724)
Jul 22, 2013 6:37:04 PM TestGetGlobalConcurrent test2
INFO: 6. This message should appear on the console.
java.lang.Error: Unexpected message list:
[4. This message should appear on the console., 6. This message should appear on the console., 8. This message should appear on the console.] vs [6. This message should appear on the console., 7. This message should now appear on the console too.]
at TestGetGlobalConcurrent.test2(TestGetGlobalConcurrent.java:88)
at TestGetGlobalConcurrent$Run2.run(TestGetGlobalConcurrent.java:144)
at TestGetGlobalConcurrent$WaitAndRun.run(TestGetGlobalConcurrent.java:133)
at java.lang.Thread.run(Thread.java:724)
result: Failed. Execution failed: `main' threw exception: java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Unexpected message list:
[] vs [2. This message should appear on the console., 3. This message should now appear on the console too.]
Attachments
Issue Links
- relates to
-
JDK-8023168 Cleanup LogManager class initialization and LogManager/LoggerContext relationship
- Closed
-
JDK-7184195 java.util.logging.Logger.getGlobal().info() doesn't log without configuration
- Closed