Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-911

Fix test&push on 5.8: allocate less memory to Maven to free some for GWT

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Continuous Integration

      Description

      When using the property -Dskip.surefire.tests=true on branch 5.8, the build ends up unexpectedly on GWT compilation:

      17:50:18 [INFO] Compiling 1 source file to /mnt/workspace/ondemand-testandpush-check-5.8/addons/nuxeo-opensocial/nuxeo-opensocial-container/target/test-classes
      17:50:19 [INFO] [surefire:test {execution: default-test}]
      17:50:19 [INFO] Tests are skipped.
      17:50:19 [INFO] [gwt:compile {execution: default}]
      17:51:08 Build step 'Invoke top-level Maven targets' marked build as failure
      17:51:08 Performing Post build task...
      17:51:08 Match found for : : True
      17:51:08 Logical operation result is TRUE
      17:51:08 Running script  : if [ -f .ci-metrics-mavenstart ]; then
      17:51:08   echo "Maven $(($(date +%s) - $(cat .ci-metrics-mavenstart)))" >> .ci-metrics
      17:51:08   rm .ci-metrics-mavenstart
      17:51:08 fi
      

      This is visible on http://qa.nuxeo.org/jenkins/job/ondemand-testandpush-check-5.8/17, http://qa.nuxeo.org/jenkins/job/ondemand-testandpush-check-5.8/18 shows that the build goes fine when unit tests are run.

      When fixed, http://qa.nuxeo.org/jenkins/job/trigger-testandpush-check-5.8-it/ should be enabled.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: