See 
<https://ci-builds.apache.org/job/Tomee/job/tomee-8.x-build-quick-java8/18/display/redirect?page=changes>

Changes:

[exabrial] Fix TOMEE-4222 - LoginToContinue causes IllegalArgumentException: 
setAttribute: Non-serializable attribute

[exabrial] Add SavedAuthenticationTest and SavedRequestTest to ensure 
referenced objects implement Serializable

[exabrial] RAT police nailed me. Add license headers to SavedAuthenticationTest 
and SavedRequestTest, apologies everyone for commit log spam


------------------------------------------
[...truncated 10.56 MB...]
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
        at 
org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:364)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:237)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:158)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
        at 
org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
        at 
org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)

Jun 09, 2023 4:04:45 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug 
logging for this logger for a complete list of JARs that were scanned but no 
TLDs were found in them. Skipping unneeded JARs during scanning can improve 
startup time and JSP compilation time.
Jun 09, 2023 4:04:45 PM 
org.apache.tomee.myfaces.TomEEMyFacesContainerInitializer addListener
INFO: Installing 
<listener>org.apache.myfaces.webapp.StartupServletContextListener</listener>
Jun 09, 2023 4:04:45 PM 
org.apache.myfaces.config.DefaultFacesConfigurationProvider 
getStandardFacesConfig
INFO: Reading standard config META-INF/standard-faces-config.xml
Jun 09, 2023 4:04:46 PM 
org.apache.myfaces.config.DefaultFacesConfigurationProvider 
getClassloaderFacesConfig
INFO: Reading config : 
jar:file:/home/jenkins/.m2/repository/org/apache/openwebbeans/openwebbeans-el22/2.0.27/openwebbeans-el22-2.0.27.jar!/META-INF/faces-config.xml
Jun 09, 2023 4:04:46 PM 
org.apache.myfaces.config.DefaultFacesConfigurationProvider 
getClassloaderFacesConfig
INFO: Reading config : 
jar:file:/home/jenkins/.m2/repository/org/apache/openwebbeans/openwebbeans-jsf/2.0.27/openwebbeans-jsf-2.0.27.jar!/META-INF/faces-config.xml
Jun 09, 2023 4:04:46 PM org.apache.myfaces.config.LogMetaInfUtils logArtifact
INFO: Artifact 'myfaces-api' was found in version '2.3.10' from path 
'file:/home/jenkins/.m2/repository/org/apache/myfaces/core/myfaces-api/2.3.10/myfaces-api-2.3.10.jar'
Jun 09, 2023 4:04:46 PM org.apache.myfaces.config.LogMetaInfUtils logArtifact
INFO: Artifact 'myfaces-impl' was found in version '2.3.10' from path 
'file:/home/jenkins/.m2/repository/org/apache/myfaces/core/myfaces-impl/2.3.10/myfaces-impl-2.3.10.jar'
Jun 09, 2023 4:04:46 PM org.apache.myfaces.util.ExternalSpecifications 
lambda$static$1
INFO: MyFaces Core CDI support enabled
Jun 09, 2023 4:04:46 PM 
org.apache.myfaces.spi.impl.DefaultInjectionProviderFactory getInjectionProvider
INFO: Using InjectionProvider 
org.apache.myfaces.spi.impl.CDIAnnotationDelegateInjectionProvider
Jun 09, 2023 4:04:46 PM org.apache.myfaces.util.ExternalSpecifications 
lambda$static$0
INFO: MyFaces Core Bean Validation support enabled
Jun 09, 2023 4:04:46 PM org.apache.myfaces.application.ApplicationImpl 
getProjectStage
INFO: Couldn't discover the current project stage, using Production
Jun 09, 2023 4:04:46 PM org.apache.myfaces.config.FacesConfigurator 
handleSerialFactory
INFO: Serialization provider : class 
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
Jun 09, 2023 4:04:46 PM 
org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory 
getLifecycleProvider
INFO: Using LifecycleProvider 
org.apache.myfaces.config.annotation.Tomcat7AnnotationLifecycleProvider
Jun 09, 2023 4:04:46 PM org.apache.myfaces.webapp.AbstractFacesInitializer 
initFaces
INFO: ServletContext initialized.
Jun 09, 2023 4:04:46 PM org.apache.myfaces.view.facelets.ViewPoolProcessor 
initialize
INFO: org.apache.myfaces.CACHE_EL_EXPRESSIONS web config parameter is set to 
"noCache". To enable view pooling this param must be set to "alwaysRecompile". 
View Pooling disabled.
Jun 09, 2023 4:04:46 PM org.apache.myfaces.webapp.StartupServletContextListener 
contextInitialized
INFO: MyFaces Core has started, it took [768] ms.
Jun 09, 2023 4:04:46 PM org.apache.openejb.assembler.classic.Assembler 
createApplication
INFO: Deployed Application(path=)
Jun 09, 2023 4:04:47 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-nio-45151"]
Jun 09, 2023 4:04:47 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-nio-45151"]
Jun 09, 2023 4:04:47 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service [Catalina]
Jun 09, 2023 4:04:47 PM org.apache.openejb.assembler.classic.Assembler 
destroyApplication
INFO: Undeploying app: 
Jun 09, 2023 4:04:47 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-nio-45151"]
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.904 s 
- in org.apache.tomee.security.context.SecurityContextTest
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   SavedAuthenticationTest.initializationError » InvalidTestClass 
Invalid test cl...
[ERROR]   SavedRequestTest.initializationError » InvalidTestClass Invalid test 
class 'or...
[INFO] 
[ERROR] Tests run: 16, Failures: 0, Errors: 2, Skipped: 0
[INFO] 
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping TomEE :: TomEE :: MicroProfile Webapp
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping TomEE :: TomEE :: Webapp
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] -----------------------< org.apache.tomee:utils >-----------------------
[INFO] Building TomEE :: Utils 8.0.16-SNAPSHOT                          [53/59]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ utils ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven-version) @ utils 
---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-java-version) @ utils 
---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ utils ---
[INFO] 
[INFO] --- dependency-report-plugin:1.0.2:report (default) @ utils ---
[INFO] No dependencies to report
[INFO] 
[INFO] --- maven-bundle-plugin:3.3.0:manifest (bundle-manifest) @ utils ---
[WARNING] Ignoring project type pom - supportedProjectTypes = [bundle, jar, 
maven-plugin]
[INFO] 
[INFO] --- maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor) @ 
utils ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-install-plugin:3.1.0:install (default-install) @ utils ---
[INFO] Installing 
<https://ci-builds.apache.org/job/Tomee/job/tomee-8.x-build-quick-java8/ws/utils/pom.xml>
 to 
/home/jenkins/.m2/repository/org/apache/tomee/utils/8.0.16-SNAPSHOT/utils-8.0.16-SNAPSHOT.pom
[INFO] 
[INFO] -------------< org.apache.tomee:openejb-core-eclipselink >--------------
[INFO] Building TomEE :: Utils :: Core EclipseLink 8.0.16-SNAPSHOT      [54/59]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ 
openejb-core-eclipselink ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven-version) @ 
openejb-core-eclipselink ---
[INFO] 
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-java-version) @ 
openejb-core-eclipselink ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ openejb-core-eclipselink ---
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ 
openejb-core-eclipselink ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:compile (default-compile) @ 
openejb-core-eclipselink ---
[INFO] No sources to compile
[INFO] 
[INFO] --- dependency-report-plugin:1.0.2:report (default) @ 
openejb-core-eclipselink ---
[INFO] 
[INFO] --- maven-bundle-plugin:3.3.0:manifest (bundle-manifest) @ 
openejb-core-eclipselink ---
[WARNING] Manifest 
org.apache.tomee:openejb-core-eclipselink:jar:8.0.16-SNAPSHOT : Unused 
Export-Package instructions: [org.apache.tomee*] 
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ 
openejb-core-eclipselink ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
<https://ci-builds.apache.org/job/Tomee/job/tomee-8.x-build-quick-java8/ws/utils/openejb-core-eclipselink/src/test/resources>
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.6.2:testCompile (default-testCompile) @ 
openejb-core-eclipselink ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ 
openejb-core-eclipselink ---
[INFO] 
[INFO] --- maven-jar-plugin:3.0.2:jar (default-jar) @ openejb-core-eclipselink 
---
[INFO] Building jar: 
<https://ci-builds.apache.org/job/Tomee/job/tomee-8.x-build-quick-java8/ws/utils/openejb-core-eclipselink/target/openejb-core-eclipselink-8.0.16-SNAPSHOT.jar>
[INFO] 
[INFO] --- maven-site-plugin:3.12.1:attach-descriptor (attach-descriptor) @ 
openejb-core-eclipselink ---
[INFO] Skipping because packaging 'jar' is not pom.
[INFO] 
[INFO] --- maven-install-plugin:3.1.0:install (default-install) @ 
openejb-core-eclipselink ---
[INFO] Installing 
<https://ci-builds.apache.org/job/Tomee/job/tomee-8.x-build-quick-java8/ws/utils/openejb-core-eclipselink/pom.xml>
 to 
/home/jenkins/.m2/repository/org/apache/tomee/openejb-core-eclipselink/8.0.16-SNAPSHOT/openejb-core-eclipselink-8.0.16-SNAPSHOT.pom
[INFO] Installing 
<https://ci-builds.apache.org/job/Tomee/job/tomee-8.x-build-quick-java8/ws/utils/openejb-core-eclipselink/target/openejb-core-eclipselink-8.0.16-SNAPSHOT.jar>
 to 
/home/jenkins/.m2/repository/org/apache/tomee/openejb-core-eclipselink/8.0.16-SNAPSHOT/openejb-core-eclipselink-8.0.16-SNAPSHOT.jar
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping TomEE :: TomEE :: Plume Webapp
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping TomEE :: TomEE :: Plus Webapp
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping TomEE :: TomEE :: Apache TomEE
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache OpenEJB 8.0.16-SNAPSHOT:
[INFO] 
[INFO] Apache OpenEJB ..................................... SUCCESS [  4.129 s]
[INFO] TomEE :: Deps ...................................... SUCCESS [  0.103 s]
[INFO] TomEE :: Deps :: Taglibs Shade ..................... SUCCESS [01:56 min]
[INFO] TomEE :: Deps :: CXF Shade ......................... SUCCESS [ 20.902 s]
[INFO] TomEE :: Deps :: Servicemix Bcel Shade ............. SUCCESS [  4.683 s]
[INFO] TomEE :: BOMs ...................................... SUCCESS [  0.167 s]
[INFO] TomEE :: BOMs :: JAXB Runtime ...................... SUCCESS [  0.395 s]
[INFO] TomEE :: Container ................................. SUCCESS [  0.139 s]
[INFO] TomEE :: Container :: MBean Annotation API ......... SUCCESS [  1.131 s]
[INFO] TomEE :: Container :: JPA Integration .............. SUCCESS [  4.135 s]
[INFO] TomEE :: Container :: API .......................... SUCCESS [  0.599 s]
[INFO] TomEE :: Container :: Loader ....................... SUCCESS [ 30.336 s]
[INFO] TomEE :: Container :: Java Agent ................... SUCCESS [  0.372 s]
[INFO] TomEE :: Container :: Java EE ...................... SUCCESS [ 41.875 s]
[INFO] TomEE :: Container :: Java EE Accessors ............ SUCCESS [ 12.704 s]
[INFO] TomEE :: iTests .................................... SUCCESS [  0.103 s]
[INFO] TomEE :: iTests :: Beans ........................... SUCCESS [ 10.904 s]
[INFO] TomEE :: iTests :: Interceptor Beans ............... SUCCESS [  0.635 s]
[INFO] TomEE :: iTests :: Servlets ........................ SUCCESS [  0.965 s]
[INFO] TomEE :: iTests :: Client .......................... SUCCESS [  9.715 s]
[INFO] TomEE :: iTests :: App ............................. SUCCESS [  1.974 s]
[INFO] TomEE :: iTests :: Failover EJB .................... SUCCESS [  0.508 s]
[INFO] TomEE :: Container :: Core ......................... SUCCESS [28:23 min]
[INFO] TomEE :: TomEE ..................................... SUCCESS [  0.750 s]
[INFO] TomEE :: TomEE :: Config ........................... SUCCESS [  0.889 s]
[INFO] TomEE :: Server .................................... SUCCESS [  0.108 s]
[INFO] TomEE :: Server :: Client .......................... SUCCESS [ 17.440 s]
[INFO] TomEE :: TomEE :: Common ........................... SUCCESS [  3.664 s]
[INFO] TomEE :: TomEE :: Juli ............................. SUCCESS [ 21.902 s]
[INFO] TomEE :: TomEE :: Loader ........................... SUCCESS [  3.123 s]
[INFO] TomEE :: TomEE :: JDBC ............................. SUCCESS [ 19.415 s]
[INFO] TomEE :: Server :: Core ............................ SUCCESS [  7.412 s]
[INFO] TomEE :: Server :: Multicast Discovery ............. SUCCESS [ 31.119 s]
[INFO] TomEE :: Server :: EJBd ............................ SUCCESS [02:11 min]
[INFO] TomEE :: Server :: Http ............................ SUCCESS [ 56.531 s]
[INFO] TomEE :: TomEE :: Catalina ......................... SUCCESS [  7.583 s]
[INFO] TomEE :: Server :: REST ............................ SUCCESS [  2.077 s]
[INFO] TomEE :: Server :: CXF Transport ................... SUCCESS [  1.386 s]
[INFO] TomEE :: Server :: CXF RS .......................... SUCCESS [04:26 min]
[INFO] TomEE :: Microprofile JWT .......................... SUCCESS [ 13.685 s]
[INFO] TomEE :: TomEE :: MicroProfile ..................... SUCCESS [  0.872 s]
[INFO] TomEE :: TomEE :: MicroProfile Common .............. SUCCESS [  5.651 s]
[INFO] TomEE :: Server :: Webservices ..................... SUCCESS [  4.114 s]
[INFO] TomEE :: Server :: CXF ............................. SUCCESS [01:03 min]
[INFO] TomEE :: Server :: Hsql ............................ SUCCESS [  8.447 s]
[INFO] TomEE :: TomEE :: RS Web Services .................. SUCCESS [  4.243 s]
[INFO] TomEE :: TomEE :: Mojarra .......................... SUCCESS [  1.742 s]
[INFO] TomEE :: TomEE :: MyFaces .......................... SUCCESS [  2.026 s]
[INFO] TomEE :: TomEE :: Util ............................. SUCCESS [  0.681 s]
[INFO] TomEE :: TomEE :: Web Services ..................... SUCCESS [  2.528 s]
[INFO] TomEE :: TomEE :: TomEE Embedded ................... SUCCESS [02:36 min]
[INFO] TomEE :: TomEE :: Security ......................... FAILURE [ 52.025 s]
[INFO] TomEE :: TomEE :: MicroProfile Webapp .............. SKIPPED
[INFO] TomEE :: TomEE :: Webapp ........................... SKIPPED
[INFO] TomEE :: Utils ..................................... SUCCESS [  0.055 s]
[INFO] TomEE :: Utils :: Core EclipseLink ................. SUCCESS [  0.788 s]
[INFO] TomEE :: TomEE :: Plume Webapp ..................... SKIPPED
[INFO] TomEE :: TomEE :: Plus Webapp ...................... SKIPPED
[INFO] TomEE :: TomEE :: Apache TomEE ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  47:42 min
[INFO] Finished at: 2023-06-09T16:04:48Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on 
project tomee-security: There are test failures.
[ERROR] 
[ERROR] Please refer to 
<https://ci-builds.apache.org/job/Tomee/job/tomee-8.x-build-quick-java8/ws/tomee/tomee-security/target/surefire-reports>
 for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, 
[date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :tomee-security
Build step 'Invoke top-level Maven targets' marked build as failure
INFO: Processing JUnit
INFO: [JUnit] - 669 test report file(s) were found with the pattern 
'**/target/surefire-reports/TEST-*.xml' relative to 
'<https://ci-builds.apache.org/job/Tomee/job/tomee-8.x-build-quick-java8/ws/'> 
for the testing framework 'JUnit'.
INFO: Setting the build status to 
org.jenkinsci.plugins.xunit.XUnitProcessorResult@4356cdb0

Reply via email to