Skip to content

fix ServerCORSTests #11640

fix ServerCORSTests

fix ServerCORSTests #11640

Triggered via push January 2, 2025 16:36
Status Failure
Total duration 46m 44s
Artifacts 10

ci.yml

on: push
Matrix: ci
Matrix: Publish release
Auto merge
0s
Auto merge
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 11 warnings
ci (3, JVM, 21)
Process completed with exit code 1.
ci (2.12, JVM, 11)
Final attempt failed. Child_process exited with error code 1
ci (3, JVM, 11)
Shutdown in progress
ci (3, JVM, 11)
Shutdown in progress
ci (3, JVM, 11)
Promise already completed.
ci (3, JVM, 11)
Shutdown in progress
ci (3, JVM, 11)
Final attempt failed. Child_process exited with error code 1
ci (2.13, JVM, 11)
Shutdown in progress
ci (2.13, JVM, 11)
Final attempt failed. Timeout of 900000ms hit
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: {body as text/plain (UTF-8)}) CORS with default config; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L32
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L64
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L93
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin; preflight request with unsupported origin: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L113
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins; preflight request with unsupported origin: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L127
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed method; preflight request with unsupported method: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L139
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed headers; preflight request with unsupported header: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L151
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with reflected allowed headers; preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L163
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with custom response code for preflight requests; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L174
Failed test found in: server/vertx-server/cats/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 200
sttp.tapir.server.vertx.VertxBlockingServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: {body as text/plain (UTF-8)}) CORS with default config; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L32
Failed test found in: server/vertx-server/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.VertxBlockingServerTest.xml server/vertx-server/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.VertxServerTest.xml server/vertx-server/zio/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.zio.ZioVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.VertxBlockingServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L64
Failed test found in: server/vertx-server/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.VertxBlockingServerTest.xml server/vertx-server/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.VertxServerTest.xml server/vertx-server/zio/target/jvm-2.12/test-reports/TEST-sttp.tapir.server.vertx.zio.ZioVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.jdkhttp.JdkHttpServerTest ► two endpoints with fixed path & path capture as the middle component, different methods: server/jdkhttp-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.jdkhttp.JdkHttpServerTest.xml#L0
Failed test found in: server/jdkhttp-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.jdkhttp.JdkHttpServerTest.xml Error: sttp.client3.SttpClientException$ReadException: Exception when sending request: DELETE http://localhost:45793/p1/p2/p3
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: {body as text/plain (UTF-8)}) CORS with default config; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L32
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L64
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L93
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin; preflight request with unsupported origin: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L113
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins; preflight request with unsupported origin: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L127
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed method; preflight request with unsupported method: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L139
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed headers; preflight request with unsupported header: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L151
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with reflected allowed headers; preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L163
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with custom response code for preflight requests; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L174
Failed test found in: server/play-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 200
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: {body as text/plain (UTF-8)}) CORS with default config; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L32
Failed test found in: server/vertx-server/cats/target/jvm-2.13/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: {body as text/plain (UTF-8)}) CORS with default config; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L32
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L64
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L93
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin; preflight request with unsupported origin: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L113
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with multiple allowed origins; preflight request with unsupported origin: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L127
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed method; preflight request with unsupported method: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L139
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed headers; preflight request with unsupported header: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L151
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with reflected allowed headers; preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L163
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 204
sttp.tapir.server.play.PlayServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with custom response code for preflight requests; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L174
Failed test found in: server/play-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml server/play29-server/target/jvm-3/test-reports/TEST-sttp.tapir.server.play.PlayServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 404 was not equal to 200
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: {body as text/plain (UTF-8)}) CORS with default config; valid preflight request: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L32
Failed test found in: server/vertx-server/cats/target/jvm-3/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
sttp.tapir.server.vertx.cats.CatsVertxServerTest ► Endpoint(securityin: -, in: POST /path, errout: -, out: -) CORS with specific allowed origin, method, headers, allowed credentials and max age; preflight request with matching origin, method and headers: server/tests/src/main/scala/sttp/tapir/server/tests/ServerCORSTests.scala#L64
Failed test found in: server/vertx-server/cats/target/jvm-3/test-reports/TEST-sttp.tapir.server.vertx.cats.CatsVertxServerTest.xml Error: org.scalatest.exceptions.TestFailedException: 405 was not equal to 204
ci (3, JVM, 21)
No files were found with the provided path: **/test-reports/TEST*.xml. No artifacts will be uploaded.
ci (2.12, JVM, 11)
Attempt 1 failed. Reason: Child_process exited with error code 1
ci (2.12, JVM, 11)
Attempt 2 failed. Reason: Child_process exited with error code 1
ci (2.12, JVM, 11)
Attempt 3 failed. Reason: Child_process exited with error code 1
ci (3, JVM, 11)
Attempt 1 failed. Reason: Child_process exited with error code 1
ci (3, JVM, 11)
Attempt 2 failed. Reason: Child_process exited with error code 1
ci (3, JVM, 11)
Attempt 3 failed. Reason: Child_process exited with error code 1
ci (2.13, JVM, 11)
Attempt 1 failed. Reason: Child_process exited with error code 1
ci (2.13, JVM, 11)
Attempt 2 failed. Reason: Timeout of 900000ms hit
ci (2.13, JVM, 11)
Attempt 3 failed. Reason: Child_process exited with error code 1
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "tests-results-2.12-JS-11", "tests-results-2.12-JVM-11", "tests-results-2.12-Native-11", "tests-results-2.13-JS-11", "tests-results-2.13-JVM-11", "tests-results-2.13-JVM-21", "tests-results-2.13-Native-11", "tests-results-3-JS-11", "tests-results-3-JVM-11", "tests-results-3-Native-11". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
tests-results-2.12-JS-11
309 KB
tests-results-2.12-JVM-11
2.02 MB
tests-results-2.12-Native-11
208 KB
tests-results-2.13-JS-11
311 KB
tests-results-2.13-JVM-11
2.37 MB
tests-results-2.13-JVM-21
55.9 KB
tests-results-2.13-Native-11
213 KB
tests-results-3-JS-11
296 KB
tests-results-3-JVM-11
2.19 MB
tests-results-3-Native-11
267 KB