Hi Folks!

Any progress on executing the TCK tests?

Cheers

Bruno Baptista
https://twitter.com/brunobat_




On 23/01/19 15:00, César Hernández Mendoza wrote:
Where do we say to run the tests against a specific version of TomEE?
I'm blocked at this point too. Once the UI is open I don't know what to
open or how to properly create the javaee_web_profile filter.

El mié., 23 ene. 2019 a las 8:32, Bruno Baptista (<bruno...@gmail.com>)
escribió:

Hi César,

Thanks for this email. I was not aware of this UI.

I managed to make it work but I think I'm missing something.... Where do
we say to run the tests against a specific version of TomEE? This seems
to ignore the TomEE-TCK project.

Cheers

Bruno Baptista
https://twitter.com/brunobat_


On 22/01/19 16:01, César Hernández Mendoza wrote:
I'm getting closer (hopefully) to visualize the test on the JT Harness
UI.
Following Jean-Louis and Gurkan direction this is where I'm so far:

cd  /Users/cesar/juniverse/ee8tck/javaeetck/bin
./ant gui

On the JT Harness UI, clicked: File->Open->TestSuite
and opened the folder: /Users/cesar/juniverse/ee8tck/javaeetck/src

On the JT Harness UI, Selected: View-> Filter -> ConfigureFilters
I couldn't create a new filter so I ended up updating the Custom filter
with the following data:
Keywords -> Match (Expression): javaee_web_profile
Click Apply and then Ok.

The Pi chard updated  slowly and the total amount of test cases is: 47219

This number of test cases differs from the one Gurkan mentioned ("17517
tests for Web Profile"), so either I'm not opening the right folder or
I'm
not applying correctly the filter .. or both.




El mar., 22 ene. 2019 a las 3:30, Bruno Baptista (<bruno...@gmail.com>)
escribió:

Hi Guys,

I wonder were can I find the full list of test executions, like this one
for EJB:

./runtests --web tomee-plume
com.sun.ts.tests.ejb30.bb.localaccess.statelessclient

That way we could prioritize and start working working on specific
fixes.
Cheers

Bruno Baptista
https://twitter.com/brunobat_


On 21/01/19 22:20, Jean-Louis Monteiro wrote:
Ant will automatically look for a build.xml file.

`ant gui` will therefor look for the build.xml file and then look for a
target with the name `gui` and run it.
--
Jean-Louis Monteiro
http://twitter.com/jlouismonteiro
http://www.tomitribe.com


On Mon, Jan 21, 2019 at 10:16 PM César Hernández Mendoza <
cesargu...@gmail.com> wrote:

Thank you for the reply, I have the following question now:

    - Go to bin/ folder of TCK

Done:
cd  /Users/cesar/juniverse/ee8tck/javaeetck/bin

- Run ant gui

    Where and how I execute the ant gui? I see
https://github.com/eclipse-ee4j/jakartaee-tck/issues/26 was closed
but
I
couldn't find any information on the wiki.

This is the content of my bin/ folder of TCK:
$ ls -A1
    ?/
    build.xml
    certificates/
    client_policy.append
    harness.policy
    java.policy
    jaxrpc-url-props.dat
    jaxws-url-props.dat
    jws-url-props.dat
    ldap.ldif
    login.config
    server_policy.append
    sig-test-pkg-list.txt
    sig-test-pkg-list_se8.txt
    sig-test-pkg-list_se9.txt
    sig-test.map
    sig-test_se8.map
    sig-test_se8.map.orig
    sig-test_se9.map
    ts.java.security
    ts.jte
    ts.jte.bak
    ts.jte.jdk9
    ts.jte.orig
    ts.jtx
    tssql.stmt
    version
    webservices-url-props.dat
    xml/

I see there are some options [1] [2] to have an ant gui but I'm not
sure if
you are referring something different.

[1] http://www.placidsystems.com/virtualant/doc/guioverview.aspx
[2] http://antelope.tigris.org/



El lun., 21 ene. 2019 a las 14:40, Gurkan Erdogdu (<
cgerdo...@gmail.com
)
escribió:

I think we need to run tests with javaee_webprofile keyword filter.
There
is also a GUI to run/see the tests. You can run it with :

      - Go to bin/ folder of TCK
      - Run ant gui
      - You need to create a custom filter configuration with keyword
      javaee_web_profile

When I filter, there exists 17517 tests for Web Profile.

On Mon, Jan 21, 2019 at 9:50 PM César Hernández Mendoza <
cesargu...@gmail.com> wrote:

@Gurkan
Thanks for the update.

@List I appreciate pointers/opinions in these two questions:
After reading the readme, I wonder if there is a proper way to split
the
entire set of tests in sub sets?
My questions arise when I try to think how we can spread the work
mentioned
in Stage 2 and Stage 3 from the readme.
I think having a shared document with status mapped to this sub sets
can
be
useful as a reference to people trying to find areas to help. What
do
you
think?


El vie., 18 ene. 2019 a las 2:41, Gurkan Erdogdu (<
cgerdo...@gmail.com
)
escribió:

Hi Cesar

My environment is macOS

Before updating, I received the following error when I run the
following
command from tomee-tck and also got some dev/tomee-tck/./target/lib
is
not
directory errors etc.

./runtests --web tomee-plume
com.sun.ts.tests.ejb30.bb.localaccess.statelessclient

[INFO]

------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.codehaus.gmaven:gmaven-plugin:1.5:execute (setup-environment)
on
project openejb-tck: java.lang.Exception: Expected one file to be
included
into path; dir=/dev/tomee-tck/./target/lib,
includes=openejb-lite*.jar,
excludes=null -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute
goal org.codehaus.gmaven:gmaven-plugin:1.5:execute
(setup-environment)
on
project openejb-tck: java.lang.Exception: Expected one file to be
included
into path; dir=/dev/tomee-tck/./target/lib,
includes=openejb-lite*.jar,
excludes=null
       at


org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
       at


org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
       at


org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
       at


org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
       at


org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
       at


org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
       at


org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
       at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
       at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
       at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
       at


sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at


sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)
       at


org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
       at

org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
       at


org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
       at

org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
On Fri, Jan 18, 2019 at 5:25 AM César Hernández Mendoza <
cesargu...@gmail.com> wrote:

Hi,
I was able to set up my local environment and after executing:
./runtests --web tomee-plume
com.sun.ts.tests.ejb30.bb.localaccess.statelessclient
It seems I got a successful result [1] :).

After reading the readme, I wonder if there is a proper way to
split
the
entire set of tests in sub sets?
My questions arise when I try to think how we can spread the work
mentioned
in Stage 2 and Stage 3 from the readme.
I think having a shared document with status mapped to this sub
sets
can
be
useful as a reference to people trying to find areas to help. What
do
you
think?

@Gurkan, I executed:
./try.sh
without modifying CommandSupport.groovy and I got a successul
result
[2]
What was the error you had before your changes on
CommandSupport.groovy?
[1]


===============================================================================
       1/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#exceptionTest1
- PASSED
       2/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#exceptionTest2
- PASSED
       3/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#exceptionTest3
- PASSED
       4/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#exceptionTest4
- PASSED
       5/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#exceptionTest5
- PASSED
       6/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#passByReferenceTest1
- PASSED
       7/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#passByReferenceTest2
- PASSED
       8/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#passByReferenceTest3
- PASSED
       9/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#passByReferenceTest4
- PASSED
       10/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#passByReferenceTest5
- PASSED
       11/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#passByValueTest
- PASSED
       12/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#runtimeExceptionTest1
- PASSED
       13/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#runtimeExceptionTest2
- PASSED
       14/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#runtimeExceptionTest3
- PASSED
       15/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#runtimeExceptionTest4
- PASSED
       16/-0/?0 -


com/sun/ts/tests/ejb30/bb/localaccess/statelessclient/Client#java#runtimeExceptionTest5
- PASSED



===============================================================================
Completed running 16 tests (0:00:37.088):

       Passed: 16
       Failed: 0
       Errors: 0



===============================================================================
[2]
[INFO] Running tests...
[INFO] > Container Java Version: null
[INFO] > Container Java Home: null



===============================================================================
       1/-0/?0 -

com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#add_from_ejbembed
-
PASSED
       2/-0/?0 -

com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#add_from_ejblitejsf
- PASSED
       3/-0/?0 -

com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#add_from_ejblitejsp
- PASSED
       4/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#add_from_ejbliteservlet
- PASSED
       5/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#add_from_ejbliteservlet2
- PASSED
       6/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI_from_ejbembed
- PASSED
       7/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI_from_ejblitejsf
- PASSED
       8/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI_from_ejblitejsp
- PASSED
       9/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI_from_ejbliteservlet
- PASSED
       10/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI_from_ejbliteservlet2
- PASSED
       11/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI2_from_ejbembed
- PASSED
       12/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI2_from_ejblitejsf
- PASSED
       13/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI2_from_ejblitejsp
- PASSED
       14/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI2_from_ejbliteservlet
- PASSED
       15/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#appJNDI2_from_ejbliteservlet2
- PASSED
       16/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI_from_ejbembed
- PASSED
       17/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI_from_ejblitejsf
- PASSED
       18/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI_from_ejblitejsp
- PASSED
       19/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI_from_ejbliteservlet
- PASSED
       20/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI_from_ejbliteservlet2
- PASSED
       21/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI2_from_ejbembed
- PASSED
       22/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI2_from_ejblitejsf
- PASSED
       23/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI2_from_ejblitejsp
- PASSED
       24/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI2_from_ejbliteservlet
- PASSED
       25/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#globalJNDI2_from_ejbliteservlet2
- PASSED
       26/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI_from_ejbembed
- PASSED
       27/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI_from_ejblitejsf
- PASSED
       28/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI_from_ejblitejsp
- PASSED
       29/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI_from_ejbliteservlet
- PASSED
       30/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI_from_ejbliteservlet2
- PASSED
       31/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI2_from_ejbembed
- PASSED
       32/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI2_from_ejblitejsf
- PASSED
       33/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI2_from_ejblitejsp
- PASSED
       34/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI2_from_ejbliteservlet
- PASSED
       35/-0/?0 -


com/sun/ts/tests/ejb30/lite/basic/stateful/Client#java#moduleJNDI2_from_ejbliteservlet2
- PASSED



===============================================================================
Completed running 35 tests (0:01:25.704):

       Passed: 35
       Failed: 0
       Errors: 0
--
Atentamente:
César Hernández Mendoza.

--
Atentamente:
César Hernández Mendoza.

--
Atentamente:
César Hernández Mendoza.


Reply via email to