Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25596

Multiple Ambari Unit Tests failing due to Address already in use

    XMLWordPrintableJSON

Details

    Description

      Issue:

       

      {{Running org.apache.ambari.metrics.webapp.TestTimelineWebServicesTests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.294 sec <<< FAILURE! - in org.apache.ambari.metrics.webapp.TestTimelineWebServicestestAbout(org.apache.ambari.metrics.webapp.TestTimelineWebServices)
      Time elapsed: 0.005 sec
      <<< ERROR!com.sun.jersey.test.framework.spi.container.TestContainerException: java.net.BindException: Address already in use
      at org.apache.ambari.metrics.webapp.TestTimelineWebServices.<init>(TestTimelineWebServices.java:77)
      Caused by: java.net.BindException: Address already in useat org.apache.ambari.metrics.webapp.TestTimelineWebServices.<init>(TestTimelineWebServices.java:77)
      testGetMetrics(org.apache.ambari.metrics.webapp.TestTimelineWebServices)
      Time elapsed: 0.001 sec <<< ERROR!com.sun.jersey.test.framework.spi.container.TestContainerException: java.net.BindException: Address already in use
      at org.apache.ambari.metrics.webapp.TestTimelineWebServices.<init>(TestTimelineWebServices.java:77)
      Caused by: java.net.BindException: Address already in use
      at org.apache.ambari.metrics.webapp.TestTimelineWebServices.<init>(TestTimelineWebServices.java:77)
      Results :Tests in error:TestTimelineWebServices.<init>:77->JerseyTestBase.<init>:27->JerseyTest.<init>:217->JerseyTest.getContainer:342 » TestContainerTestTimelineWebServices.<init>:77->JerseyTestBase.<init>:27->JerseyTest.<init>:217->JerseyTest.getContainer:342 » TestContainer}}

      Attachments

        Activity

          People

            Unassigned Unassigned
            Suraj Naik Suraj Naik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m