Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10833

ClassificationRulePageIT flapping

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 22.0.0
    • Fix Version/s: 22.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:

      Description

      The new ClassificationRulePageIT is flapping in Bamboo. I've seen it fail a number of times now, and re-running the smoke tests normally clears it up.

      We should address this before merging the features/drift branch back into develop.

      Here's an excerpt of the Bamboo logs from a failed run:

      build	06-Apr-2018 10:12:42	Tests run: 10, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 710.69 sec <<< FAILURE! - in org.opennms.smoketest.ClassificationRulePageIT
      build	06-Apr-2018 10:12:42	verifySearch(org.opennms.smoketest.ClassificationRulePageIT)  Time elapsed: 23.527 sec  <<< FAILURE!
      build	06-Apr-2018 10:12:42	java.lang.AssertionError: 
      build	06-Apr-2018 10:12:42	
      build	06-Apr-2018 10:12:42	Expected: a collection with size <1>
      build	06-Apr-2018 10:12:42	     but: collection size was <10>
      build	06-Apr-2018 10:12:42		at org.opennms.smoketest.ClassificationRulePageIT.verifySearch(ClassificationRulePageIT.java:229)
      build	06-Apr-2018 10:12:42	
      build	06-Apr-2018 10:12:42	verifySearch(org.opennms.smoketest.ClassificationRulePageIT)  Time elapsed: 31.9 sec  <<< FAILURE!
      build	06-Apr-2018 10:12:42	java.lang.AssertionError: 
      build	06-Apr-2018 10:12:42	
      build	06-Apr-2018 10:12:42	Expected: a collection with size <1>
      build	06-Apr-2018 10:12:42	     but: collection size was <20>
      build	06-Apr-2018 10:12:42		at org.opennms.smoketest.ClassificationRulePageIT.verifySearch(ClassificationRulePageIT.java:229)
      build	06-Apr-2018 10:12:42	
      build	06-Apr-2018 10:12:42	verifySearch(org.opennms.smoketest.ClassificationRulePageIT)  Time elapsed: 29.89 sec  <<< FAILURE!
      build	06-Apr-2018 10:12:42	java.lang.AssertionError: 
      build	06-Apr-2018 10:12:42	
      build	06-Apr-2018 10:12:42	Expected: a collection with size <1>
      build	06-Apr-2018 10:12:42	     but: collection size was <20>
      build	06-Apr-2018 10:12:42		at org.opennms.smoketest.ClassificationRulePageIT.verifySearch(ClassificationRulePageIT.java:229)
      build	06-Apr-2018 10:12:42	
      ...
      build	06-Apr-2018 10:54:55	Failed tests: 
      build	06-Apr-2018 10:54:55	org.opennms.smoketest.ClassificationRulePageIT.verifySearch(org.opennms.smoketest.ClassificationRulePageIT)
      build	06-Apr-2018 10:54:55	  Run 1: ClassificationRulePageIT.verifySearch:229 
      build	06-Apr-2018 10:54:55	Expected: a collection with size <1>
      build	06-Apr-2018 10:54:55	     but: collection size was <10>
      build	06-Apr-2018 10:54:55	  Run 2: ClassificationRulePageIT.verifySearch:229 
      build	06-Apr-2018 10:54:55	Expected: a collection with size <1>
      build	06-Apr-2018 10:54:55	     but: collection size was <20>
      build	06-Apr-2018 10:54:55	  Run 3: ClassificationRulePageIT.verifySearch:229 
      build	06-Apr-2018 10:54:55	Expected: a collection with size <1>
      build	06-Apr-2018 10:54:55	     but: collection size was <20>
      

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von RĂ¼den
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: