Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-1671

policy/engine JUnit tests now take over 30 minutes to run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • El Alto Release
    • Dublin Release
    • None
    • None

      Used to be around 22 minutes. In addition, some Junits are are reporting errors that are strange:

       

      [INFO] ------------------------------------------------------------------------ 14:58:08 [INFO] BUILD FAILURE 14:58:08 [INFO] ------------------------------------------------------------------------ 14:58:08 [INFO] Total time: 1.102 s 14:58:08 [INFO] Finished at: 2019-04-19T14:58:08+00:00 14:58:08 [INFO] Final Memory: 12M/106M 14:58:08 [INFO] ------------------------------------------------------------------------ 14:58:08 [ERROR] Failed to execute goal on project drlPDPGroup: Could not resolve dependencies for project org.onap.policy-engine:drlPDPGroup:jar:0.1.0: The following artifacts could not be resolved: org.onap.policy.drools-applications.controlloop.templates:template.demo:jar:1.4.0-SNAPSHOT, org.onap.policy.models.policy-models-interactions.model-impl:events:jar:2.0.0-SNAPSHOT, org.onap.policy.models.policy-models-interactions.model-impl:rest:jar:2.0.0-SNAPSHOT, org.onap.policy.models.policy-models-interactions.model-impl:appc:jar:2.0.0-SNAPSHOT, org.onap.policy.models.policy-models-interactions.model-impl:aai:jar:2.0.0-SNAPSHOT, org.onap.policy.models.policy-models-interactions.model-impl:so:jar:2.0.0-SNAPSHOT, org.onap.policy.models.policy-models-interactions.model-impl:sdnc:jar:2.0.0-SNAPSHOT, org.onap.policy.models.policy-models-interactions.model-impl:sdnr:jar:2.0.0-SNAPSHOT, org.onap.policy.models.policy-models-interactions.model-impl:trafficgenerator:jar:2.0.0-SNAPSHOT: Could not find artifact org.onap.policy.drools-applications.controlloop.templates:template.demo:jar:1.4.0-SNAPSHOT -> [Help 1] 14:58:08 [ERROR] 14:58:08 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 14:58:08 [ERROR] Re-run Maven using the -X switch to enable full debug logging. 14:58:08 [ERROR] 14:58:08 [ERROR] For more information about the errors and possible solutions, please read the following articles: 14:58:08 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException 14:58:08 [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.2 s - in org.onap.policy.brms.api.BrmsPushTest

       

      Can someone investigate where the slow down is occurring now.

            akrysiak akrysiak
            pdragosh pdragosh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: