admin管理员组

文章数量:1290938

Config for localstack setup: localstack image:0.14.3 (I have tried other images but same result) pom: springboot:3.3.1, spring-boot-starter-test, testcontainers-bom: 1.18.3, localstack runtime: Java 17, Docker version 20.10.23, build 7155243 test env: Linux U-1LGZ9KMOK1MJS 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:50:46 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux I am able to start localstack directly with docker compose though.

The same test passes when I use my other amazon workspace. test env: Linux a-lso2g4ekkr6q 4.14.322-246.539.amzn2.x86_64 #1 SMP Wed Sep 6 22:22:06 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Docker version 20.10.23, build 7155243

Config code snippet:

 @Override
  public void beforeAll(ExtensionContext context) throws IOException, InterruptedException {
localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:0.14.3"))
    .withServices(SQS);
localStack.start();

localStack.execInContainer("awslocal", "sqs", "create-queue", "--queue-name",
    "request-group-to-purchase-order-dev");
// Create DLQ
localStack.execInContainer("awslocal", "sqs", "create-queue", "--queue-name",
    QUEUE_NAME, "--attributes",
    "{\"FifoQueue\":\"true\", \"ContentBasedDeduplication\":\"true\"}");

Error during test run

2025-02-14 09:40:31.406 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:31.481 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "f1[\r][\n]"
2025-02-14 09:40:31.481 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0][0xffffffe9]2025-02-13 20:40:31,481 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.[\n]"
2025-02-14 09:40:31.481 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:31.482 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 2025-02-13 20:40:31,481 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2025-02-14 09:40:31.482 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "45[\r][\n]"
2025-02-14 09:40:31.482 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]=2025-02-13 20:40:31,482 INFO supervisord started with pid 14[\n]"
2025-02-14 09:40:31.482 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:31.492 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 2025-02-13 20:40:31,482 INFO supervisord started with pid 14
2025-02-14 09:40:32.485 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "42[\r][\n]"
2025-02-14 09:40:32.485 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]:2025-02-13 20:40:32,484 INFO spawned: 'infra' with pid 19[\n]"
2025-02-14 09:40:32.485 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:32.485 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 2025-02-13 20:40:32,484 INFO spawned: 'infra' with pid 19
2025-02-14 09:40:33.487 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "82[\r][\n]"
2025-02-14 09:40:33.487 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]z2025-02-13 20:40:33,486 INFO success: infra entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)[\n]"
2025-02-14 09:40:33.487 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:33.489 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 2025-02-13 20:40:33,486 INFO success: infra entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-14 09:40:38.385 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:40:38.385 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:40:38.385 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:38.385 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:45.386 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:40:45.386 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:40:45.386 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:45.387 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:52.389 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:40:52.389 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:40:52.389 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:52.389 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:59.391 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:40:59.391 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:40:59.391 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:59.392 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:41:06.393 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:41:06.393 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:41:06.393 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:06.394 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:41:13.396 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:41:13.396 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:41:13.396 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:13.396 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "9[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0][0x1][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "25[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0][0x1d]LocalStack version: 0.14.3.1[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "35[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]-LocalStack Docker container id: c59903d7147b[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "2a[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]"LocalStack build date: 2022-05-25[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "2c[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]$LocalStack build git hash: 496e6015[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "9[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0][0x1][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "32[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]*Starting edge router (https port 4566)...[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: LocalStack version: 0.14.3.1
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Starting edge router (https port 4566)...
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: LocalStack build git hash: 496e6015
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: LocalStack build date: 2022-05-25
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: LocalStack Docker container id: c59903d7147b
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 

Config for localstack setup: localstack image:0.14.3 (I have tried other images but same result) pom: springboot:3.3.1, spring-boot-starter-test, testcontainers-bom: 1.18.3, localstack runtime: Java 17, Docker version 20.10.23, build 7155243 test env: Linux U-1LGZ9KMOK1MJS 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:50:46 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux I am able to start localstack directly with docker compose though.

The same test passes when I use my other amazon workspace. test env: Linux a-lso2g4ekkr6q 4.14.322-246.539.amzn2.x86_64 #1 SMP Wed Sep 6 22:22:06 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux Docker version 20.10.23, build 7155243

Config code snippet:

 @Override
  public void beforeAll(ExtensionContext context) throws IOException, InterruptedException {
localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:0.14.3"))
    .withServices(SQS);
localStack.start();

localStack.execInContainer("awslocal", "sqs", "create-queue", "--queue-name",
    "request-group-to-purchase-order-dev");
// Create DLQ
localStack.execInContainer("awslocal", "sqs", "create-queue", "--queue-name",
    QUEUE_NAME, "--attributes",
    "{\"FifoQueue\":\"true\", \"ContentBasedDeduplication\":\"true\"}");

Error during test run

2025-02-14 09:40:31.406 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:31.481 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "f1[\r][\n]"
2025-02-14 09:40:31.481 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0][0xffffffe9]2025-02-13 20:40:31,481 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.[\n]"
2025-02-14 09:40:31.481 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:31.482 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 2025-02-13 20:40:31,481 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2025-02-14 09:40:31.482 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "45[\r][\n]"
2025-02-14 09:40:31.482 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]=2025-02-13 20:40:31,482 INFO supervisord started with pid 14[\n]"
2025-02-14 09:40:31.482 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:31.492 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 2025-02-13 20:40:31,482 INFO supervisord started with pid 14
2025-02-14 09:40:32.485 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "42[\r][\n]"
2025-02-14 09:40:32.485 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]:2025-02-13 20:40:32,484 INFO spawned: 'infra' with pid 19[\n]"
2025-02-14 09:40:32.485 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:32.485 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 2025-02-13 20:40:32,484 INFO spawned: 'infra' with pid 19
2025-02-14 09:40:33.487 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "82[\r][\n]"
2025-02-14 09:40:33.487 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]z2025-02-13 20:40:33,486 INFO success: infra entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)[\n]"
2025-02-14 09:40:33.487 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:33.489 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 2025-02-13 20:40:33,486 INFO success: infra entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2025-02-14 09:40:38.385 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:40:38.385 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:40:38.385 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:38.385 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:45.386 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:40:45.386 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:40:45.386 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:45.387 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:52.389 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:40:52.389 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:40:52.389 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:52.389 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:40:59.391 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:40:59.391 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:40:59.391 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:40:59.392 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:41:06.393 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:41:06.393 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:41:06.393 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:06.394 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:41:13.396 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "38[\r][\n]"
2025-02-14 09:41:13.396 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]0Waiting for all LocalStack services to be ready[\n]"
2025-02-14 09:41:13.396 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:13.396 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Waiting for all LocalStack services to be ready
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "9[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0][0x1][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "25[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0][0x1d]LocalStack version: 0.14.3.1[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "35[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]-LocalStack Docker container id: c59903d7147b[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "2a[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]"LocalStack build date: 2022-05-25[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "2c[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]$LocalStack build git hash: 496e6015[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "9[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0][0x1][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "32[\r][\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[0x1][0x0][0x0][0x0][0x0][0x0][0x0]*Starting edge router (https port 4566)...[\n]"
2025-02-14 09:41:14.387 DEBUG  docker-java-stream-1004258309 c.g.d.z.s.o.apache.hc.client5.http.wire  : wire: http-outgoing-1 << "[\r][\n]"
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: LocalStack version: 0.14.3.1
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: Starting edge router (https port 4566)...
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: LocalStack build git hash: 496e6015
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: LocalStack build date: 2022-05-25
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: LocalStack Docker container id: c59903d7147b
2025-02-14 09:41:14.388 DEBUG  main o.t.containers.output.WaitingConsumer    : waitUntil: STDOUT: 
Share Improve this question edited Feb 14 at 0:23 riteshmaurya asked Feb 13 at 21:06 riteshmauryariteshmaurya 3693 silver badges14 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

resolved it by updating the localstack version

 public void beforeAll(ExtensionContext context) throws IOException, InterruptedException {
    localStack = new LocalStackContainer(DockerImageName.parse("localstack/localstack:4.1.1"))
        .waitingFor(Wait.forListeningPort()
            .withStartupTimeout(Duration.ofMinutes(5)))
        .withServices(SQS);
    localStack.start();

本文标签: amazon sqsLocalstack test failing on linux ubuntuStack Overflow