-
Notifications
You must be signed in to change notification settings - Fork 15
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
ClassNotFoundException: com.sun.ts.tests.common.vehicle.VehicleClient for javatests #153
Comments
There is no usage of a classname property in the com.sun.ts.lib.harness.* classes, so I can't see how that diff is the cause. If I try running the tests locally from the current jsonb_ee_javatest branch of https://github.com/alwin-joseph/jakartaee-tck with the version.jakarta.tck.arquillian set back to 1.0.0-M16:
all tests pass when running
|
I think you changed the jsonp-platform-tck/pom.xml , can you change the jsonb-platform-tck/pom.xml Also I had changed the arquillian-protocol-javatest version to M15 in latest (alwin-joseph/jakartaee-tck@aae9d5e ) which also passed the test for me , logs : https://ci.eclipse.org/jakartaee-tck/job/11/job/platform-tck/job/jsonb-platform-tck-run/4/. |
Yes, I have those changes, and I see the arquillian-protocol-javatest dependency has the version set explicitly so changing the property would not have any effect. If I update the version to 1.0.0-M16 I do see the errors. |
Because the arquillian-protocol-javatest jar is including classes from the jakarta.tck:common jar which is currently a snapshot, new releases of arquillian-protocol-javatest pickup the platform tck snapshot as that time. The real issue causing this is: |
The 1.0.0-M17 release fixes the problem form me. |
Thanks @starksm64 ! |
I see CNFE (com.sun.ts.tests.common.vehicle.VehicleClient class) when running the javatests (jsp, servlet vehicles) when using M16 version of arquillian jar tools to run jsonb and jta platform tests.
The issue seems to be introduced in M16 , tests are passing with M15.
I reproduced same from Jenkins (running from https://github.com/alwin-joseph/jakartaee-tck/tree/jsonb_ee_javatest).
The commit difference between the two test runs is only the change in jakarta.tck.arquillian jar versions.
From JSONB logs:
I could see the same issue with JTA javatests also. The tests were passing with M15, but got CNFE with M16.
Could the commit ef12777#diff-4fee96ce82a539a6704748b62a39711850dcf17787106248c4ce7649ec157aa9 cause this, I see the changes are only for appclient except the correction in arquillian/common/src/main/java/tck/arquillian/protocol/common/TsTestPropsBuilder.java.
@starksm64 Can you please check
cc @scottmarlow @gurunrao
The text was updated successfully, but these errors were encountered: