Hi Richard,
I am not there yet, I have a basic understanding of how one can setup
the tck.
I have currently a setup which kinda works, but still produces some issues.
You may find it in this repository:
https://gitlab.com/Sollder1/tomee-10-jaxrs-tck-setup-tests/-/tree/main
Maybe you can help me with this Problem (it blocks the test-execution):
I use arquillian-tomee-embedded for the arquillian tests, but I do not
seem to find an option to configure it. I need to allow TRACE as a
HTTP-Method, as some of the tests need this option enabled.
In a normal setup I would just add a allowTrace="true" to the Connector.
Do you have some insight here?
Excluding this blocker surefire reports the following results: "Tests
run: 2796, Failures: 23, Errors: 20, Skipped: 130" for running my setup
against the current main of tomee.
I did not yet try to run your cfx-upgrade branch, maybe you can try it
on your machine to see if it runs there as well?
Gruß
Benedict
On 17.08.23 19:19, Richard Zowalla wrote:
Hi Benedict,
thanks for your answer. If possible, use the "cxf4" branch from [1] and
do a quick build without tests to get the artifacts:
mvn -T 2C -U --show-version --fail-at-end clean install -pl
tomee/apache-tomee -am -Dfile.encoding=UTF-8 -DskipTests=true
That should get you the necessary TomEE snapshot artifacts including
cxf 4.0.2
The TCK is located here: [2] and I am using the branch "tomee-10-with-
ee-91" for my testing. If you already have a working TCK setup, that
would be great ;)
We are passing the TCK with 9.1.1-SNAPSHOT with the cxf 3.5.5 shade and
we are in a good shape with the current main branch with the cxf 3.5.5
shade.
As our current main branch isn't really different to tomee-9.x atm, I
am running against the ee91 tck to look for regressions originating
from my cxf 4.0.2 upgrade attempt. In theory, it supports the jakarta
namespace and should be good to use but might miss some of our custom
patching we had earlier (with the shading approach). CXF4 isn't
compatible with ee10 yet, but that is another story.
Gruß
Richard
[1]https://github.com/rzo1/tomee/tree/cxf4
[2]https://github.com/apache/tomee-tck
Am Donnerstag, dem 17.08.2023 um 17:49 +0200 schrieb Benedict
Eisenkrämer:
Hi Richard,
with the current main branch and my messy try of a setup I get 151
Failed tests, many of which seem to be related to my faulty setup
though.
Main issue on my end seems to be errors with deployment.
Gruß Benedict
On 17.08.23 17:29, Richard Zowalla wrote:
Hi,
I've been doing some work to get rid of our cxf-shade and migrate
to
cxf 4.0.2. The branch is here: [1].
Our own build is in progess and I expect some failures due to
missed
dependencies in test setups: [2]
I did run the jaxrs part of the TCK (ee91) against my branch
locally
and it looks promising but (as expected) we have some TCK
regressions
(*meh*):
Completed running 2803 tests (1:34:15.098):
Passed: 2706
Failed: 97
Errors: 0
In the past, my local tck setup sometimes failed for tests, which
were
ok on other systems. Maybe someone can confirm, that these tests
are
actually failing for them too? Here is my list: [3]
For reference I did run
rm -rf target/ && ./runtests -Dhttps.protocols=TLSv1.1,TLSv1.2 --
ee91 -
j --env -nc -c -w tomee-plume com.sun.ts.tests.jaxrs
Any feedback welcome.
Gruß
Richard
[1]https://github.com/rzo1/tomee/tree/cxf4
[2]
https://ci-builds.apache.org/job/Tomee/job/pull-request-manual/15
[3]https://gist.github.com/rzo1/efbfbf568e7101842d3ffab2fdb38a3b