Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] GlassFish updates needed?



On 7/3/20 11:21 AM, Steve Millidge (Payara) wrote:
Hi Scott and Team,

Just to confirm is the next big thing you are waiting for in GlassFish the update to Mojarra?

Yes, that is the next big thing we are waiting on.

If so I will need to chase the upstream Mojarra team to release a new RC as they haven’t done a release as far as I can see since 22^nd May.

Thanks! Do you prefer testing GlassFish with a release of Mojarra or could it make sense to test with a Mojarra snapshot?

Scott


Are there other areas failing consistently that you think are on the GlassFish side?

Steve

*From:*jakartaee-tck-dev-bounces@xxxxxxxxxxx <jakartaee-tck-dev-bounces@xxxxxxxxxxx> *On Behalf Of *Scott Marlow
*Sent:* 03 July 2020 15:51
*To:* Rohit Jain <rohit.ku.jain@xxxxxxxxxx>
*Cc:* jakartaee-tck developer discussions <jakartaee-tck-dev@xxxxxxxxxxx>
*Subject:* Re: [jakartaee-tck-dev] Improving efficiency of TCK jobs and switching to build/run TCKs with https://www.eclipse.org/downloads/download.php?file=/ee4j/glassfish/glassfish-6.0.0-SNAPSHOT-nightly.zip

On Fri, Jul 3, 2020 at 8:13 AM Rohit Jain <rohit.ku.jain@xxxxxxxxxx <mailto:rohit.ku.jain@xxxxxxxxxx>> wrote:

    Hi Scott,

    Please find my comment inline.

    On 7/3/2020 5:24 PM, Scott Marlow wrote:

        On Thu, Jul 2, 2020 at 9:34 PM Scott Marlow <smarlow@xxxxxxxxxx
        <mailto:smarlow@xxxxxxxxxx>> wrote:

            On Thu, Jul 2, 2020 at 9:22 PM Scott Marlow
            <smarlow@xxxxxxxxxx <mailto:smarlow@xxxxxxxxxx>> wrote:

                On Thu, Jul 2, 2020 at 11:22 AM Alwin Joseph
                <alwin.joseph@xxxxxxxxxx
                <mailto:alwin.joseph@xxxxxxxxxx>> wrote:

                    On 02/07/20 7:46 am, Scott Marlow wrote:

                        Hi,

                        The build/run TCK jobs [1][2][3] are now updated
                        to use the nightly GlassFish build.

                    Hi Scott, I updated the same to
                    https://download.eclipse.org/ee4j/glassfish/glassfish-6.0.0-SNAPSHOT-nightly.zip
                    <https://urldefense.com/v3/__https:/download.eclipse.org/ee4j/glassfish/glassfish-6.0.0-SNAPSHOT-nightly.zip__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0mTalxx8$>.
                    This should be the same as you were referring.

                They both do seem the same to me as well (I downloaded
                both and they both contain files with today's date).

                    But the glassfish start domain gave the below
                    exception after using this new bundle. Maybe if this
                    nightly glassfish can possibly have issues we could
                    fall back to M1 release?

                Or we could try
                https://ci.eclipse.org/jakartaee-tck/job/build-glassfish/lastSuccessfulBuild/artifact/appserver/distributions/glassfish/target/glassfish.zip
                <https://urldefense.com/v3/__https:/ci.eclipse.org/jakartaee-tck/job/build-glassfish/lastSuccessfulBuild/artifact/appserver/distributions/glassfish/target/glassfish.zip__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0ZHEt8Go$>,
                which is from July 1.  Perhaps we should add a Jenkins
                job parameter for GF_BUNDLE_URL, so that we can more
                easily try different builds of GlassFish if needed.

    I'll make this change and will update you once its done.

Never mind, it looks like the "create-jvm-options -Ddeployment.resource.validation=false" is okay. https://ci.eclipse.org/jakartaee-tck/job/jakartaeetck-nightly-run-master/61/testReport/ passed javamail + samples tests with a GlassFish build from July 1.

            https://github.com/eclipse-ee4j/jakartaee-tck/commit/58fc3786b5b111dc6328fe31e27ed77ce67374b8
            <https://urldefense.com/v3/__https:/github.com/eclipse-ee4j/jakartaee-tck/commit/58fc3786b5b111dc6328fe31e27ed77ce67374b8__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME07NS6E5s$>
            should help with the below failure.

        We need to revert the change to use asadmin --user admin
        --passwordfile /root/admin-password.txt create-jvm-options
        -Ddeployment.resource.validation=false, it is not working.

            Scott

                Scott

                          [exec] Error starting domain domain1.

                          [exec] The server exited prematurely with exit code 1.

                          [exec] Before it died, it produced the following output:

                          [exec]

                          [exec] Launching GlassFish on Felix platform

                          [exec] Registeredcom.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@221ee7b8  <mailto:com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRuntime@221ee7b8>  in service registry.

                          [exec] Completed shutdown of GlassFish runtime

                          [exec] We are in non-embedded mode, so org.glassfish.main.core.glassfish [103] has nothing to do...

                          [exec] Exception in thread "main" java.lang.reflect.InvocationTargetException

                          [exec]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                          [exec]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

                          [exec]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                          [exec]   at java.lang.reflect.Method.invoke(Method.java:498)

                          [exec]   at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:73)

                          [exec]   at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:30)

                          [exec] Caused by: A MultiException has 2 exceptions.  They are:

                          [exec] 1. com.sun.enterprise.module.ResolveError: Failed to start OSGiModuleImpl:: Bundle = [org.glassfish.main.jdbc.config [165]], State = [NEW]

                          [exec] 2. java.lang.IllegalStateException: Could not load descriptor SystemDescriptor(

                          [exec]       implementation=org.glassfish.jdbc.config.JdbcConnectionPoolInjector

                          [exec]   name=jdbc-connection-pool

                          [exec] Caused by: com.sun.enterprise.module.ResolveError: Failed to start OSGiModuleImpl:: Bundle = [org.glassfish.main.jdbc.config [165]], State = [NEW]

                          [exec]   at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:193)

                          [exec]   at org.jvnet.hk2.osgiadapter.OsgiPopulatorPostProcessor$1.loadClass(OsgiPopulatorPostProcessor.java:54)

                          [exec]   at org.jvnet.hk2.internal.ServiceLocatorImpl.loadClass(ServiceLocatorImpl.java:2234)

                          [exec]   ... 31 more

                          [exec] Caused by: org.osgi.framework.BundleException: Unable to resolve org.glassfish.main.jdbc.config [165](R 165.0): missing requirement [org.glassfish.main.jdbc.config [165](R 165.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.connectors.config.validators)(version>=6.0.0)(!(version>=7.0.0))) [caused by: Unable to resolve org.glassfish.main.connectors.internal-api [46](R 46.0): missing requirement [org.glassfish.main.connectors.internal-api [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=com.sun.enterprise.deployment.runtime.connector)(version>=6.0.0)(!(version>=7.0.0))) [caused by: Unable to resolve org.glassfish.main.deployment.dol [70](R 70.0): missing requirement [org.glassfish.main.deployment.dol [70](R 70.0)] osgi.wiring.package; (&(osgi.wiring.package=jakarta.enterprise.inject.spi)(version>=3.0.0)(!(version>=4.0.0))) [caused by: Unable to resolve jakarta.enterprise.cdi-api [133](R 133.0): missing requirement [jakarta.enterprise.cdi-api [133](R 133.0)] osgi.wiring.package; (&(osgi.wiring.package=jakarta.el)(version>=4.0.0))]]] Unresolved requirements: [[org.glassfish.main.jdbc.config [165](R 165.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.connectors.config.validators)(version>=6.0.0)(!(version>=7.0.0)))]


                        Regarding efficiency of TCK jobs, we saw a hint
                        that our TCK jobs may not be using correct
                        memory settings.  The hint is that increasing
                        the JNLP memory size from 2176Mi to 3Gi [4],
                        allowed the Full Platform TCK run to
                        completion.  Previously, for several test runs
                        the JPA tests (running only with the
                        appmanagedNoTx vehicle) would unexpectedly fail
                        to deploy correctly.  This sounds to me like we
                        could be experiencing thrashing of some sort.

                        How can we can properly ensure that for all
                        launched JVM processes (especially long running
                        ones), we don't use more memory than is allowed
                        by the OS (vm/container) that we are running on.

                        So, how can we get OS level statistics for the
                        jakartaee-tck Jenkins jobs?  It likely involves
                        contacting cbi-dev@xxxxxxxxxxx
                        <mailto:cbi-dev@xxxxxxxxxxx> which is fine but I
                        wanted to ask here first, to raise awareness and
                        get advice.

                        Scott

                        [1]
                        https://ci.eclipse.org/jakartaee-tck/job/standalonetck-nightly-build-run-master
                        <https://urldefense.com/v3/__https:/ci.eclipse.org/jakartaee-tck/job/standalonetck-nightly-build-run-master__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0AkBo8rI$>

                        [2]
                        https://ci.eclipse.org/jakartaee-tck/job/jakartaeetck-nightly-build-master
                        <https://urldefense.com/v3/__https:/ci.eclipse.org/jakartaee-tck/job/jakartaeetck-nightly-build-master__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0STrYnjM$>

                        [3]
                        https://ci.eclipse.org/jakartaee-tck/job/jakartaeetck-nightly-run-master
                        <https://urldefense.com/v3/__https:/ci.eclipse.org/jakartaee-tck/job/jakartaeetck-nightly-run-master__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0B9x7S1k$>


                        [4]
                        https://github.com/eclipse-ee4j/jakartaee-tck/pull/347
                        <https://urldefense.com/v3/__https:/github.com/eclipse-ee4j/jakartaee-tck/pull/347__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0p1JKhs4$>


                        _______________________________________________
                        jakartaee-tck-dev mailing list
                        jakartaee-tck-dev@xxxxxxxxxxx
                        <mailto:jakartaee-tck-dev@xxxxxxxxxxx>
                        To unsubscribe from this list, visit
                        https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev
                        <https://urldefense.com/v3/__https:/www.eclipse.org/mailman/listinfo/jakartaee-tck-dev__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0S9tSNfg$>


                    _______________________________________________
                    jakartaee-tck-dev mailing list
                    jakartaee-tck-dev@xxxxxxxxxxx
                    <mailto:jakartaee-tck-dev@xxxxxxxxxxx>
                    To unsubscribe from this list, visit
                    https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev
                    <https://urldefense.com/v3/__https:/www.eclipse.org/mailman/listinfo/jakartaee-tck-dev__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0S9tSNfg$>

        _______________________________________________

        jakartaee-tck-dev mailing list

        jakartaee-tck-dev@xxxxxxxxxxx  <mailto:jakartaee-tck-dev@xxxxxxxxxxx>

To unsubscribe from this list, visithttps://urldefense.com/v3/__https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0S9tSNfg$ <https://urldefense.com/v3/__https:/www.eclipse.org/mailman/listinfo/jakartaee-tck-dev__;!!GqivPVa7Brio!OPOFfAeavYXC0cGY21JANwKf0t49dVoaf1O0GXXYkS_PNAAZN1dhAl-V8ME0S9tSNfg$> -- Thanks & Regards

    Oracle <http://www.oracle.com/>
    Rohit Kumar Jain, Senior Member Of Technical Staff
    Mobile: 9036132401 <tel:+9036132401>
    Oracle WLS

    India, Oracle India Pvt. Ltd., 560076 Bangalore


_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev


Back to the top