Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30110

Make the nuxeo build grep for errors in all functional tests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.5
    • Component/s: CI/CD
    • Tags:
    • Team:
      AT
    • Sprint:
      nxAT 11.x.34, nxAT 11.x.35
    • Story Points:
      2

      Description

      The current build pipeline greps for errors only in the following cases:

      findText regexp: '.*ERROR.*', fileSet: 'ftests/nuxeo-server-cmis-tests/**/log/server.log'
      findText regexp: '.*ERROR.*', fileSet: 'ftests/nuxeo-server-hotreload-tests/**/log/server.log'
      findText regexp: '.*ERROR.*', fileSet: 'ftests/nuxeo-server-tests/**/log/server.log'
      findText regexp: '.*ERROR.*', fileSet: 'ftests/nuxeo-jsf-to-web-ui-ftests/**/log/server.log'
      

      Ideally we should grep for errors in packages functional tests too:

      findText regexp: ".*ERROR.*", fileSet: "ftests/**/log/server.log"
      

      The current behaviour might be linked to the fact that some errors, visible in packages ftests, should not make the build fail (after a grep on a nuxeo build artifacts, no error log was visible).

      There are some attributes to the plugin to change the build result depending on logs found, all ERROR logs should be reported to the console in all cases.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours
                  3h