You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "lomigmegard (via GitHub)" <gi...@apache.org> on 2023/07/22 10:47:23 UTC

[GitHub] [incubator-pekko-http] lomigmegard commented on issue #218: review how easy it is to run manual tests

lomigmegard commented on issue #218:
URL: https://github.com/apache/incubator-pekko-http/issues/218#issuecomment-1646555405

   I have tried on my machine `sbt test` with the current HEAD `b33f85110c75130661156bf6a4099342c5febcdf`, with the following setup:
   - sbt 1.9.2
   - OpenJDK Runtime Environment Temurin-20.0.1+9 (build 20.0.1+9)
   - Apple M1 with Ventura 13.4.1 (c) 
   
   I got a few failed tests:
   
   ```
   [info] *** 12 TESTS FAILED ***
   [error] Failed tests:
   [error] 	org.apache.pekko.http.impl.engine.http2.H2SpecIntegrationSpec
   
   [...]
   
   [info] *** 3 TESTS FAILED ***
   [error] Failed tests:
   [error] 	org.apache.pekko.http.scaladsl.ClientServerHttp2EnabledSpec
   [error] 	org.apache.pekko.http.scaladsl.ClientServerSpec
   ```
   
   A couple examples of such failed tests:
   
   ```
   [info] - should report failure if bind fails *** FAILED *** (29 milliseconds)
   [info]   org.apache.pekko.stream.impl.io.ConnectionSourceStage$$anon$1$$anon$2: Bind failed because of java.net.BindException: [localhost/127.0.0.1:1025] Address already in use
   [info]   Cause: java.net.BindException: [localhost/127.0.0.1:1025] Address already in use
   ```
   
   ```
   [info] - should complete a request/response when the request side immediately closes the connection after sending the request *** FAILED *** (7 seconds, 68 milliseconds)
   [info]   java.lang.AssertionError: assertion failed: expected no StreamSupervisor children, but got [Actor[pekko://PekkoSpecWithMaterializer_/system/Materializers/StreamSupervisor-73/flow-124-0-headSink#-84814694]]
   ```
   
   ```
   [info] H2Spec
   --> [H2Spec must pass rule: 3.5. HTTP/2 Connection Preface] Start of log messages of test that [Failed(org.scalatest.exceptions.TestFailedException: 139 was not equal to 0)]
   | [DEBUG] [07/22/2023 12:26:16.074] [pool-1-thread-1-ScalaTest-running-H2SpecIntegrationSpec] [WithLogCapturing(pekko://PekkoSpec_)] Logging started for test [H2Spec must pass rule: 3.5. HTTP/2 Connection Preface]
   | [DEBUG] [07/22/2023 12:26:16.075] [pool-1-thread-1-ScalaTest-running-H2SpecIntegrationSpec] [H2SpecIntegrationSpec(pekko://PekkoSpec_)] Executing h2spec: List(/Users/lomig/programmation/github/incubator-pekko-http/http2-tests/target/h2spec_darwin_amd64/h2spec, -k, -t, -p, 55864, -j, target/test-reports/h2spec-junit-3.5.xml, -s, 3.5)
   | [DEBUG] [07/22/2023 12:26:16.659] [pool-1-thread-1-ScalaTest-running-H2SpecIntegrationSpec] [WithLogCapturing(pekko://PekkoSpec_)] Logging finished for test [H2Spec must pass rule: 3.5. HTTP/2 Connection Preface]
   <-- [H2Spec must pass rule: 3.5. HTTP/2 Connection Preface] End of log messages of test that [Failed(org.scalatest.exceptions.TestFailedException: 139 was not equal to 0)]
   [info] - must pass rule: 3.5. HTTP/2 Connection Preface *** FAILED *** (591 milliseconds)
   [info]   139 was not equal to 0 (H2SpecIntegrationSpec.scala:194)
   ```
   
   ```
   --> [H2Spec must pass rule: 6.7. PING] Start of log messages of test that [Failed(org.scalatest.exceptions.TestFailedException: 139 was not equal to 0)]
   | [DEBUG] [07/22/2023 12:26:16.825] [pool-1-thread-1-ScalaTest-running-H2SpecIntegrationSpec] [WithLogCapturing(pekko://PekkoSpec_)] Logging started for test [H2Spec must pass rule: 6.7. PING]
   | [DEBUG] [07/22/2023 12:26:16.825] [pool-1-thread-1-ScalaTest-running-H2SpecIntegrationSpec] [H2SpecIntegrationSpec(pekko://PekkoSpec_)] Executing h2spec: List(/Users/lomig/programmation/github/incubator-pekko-http/http2-tests/target/h2spec_darwin_amd64/h2spec, -k, -t, -p, 55864, -j, target/test-reports/h2spec-junit-6.7.xml, -s, 6.7)
   | [DEBUG] [07/22/2023 12:26:16.839] [pool-1-thread-1-ScalaTest-running-H2SpecIntegrationSpec] [WithLogCapturing(pekko://PekkoSpec_)] Logging finished for test [H2Spec must pass rule: 6.7. PING]
   <-- [H2Spec must pass rule: 6.7. PING] End of log messages of test that [Failed(org.scalatest.exceptions.TestFailedException: 139 was not equal to 0)]
   [info] - must pass rule: 6.7. PING *** FAILED *** (16 milliseconds)
   [info]   139 was not equal to 0 (H2SpecIntegrationSpec.scala:194)
   ```
   
   And more of those `must pass rule: [...]` 
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org