Regression
jakartaeetck-run / jsonb / com.sun.ts.tests.jsonb.defaultmapping.generics.GenericsMappingTest.testClassFileAvailable_from_servlet (from jsonb)
Failing for the past 1 build
(Since Failed
)
Error Message
test result: Failed. An error occurred during the Deployment phase for tests in this directory.
Stacktrace
test result: Failed. An error occurred during the Deployment phase for tests in this directory.
Standard Output
#Test Results (version 2) #Thu Aug 03 20:53:09 UTC 2023 #-----testdescription----- $file=/root/jakartaeetck/src/com/sun/ts/tests/jsonb/defaultmapping/generics/GenericsMappingTest.java $root=/root/jakartaeetck/src assertion_ids=JSONB\:SPEC\:JSB-3 See assertion html documents.\nJSONB\:SPEC\:JSB-3.17 See assertion html documents.\nJSONB\:SPEC\:JSB-3.17.1-6 1. Ti is concrete parameter type\n2. Ti is bounded parameter type \n3. Ti is wildcard parameter type without bounds\nIn case 1, the most specific parameter type MUST be given concrete parameter type Ti.\nJSONB\:SPEC\:JSB-3.17.1-5 Let's consider situation where there is only static type information of a given field/class/interface known,\nand there is no runtime type information available. Let GenericClass T1; \: \: \: ; Tn be part of generic type \ndeclaration, where GenericClass is name of the generic type and T1; \: \: \: ; Tn are type parameters. For every \nTi, where i in 1; \: \: \: ; n, there are 3 possible options\:\nJSONB\:SPEC\:JSB-3.17.1-1 There are several levels of information JSON Binding implementations may obtain about the type of field/class/interface\:\n 1. runtime type provided via java.lang.reflect.Type parameter passed to Jsonb\:\:toJson or Jsonb\:\:fromJson method \n 2. static type provided in class file (effectively stored in Signature attribute)\n 3. raw type \n 4. no information about the type\nJSONB\:SPEC\:JSB-3.17-2 Due to type erasure, there are situations when it is not possible to obtain generic type information. There are two ways for JSON Binding implementations to obtain generic type information. If there is a class file available (in the following text referred as static type information), it is possible to obtain generic type information (effectively generic type declaration) from Signature attribute (if this information is present).\nJSONB\:SPEC\:JSB-3.17-1 JSON Binding implementations MUST support binding of generic types. classname=com.sun.ts.tests.jsonb.defaultmapping.generics.GenericsMappingTest direction=forward finder=cts id=testClassFileAvailable_from_servlet keywords=all jsonb javaee javaee_web_profile testClassFileAvailable servlet_vehicle forward service_eetest=yes testName=testClassFileAvailable testProps= test_directory=com/sun/ts/tests/jsonb/defaultmapping/generics #-----environment----- EJBServer1TxInteropEnabled=true EJBServer2TxInteropEnabled=true deployManagerJarFile.1=${javaee.home}/lib/deployment/sun-as-jsr88-dm.jar deployManagerJarFile.2=${javaee.home.ri}/lib/deployment/sun-as-jsr88-dm.jar deployManagerpasswd.1=${s1as.admin.passwd} deployManagerpasswd.2=${ri.admin.passwd} deployManageruname.1=${s1as.admin.user} deployManageruname.2=${ri.admin.user} deployManageruri.1=deployer\:Sun\:AppServer\:\:${deployment_host.1}\:${s1as.admin.port} deployManageruri.2=deployer\:Sun\:AppServer\:\:${deployment_host.2}\:${ri.admin.port} deployment_host.1=${orb.host} deployment_host.2=${orb.host.ri} deployment_port.1=${impl.vi.port} deployment_port.2=${impl.ri.port} derby.dbName=derbyDB derby.driver=org.apache.derby.jdbc.ClientDriver derby.passwd=cts1 derby.port=1527 derby.server=${orb.host} derby.url=jdbc\:derby\://${derby.server}\:${derby.port}/${derby.dbName};create\=true derby.user=cts1 harness.executeMode=0 harness.log.delayseconds=1 harness.log.port=2000 harness.log.traceflag=false harness.socket.retry.count=10 harness.temp.directory=${ts.home}/tmp http.server.supports.endpoint.publish=false http.server.supports.endpoint.publish.2=false impl.ri.port=${ri.admin.port} impl.vi.port=${s1as.admin.port} javaee.home=/root/vi/glassfish6/glassfish javaee.home.ri=/root/ri/glassfish6/glassfish javaee.level=full jaxr jaxrpc javaeedeploy javax.persistence.jdbc.driver=${derby.driver} javax.persistence.jdbc.password=${derby.passwd} javax.persistence.jdbc.url=${derby.url} javax.persistence.jdbc.user=${derby.user} javax.persistence.provider=org.eclipse.persistence.jpa.PersistenceProvider jimage.dir=${ts.home}/tmp/jdk-bundles jpa.provider.implementation.specific.properties=eclipselink.logging.level\=OFF namingServiceHost1=${orb.host} namingServiceHost2=${orb.host.ri} namingServicePort1=${orb.port} namingServicePort2=${orb.port.ri} orb.host=localhost orb.host.ri=localhost orb.port=3699 orb.port.ri=3701 password1=${derby.passwd} password2=${derby.passwd} persistence.second.level.caching.supported=true persistence.unit.name=CTS-EM persistence.unit.name.2=JPATCK2 platform.mode=javaEE porting.ts.HttpsURLConnection.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection porting.ts.HttpsURLConnection.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIHttpsURLConnection porting.ts.deploy.class.1=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment porting.ts.deploy.class.2=com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeploymentSeparateVM porting.ts.deploy2.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIDeployment2 porting.ts.deploy2.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIDeployment2 porting.ts.jms.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin porting.ts.jms.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRIJMSAdmin porting.ts.login.class.1=com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext porting.ts.login.class.2=com.sun.ts.lib.implementation.sun.javaee.SunRILoginContext porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL porting.ts.url.class.2=com.sun.ts.lib.implementation.sun.common.SunRIURL ri.admin.passwd=adminadmin ri.admin.port=5858 ri.admin.user=admin s1as.admin.passwd=adminadmin s1as.admin.port=4848 s1as.admin.user=admin securedWebServicePort=1044 securedWebServicePort.2=1045 ts.home=/root/jakartaeetck/bin/xml/../.. user1=${derby.user} user2=${derby.user} variable.mapper=com.sun.el.lang.VariableMapperImpl vi.admin.passwd= vi.admin.user=admin webServerHost=${orb.host} webServerHost.2=${orb.host.ri} webServerPort=8001 webServerPort.2=8002 wsdlRepository1=${harness.temp.directory}/wsdlRepository1 wsdlRepository2=${harness.temp.directory}/wsdlRepository2 #-----testresult----- description=file\:/root/jakartaeetck/src/com/sun/ts/tests/jsonb/defaultmapping/generics/GenericsMappingTest.java\#testClassFileAvailable_from_servlet end=Thu Aug 03 20\:53\:09 UTC 2023 environment=ts_unix execStatus=Failed. An error occurred during the Deployment phase for tests in this directory. harnessLoaderMode=Classpath Loader harnessVariety=Full Bundle javatestOS=Linux 5.17.13-200.fc35.x86_64 (amd64) javatestVersion=5.0 script=com.sun.ts.lib.harness.TSScript sections=script_messages Deployment TestRun start=Thu Aug 03 20\:53\:09 UTC 2023 test=com/sun/ts/tests/jsonb/defaultmapping/generics/GenericsMappingTest.java\#testClassFileAvailable_from_servlet timeoutSeconds=1200 totalTime=17 work=/root/jakartaeetck-work/jsonb/com/sun/ts/tests/jsonb/defaultmapping/generics #section:script_messages ----------messages:(0/0)---------- #section:Deployment ----------messages:(0/0)---------- ----------log:(42/3398)---------- Undeploying apps... AutoDeployment.isDeployed() AutoDeployment.undeploy() AutoDeployment.isDeployed() AutoDeployment.isDeployed() AutoDeployment.isDeployed() Search for s1as runtime files match:`jsonb_defaultmapping_generics_appclient_vehicle.ear` Valid runtime files after sweep: Search for s1as runtime files match:`jsonb_defaultmapping_generics_ejb_vehicle.ear` Valid runtime files after sweep: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jsonb/defaultmapping/generics/jsonb_defaultmapping_generics_ejb_vehicle_client.jar.sun-application-client.xml /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jsonb/defaultmapping/generics/jsonb_defaultmapping_generics_ejb_vehicle_ejb.jar.sun-ejb-jar.xml Search for s1as runtime files match:`jsonb_defaultmapping_generics_jsp_vehicle.ear` Valid runtime files after sweep: Search for s1as runtime files match:`jsonb_defaultmapping_generics_servlet_vehicle.ear` Valid runtime files after sweep: Deploying apps for forward rebuildable... Search for s1as runtime files match:`jsonb_defaultmapping_generics_appclient_vehicle.ear` Valid runtime files after sweep: getAppNameFromApplicationXML() returning "null" Exception: Deployment of app(s) from: /root/jakartaeetck/bin/xml/../../dist/com/sun/ts/tests/jsonb/defaultmapping/generics failed! harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jsonb/defaultmapping/generics. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jsonb/defaultmapping/generics. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jsonb/defaultmapping/generics. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jsonb/defaultmapping/generics. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jsonb/defaultmapping/generics. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jsonb/defaultmapping/generics. Thus, all other tests in this directory will fail with the same error. harness.executeMode is set to "0" keywords (to be passed to tests) set to: all An error ocurred during deployment of apps in this directory: /root/jakartaeetck/bin/xml/../../src/com/sun/ts/tests/jsonb/defaultmapping/generics. Thus, all other tests in this directory will fail with the same error. result: Passed. Deployment phase completed. However, check the output above to see if actual deployment passed or failed. #section:TestRun ----------messages:(0/0)---------- ----------log:(13/1023)---------- java.lang.NoClassDefFoundError: org/glassfish/deployment/client/DeploymentFacilityFactory at com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment.getClientClassPath(AutoDeployment.java:647) at com.sun.ts.lib.implementation.sun.javaee.glassfish.AutoDeployment.deploy(AutoDeployment.java:221) at com.sun.ts.lib.harness.SuiteSynchronizer.continueToDeployApps(SuiteSynchronizer.java:1104) at com.sun.ts.lib.harness.SuiteSynchronizer.deployApps(SuiteSynchronizer.java:716) at com.sun.ts.lib.harness.SuiteSynchronizer.doDeployment(SuiteSynchronizer.java:387) at com.sun.ts.lib.harness.TSHarnessObserver.startingTest(TSHarnessObserver.java:367) at com.sun.javatest.Harness$Notifier.startingTest(Harness.java:995) at com.sun.javatest.TestRunner.notifyStartingTest(TestRunner.java:212) at com.sun.javatest.DefaultTestRunner.runTest(DefaultTestRunner.java:167) at com.sun.javatest.DefaultTestRunner.access$100(DefaultTestRunner.java:43) at com.sun.javatest.DefaultTestRunner$1.run(DefaultTestRunner.java:66) result: Not run. Test running... test result: Failed. An error occurred during the Deployment phase for tests in this directory.