Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port mapping for ipv4 & ipv6 can cause different ports to be mapped and getMappedPort function will return wrong port #750

Open
vsamofal opened this issue Apr 5, 2024 · 6 comments
Labels
triage Investigation required

Comments

@vsamofal
Copy link

vsamofal commented Apr 5, 2024

Expected Behaviour

I want to get a predictable port number and host,

the problem seems to be in this file - https://github.com/testcontainers/testcontainers-node/blob/main/packages/testcontainers/src/utils/bound-ports.ts

method - resolveHostPortBinding
line - return hostPortBindings[0].hostPort;

Actual Behaviour

We have tests that are running in parallel and it was quite hard to identify that issue, because locally on mac os everything is fine, but on latest ubuntu the problem auto assigning port appear

testcontainers/testcontainers-dotnet#825 - same issue for .net

So what happening:

  1. Starting a redis container (doesn't matter which one, it just an example)
  2. withExposedPorts(6389) - let docker to auto assign host port
  3. calling getMappedPort function -> may return ipv4 or ipv6 port, depends on your luck

Testcontainer Logs
...

Steps to Reproduce

  1. In this environment ubuntu 22
  2. With this config.
  3. Run '...'
  const container = await new GenericContainer(
    `${options.imageName}:${options.imageTag}`,
  )
    .withExposedPorts(6379)
    .start();

  // eslint-disable-next-line no-console
  console.timeEnd(`start redis`);

  const redisConfig = {
    port: container.getMappedPort(6379),
    host: 'localhost',
  } satisfies RedisStartedConfig;
  1. Run docker ps, and see that there are 2 ports actually

Environment Information

  • Operating System: ubuntu
  • Docker Version: 24+
  • Node version: 20+
  • Testcontainers version: 10.8.1

we temporary fixed it by retrieving ipv4 port from the docker inspect info:

import { StartedTestContainer } from 'testcontainers/build/test-container';

export function retrievePortFromBinding(
  container: StartedTestContainer,
  sourcePort: number,
): number {
  return Number.parseInt(
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    (container as never as any).inspectResult.NetworkSettings.Ports[
      `${sourcePort}/tcp`
    ].find((p: { HostIp: string; HostPort: string }) => p.HostIp === '0.0.0.0')
      .HostPort,
  );
}
@cristianrgreco cristianrgreco added the triage Investigation required label Apr 5, 2024
@cristianrgreco
Copy link
Collaborator

Thanks for raising, I'll need to look into it. Testcontainers resolves a list of host IPs, the order of which is determined by several factors like node version and OS. When we get the mapped port we probably need to find the port where the host matches the order, similar as you've done

@vsamofal
Copy link
Author

vsamofal commented Apr 5, 2024

The order actually is quite random, even in one test execution, we do start redis & postgres, we have around 20 files with tests, and for each file we start dbs, and some files are passing and some not, seems like it's super random from docker side.

@cristianrgreco
Copy link
Collaborator

Yep I think docker returns the ports in random order, but we should be able to find the one we want by host

@jarpoole
Copy link

jarpoole commented Jul 22, 2024

Pretty sure we are also seeing the same issue but I'm having a really hard time consistently reproducing it to confirm....

It does seem like there was an attempt to fix the issue in #483 though?

@cristianrgreco
Copy link
Collaborator

cristianrgreco commented Jul 23, 2024

It does seem like there was an attempt to fix the issue in #483 though?

That's correct. The behaviour right now is this:

  1. Resolve the host:
    export const resolveHost = async (
    dockerode: Dockerode,
    strategyResult: ContainerRuntimeClientStrategyResult,
    indexServerAddress: string,
    env: NodeJS.ProcessEnv = process.env
    ): Promise<string> => {
    if (strategyResult.allowUserOverrides) {
    if (env.TESTCONTAINERS_HOST_OVERRIDE !== undefined) {
    return env.TESTCONTAINERS_HOST_OVERRIDE;
    }
    }
    const { protocol, hostname } = new URL(strategyResult.uri);
    switch (protocol) {
    case "http:":
    case "https:":
    case "tcp:":
    return hostname;
    case "unix:":
    case "npipe:": {
    if (isInContainer()) {
    const networkName = strategyResult.uri.includes("podman.sock") ? "podman" : "bridge";
    const gateway = await findGateway(dockerode, networkName);
    if (gateway !== undefined) {
    return gateway;
    }
    const defaultGateway = await findDefaultGateway(dockerode, indexServerAddress);
    if (defaultGateway !== undefined) {
    return defaultGateway;
    }
    }
    return "localhost";
    }
    default:
    throw new Error(`Unsupported protocol: ${protocol}`);
    }
    };
  2. Query local DNS for this host. If the host is localhost, this may return 0.0.0.0/::1. The order is important and is what will be used to determine if we use IPv4 or IPv6 ports respectively.

Could you please upgrade to version 10.10.4 of Testcontainers, reproduce the issue and share the logs (DEBUG=testcontainers*)? There's a useful diagnostic that shows the runtime information. That'll help me debug what's going on in your cases

@thiemok
Copy link

thiemok commented Dec 10, 2024

@cristianrgreco here are some logs from this issue happening for me on 10.14.0. This is just the parts from test environment launch to the redis connection failing. I've also included the output of docker ps to reference the info reported by docker.
There is also a postgres and localstack container launching, so please excuse the bit of noise.

Logs

2024-12-10T14:18:26.0879923Z 2024-12-10T14:18:26.087Z testcontainers [DEBUG] Checking container runtime strategy "TestcontainersHostStrategy"...
2024-12-10T14:18:26.0886021Z 2024-12-10T14:18:26.088Z testcontainers [DEBUG] Checking container runtime strategy "TestcontainersHostStrategy"...
2024-12-10T14:18:26.0889813Z 2024-12-10T14:18:26.088Z testcontainers [DEBUG] Checking container runtime strategy "TestcontainersHostStrategy"...
2024-12-10T14:18:26.0905490Z 2024-12-10T14:18:26.088Z testcontainers [DEBUG] Container runtime strategy "TestcontainersHostStrategy" is not applicable
2024-12-10T14:18:26.0907197Z 2024-12-10T14:18:26.088Z testcontainers [DEBUG] Container runtime strategy "TestcontainersHostStrategy" is not applicable
2024-12-10T14:18:26.0908856Z 2024-12-10T14:18:26.088Z testcontainers [DEBUG] Container runtime strategy "TestcontainersHostStrategy" is not applicable
2024-12-10T14:18:26.0910842Z 2024-12-10T14:18:26.088Z testcontainers [DEBUG] Checking container runtime strategy "ConfigurationStrategy"...
2024-12-10T14:18:26.0912486Z 2024-12-10T14:18:26.089Z testcontainers [DEBUG] Checking container runtime strategy "ConfigurationStrategy"...
2024-12-10T14:18:26.0914161Z 2024-12-10T14:18:26.089Z testcontainers [DEBUG] Checking container runtime strategy "ConfigurationStrategy"...
2024-12-10T14:18:26.0915670Z 2024-12-10T14:18:26.089Z testcontainers [DEBUG] Container runtime strategy "ConfigurationStrategy" is not applicable
2024-12-10T14:18:26.0917232Z 2024-12-10T14:18:26.089Z testcontainers [DEBUG] Container runtime strategy "ConfigurationStrategy" is not applicable
2024-12-10T14:18:26.0918807Z 2024-12-10T14:18:26.089Z testcontainers [DEBUG] Container runtime strategy "ConfigurationStrategy" is not applicable
2024-12-10T14:18:26.0920280Z 2024-12-10T14:18:26.089Z testcontainers [DEBUG] Checking container runtime strategy "UnixSocketStrategy"...
2024-12-10T14:18:26.0921922Z 2024-12-10T14:18:26.089Z testcontainers [DEBUG] Checking container runtime strategy "UnixSocketStrategy"...
2024-12-10T14:18:26.0923283Z 2024-12-10T14:18:26.089Z testcontainers [DEBUG] Checking container runtime strategy "UnixSocketStrategy"...
2024-12-10T14:18:26.0924404Z 2024-12-10T14:18:26.089Z testcontainers [TRACE] Fetching Docker info...
2024-12-10T14:18:26.0979571Z 2024-12-10T14:18:26.097Z testcontainers [TRACE] Fetching Docker info...
2024-12-10T14:18:26.0997211Z 2024-12-10T14:18:26.099Z testcontainers [TRACE] Fetching Docker info...
2024-12-10T14:18:26.1102862Z 2024-12-10T14:18:26.109Z testcontainers [TRACE] Fetching remote container runtime socket path...
2024-12-10T14:18:26.1110493Z 2024-12-10T14:18:26.110Z testcontainers [TRACE] Resolving host...
2024-12-10T14:18:26.1111794Z 2024-12-10T14:18:26.110Z testcontainers [TRACE] Fetching Compose info...
2024-12-10T14:18:26.1174285Z 2024-12-10T14:18:26.115Z testcontainers [TRACE] Fetching remote container runtime socket path...
2024-12-10T14:18:26.1179140Z 2024-12-10T14:18:26.115Z testcontainers [TRACE] Resolving host...
2024-12-10T14:18:26.1179988Z 2024-12-10T14:18:26.115Z testcontainers [TRACE] Fetching Compose info...
2024-12-10T14:18:26.1224066Z 2024-12-10T14:18:26.122Z testcontainers [TRACE] Fetching remote container runtime socket path...
2024-12-10T14:18:26.1225418Z 2024-12-10T14:18:26.122Z testcontainers [TRACE] Resolving host...
2024-12-10T14:18:26.1229608Z 2024-12-10T14:18:26.122Z testcontainers [TRACE] Fetching Compose info...
2024-12-10T14:18:26.6986067Z 2024-12-10T14:18:26.698Z testcontainers [TRACE] Looking up host IPs...
2024-12-10T14:18:26.6995216Z 2024-12-10T14:18:26.699Z testcontainers [TRACE] Initialising clients...
2024-12-10T14:18:26.6997813Z 2024-12-10T14:18:26.699Z testcontainers [TRACE] Container runtime info:
2024-12-10T14:18:26.6999911Z {
2024-12-10T14:18:26.7000631Z   "node": {
2024-12-10T14:18:26.7003075Z     "version": "v20.11.0",
2024-12-10T14:18:26.7003990Z     "architecture": "x64",
2024-12-10T14:18:26.7006628Z     "platform": "linux"
2024-12-10T14:18:26.7006993Z   },
2024-12-10T14:18:26.7007305Z   "containerRuntime": {
2024-12-10T14:18:26.7007685Z     "host": "localhost",
2024-12-10T14:18:26.7008047Z     "hostIps": [
2024-12-10T14:18:26.7008378Z       {
2024-12-10T14:18:26.7008717Z         "address": "::1",
2024-12-10T14:18:26.7009075Z         "family": 6
2024-12-10T14:18:26.7012185Z       },
2024-12-10T14:18:26.7012493Z       {
2024-12-10T14:18:26.7012826Z         "address": "127.0.0.1",
2024-12-10T14:18:26.7013206Z         "family": 4
2024-12-10T14:18:26.7013501Z       }
2024-12-10T14:18:26.7013771Z     ],
2024-12-10T14:18:26.7014161Z     "remoteSocketPath": "/var/run/docker.sock",
2024-12-10T14:18:26.7014766Z     "indexServerAddress": "https://index.docker.io/v1/",
2024-12-10T14:18:26.7015289Z     "serverVersion": "26.1.3",
2024-12-10T14:18:26.7015767Z     "operatingSystem": "Ubuntu 24.04.1 LTS",
2024-12-10T14:18:26.7016265Z     "operatingSystemType": "linux",
2024-12-10T14:18:26.7016684Z     "architecture": "x86_64",
2024-12-10T14:18:26.7017467Z     "cpus": 2,
2024-12-10T14:18:26.7017823Z     "memory": 8324354048,
2024-12-10T14:18:26.7018196Z     "runtimes": [
2024-12-10T14:18:26.7018578Z       "io.containerd.runc.v2",
2024-12-10T14:18:26.7019226Z       "runc"
2024-12-10T14:18:26.7019507Z     ],
2024-12-10T14:18:26.7019792Z     "labels": []
2024-12-10T14:18:26.7020082Z   },
2024-12-10T14:18:26.7020371Z   "compose": {
2024-12-10T14:18:26.7020696Z     "version": "2.27.1",
2024-12-10T14:18:26.7021078Z     "compatability": "v2"
2024-12-10T14:18:26.7021615Z   }
2024-12-10T14:18:26.7021894Z }
2024-12-10T14:18:26.7022733Z 2024-12-10T14:18:26.699Z testcontainers [DEBUG] Container runtime strategy "UnixSocketStrategy" works
2024-12-10T14:18:26.7024025Z 2024-12-10T14:18:26.700Z testcontainers [DEBUG] Checking if image exists "postgres:13.3-alpine"...
2024-12-10T14:18:26.7028770Z 2024-12-10T14:18:26.702Z testcontainers [DEBUG] Checked if image exists "postgres:13.3-alpine"
2024-12-10T14:18:26.7032646Z 2024-12-10T14:18:26.702Z testcontainers [DEBUG] Image "postgres:13.3-alpine" already exists
2024-12-10T14:18:26.7073091Z 2024-12-10T14:18:26.705Z testcontainers [DEBUG] Acquiring lock file "/tmp/testcontainers-node.lock"...
2024-12-10T14:18:26.7081635Z 2024-12-10T14:18:26.707Z testcontainers [TRACE] Looking up host IPs...
2024-12-10T14:18:26.7087431Z 2024-12-10T14:18:26.708Z testcontainers [TRACE] Looking up host IPs...
2024-12-10T14:18:26.7089181Z 2024-12-10T14:18:26.708Z testcontainers [TRACE] Initialising clients...
2024-12-10T14:18:26.7090489Z 2024-12-10T14:18:26.708Z testcontainers [TRACE] Container runtime info:
2024-12-10T14:18:26.7091532Z {
2024-12-10T14:18:26.7092101Z   "node": {
2024-12-10T14:18:26.7092652Z     "version": "v20.11.0",
2024-12-10T14:18:26.7093267Z     "architecture": "x64",
2024-12-10T14:18:26.7103659Z     "platform": "linux"
2024-12-10T14:18:26.7105292Z   },
2024-12-10T14:18:26.7105866Z   "containerRuntime": {
2024-12-10T14:18:26.7106562Z     "host": "localhost",
2024-12-10T14:18:26.7106925Z     "hostIps": [
2024-12-10T14:18:26.7107402Z       {
2024-12-10T14:18:26.7107711Z         "address": "::1",
2024-12-10T14:18:26.7108200Z         "family": 6
2024-12-10T14:18:26.7108510Z       },
2024-12-10T14:18:26.7108784Z       {
2024-12-10T14:18:26.7109264Z         "address": "127.0.0.1",
2024-12-10T14:18:26.7109774Z         "family": 4
2024-12-10T14:18:26.7110081Z       }
2024-12-10T14:18:26.7110343Z     ],
2024-12-10T14:18:26.7111854Z     "remoteSocketPath": "/var/run/docker.sock",
2024-12-10T14:18:26.7113655Z     "indexServerAddress": "https://index.docker.io/v1/",
2024-12-10T14:18:26.7115405Z     "serverVersion": "26.1.3",
2024-12-10T14:18:26.7116908Z     "operatingSystem": "Ubuntu 24.04.1 LTS",
2024-12-10T14:18:26.7118441Z     "operatingSystemType": "linux",
2024-12-10T14:18:26.7119965Z     "architecture": "x86_64",
2024-12-10T14:18:26.7120361Z     "cpus": 2,
2024-12-10T14:18:26.7121702Z     "memory": 8324354048,
2024-12-10T14:18:26.7122063Z     "runtimes": [
2024-12-10T14:18:26.7123496Z       "io.containerd.runc.v2",
2024-12-10T14:18:26.7124915Z       "runc"
2024-12-10T14:18:26.7125238Z     ],
2024-12-10T14:18:26.7126526Z     "labels": []
2024-12-10T14:18:26.7126840Z   },
2024-12-10T14:18:26.7128059Z   "compose": {
2024-12-10T14:18:26.7128390Z     "version": "2.27.1",
2024-12-10T14:18:26.7129756Z     "compatability": "v2"
2024-12-10T14:18:26.7130118Z   }
2024-12-10T14:18:26.7131592Z }
2024-12-10T14:18:26.7133586Z 2024-12-10T14:18:26.708Z testcontainers [DEBUG] Container runtime strategy "UnixSocketStrategy" works
2024-12-10T14:18:26.7136193Z 2024-12-10T14:18:26.708Z testcontainers [DEBUG] Checking if image exists "localstack/localstack:2.2.0"...
2024-12-10T14:18:26.7137308Z 2024-12-10T14:18:26.710Z testcontainers [TRACE] Initialising clients...
2024-12-10T14:18:26.7138175Z 2024-12-10T14:18:26.710Z testcontainers [TRACE] Container runtime info:
2024-12-10T14:18:26.7138714Z {
2024-12-10T14:18:26.7138983Z   "node": {
2024-12-10T14:18:26.7139286Z     "version": "v20.11.0",
2024-12-10T14:18:26.7139647Z     "architecture": "x64",
2024-12-10T14:18:26.7140232Z     "platform": "linux"
2024-12-10T14:18:26.7140565Z   },
2024-12-10T14:18:26.7140851Z   "containerRuntime": {
2024-12-10T14:18:26.7162338Z     "host": "localhost",
2024-12-10T14:18:26.7162964Z     "hostIps": [
2024-12-10T14:18:26.7163543Z       {
2024-12-10T14:18:26.7163849Z         "address": "::1",
2024-12-10T14:18:26.7164200Z         "family": 6
2024-12-10T14:18:26.7164520Z       },
2024-12-10T14:18:26.7164790Z       {
2024-12-10T14:18:26.7165113Z         "address": "127.0.0.1",
2024-12-10T14:18:26.7165478Z         "family": 4
2024-12-10T14:18:26.7165776Z       }
2024-12-10T14:18:26.7166044Z     ],
2024-12-10T14:18:26.7166434Z     "remoteSocketPath": "/var/run/docker.sock",
2024-12-10T14:18:26.7167050Z     "indexServerAddress": "https://index.docker.io/v1/",
2024-12-10T14:18:26.7167586Z     "serverVersion": "26.1.3",
2024-12-10T14:18:26.7168040Z     "operatingSystem": "Ubuntu 24.04.1 LTS",
2024-12-10T14:18:26.7168534Z     "operatingSystemType": "linux",
2024-12-10T14:18:26.7168963Z     "architecture": "x86_64",
2024-12-10T14:18:26.7169330Z     "cpus": 2,
2024-12-10T14:18:26.7169642Z     "memory": 8324354048,
2024-12-10T14:18:26.7169976Z     "runtimes": [
2024-12-10T14:18:26.7170341Z       "io.containerd.runc.v2",
2024-12-10T14:18:26.7170713Z       "runc"
2024-12-10T14:18:26.7170991Z     ],
2024-12-10T14:18:26.7171413Z     "labels": []
2024-12-10T14:18:26.7171706Z   },
2024-12-10T14:18:26.7171974Z   "compose": {
2024-12-10T14:18:26.7172275Z     "version": "2.27.1",
2024-12-10T14:18:26.7172628Z     "compatability": "v2"
2024-12-10T14:18:26.7172972Z   }
2024-12-10T14:18:26.7173245Z }
2024-12-10T14:18:26.7174062Z 2024-12-10T14:18:26.710Z testcontainers [DEBUG] Container runtime strategy "UnixSocketStrategy" works
2024-12-10T14:18:26.7175197Z 2024-12-10T14:18:26.710Z testcontainers [DEBUG] Checking if image exists "redis:7.2"...
2024-12-10T14:18:26.7176350Z 2024-12-10T14:18:26.713Z testcontainers [DEBUG] Checked if image exists "localstack/localstack:2.2.0"
2024-12-10T14:18:26.7177526Z 2024-12-10T14:18:26.713Z testcontainers [DEBUG] Image "localstack/localstack:2.2.0" already exists
2024-12-10T14:18:26.7179058Z 2024-12-10T14:18:26.714Z testcontainers [INFO] LOCALSTACK_HOST environment variable set to "localhost" (to match host-routable address for container)
2024-12-10T14:18:26.7180503Z 2024-12-10T14:18:26.714Z testcontainers [DEBUG] Acquired lock file "/tmp/testcontainers-node.lock"
2024-12-10T14:18:26.7181612Z 2024-12-10T14:18:26.715Z testcontainers [DEBUG] Listing containers...
2024-12-10T14:18:26.7182522Z 2024-12-10T14:18:26.715Z testcontainers [DEBUG] Checked if image exists "redis:7.2"
2024-12-10T14:18:26.7183491Z 2024-12-10T14:18:26.715Z testcontainers [DEBUG] Image "redis:7.2" already exists
2024-12-10T14:18:26.7202004Z 2024-12-10T14:18:26.718Z testcontainers [DEBUG] Listed containers
2024-12-10T14:18:26.7203623Z 2024-12-10T14:18:26.718Z testcontainers [DEBUG] Reusing existing Reaper for session "8d56746aee09"...
2024-12-10T14:18:26.7205704Z 2024-12-10T14:18:26.719Z testcontainers [DEBUG] [6084ef7fc86b] Connecting to Reaper (attempt 1) on "localhost:32768"...
2024-12-10T14:18:26.7222165Z 2024-12-10T14:18:26.722Z testcontainers [DEBUG] Acquiring lock file "/tmp/testcontainers-node.lock"...
2024-12-10T14:18:26.7243136Z 2024-12-10T14:18:26.722Z testcontainers [DEBUG] Acquiring lock file "/tmp/testcontainers-node.lock"...
2024-12-10T14:18:26.7244286Z 2024-12-10T14:18:26.722Z testcontainers [DEBUG] [6084ef7fc86b] Connected to Reaper
2024-12-10T14:18:26.7245413Z 2024-12-10T14:18:26.722Z testcontainers [DEBUG] Releasing lock file "/tmp/testcontainers-node.lock"...
2024-12-10T14:18:26.7246634Z 2024-12-10T14:18:26.723Z testcontainers [DEBUG] Released lock file "/tmp/testcontainers-node.lock"
2024-12-10T14:18:26.7254754Z 2024-12-10T14:18:26.725Z testcontainers [DEBUG] Creating container for image "postgres:13.3-alpine"...
2024-12-10T14:18:26.7285129Z 2024-12-10T14:18:26.728Z testcontainers [DEBUG] Acquired lock file "/tmp/testcontainers-node.lock"
2024-12-10T14:18:26.7292716Z 2024-12-10T14:18:26.728Z testcontainers [DEBUG] Listing containers...
2024-12-10T14:18:26.7306481Z 2024-12-10T14:18:26.729Z testcontainers [DEBUG] Listed containers
2024-12-10T14:18:26.7310506Z 2024-12-10T14:18:26.729Z testcontainers [DEBUG] Reusing existing Reaper for session "8d56746aee09"...
2024-12-10T14:18:26.7312608Z 2024-12-10T14:18:26.729Z testcontainers [DEBUG] [6084ef7fc86b] Connecting to Reaper (attempt 1) on "localhost:32768"...
2024-12-10T14:18:26.7323743Z 2024-12-10T14:18:26.731Z testcontainers [DEBUG] [6084ef7fc86b] Connected to Reaper
2024-12-10T14:18:26.7325331Z 2024-12-10T14:18:26.731Z testcontainers [DEBUG] Releasing lock file "/tmp/testcontainers-node.lock"...
2024-12-10T14:18:26.7363203Z 2024-12-10T14:18:26.731Z testcontainers [DEBUG] Released lock file "/tmp/testcontainers-node.lock"
2024-12-10T14:18:26.7364901Z 2024-12-10T14:18:26.731Z testcontainers [DEBUG] Creating container for image "localstack/localstack:2.2.0"...
2024-12-10T14:18:26.7673384Z 2024-12-10T14:18:26.766Z testcontainers [DEBUG] [ecf11391ba2d] Created container for image "postgres:13.3-alpine"
2024-12-10T14:18:26.7676550Z 2024-12-10T14:18:26.766Z testcontainers [INFO] [ecf11391ba2d] Starting container for image "postgres:13.3-alpine"...
2024-12-10T14:18:26.7681785Z 2024-12-10T14:18:26.767Z testcontainers [DEBUG] [ecf11391ba2d] Starting container...
2024-12-10T14:18:26.7707956Z 2024-12-10T14:18:26.769Z testcontainers [DEBUG] [1d77751be93d] Created container for image "localstack/localstack:2.2.0"
2024-12-10T14:18:26.7732178Z 2024-12-10T14:18:26.770Z testcontainers [INFO] [1d77751be93d] Starting container for image "localstack/localstack:2.2.0"...
2024-12-10T14:18:26.7742061Z 2024-12-10T14:18:26.771Z testcontainers [DEBUG] [1d77751be93d] Starting container...
2024-12-10T14:18:27.0525727Z 2024-12-10T14:18:27.047Z testcontainers [DEBUG] [ecf11391ba2d] Started container
2024-12-10T14:18:27.0527054Z 2024-12-10T14:18:27.047Z testcontainers [INFO] [ecf11391ba2d] Started container for image "postgres:13.3-alpine"
2024-12-10T14:18:27.0528387Z 2024-12-10T14:18:27.047Z testcontainers [DEBUG] [ecf11391ba2d] Inspecting container...
2024-12-10T14:18:27.0538570Z 2024-12-10T14:18:27.053Z testcontainers [DEBUG] [ecf11391ba2d] Inspected container
2024-12-10T14:18:27.0556795Z 2024-12-10T14:18:27.054Z testcontainers [DEBUG] [ecf11391ba2d] Fetching container logs...
2024-12-10T14:18:27.0580220Z 2024-12-10T14:18:27.057Z testcontainers [DEBUG] [ecf11391ba2d] Demuxing stream...
2024-12-10T14:18:27.0613949Z 2024-12-10T14:18:27.058Z testcontainers [DEBUG] [ecf11391ba2d] Demuxed stream
2024-12-10T14:18:27.0616370Z 2024-12-10T14:18:27.058Z testcontainers [DEBUG] [ecf11391ba2d] Fetched container logs
2024-12-10T14:18:27.0617571Z 2024-12-10T14:18:27.059Z testcontainers [DEBUG] [ecf11391ba2d] Waiting for container to be ready...
2024-12-10T14:18:27.0619120Z 2024-12-10T14:18:27.059Z testcontainers [DEBUG] [ecf11391ba2d] Waiting for log message "/.*database system is ready to accept connections.*/"...
2024-12-10T14:18:27.0620565Z 2024-12-10T14:18:27.059Z testcontainers [DEBUG] [ecf11391ba2d] Fetching container logs...
2024-12-10T14:18:27.0630820Z 2024-12-10T14:18:27.060Z testcontainers [DEBUG] [ecf11391ba2d] Demuxing stream...
2024-12-10T14:18:27.0632581Z 2024-12-10T14:18:27.060Z testcontainers [DEBUG] [ecf11391ba2d] Demuxed stream
2024-12-10T14:18:27.0633630Z 2024-12-10T14:18:27.060Z testcontainers [DEBUG] [ecf11391ba2d] Fetched container logs
2024-12-10T14:18:27.0742264Z 2024-12-10T14:18:27.072Z testcontainers [DEBUG] [1d77751be93d] Started container
2024-12-10T14:18:27.0744655Z 2024-12-10T14:18:27.072Z testcontainers [INFO] [1d77751be93d] Started container for image "localstack/localstack:2.2.0"
2024-12-10T14:18:27.0745955Z 2024-12-10T14:18:27.072Z testcontainers [DEBUG] [1d77751be93d] Inspecting container...
2024-12-10T14:18:27.0765270Z 2024-12-10T14:18:27.075Z testcontainers [DEBUG] [1d77751be93d] Inspected container
2024-12-10T14:18:27.0787616Z 2024-12-10T14:18:27.076Z testcontainers [DEBUG] [1d77751be93d] Fetching container logs...
2024-12-10T14:18:27.0795593Z 2024-12-10T14:18:27.079Z testcontainers [DEBUG] [1d77751be93d] Demuxing stream...
2024-12-10T14:18:27.0806320Z 2024-12-10T14:18:27.080Z testcontainers [DEBUG] [1d77751be93d] Demuxed stream
2024-12-10T14:18:27.0809375Z 2024-12-10T14:18:27.080Z testcontainers [DEBUG] [1d77751be93d] Fetched container logs
2024-12-10T14:18:27.0823109Z 2024-12-10T14:18:27.081Z testcontainers [DEBUG] [1d77751be93d] Waiting for container to be ready...
2024-12-10T14:18:27.0824356Z 2024-12-10T14:18:27.081Z testcontainers [DEBUG] [1d77751be93d] Waiting for log message "Ready"...
2024-12-10T14:18:27.0825528Z 2024-12-10T14:18:27.081Z testcontainers [DEBUG] [1d77751be93d] Fetching container logs...
2024-12-10T14:18:27.0831856Z 2024-12-10T14:18:27.082Z testcontainers [DEBUG] [1d77751be93d] Demuxing stream...
2024-12-10T14:18:27.0834439Z 2024-12-10T14:18:27.082Z testcontainers [DEBUG] [1d77751be93d] Demuxed stream
2024-12-10T14:18:27.0836682Z 2024-12-10T14:18:27.082Z testcontainers [DEBUG] [1d77751be93d] Fetched container logs
2024-12-10T14:18:27.0953819Z 2024-12-10T14:18:27.092Z testcontainers:containers [ecf11391ba2d] The files belonging to this database system will be owned by user "postgres".
2024-12-10T14:18:27.0956227Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] This user must also own the server process.
2024-12-10T14:18:27.0957315Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:27.0958620Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] The database cluster will be initialized with locale "en_US.utf8".
2024-12-10T14:18:27.0960275Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] The default database encoding has accordingly been set to "UTF8".
2024-12-10T14:18:27.0962120Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] The default text search configuration will be set to "english".
2024-12-10T14:18:27.0963323Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:27.0964471Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] Data page checksums are disabled.
2024-12-10T14:18:27.0965542Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:27.0966986Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] fixing permissions on existing directory /var/lib/postgresql/data ... ok
2024-12-10T14:18:27.0968492Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] creating subdirectories ... ok
2024-12-10T14:18:27.0969913Z 2024-12-10T14:18:27.093Z testcontainers:containers [ecf11391ba2d] selecting dynamic shared memory implementation ... posix
2024-12-10T14:18:27.1110721Z 2024-12-10T14:18:27.110Z testcontainers:containers [ecf11391ba2d] selecting default max_connections ... 100
2024-12-10T14:18:27.1316075Z 2024-12-10T14:18:27.131Z testcontainers:containers [ecf11391ba2d] selecting default shared_buffers ... 128MB
2024-12-10T14:18:27.2369991Z 2024-12-10T14:18:27.236Z testcontainers:containers [ecf11391ba2d] selecting default time zone ... UTC
2024-12-10T14:18:27.2412645Z 2024-12-10T14:18:27.241Z testcontainers:containers [ecf11391ba2d] creating configuration files ... ok
2024-12-10T14:18:27.4456904Z 2024-12-10T14:18:27.444Z testcontainers:containers [ecf11391ba2d] running bootstrap script ... ok
2024-12-10T14:18:27.7086760Z 2024-12-10T14:18:27.708Z testcontainers:containers [ecf11391ba2d] sh: locale: not found
2024-12-10T14:18:27.7106772Z 2024-12-10T14:18:27.710Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:27.707 UTC [30] WARNING:  no usable system locales were found
2024-12-10T14:18:27.7314837Z 2024-12-10T14:18:27.731Z testcontainers [DEBUG] Acquired lock file "/tmp/testcontainers-node.lock"
2024-12-10T14:18:27.7322808Z 2024-12-10T14:18:27.731Z testcontainers [DEBUG] Listing containers...
2024-12-10T14:18:27.7445854Z 2024-12-10T14:18:27.737Z testcontainers [DEBUG] Listed containers
2024-12-10T14:18:27.7448366Z 2024-12-10T14:18:27.737Z testcontainers [DEBUG] Reusing existing Reaper for session "8d56746aee09"...
2024-12-10T14:18:27.7450161Z 2024-12-10T14:18:27.737Z testcontainers [DEBUG] [6084ef7fc86b] Connecting to Reaper (attempt 1) on "localhost:32768"...
2024-12-10T14:18:27.7451700Z 2024-12-10T14:18:27.739Z testcontainers [DEBUG] [6084ef7fc86b] Connected to Reaper
2024-12-10T14:18:27.7453163Z 2024-12-10T14:18:27.740Z testcontainers [DEBUG] Releasing lock file "/tmp/testcontainers-node.lock"...
2024-12-10T14:18:27.7454454Z 2024-12-10T14:18:27.740Z testcontainers [DEBUG] Released lock file "/tmp/testcontainers-node.lock"
2024-12-10T14:18:27.7455676Z 2024-12-10T14:18:27.740Z testcontainers [DEBUG] Creating container for image "redis:7.2"...
2024-12-10T14:18:27.8096001Z 2024-12-10T14:18:27.808Z testcontainers [DEBUG] [7dcf4912c989] Created container for image "redis:7.2"
2024-12-10T14:18:27.8097343Z 2024-12-10T14:18:27.809Z testcontainers [INFO] [7dcf4912c989] Starting container for image "redis:7.2"...
2024-12-10T14:18:27.8098444Z 2024-12-10T14:18:27.809Z testcontainers [DEBUG] [7dcf4912c989] Starting container...
2024-12-10T14:18:28.1982741Z 2024-12-10T14:18:28.196Z testcontainers:containers [1d77751be93d] 
2024-12-10T14:18:28.1986096Z 2024-12-10T14:18:28.196Z testcontainers:containers [1d77751be93d] LocalStack version: 2.2.0
2024-12-10T14:18:28.1987374Z 2024-12-10T14:18:28.196Z testcontainers:containers [1d77751be93d] LocalStack build date: 2023-07-20
2024-12-10T14:18:28.1988703Z 2024-12-10T14:18:28.196Z testcontainers:containers [1d77751be93d] LocalStack build git hash: 2d70f768
2024-12-10T14:18:28.1989770Z 2024-12-10T14:18:28.196Z testcontainers:containers [1d77751be93d] 
2024-12-10T14:18:28.3743298Z 2024-12-10T14:18:28.373Z testcontainers [DEBUG] [7dcf4912c989] Started container
2024-12-10T14:18:28.3752181Z 2024-12-10T14:18:28.373Z testcontainers [INFO] [7dcf4912c989] Started container for image "redis:7.2"
2024-12-10T14:18:28.3753401Z 2024-12-10T14:18:28.373Z testcontainers [DEBUG] [7dcf4912c989] Inspecting container...
2024-12-10T14:18:28.3782221Z 2024-12-10T14:18:28.376Z testcontainers [DEBUG] [7dcf4912c989] Inspected container
2024-12-10T14:18:28.3813032Z 2024-12-10T14:18:28.376Z testcontainers [DEBUG] [7dcf4912c989] Fetching container logs...
2024-12-10T14:18:28.3814376Z 2024-12-10T14:18:28.377Z testcontainers [DEBUG] [7dcf4912c989] Demuxing stream...
2024-12-10T14:18:28.3815761Z 2024-12-10T14:18:28.377Z testcontainers [DEBUG] [7dcf4912c989] Demuxed stream
2024-12-10T14:18:28.3817019Z 2024-12-10T14:18:28.377Z testcontainers [DEBUG] [7dcf4912c989] Fetched container logs
2024-12-10T14:18:28.3818404Z 2024-12-10T14:18:28.377Z testcontainers [DEBUG] [7dcf4912c989] Waiting for container to be ready...
2024-12-10T14:18:28.3820912Z 2024-12-10T14:18:28.377Z testcontainers [DEBUG] [7dcf4912c989] Waiting for log message "Ready to accept connections"...
2024-12-10T14:18:28.3825523Z 2024-12-10T14:18:28.377Z testcontainers [DEBUG] [7dcf4912c989] Fetching container logs...
2024-12-10T14:18:28.3834708Z 2024-12-10T14:18:28.383Z testcontainers [DEBUG] [7dcf4912c989] Demuxing stream...
2024-12-10T14:18:28.3853395Z 2024-12-10T14:18:28.383Z testcontainers [DEBUG] [7dcf4912c989] Demuxed stream
2024-12-10T14:18:28.3856615Z 2024-12-10T14:18:28.385Z testcontainers [DEBUG] [7dcf4912c989] Fetched container logs
2024-12-10T14:18:28.4130162Z 2024-12-10T14:18:28.408Z testcontainers:containers [7dcf4912c989] 1:C 10 Dec 2024 14:18:28.408 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
2024-12-10T14:18:28.4134267Z 2024-12-10T14:18:28.410Z testcontainers:containers [7dcf4912c989] 1:C 10 Dec 2024 14:18:28.408 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
2024-12-10T14:18:28.4136577Z 2024-12-10T14:18:28.410Z testcontainers:containers [7dcf4912c989] 1:C 10 Dec 2024 14:18:28.408 * Redis version=7.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
2024-12-10T14:18:28.4139138Z 2024-12-10T14:18:28.410Z testcontainers:containers [7dcf4912c989] 1:C 10 Dec 2024 14:18:28.408 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
2024-12-10T14:18:28.4233440Z 2024-12-10T14:18:28.410Z testcontainers:containers [7dcf4912c989] 1:M 10 Dec 2024 14:18:28.408 * monotonic clock: POSIX clock_gettime
2024-12-10T14:18:28.4235131Z 2024-12-10T14:18:28.416Z testcontainers:containers [7dcf4912c989] 1:M 10 Dec 2024 14:18:28.412 * Running mode=standalone, port=6379.
2024-12-10T14:18:28.4236633Z 2024-12-10T14:18:28.416Z testcontainers:containers [7dcf4912c989] 1:M 10 Dec 2024 14:18:28.412 * Server initialized
2024-12-10T14:18:28.4238196Z 2024-12-10T14:18:28.419Z testcontainers:containers [7dcf4912c989] 1:M 10 Dec 2024 14:18:28.412 * Ready to accept connections tcp
2024-12-10T14:18:28.4239552Z 2024-12-10T14:18:28.419Z testcontainers [DEBUG] [7dcf4912c989] Log wait strategy complete
2024-12-10T14:18:28.4275767Z 2024-12-10T14:18:28.427Z testcontainers [INFO] [7dcf4912c989] Container is ready
2024-12-10T14:18:28.6745535Z 2024-12-10T14:18:28.673Z testcontainers:containers [1d77751be93d] 2024-12-10T14:18:28.672  INFO --- [-functhread3] hypercorn.error            : Running on https://0.0.0.0:4566 (CTRL + C to quit)
2024-12-10T14:18:28.6751620Z 2024-12-10T14:18:28.674Z testcontainers:containers [1d77751be93d] 2024-12-10T14:18:28.672  INFO --- [-functhread3] hypercorn.error            : Running on https://0.0.0.0:4566 (CTRL + C to quit)
2024-12-10T14:18:28.6829904Z 2024-12-10T14:18:28.682Z testcontainers:containers [ecf11391ba2d] performing post-bootstrap initialization ... ok
2024-12-10T14:18:28.7430414Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] initdb: warning: enabling "trust" authentication for local connections
2024-12-10T14:18:28.7435766Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] You can change this by editing pg_hba.conf or using the option -A, or
2024-12-10T14:18:28.7437672Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] --auth-local and --auth-host, the next time you run initdb.
2024-12-10T14:18:28.7439363Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] syncing data to disk ... ok
2024-12-10T14:18:28.7444112Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:28.7444979Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:28.7446220Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] Success. You can now start the database server using:
2024-12-10T14:18:28.7447386Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:28.7448666Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] pg_ctl -D /var/lib/postgresql/data -l logfile start
2024-12-10T14:18:28.7449754Z 2024-12-10T14:18:28.742Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:28.7642162Z 2024-12-10T14:18:28.763Z testcontainers:containers [ecf11391ba2d] waiting for server to start....2024-12-10 14:18:28.763 UTC [35] LOG:  starting PostgreSQL 13.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
2024-12-10T14:18:28.7666490Z 2024-12-10T14:18:28.766Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:28.765 UTC [35] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-12-10T14:18:28.7694381Z 2024-12-10T14:18:28.768Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:28.768 UTC [36] LOG:  database system was shut down at 2024-12-10 14:18:28 UTC
2024-12-10T14:18:28.7724514Z 2024-12-10T14:18:28.772Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:28.771 UTC [35] LOG:  database system is ready to accept connections
2024-12-10T14:18:28.8506471Z 2024-12-10T14:18:28.850Z testcontainers:containers [ecf11391ba2d] done
2024-12-10T14:18:28.8509109Z 2024-12-10T14:18:28.850Z testcontainers:containers [ecf11391ba2d] server started
2024-12-10T14:18:28.8693693Z 2024-12-10T14:18:28.869Z testcontainers:containers [1d77751be93d] Ready.
2024-12-10T14:18:28.8699088Z 2024-12-10T14:18:28.869Z testcontainers [DEBUG] [1d77751be93d] Log wait strategy complete
2024-12-10T14:18:28.8701666Z 2024-12-10T14:18:28.869Z testcontainers [INFO] [1d77751be93d] Container is ready
2024-12-10T14:18:28.9324822Z 2024-12-10T14:18:28.932Z testcontainers:containers [ecf11391ba2d] CREATE DATABASE
2024-12-10T14:18:28.9334241Z 2024-12-10T14:18:28.933Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:28.9339948Z 2024-12-10T14:18:28.933Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:28.9356123Z 2024-12-10T14:18:28.935Z testcontainers:containers [ecf11391ba2d] /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2024-12-10T14:18:28.9361358Z 2024-12-10T14:18:28.935Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:28.9366753Z 2024-12-10T14:18:28.936Z testcontainers:containers [ecf11391ba2d] waiting for server to shut down....2024-12-10 14:18:28.935 UTC [35] LOG:  received fast shutdown request
2024-12-10T14:18:28.9391747Z 2024-12-10T14:18:28.938Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:28.937 UTC [35] LOG:  aborting any active transactions
2024-12-10T14:18:28.9394385Z 2024-12-10T14:18:28.939Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:28.938 UTC [35] LOG:  background worker "logical replication launcher" (PID 42) exited with exit code 1
2024-12-10T14:18:28.9401096Z 2024-12-10T14:18:28.939Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:28.939 UTC [37] LOG:  shutting down
2024-12-10T14:18:28.9467817Z 2024-12-10T14:18:28.946Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:28.946 UTC [35] LOG:  database system is shut down
2024-12-10T14:18:29.0379433Z 2024-12-10T14:18:29.036Z testcontainers:containers [ecf11391ba2d] done
2024-12-10T14:18:29.0380464Z 2024-12-10T14:18:29.036Z testcontainers:containers [ecf11391ba2d] server stopped
2024-12-10T14:18:29.0384869Z 2024-12-10T14:18:29.037Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:29.0386094Z 2024-12-10T14:18:29.037Z testcontainers:containers [ecf11391ba2d] PostgreSQL init process complete; ready for start up.
2024-12-10T14:18:29.0387248Z 2024-12-10T14:18:29.037Z testcontainers:containers [ecf11391ba2d] 
2024-12-10T14:18:29.0531625Z 2024-12-10T14:18:29.052Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:29.052 UTC [1] LOG:  starting PostgreSQL 13.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 10.3.1_git20210424) 10.3.1 20210424, 64-bit
2024-12-10T14:18:29.0534962Z 2024-12-10T14:18:29.052Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:29.052 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-12-10T14:18:29.0536959Z 2024-12-10T14:18:29.052Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:29.052 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-12-10T14:18:29.0673785Z 2024-12-10T14:18:29.067Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:29.066 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-12-10T14:18:29.0702394Z 2024-12-10T14:18:29.069Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:29.069 UTC [49] LOG:  database system was shut down at 2024-12-10 14:18:28 UTC
2024-12-10T14:18:29.0748745Z 2024-12-10T14:18:29.072Z testcontainers [DEBUG] [ecf11391ba2d] Log wait strategy complete
2024-12-10T14:18:29.0749918Z 2024-12-10T14:18:29.073Z testcontainers [INFO] [ecf11391ba2d] Container is ready
2024-12-10T14:18:29.0750635Z Started test containers {
2024-12-10T14:18:29.0755963Z   db: '***localhost:32784/integration_test',
2024-12-10T14:18:29.0756563Z   redis: 'redis://localhost:32786',
2024-12-10T14:18:29.0757110Z   localstack: 'http://localhost:32785'
2024-12-10T14:18:29.0757560Z }
2024-12-10T14:18:30.4232741Z No config path provided, using default 'drizzle.config.ts'
2024-12-10T14:18:30.4236286Z Reading config file '/home/runner/work/orbital-client/orbital-client/packages/api/drizzle.config.ts'
2024-12-10T14:18:30.9602905Z Using 'pg' driver for database querying
2024-12-10T14:18:31.9674515Z 2024-12-10T14:18:31.967Z testcontainers:containers [ecf11391ba2d] 2024-12-10 14:18:29.072 UTC [1] LOG:  database system is ready to accept connections
2024-12-10T14:18:33.4657023Z 2024-12-10T14:18:33.465Z testcontainers:containers [1d77751be93d] 2024-12-10T14:18:33.464  INFO --- [   asgi_gw_0] localstack.request.aws     : AWS s3.CreateBucket => 200
2024-12-10T14:18:37.1725379Z [⣷] applying migrations...�[2K�[1G[⣯] applying migrations...�[2K�[1G[⣟] applying migrations...�[2K�[1G[⡿] applying migrations...�[2K�[1G[⢿] applying migrations...�[2K�[1G[⣻] applying migrations...�[2K�[1G[✓] migrations applied successfully![14:18:37.162] �[32mINFO�[39m (backgroundProcessing/6770): �[36mRegistering processor for queue: importBlocklistJob�[39m
2024-12-10T14:18:37.1923948Z [14:18:37.188] �[32mINFO�[39m (backgroundProcessing/6770): �[36mRegistering processor for queue: exportUsersJob�[39m
2024-12-10T14:18:37.2133992Z [14:18:37.191] �[32mINFO�[39m (backgroundProcessing/6770): �[36mRegistering processor for queue: user-import�[39m
2024-12-10T14:18:37.2136029Z [14:18:37.195] �[32mINFO�[39m (backgroundProcessing/6770): �[36mRegistering processor for queue: csv-user-import�[39m
2024-12-10T14:18:37.2137893Z [14:18:37.198] �[32mINFO�[39m (backgroundProcessing/6770): �[36mRegistering processor for queue: direct-user-import�[39m
2024-12-10T14:18:37.2376234Z flushing redis
2024-12-10T14:18:47.3049734Z Error on redis flush MaxRetriesPerRequestError: Reached the max retries per request limit (which is 1). Refer to "maxRetriesPerRequest" option for details.
2024-12-10T14:18:47.3053174Z     at Socket.<anonymous> (/home/runner/work/orbital-client/orbital-client/.yarn/cache/ioredis-npm-5.4.1-c96e18ae67-9043b812ac.zip/node_modules/ioredis/built/redis/event_handler.js:182:37)
2024-12-10T14:18:47.3054570Z     at Object.onceWrapper (node:events:633:26)
2024-12-10T14:18:47.3055109Z     at Socket.emit (node:events:518:28)
2024-12-10T14:18:47.3055621Z     at TCP.<anonymous> (node:net:337:12)
2024-12-10T14:18:47.3258664Z CONTAINER ID   IMAGE                         COMMAND                  CREATED          STATUS                    PORTS                                                                  NAMES
2024-12-10T14:18:47.3261372Z 7dcf4912c989   redis:7.2                     "docker-entrypoint.s…"   20 seconds ago   Up 18 seconds             0.0.0.0:32787->6379/tcp, :::32786->6379/tcp                            pensive_proskuriakova
2024-12-10T14:18:47.3263542Z 1d77751be93d   localstack/localstack:2.2.0   "docker-entrypoint.sh"   21 seconds ago   Up 20 seconds (healthy)   4510-4559/tcp, 5678/tcp, 0.0.0.0:32786->4566/tcp, :::32785->4566/tcp   zen_williams
2024-12-10T14:18:47.3266155Z ecf11391ba2d   postgres:13.3-alpine          "docker-entrypoint.s…"   21 seconds ago   Up 20 seconds             0.0.0.0:32785->5432/tcp, :::32784->5432/tcp                            dreamy_wescoff
2024-12-10T14:18:47.3269617Z 6084ef7fc86b   testcontainers/ryuk:0.5.1     "/bin/ryuk"              3 minutes ago    Up 3 minutes              0.0.0.0:32768->8080/tcp, :::32768->8080/tcp                            testcontainers-ryuk-8d56746aee09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Investigation required
Projects
None yet
Development

No branches or pull requests

4 participants