XMLWordPrintable

Details

    • Sub-task
    • Resolution: Fixed
    • Medium
    • Summit Iteration 2, May 2011
    • None
    • None
    • None

    Description

      Since the merge, the Bambooless build on StAC has had two test failures that appear to be legitimate:

      https://studio.atlassian.com/builds/browse/JST-BAMLESSTRUNK

      com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.testGroupSubscription:

      java.lang.AssertionError: Expected XML: <list>   <com.atlassian.notifier.core.NotificationSubscriptionImpl>     <url>http://localhost:3990/plugins/servlet/crowdnotify</url>     <authenticationType>NONE</authenticationType>   </com.atlassian.notifier.core.NotificationSubscriptionImpl> </list> Actual XML: <list>   <com.atlassian.notifier.core.NotificationSubscriptionImpl>     <url>http://localhost:3990/plugins/servlet/crowdnotify</url>     <authenticationType>NONE</authenticationType>   </com.atlassian.notifier.core.NotificationSubscriptionImpl>   <com.atlassian.notifier.core.NotificationSubscriptionImpl>     <url>http://localhost:6990/builds/plugins/servlet/crowdnotify</url>     <authenticationType reference="../../com.atlassian.notifier.core.NotificationSubscriptionImpl/authenticationType"/>   </com.atlassian.notifier.core.NotificationSubscriptionImpl> </list>  expected:<true> but was:<false>
      java.lang.AssertionError: Expected XML:
      <list>
        <com.atlassian.notifier.core.NotificationSubscriptionImpl>
          <url>http://localhost:3990/plugins/servlet/crowdnotify</url>
          <authenticationType>NONE</authenticationType>
        </com.atlassian.notifier.core.NotificationSubscriptionImpl>
      </list>
      Actual XML:
      <list>
        <com.atlassian.notifier.core.NotificationSubscriptionImpl>
          <url>http://localhost:3990/plugins/servlet/crowdnotify</url>
          <authenticationType>NONE</authenticationType>
        </com.atlassian.notifier.core.NotificationSubscriptionImpl>
        <com.atlassian.notifier.core.NotificationSubscriptionImpl>
          <url>http://localhost:6990/builds/plugins/servlet/crowdnotify</url>
          <authenticationType reference="../../com.atlassian.notifier.core.NotificationSubscriptionImpl/authenticationType"/>
        </com.atlassian.notifier.core.NotificationSubscriptionImpl>
      </list>
       expected:<true> but was:<false>
      	at org.testng.Assert.fail(Assert.java:89)
      	at org.testng.Assert.failNotEquals(Assert.java:443)
      	at org.testng.Assert.assertTrue(Assert.java:37)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.assertXmlEquals(TestCrowdNotifier.java:356)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.assertXmlEquals(TestCrowdNotifier.java:347)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.assertNewValue(TestCrowdNotifier.java:154)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.updateSubscriptions(TestCrowdNotifier.java:125)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.testGroupSubscription(TestCrowdNotifier.java:113)
      

      com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.testSubscription

      java.lang.AssertionError: Expected XML: <list>   <com.atlassian.notifier.core.NotificationSubscriptionImpl>     <url>http://localhost:3990/plugins/servlet/crowdnotify</url>     <authenticationType>NONE</authenticationType>   </com.atlassian.notifier.core.NotificationSubscriptionImpl> </list> Actual XML: <list>   <com.atlassian.notifier.core.NotificationSubscriptionImpl>     <url>http://localhost:3990/plugins/servlet/crowdnotify</url>     <authenticationType>NONE</authenticationType>   </com.atlassian.notifier.core.NotificationSubscriptionImpl>   <com.atlassian.notifier.core.NotificationSubscriptionImpl>     <url>http://localhost:6990/builds/plugins/servlet/crowdnotify</url>     <authenticationType reference="../../com.atlassian.notifier.core.NotificationSubscriptionImpl/authenticationType"/>   </com.atlassian.notifier.core.NotificationSubscriptionImpl> </list>  expected:<true> but was:<false>
      java.lang.AssertionError: Expected XML:
      <list>
        <com.atlassian.notifier.core.NotificationSubscriptionImpl>
          <url>http://localhost:3990/plugins/servlet/crowdnotify</url>
          <authenticationType>NONE</authenticationType>
        </com.atlassian.notifier.core.NotificationSubscriptionImpl>
      </list>
      Actual XML:
      <list>
        <com.atlassian.notifier.core.NotificationSubscriptionImpl>
          <url>http://localhost:3990/plugins/servlet/crowdnotify</url>
          <authenticationType>NONE</authenticationType>
        </com.atlassian.notifier.core.NotificationSubscriptionImpl>
        <com.atlassian.notifier.core.NotificationSubscriptionImpl>
          <url>http://localhost:6990/builds/plugins/servlet/crowdnotify</url>
          <authenticationType reference="../../com.atlassian.notifier.core.NotificationSubscriptionImpl/authenticationType"/>
        </com.atlassian.notifier.core.NotificationSubscriptionImpl>
      </list>
       expected:<true> but was:<false>
      	at org.testng.Assert.fail(Assert.java:89)
      	at org.testng.Assert.failNotEquals(Assert.java:443)
      	at org.testng.Assert.assertTrue(Assert.java:37)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.assertXmlEquals(TestCrowdNotifier.java:356)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.assertXmlEquals(TestCrowdNotifier.java:347)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.assertNewValue(TestCrowdNotifier.java:154)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.updateSubscriptions(TestCrowdNotifier.java:125)
      	at com.atlassian.studio.functest.tests.group4.TestCrowdNotifier.testSubscription(TestCrowdNotifier.java:89)
      

      Eric thought that these failures indicate an actual problem that has minor impact (i.e., not release-blocking) but should be fixed up. Essentially Crowd will try to notify Bamboo when it isn't up, which will just fail and maybe spam the logs, but shouldn't cause any other detrimental effects.

      Attachments

        Issue Links

          Activity

            People

              mjensen m@ (Inactive)
              tmoore Tim Moore [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: