aqa-tests: jdk_rmi: java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java fails (MalformedURLException)
java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java fails testing form: //test-packet-x64-ubuntu-16.04-1/MyName with java.net.MalformedURLException: invalid authority: //test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330), output from https://ci.adoptopenjdk.net/view/OpenJDK tests/job/openjdk_test_x86-64_linux/34/consoleFull:
20:34:18 TEST: java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java#id0
20:34:18 TEST JDK: /home/jenkins/workspace/openjdk_test_x86-64_linux/openjdkbinary/j2sdk-image/jre/bin/…/…
20:34:18
20:34:18 ACTION: build – Passed. All files up to date
20:34:18 REASON: User specified action: run build TestLibrary Legal LegalRegistryNames_Stub
20:34:18 TIME: 0.0 seconds
20:34:18 messages:
20:34:18 command: build TestLibrary Legal LegalRegistryNames_Stub
20:34:18 reason: User specified action: run build TestLibrary Legal LegalRegistryNames_Stub
20:34:18 elapsed time (seconds): 0.0
20:34:18
20:34:18 ACTION: build – Passed. All files up to date
20:34:18 REASON: Named class compiled on demand
20:34:18 TIME: 0.001 seconds
20:34:18 messages:
20:34:18 command: build LegalRegistryNames
20:34:18 reason: Named class compiled on demand
20:34:18 elapsed time (seconds): 0.001
20:34:18
20:34:18 ACTION: main – Failed. Execution failed: main' threw exception: TestFailedException: TEST FAILED: Test failed 20:34:18 REASON: User specified action: run main LegalRegistryNames 20:34:18 TIME: 1.109 seconds 20:34:18 messages: 20:34:18 command: main LegalRegistryNames 20:34:18 reason: User specified action: run main LegalRegistryNames 20:34:18 Mode: othervm 20:34:18 elapsed time (seconds): 1.109 20:34:18 configuration: 20:34:18 STDOUT: 20:34:18 STDERR: 20:34:18 20:34:18 Regression test for bug/rfe 4254808 20:34:18 20:34:18 Starting registry on default port 20:34:18 20:34:18 testing form: ///MyName 20:34:18 form ///MyName OK 20:34:18 20:34:18 testing form: //:1099/MyName 20:34:18 form //:1099/MyName OK 20:34:18 20:34:18 testing form: //127.0.0.1/MyName 20:34:18 form //127.0.0.1/MyName OK 20:34:18 20:34:18 testing form: //127.0.0.1:1099/MyName 20:34:18 form //127.0.0.1:1099/MyName OK 20:34:18 20:34:18 testing form: //localhost/MyName 20:34:18 form //localhost/MyName OK 20:34:18 20:34:18 testing form: //localhost:1099/MyName 20:34:18 form //localhost:1099/MyName OK 20:34:18 20:34:18 testing form: //test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 java.net.MalformedURLException: invalid authority: //test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330) 20:34:18 at java.rmi.Naming.parseURL(Naming.java:237) 20:34:18 at java.rmi.Naming.rebind(Naming.java:171) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:89) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 unexpected lookup or unbind exception for form: //test-packet-x64-ubuntu-16.04-1/MyNameinvalid authority: //test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 20:34:18 testing form: //test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 java.net.MalformedURLException: invalid authority: //test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330) 20:34:18 at java.rmi.Naming.parseURL(Naming.java:237) 20:34:18 at java.rmi.Naming.rebind(Naming.java:171) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:89) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 unexpected lookup or unbind exception for form: //test-packet-x64-ubuntu-16.04-1:1099/MyNameinvalid authority: //test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 20:34:18 testing form: MyName 20:34:18 form MyName OK 20:34:18 20:34:18 testing form: /MyName 20:34:18 form /MyName OK 20:34:18 20:34:18 testing form: rmi:///MyName 20:34:18 form rmi:///MyName OK 20:34:18 20:34:18 testing form: rmi://:1099/MyName 20:34:18 form rmi://:1099/MyName OK 20:34:18 20:34:18 testing form: rmi://127.0.0.1/MyName 20:34:18 form rmi://127.0.0.1/MyName OK 20:34:18 20:34:18 testing form: rmi://127.0.0.1:1099/MyName 20:34:18 form rmi://127.0.0.1:1099/MyName OK 20:34:18 20:34:18 testing form: rmi://localhost/MyName 20:34:18 form rmi://localhost/MyName OK 20:34:18 20:34:18 testing form: rmi://localhost:1099/MyName 20:34:18 form rmi://localhost:1099/MyName OK 20:34:18 20:34:18 testing form: rmi://test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 java.net.MalformedURLException: invalid authority: rmi://test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330) 20:34:18 at java.rmi.Naming.parseURL(Naming.java:237) 20:34:18 at java.rmi.Naming.rebind(Naming.java:171) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:89) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 unexpected lookup or unbind exception for form: rmi://test-packet-x64-ubuntu-16.04-1/MyNameinvalid authority: rmi://test-packet-x64-ubuntu-16.04-1/MyName 20:34:18 20:34:18 testing form: rmi://test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 java.net.MalformedURLException: invalid authority: rmi://test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 at java.rmi.Naming.intParseURL(Naming.java:330) 20:34:18 at java.rmi.Naming.parseURL(Naming.java:237) 20:34:18 at java.rmi.Naming.rebind(Naming.java:171) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:89) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 unexpected lookup or unbind exception for form: rmi://test-packet-x64-ubuntu-16.04-1:1099/MyNameinvalid authority: rmi://test-packet-x64-ubuntu-16.04-1:1099/MyName 20:34:18 TEST FAILED: Test failed 20:34:18 TestFailedException: TEST FAILED: Test failed 20:34:18 at TestLibrary.bomb(TestLibrary.java:121) 20:34:18 at TestLibrary.bomb(TestLibrary.java:124) 20:34:18 at LegalRegistryNames.main(LegalRegistryNames.java:115) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 20:34:18 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 20:34:18 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 20:34:18 at java.lang.reflect.Method.invoke(Method.java:498) 20:34:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115) 20:34:18 at java.lang.Thread.run(Thread.java:748) 20:34:18 20:34:18 JavaTest Message: Test threw exception: TestFailedException: TEST FAILED: Test failed 20:34:18 JavaTest Message: shutting down test 20:34:18 20:34:18 STATUS:Failed.
main’ threw exception: TestFailedException: TEST FAILED: Test failed
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (12 by maintainers)
Commits related to this issue
- Changes to ProblemList.txt - Removing java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java from the problem list file as the test is working fine on Linux x86-64 - Marking java/rmi/registry/ser... — committed to sabkrish/openjdk-tests by deleted user 7 years ago
- Changes to ProblemList.txt (#171) - Removing java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java from the problem list file as the test is working fine on Linux x86-64 - Marking java/rmi/regi... — committed to adoptium/aqa-tests by deleted user 7 years ago
Yes, as we wanted to “get green”, these issues typically have matching entries in ProblemList.txt (where the format contains 3 pieces of information per line in the file: test name issueNumber platform)
Now that we have the test builds running green, we shall start fixing the issues, and re-including tests. Additionally we can add more versions/platforms based on additional machines available for test.