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

Reduce target footprint size after functional test

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: NXFT-1.8.6
    • Component/s: nuxeo-ftest
    • Team:
      AT
    • Sprint:
      DevOps-23, DevOps-24, DevTools-02, nxAT Sprint 10.3.4
    • Story Points:
      5

      Description

      By default (ie unless provided), the functional tests download a server and left it behind afterwards. This is consuming a lot of disk space for no gain.
      As for NXP-24329, add some automatic cleanup after the tests.
      Be careful:

      • delete only temporary stuff created by the test (likely in target directory)
      • keep useful files such as distribution.properties and logs
      • add an option to skip the cleanup
      1.1G	 addons_FT_nuxeo-sample-project-master/ftest/
      u -hs addons_FT_nuxeo-sample-project-master/ftest/*/target/*|sort -hr
      316M	addons_FT_nuxeo-sample-project-master/ftest/webdriver/target/tomcat
      266M	addons_FT_nuxeo-sample-project-master/ftest/gatling/target/tomcat
      237M	addons_FT_nuxeo-sample-project-master/ftest/startup/target/tomcat
      237M	addons_FT_nuxeo-sample-project-master/ftest/funkload/target/tomcat
      20M	addons_FT_nuxeo-sample-project-master/ftest/webdriver/target/nuxeo-marketplace-jsf-ui-10.1-SNAPSHOT.zip
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 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 - 1 hour
                  1h

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.