reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergiy Matusevych (JIRA)" <j...@apache.org>
Subject [jira] [Created] (REEF-2045) org.apache.reef.webserver.TestHttpServerhttpServerPortRetryTestWithTcpPortProvider() unit test consistently fails on Windows Subsystem for Linux
Date Tue, 25 Sep 2018 23:57:00 GMT
Sergiy Matusevych created REEF-2045:
---------------------------------------

             Summary: org.apache.reef.webserver.TestHttpServerhttpServerPortRetryTestWithTcpPortProvider()
unit test consistently fails on Windows Subsystem for Linux
                 Key: REEF-2045
                 URL: https://issues.apache.org/jira/browse/REEF-2045
             Project: REEF
          Issue Type: Bug
          Components: REEF
         Environment: Windows Subsystem for Linux with Ubuntu 16.04 and openjdk-8
            Reporter: Sergiy Matusevych


Unit test {{o.a.r.webserver.TestHttpServer.httpServerPortRetryTestWithTcpPortProvider()}}
fails consistently when ran under Windows Subsystem for Linux (WSL). Same test runs fine under
plain Windows or Linux.

Logs and stack trace:

{code:none}
Running org.apache.reef.webserver.TestHttpServer
Sep 21, 2018 1:01:11 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 13,737
Sep 21, 2018 1:01:11 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 13,737
Sep 21, 2018 1:01:11 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 18,028
Sep 21, 2018 1:01:11 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 18,028
Sep 21, 2018 1:01:11 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 15,015
Sep 21, 2018 1:01:11 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 15,015
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 19,931
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 19,931
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 13,085
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 13,085
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 13,085
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 13,085
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 17,102
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 17,102
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl addHttpHandler
INFO: addHttpHandler: Reef
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 7,737
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 7,737
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl tryPort
INFO: Jetty Server started with port: 5,624
Sep 21, 2018 1:01:12 AM org.apache.reef.webserver.HttpServerImpl <init>
INFO: Jetty Server started with port: 5,624
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.823 sec <<< FAILURE!
- in org.apache.reef.webserver.TestHttpServerhttpServerPortRetryTestWithTcpPortProvider(org.apache.reef.webserver.TestHttpServer)
 Time elapsed: 0.035 sec  <<< FAILURE!
java.lang.AssertionError: Created two web servers on the same port: 13085
        at org.apache.reef.webserver.TestHttpServer.httpServerPortRetryTestWithTcpPortProvider(TestHttpServer.java:136)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message