Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10569

Fix broken jacoco-it.exec

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • Parent 44
    • None
    • None

    Description

      Setting append to true should fix this issue:

      [INFO] 
      [INFO] Results:
      [INFO] 
      [WARNING] Tests run: 203, Failures: 0, Errors: 0, Skipped: 2
      [INFO] 
      [INFO] 
      [INFO] --- jacoco-maven-plugin:0.8.6:merge (merge-unit-and-it) @ org.apache.sling.karaf-integration-tests ---
      [INFO] Loading execution data file /home/jenkins/jenkins-agent/workspace/g-karaf-integration-tests_master/target/jacoco-it.exec
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] Skipping Apache Sling - Karaf Integration Tests
      [INFO] This project has been banned from the build due to previous failures.
      [INFO] ------------------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  27:03 min
      [INFO] Finished at: 2021-06-24T15:22:55Z
      [INFO] ------------------------------------------------------------------------
      [WARNING] The requested profile "ci" could not be activated because it does not exist.
      [INFO] [jenkins-event-spy] Generated /home/jenkins/jenkins-agent/workspace/g-karaf-integration-tests_master@tmp/withMavenb91874e9/maven-spy-20210624-145552-23111526757719747202641.log
      [ERROR] Failed to execute goal org.jacoco:jacoco-maven-plugin:0.8.6:merge (merge-unit-and-it) on project org.apache.sling.karaf-integration-tests: Unable to read /home/jenkins/jenkins-agent/workspace/g-karaf-integration-tests_master/target/jacoco-it.exec: EOFException -> [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/MojoExecutionException
      [Pipeline] echo
      Marking build unstable due to mvn sonar:sonar failing. See https://cwiki.apache.org/confluence/display/SLING/SonarCloud+analysis for more info.
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            olli Oliver Lietz
            olli Oliver Lietz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment