Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-1680

Failing upgrade tests don't fail the jenkins build step

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.3.0
    • None
    • backend
    • None

      see https://ci.optimize.camunda.cloud/blue/organizations/jenkins/camunda-optimize/detail/master/772/pipeline/76

      although there was an error during the upgrade tests the build succeeded

      probably the ant step error isn't propagated?

           [exec] [POST MIGRATION TESTS]:  [ERROR] retrieveAlerts(org.camunda.optimize.test.data.upgrade.PostMigrationTests)  Time elapsed: 0.024 s  <<< FAILURE!
      
           [exec] [POST MIGRATION TESTS]:  java.lang.AssertionError: 
      
           [exec] [POST MIGRATION TESTS]:  
      
           [exec] [POST MIGRATION TESTS]:  Expected: is <200>
      
           [exec] [POST MIGRATION TESTS]:       but: was <500>
      
           [exec] [POST MIGRATION TESTS]:  	at org.camunda.optimize.test.data.upgrade.PostMigrationTests.retrieveAlerts(PostMigrationTests.java:68)
      
           [exec] [POST MIGRATION TESTS]:  
      
           [exec] [POST MIGRATION TESTS]:  [INFO] 
      
           [exec] [POST MIGRATION TESTS]:  [INFO] Results:
      
           [exec] [POST MIGRATION TESTS]:  [INFO] 
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] Failures: 
      
           [exec] [POST MIGRATION TESTS]:  [ERROR]   PostMigrationTests.retrieveAlerts:68 
      
           [exec] [POST MIGRATION TESTS]:  Expected: is <200>
      
           [exec] [POST MIGRATION TESTS]:       but: was <500>
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] Errors: 
      
           [exec] [POST MIGRATION TESTS]:  [ERROR]   PostMigrationTests.retrieveAllReports:45 ยป Processing Error reading entity fro...
      
           [exec] [POST MIGRATION TESTS]:  [INFO] 
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] Tests run: 3, Failures: 1, Errors: 1, Skipped: 0
      
           [exec] [POST MIGRATION TESTS]:  [INFO] 
      
           [exec] [POST MIGRATION TESTS]:  [INFO] ------------------------------------------------------------------------
      
           [exec] [POST MIGRATION TESTS]:  [INFO] BUILD FAILURE
      
           [exec] [POST MIGRATION TESTS]:  [INFO] ------------------------------------------------------------------------
      
           [exec] [POST MIGRATION TESTS]:  [INFO] Total time: 6.894 s
      
           [exec] [POST MIGRATION TESTS]:  [INFO] Finished at: 2018-12-05T15:25:59+01:00
      
           [exec] [POST MIGRATION TESTS]:  [INFO] ------------------------------------------------------------------------
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project upgrade-optimize-data: There are test failures.
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] 
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] Please refer to /home/****/workspace/camunda-optimize_master/qa/upgrade-optimize-data/target/surefire-reports for the individual test results.
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] -> [Help 1]
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] 
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] 
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] For more information about the errors and possible solutions, please read the following articles:
      
           [exec] [POST MIGRATION TESTS]:  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      
           [echo] Killing Optimize 2.3.0-SNAPSHOT
      
      [INFO] Executed tasks
      
      [INFO] ------------------------------------------------------------------------
      
      [INFO] BUILD SUCCESS
      
      [INFO] ------------------------------------------------------------------------
      
      [INFO] Total time: 02:25 min
      
      [INFO] Finished at: 2018-12-05T15:25:59+01:00
      
      [INFO] ------------------------------------------------------------------------
      

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: