-
Notifications
You must be signed in to change notification settings - Fork 112
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
Incompatible change in the com.sun.ts.tests.signaturetest.javaee.JavaEESigTest class #1366
Comments
starksm64
added a commit
to jakartaredhat/platform-tck-refactor
that referenced
this issue
Jul 15, 2024
Fixes jakartaee#1365 Add back the setup(String[], Properties) method and have setup() delegate to it. Improves jakartaee#1366 Signed-off-by: Scott M Stark <[email protected]>
With the changes in the #1367 PR, the sigtest appclient vehicle fails with: 20:10:32,819 INFO [stdout] (Thread-150) 07-14-2024 20:10:32: ********** VALIDATE IN STATIC MODE - TO CHECK CONSANT VALUES ****
20:10:32,819 INFO [stdout] (Thread-150) 07-14-2024 20:10:32: Static mode supports checks of static constants values
20:10:32,819 INFO [stdout] (Thread-150) 07-14-2024 20:10:32: ERROR: Unexpected exception /sig-test.map (No such file or directory)
20:10:32,819 INFO [stdout] (Thread-150) 07-14-2024 20:10:32: ERROR: Test case throws exception: signatureTest failed with an unexpected exception
20:10:32,819 INFO [stdout] (Thread-150) 07-14-2024 20:10:32: ERROR: Exception at:
20:10:32,820 INFO [stdout] (Thread-150) 07-14-2024 20:10:32: ERROR: java.lang.Exception: signatureTest failed with an unexpected exception
20:10:32,820 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.tests.signaturetest.SigTestEE.signatureTest(SigTestEE.java:333)
20:10:32,820 INFO [stdout] (Thread-150) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
20:10:32,820 INFO [stdout] (Thread-150) at java.base/java.lang.reflect.Method.invoke(Method.java:580)
20:10:32,820 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.lib.harness.EETest.run(EETest.java:596)
20:10:32,820 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:115)
20:10:32,820 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:486)
20:10:32,820 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:209)
20:10:32,820 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.lib.harness.EETest.run(EETest.java:285)
20:10:32,820 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.tests.signaturetest.javaee.JavaEESigTest.main(JavaEESigTest.java:532)
20:10:32,820 INFO [stdout] (Thread-150) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
20:10:32,820 INFO [stdout] (Thread-150) at java.base/java.lang.reflect.Method.invoke(Method.java:580)
20:10:32,820 INFO [stdout] (Thread-150) at [email protected]//org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:89)
20:10:32,820 INFO [stdout] (Thread-150) at java.base/java.lang.Thread.run(Thread.java:1583)
20:10:32,821 INFO [stdout] (Thread-150) Caused by: java.io.FileNotFoundException: /sig-test.map (No such file or directory)
20:10:32,821 INFO [stdout] (Thread-150) at java.base/java.io.FileInputStream.open0(Native Method)
20:10:32,821 INFO [stdout] (Thread-150) at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
20:10:32,821 INFO [stdout] (Thread-150) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:152)
20:10:32,821 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.tests.signaturetest.SignatureTestDriver.loadMapFile(SignatureTestDriver.java:460)
20:10:32,821 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.tests.signaturetest.SignatureTestDriver.getSigFileInfo(SignatureTestDriver.java:549)
20:10:32,821 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.tests.signaturetest.SigTestDriver.createTestArguments(SigTestDriver.java:104)
20:10:32,821 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.tests.signaturetest.SignatureTestDriver.executeSigTest(SignatureTestDriver.java:192)
20:10:32,821 INFO [stdout] (Thread-150) at deployment.JavaEESigTest_appclient_vehicle.ear.JavaEESigTest_appclient_vehicle_client.jar//com.sun.ts.tests.signaturetest.SigTestEE.signatureTest(SigTestEE.java:285)
20:10:32,821 INFO [stdout] (Thread-150) ... 12 more I don't know if there are other missing changes or if the way in which the sig map files are made available needs to be updated. |
starksm64
added a commit
that referenced
this issue
Jul 15, 2024
…ts (#1367) Fixes #1365 Add back the setup(String[], Properties) method and have setup() delegate to it. Improves #1366 Signed-off-by: Scott M Stark <[email protected]>
starksm64
added a commit
to starksm64/platform-tck
that referenced
this issue
Jul 28, 2024
Fixes jakartaee#1366 Signed-off-by: Scott M Stark <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The changes in #1209 to change the SigTestEE#setup(Sring[], Properties) method to setup() has broken the ServiceEETest/EETest invocation protocol and does not allow the existing vehicles to be used.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The EE10 vehicle test method dispatch mechanism needs to stay in place to work with the javatest protocol used in the porting tools
Additional context
Running the com.sun.ts.tests.signaturetest.javaee.JavaEESigTest in an appclient vehicle fails with:
The text was updated successfully, but these errors were encountered: