diff --git a/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/.tusk/config.yaml b/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/.tusk/config.yaml index 5bd68e0e..6d2a34fb 100644 --- a/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/.tusk/config.yaml +++ b/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/Dockerfile b/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/Dockerfile index 596f6aff..8400845f 100644 --- a/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/Dockerfile +++ b/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/docker-compose.yml b/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/docker-compose.yml index aee491a9..685c1114 100644 --- a/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/docker-compose.yml +++ b/src/instrumentation/libraries/fetch/e2e-tests/cjs-fetch/docker-compose.yml @@ -13,6 +13,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - TUSK_ANALYTICS_DISABLED=1 diff --git a/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/.tusk/config.yaml b/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/.tusk/config.yaml index 4e50c427..c002ec90 100644 --- a/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/.tusk/config.yaml +++ b/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/Dockerfile b/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/Dockerfile index 67d9ce4b..da37ce57 100644 --- a/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/Dockerfile +++ b/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/docker-compose.yml b/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/docker-compose.yml index c28bf498..e07ee9b4 100644 --- a/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/docker-compose.yml +++ b/src/instrumentation/libraries/fetch/e2e-tests/esm-fetch/docker-compose.yml @@ -13,6 +13,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - TUSK_ANALYTICS_DISABLED=1 diff --git a/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/.tusk/config.yaml b/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/.tusk/config.yaml index a0244ab3..6bfa3a53 100644 --- a/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/.tusk/config.yaml +++ b/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/.tusk/config.yaml @@ -31,4 +31,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/Dockerfile b/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/Dockerfile index 4d40c397..442338c3 100644 --- a/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/Dockerfile +++ b/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/tsconfig.js ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/docker-compose.yml b/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/docker-compose.yml index d9218622..71ea30c2 100644 --- a/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/docker-compose.yml +++ b/src/instrumentation/libraries/firestore/e2e-tests/cjs-firestore/docker-compose.yml @@ -6,6 +6,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - FIREBASE_PROJECT_ID=${FIREBASE_PROJECT_ID} diff --git a/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/.tusk/config.yaml b/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/.tusk/config.yaml index 2ecc08cf..18f92325 100644 --- a/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/.tusk/config.yaml +++ b/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/.tusk/config.yaml @@ -31,4 +31,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/Dockerfile b/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/Dockerfile index 39284759..260dd79b 100644 --- a/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/Dockerfile +++ b/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/Dockerfile @@ -13,6 +13,9 @@ RUN npm install ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/docker-compose.yml b/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/docker-compose.yml index c44137e4..3010cb09 100644 --- a/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/docker-compose.yml +++ b/src/instrumentation/libraries/firestore/e2e-tests/esm-firestore/docker-compose.yml @@ -6,6 +6,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - FIREBASE_PROJECT_ID=${FIREBASE_PROJECT_ID} diff --git a/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/.tusk/config.yaml b/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/.tusk/config.yaml index 3357ec39..d5c7777a 100644 --- a/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/.tusk/config.yaml +++ b/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/.tusk/config.yaml @@ -30,4 +30,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/Dockerfile b/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/Dockerfile index ebc5fd63..a695d441 100644 --- a/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/Dockerfile +++ b/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/docker-compose.yml b/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/docker-compose.yml index db69890c..1fdfd93a 100644 --- a/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/docker-compose.yml +++ b/src/instrumentation/libraries/grpc/e2e-tests/cjs-grpc/docker-compose.yml @@ -6,6 +6,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/.tusk/config.yaml b/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/.tusk/config.yaml index 692b02cd..40c7aef9 100644 --- a/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/.tusk/config.yaml +++ b/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/.tusk/config.yaml @@ -30,4 +30,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/Dockerfile b/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/Dockerfile index 5d1a9e37..6d25cdf4 100644 --- a/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/Dockerfile +++ b/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/docker-compose.yml b/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/docker-compose.yml index 21bc96e0..ab9c3bbd 100644 --- a/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/docker-compose.yml +++ b/src/instrumentation/libraries/grpc/e2e-tests/esm-grpc/docker-compose.yml @@ -6,6 +6,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/http/e2e-tests/cjs-http/.tusk/config.yaml b/src/instrumentation/libraries/http/e2e-tests/cjs-http/.tusk/config.yaml index b95fcefd..4a8c06a2 100644 --- a/src/instrumentation/libraries/http/e2e-tests/cjs-http/.tusk/config.yaml +++ b/src/instrumentation/libraries/http/e2e-tests/cjs-http/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/http/e2e-tests/cjs-http/Dockerfile b/src/instrumentation/libraries/http/e2e-tests/cjs-http/Dockerfile index 614b1463..437d46ef 100644 --- a/src/instrumentation/libraries/http/e2e-tests/cjs-http/Dockerfile +++ b/src/instrumentation/libraries/http/e2e-tests/cjs-http/Dockerfile @@ -17,6 +17,9 @@ RUN mkdir -p /app/.tusk/traces /app/.tusk/logs ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/http/e2e-tests/cjs-http/docker-compose.yml b/src/instrumentation/libraries/http/e2e-tests/cjs-http/docker-compose.yml index f57a5013..d857d572 100644 --- a/src/instrumentation/libraries/http/e2e-tests/cjs-http/docker-compose.yml +++ b/src/instrumentation/libraries/http/e2e-tests/cjs-http/docker-compose.yml @@ -15,6 +15,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - TUSK_ANALYTICS_DISABLED=1 diff --git a/src/instrumentation/libraries/http/e2e-tests/esm-http/.tusk/config.yaml b/src/instrumentation/libraries/http/e2e-tests/esm-http/.tusk/config.yaml index 59c4a7e8..57ac4869 100644 --- a/src/instrumentation/libraries/http/e2e-tests/esm-http/.tusk/config.yaml +++ b/src/instrumentation/libraries/http/e2e-tests/esm-http/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/http/e2e-tests/esm-http/Dockerfile b/src/instrumentation/libraries/http/e2e-tests/esm-http/Dockerfile index 1c39e3e4..0c4afb84 100644 --- a/src/instrumentation/libraries/http/e2e-tests/esm-http/Dockerfile +++ b/src/instrumentation/libraries/http/e2e-tests/esm-http/Dockerfile @@ -17,6 +17,9 @@ RUN mkdir -p /app/.tusk/traces /app/.tusk/logs ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/http/e2e-tests/esm-http/docker-compose.yml b/src/instrumentation/libraries/http/e2e-tests/esm-http/docker-compose.yml index 2ea3b39a..270988a1 100644 --- a/src/instrumentation/libraries/http/e2e-tests/esm-http/docker-compose.yml +++ b/src/instrumentation/libraries/http/e2e-tests/esm-http/docker-compose.yml @@ -15,6 +15,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - TUSK_ANALYTICS_DISABLED=1 diff --git a/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/.tusk/config.yaml b/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/.tusk/config.yaml index db1ac90a..89817e26 100644 --- a/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/.tusk/config.yaml +++ b/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/.tusk/config.yaml @@ -27,4 +27,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/Dockerfile b/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/Dockerfile index c96647eb..d76b0e7d 100644 --- a/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/Dockerfile +++ b/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/tsconfig.json . ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/docker-compose.yml b/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/docker-compose.yml index 9fb4395a..445da7da 100644 --- a/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/docker-compose.yml +++ b/src/instrumentation/libraries/ioredis/e2e-tests/cjs-ioredis/docker-compose.yml @@ -14,6 +14,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - REDIS_HOST=redis diff --git a/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/.tusk/config.yaml b/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/.tusk/config.yaml index 65fda817..d73e468b 100644 --- a/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/.tusk/config.yaml +++ b/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/.tusk/config.yaml @@ -27,4 +27,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/Dockerfile b/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/Dockerfile index 0d196b02..772c8dec 100644 --- a/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/Dockerfile +++ b/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/tsconfig.json . ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/docker-compose.yml b/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/docker-compose.yml index ba07aab9..389acf6b 100644 --- a/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/docker-compose.yml +++ b/src/instrumentation/libraries/ioredis/e2e-tests/esm-ioredis/docker-compose.yml @@ -14,6 +14,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - REDIS_HOST=redis diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/.tusk/config.yaml b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/.tusk/config.yaml index f8e2b26c..8a7b92fc 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/.tusk/config.yaml +++ b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/Dockerfile b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/Dockerfile index 658cced9..d0348b54 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/Dockerfile +++ b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/tsconfig.jso ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/docker-compose.yml b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/docker-compose.yml index f409e79f..49502b8e 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/docker-compose.yml +++ b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb-v4/docker-compose.yml @@ -24,6 +24,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/.tusk/config.yaml b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/.tusk/config.yaml index a2cc7489..4a29af99 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/.tusk/config.yaml +++ b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/Dockerfile b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/Dockerfile index 4600b342..f6352a56 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/Dockerfile +++ b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/tsconfig.json . ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/docker-compose.yml b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/docker-compose.yml index 239c2021..488919d6 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/docker-compose.yml +++ b/src/instrumentation/libraries/mongodb/e2e-tests/cjs-mongodb/docker-compose.yml @@ -24,6 +24,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/.tusk/config.yaml b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/.tusk/config.yaml index 94c12633..4c2b8eea 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/.tusk/config.yaml +++ b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/Dockerfile b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/Dockerfile index 4d6ee48c..1bcd82f3 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/Dockerfile +++ b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/tsconfig.jso ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/docker-compose.yml b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/docker-compose.yml index a4de2ba7..4e8cdf5a 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/docker-compose.yml +++ b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb-v4/docker-compose.yml @@ -24,6 +24,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/.tusk/config.yaml b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/.tusk/config.yaml index e57870e5..9e1f798a 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/.tusk/config.yaml +++ b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/Dockerfile b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/Dockerfile index a62ab87a..74998d79 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/Dockerfile +++ b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/tsconfig.json . ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/docker-compose.yml b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/docker-compose.yml index 9fdfebf7..23214903 100644 --- a/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/docker-compose.yml +++ b/src/instrumentation/libraries/mongodb/e2e-tests/esm-mongodb/docker-compose.yml @@ -24,6 +24,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/.tusk/config.yaml b/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/.tusk/config.yaml index 7ad0e396..ee550a60 100644 --- a/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/.tusk/config.yaml +++ b/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/.tusk/config.yaml @@ -30,4 +30,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/Dockerfile b/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/Dockerfile index 3c32e223..bbee873f 100644 --- a/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/Dockerfile +++ b/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/docker-compose.yml b/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/docker-compose.yml index 955cdd69..bf247070 100644 --- a/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/docker-compose.yml +++ b/src/instrumentation/libraries/mysql/e2e-tests/cjs-mysql/docker-compose.yml @@ -20,6 +20,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - MYSQL_HOST=mysql diff --git a/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/.tusk/config.yaml b/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/.tusk/config.yaml index 588fb706..4b04aca0 100644 --- a/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/.tusk/config.yaml +++ b/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/.tusk/config.yaml @@ -30,4 +30,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/Dockerfile b/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/Dockerfile index 8eb61a01..d901033c 100644 --- a/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/Dockerfile +++ b/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/docker-compose.yml b/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/docker-compose.yml index e0beefa3..8f281e88 100644 --- a/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/docker-compose.yml +++ b/src/instrumentation/libraries/mysql/e2e-tests/esm-mysql/docker-compose.yml @@ -20,6 +20,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - MYSQL_HOST=mysql diff --git a/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/.tusk/config.yaml b/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/.tusk/config.yaml index 541eaa05..2bfb6141 100644 --- a/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/.tusk/config.yaml +++ b/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/Dockerfile b/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/Dockerfile index bf5edd7a..325c33ff 100644 --- a/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/Dockerfile +++ b/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/docker-compose.yml b/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/docker-compose.yml index afff31a4..71cb7c94 100644 --- a/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/docker-compose.yml +++ b/src/instrumentation/libraries/mysql2/e2e-tests/cjs-mysql2/docker-compose.yml @@ -19,6 +19,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - MYSQL_HOST=mysql diff --git a/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/.tusk/config.yaml b/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/.tusk/config.yaml index 72bca8b8..6408d3b0 100644 --- a/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/.tusk/config.yaml +++ b/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/Dockerfile b/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/Dockerfile index 37484c9b..7894eb0f 100644 --- a/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/Dockerfile +++ b/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/docker-compose.yml b/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/docker-compose.yml index 3f9c24f8..bfc52a8d 100644 --- a/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/docker-compose.yml +++ b/src/instrumentation/libraries/mysql2/e2e-tests/esm-mysql2/docker-compose.yml @@ -19,6 +19,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - MYSQL_HOST=mysql diff --git a/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/.tusk/config.yaml b/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/.tusk/config.yaml index 18c90d24..c22fdf61 100644 --- a/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/.tusk/config.yaml +++ b/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/Dockerfile b/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/Dockerfile index 5a4bc22a..6ecc577f 100644 --- a/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/Dockerfile +++ b/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/Dockerfile @@ -11,6 +11,9 @@ COPY src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/next.config.js ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/docker-compose.yml b/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/docker-compose.yml index 53e413ff..0dd0eec8 100644 --- a/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/docker-compose.yml +++ b/src/instrumentation/libraries/nextjs/e2e-tests/cjs-nextjs/docker-compose.yml @@ -13,6 +13,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - NODE_PATH=/sdk/node_modules diff --git a/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/.tusk/config.yaml b/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/.tusk/config.yaml index 232f52a2..4eac1bd6 100644 --- a/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/.tusk/config.yaml +++ b/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/Dockerfile b/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/Dockerfile index 65e2c8e9..c4469f15 100644 --- a/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/Dockerfile +++ b/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/Dockerfile @@ -11,6 +11,9 @@ COPY src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/next.config.mjs . ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/docker-compose.yml b/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/docker-compose.yml index 1d07105f..c84a8d41 100644 --- a/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/docker-compose.yml +++ b/src/instrumentation/libraries/nextjs/e2e-tests/esm-nextjs/docker-compose.yml @@ -13,6 +13,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - NODE_PATH=/sdk/node_modules diff --git a/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/.tusk/config.yaml b/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/.tusk/config.yaml index 15d5b627..acc31ea1 100644 --- a/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/.tusk/config.yaml +++ b/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/Dockerfile b/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/Dockerfile index 843986e6..3f1e60ea 100644 --- a/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/Dockerfile +++ b/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/pg/e2e-tests/cjs-pg/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/docker-compose.yml b/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/docker-compose.yml index 8a333067..95f6ed88 100644 --- a/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/docker-compose.yml +++ b/src/instrumentation/libraries/pg/e2e-tests/cjs-pg/docker-compose.yml @@ -18,6 +18,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/pg/e2e-tests/esm-pg/.tusk/config.yaml b/src/instrumentation/libraries/pg/e2e-tests/esm-pg/.tusk/config.yaml index 2ae9e236..02afae3b 100644 --- a/src/instrumentation/libraries/pg/e2e-tests/esm-pg/.tusk/config.yaml +++ b/src/instrumentation/libraries/pg/e2e-tests/esm-pg/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/pg/e2e-tests/esm-pg/Dockerfile b/src/instrumentation/libraries/pg/e2e-tests/esm-pg/Dockerfile index facdcb78..f306a960 100644 --- a/src/instrumentation/libraries/pg/e2e-tests/esm-pg/Dockerfile +++ b/src/instrumentation/libraries/pg/e2e-tests/esm-pg/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/pg/e2e-tests/esm-pg/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/pg/e2e-tests/esm-pg/docker-compose.yml b/src/instrumentation/libraries/pg/e2e-tests/esm-pg/docker-compose.yml index 936b3380..0074a3eb 100644 --- a/src/instrumentation/libraries/pg/e2e-tests/esm-pg/docker-compose.yml +++ b/src/instrumentation/libraries/pg/e2e-tests/esm-pg/docker-compose.yml @@ -18,6 +18,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/.tusk/config.yaml b/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/.tusk/config.yaml index fca36acf..e1399a7e 100644 --- a/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/.tusk/config.yaml +++ b/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/.tusk/config.yaml @@ -30,4 +30,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/Dockerfile b/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/Dockerfile index d859bc8f..5a867567 100644 --- a/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/Dockerfile +++ b/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/tsconfig.json ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/docker-compose.yml b/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/docker-compose.yml index adce61c9..20018a71 100644 --- a/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/docker-compose.yml +++ b/src/instrumentation/libraries/postgres/e2e-tests/cjs-postgres/docker-compose.yml @@ -18,6 +18,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/.tusk/config.yaml b/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/.tusk/config.yaml index c5659b52..c123c309 100644 --- a/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/.tusk/config.yaml +++ b/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/.tusk/config.yaml @@ -30,4 +30,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/Dockerfile b/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/Dockerfile index 9e886fbd..ee1565f9 100644 --- a/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/Dockerfile +++ b/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/Dockerfile @@ -8,6 +8,10 @@ COPY src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/tsconfig.json # Add cache-busting argument to force fresh CLI download ARG CACHEBUST=1 + +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh diff --git a/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/docker-compose.yml b/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/docker-compose.yml index 3fb21723..26a1a409 100644 --- a/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/docker-compose.yml +++ b/src/instrumentation/libraries/postgres/e2e-tests/esm-postgres/docker-compose.yml @@ -18,6 +18,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - BENCHMARKS=${BENCHMARKS:-} - BENCHMARK_DURATION=${BENCHMARK_DURATION:-5} diff --git a/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/.tusk/config.yaml b/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/.tusk/config.yaml index d5e21a0a..a9055373 100644 --- a/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/.tusk/config.yaml +++ b/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/.tusk/config.yaml @@ -26,4 +26,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/Dockerfile b/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/Dockerfile index b46fefba..7a9652e2 100644 --- a/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/Dockerfile +++ b/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/Dockerfile @@ -13,6 +13,9 @@ COPY src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/prisma ./prisma ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/docker-compose.yml b/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/docker-compose.yml index d6cae555..51d41687 100644 --- a/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/docker-compose.yml +++ b/src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/docker-compose.yml @@ -17,6 +17,11 @@ services: build: context: ../../../../../../ dockerfile: src/instrumentation/libraries/prisma/e2e-tests/cjs-prisma/Dockerfile + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: DATABASE_URL: "postgresql://testuser:testpass@postgres:5432/testdb?schema=public" PORT: 3000 diff --git a/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/.tusk/config.yaml b/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/.tusk/config.yaml index 7c6ff992..53bcf2ba 100644 --- a/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/.tusk/config.yaml +++ b/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/.tusk/config.yaml @@ -28,4 +28,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/Dockerfile b/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/Dockerfile index fd134221..c826b966 100644 --- a/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/Dockerfile +++ b/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/Dockerfile @@ -13,6 +13,9 @@ COPY src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/prisma ./prisma ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/docker-compose.yml b/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/docker-compose.yml index d086e53c..30506ef2 100644 --- a/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/docker-compose.yml +++ b/src/instrumentation/libraries/prisma/e2e-tests/esm-prisma/docker-compose.yml @@ -20,6 +20,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: DATABASE_URL: "postgresql://testuser:testpass@postgres:5432/testdb?schema=public" PORT: 3000 diff --git a/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/.tusk/config.yaml b/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/.tusk/config.yaml index 34b470b6..b25e9678 100644 --- a/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/.tusk/config.yaml +++ b/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/.tusk/config.yaml @@ -27,4 +27,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/Dockerfile b/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/Dockerfile index 60473d81..c07d912c 100644 --- a/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/Dockerfile +++ b/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/redis/e2e-tests/cjs-redis/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/docker-compose.yml b/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/docker-compose.yml index 4d2e99a6..8a76d175 100644 --- a/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/docker-compose.yml +++ b/src/instrumentation/libraries/redis/e2e-tests/cjs-redis/docker-compose.yml @@ -14,6 +14,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - REDIS_HOST=redis diff --git a/src/instrumentation/libraries/redis/e2e-tests/esm-redis/.tusk/config.yaml b/src/instrumentation/libraries/redis/e2e-tests/esm-redis/.tusk/config.yaml index 072e1ffb..967cbe5b 100644 --- a/src/instrumentation/libraries/redis/e2e-tests/esm-redis/.tusk/config.yaml +++ b/src/instrumentation/libraries/redis/e2e-tests/esm-redis/.tusk/config.yaml @@ -27,4 +27,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/redis/e2e-tests/esm-redis/Dockerfile b/src/instrumentation/libraries/redis/e2e-tests/esm-redis/Dockerfile index 69d0a9e1..a88b7fcf 100644 --- a/src/instrumentation/libraries/redis/e2e-tests/esm-redis/Dockerfile +++ b/src/instrumentation/libraries/redis/e2e-tests/esm-redis/Dockerfile @@ -10,6 +10,9 @@ COPY src/instrumentation/libraries/redis/e2e-tests/esm-redis/tsconfig.json ./ ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + # Install Tusk Drift CLI RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ diff --git a/src/instrumentation/libraries/redis/e2e-tests/esm-redis/docker-compose.yml b/src/instrumentation/libraries/redis/e2e-tests/esm-redis/docker-compose.yml index 88332222..51f05ffb 100644 --- a/src/instrumentation/libraries/redis/e2e-tests/esm-redis/docker-compose.yml +++ b/src/instrumentation/libraries/redis/e2e-tests/esm-redis/docker-compose.yml @@ -14,6 +14,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - REDIS_HOST=redis diff --git a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/.tusk/config.yaml b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/.tusk/config.yaml index cfc90f9b..82dac15d 100644 --- a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/.tusk/config.yaml +++ b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/.tusk/config.yaml @@ -31,4 +31,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/Dockerfile b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/Dockerfile index 9de940b7..1143eb33 100644 --- a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/Dockerfile +++ b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/Dockerfile @@ -8,6 +8,9 @@ COPY src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis- ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ else \ diff --git a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/docker-compose.yml b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/docker-compose.yml index 6dc8b3a5..abf8c2e3 100644 --- a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/docker-compose.yml +++ b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/cjs-upstash-redis-js/docker-compose.yml @@ -6,6 +6,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - UPSTASH_REDIS_REST_URL=${UPSTASH_REDIS_REST_URL} diff --git a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/.tusk/config.yaml b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/.tusk/config.yaml index 6be3524c..435b327e 100644 --- a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/.tusk/config.yaml +++ b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/.tusk/config.yaml @@ -31,4 +31,6 @@ recording: export_spans: false replay: + sandbox: + mode: strict enable_telemetry: false diff --git a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/Dockerfile b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/Dockerfile index 2cdb8cb0..2473965f 100644 --- a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/Dockerfile +++ b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/Dockerfile @@ -8,6 +8,9 @@ COPY src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis- ARG CACHEBUST=1 ARG TUSK_CLI_VERSION=latest +# Required for strict replay sandbox mode. +RUN apt-get update && apt-get install -y socat bubblewrap && rm -rf /var/lib/apt/lists/* + RUN if [ "$TUSK_CLI_VERSION" = "latest" ]; then \ curl -fsSL https://raw.githubusercontent.com/Use-Tusk/tusk-drift-cli/main/install.sh | sh; \ else \ diff --git a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/docker-compose.yml b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/docker-compose.yml index 34db67f5..88c90c6f 100644 --- a/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/docker-compose.yml +++ b/src/instrumentation/libraries/upstash-redis-js/e2e-tests/esm-upstash-redis-js/docker-compose.yml @@ -6,6 +6,11 @@ services: args: - CACHEBUST=${CACHEBUST:-1} - TUSK_CLI_VERSION=${TUSK_CLI_VERSION:-latest} + cap_add: + - SYS_ADMIN + security_opt: + - seccomp=unconfined + - apparmor=unconfined environment: - PORT=3000 - UPSTASH_REDIS_REST_URL=${UPSTASH_REDIS_REST_URL}