lucamolteni commented on PR #632:
URL: 
https://github.com/apache/incubator-kie-optaplanner-quickstarts/pull/632#issuecomment-2250396308

   > There seems to be test failure, @lucamolteni have you seen such?
   > 
   > ```
   > 2024-07-25T13:15:04.0044929Z [INFO] --- failsafe:3.0.0-M8:integration-test 
(default) @ optaplanner-hello-world-school-timetabling-quickstart ---
   > 2024-07-25T13:15:04.0510328Z [INFO] Failsafe report directory: 
/home/runner/work/incubator-kie-optaplanner-quickstarts/incubator-kie-optaplanner-quickstarts/apache_incubator-kie-optaplanner-quickstarts/hello-world/target/failsafe-reports
   > 2024-07-25T13:15:04.0532050Z [INFO] Using auto detected provider 
org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
   > 2024-07-25T13:15:04.2267475Z [INFO] 
   > 2024-07-25T13:15:04.2268117Z [INFO] 
-------------------------------------------------------
   > 2024-07-25T13:15:04.2268520Z [INFO]  T E S T S
   > 2024-07-25T13:15:04.2268861Z [INFO] 
-------------------------------------------------------
   > 2024-07-25T13:15:04.4272101Z [ERROR] Error occurred during initialization 
of boot layer
   > 2024-07-25T13:15:04.4296654Z [ERROR] java.lang.module.FindException: 
Module jakarta.xml.bind not found
   > ```
   > 
   > and that's it, no more stacktrace.
   
   I've seen those yesterday, when I tried executing tests on my machine (and 
didn't succeed)
   
   Apparently, QuickStarts were always executed like this
   
   
https://github.com/apache/incubator-kie-optaplanner/blob/8d206380f7e762c26294c18b74bcb72c5c8bd5ea/.ci/jenkins/Jenkinsfile.deploy#L181
   
   ```
         stage('Build Quickstarts') {
               steps {
                   script {
                       configFileProvider([configFile(fileId: 
env.MAVEN_SETTINGS_CONFIG_FILE_ID, variable: 'MAVEN_SETTINGS_FILE')]){
                           getOptaplannerQuickstartsMavenCommand()
                                   .withProperty('maven.test.failure.ignore', 
true)
                                   .skipTests(params.SKIP_TESTS)
                                   .withSettingsXmlFile(MAVEN_SETTINGS_FILE)
                                   .run('clean install')
                       }
                   }
   ```
   
   So for whatever reasons, tests failure were skipped and errors ignored. I 
personally have never worked on optaplanner-quickstarts at all so I don't 
really know
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to