Skip to content

[feat] add e2e tests using new tuistory package #4980

[feat] add e2e tests using new tuistory package

[feat] add e2e tests using new tuistory package #4980

Triggered via pull request December 8, 2025 22:04
Status Failure
Total duration 10m 38s
Artifacts

ci.yml

on: pull_request
build-and-check
2m 31s
build-and-check
Matrix: test-integration
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 4 warnings
error: expect(received).toEqual(expected): cli/src/utils/__tests__/keyboard-actions.test.ts#L251
{ - "type": "none", + "type": "slash-menu-select", } - Expected - 1 + Received + 1 at <anonymous> (/home/runner/work/***/***/cli/src/utils/__***s__/keyboard-actions.***.ts:251:67)
error: Failed to start e2e database container: Command failed: E2E_CONTAINER_NAME=manicode-e2e-chat-interaction-1765231707163 E2E_DB_PORT=5433 docker compose -f /home/runner/work/codebuff/codebuff/packages/internal/src/db/docker-compose.e2e.yml up -d --wait: cli/src/__tests__/e2e/test-db-utils.ts#L64
0e4bc2bd6656 Pulling fs layer 115db6d16b77 Pulling fs layer e8ff652dc231 Pulling fs layer ef2bcb52083b Pulling fs layer 49c4e00df3b4 Pulling fs layer 34fde4663855 Pulling fs layer a9fe86bc7f87 Pulling fs layer a2e54379c540 Pulling fs layer 2b3e79aa53c6 Pulling fs layer 2edb059d627d Pulling fs layer 9bb5da4cc6c3 Pulling fs layer 9d6744175495 Pulling fs layer 65e5c9408eb3 Pulling fs layer 5e588012c944 Pulling fs layer a2e54379c540 Waiting 2b3e79aa53c6 Waiting 2edb059d627d Waiting 9bb5da4cc6c3 Waiting 9d6744175495 Waiting 65e5c9408eb3 Waiting 5e588012c944 Waiting 49c4e00df3b4 Waiting a9fe86bc7f87 Waiting 34fde4663855 Waiting ef2bcb52083b Waiting 115db6d16b77 Downloading [=======================================> ] 934B/1.168kB 115db6d16b77 Downloading [==================================================>] 1.168kB/1.168kB 115db6d16b77 Download complete e8ff652dc231 Downloading [> ] 67.47kB/6.437MB 0e4bc2bd6656 Downloading [> ] 304.4kB/29.78MB e8ff652dc231 Downloading [================================> ] 4.225MB/6.437MB 0e4bc2bd6656 Downloading [=======> ] 4.222MB/29.78MB ef2bcb52083b Downloading [> ] 13.76kB/1.257MB ef2bcb52083b Verifying Checksum ef2bcb52083b Download complete e8ff652dc231 Downloading [=======================================> ] 5.036MB/6.437MB 0e4bc2bd6656 Downloading [==========> ] 6.341MB/29.78MB e8ff652dc231 Verifying Checksum e8ff652dc231 Download complete 49c4e00df3b4 Downloading [> ] 84.39kB/8.204MB 0e4bc2bd6656 Downloading [===============> ] 9.08MB/29.78MB 34fde4663855 Downloading [> ] 13.25kB/1.311MB 0e4bc2bd6656 Downloading [===========================> ] 16.44MB/29.78MB 34fde4663855 Verifying Checksum 34fde4663855 Download complete 49c4e00df3b4 Downloading [===============================> ] 5.095MB/8.204MB 49c4e00df3b4 Downloading [==================================================>] 8.204MB/8.204MB 49c4e00df3b4 Verifying Checksum 49c4e00df3b4 Download complete a9fe86bc7f87 Downloading [==================================================>] 116B/116B a9fe86bc7f87 Verifying Checksum a9fe86bc7f87 Download complete 0e4bc2bd6656 Downloading [====================================> ] 21.6MB/29.78MB 0e4bc2bd6656 Verifying Checksum 0e4bc2bd6656 Download complete 2b3e79aa53c6 Downloading [> ] 535.9kB/113.1MB a2e54379c540 Downloading [==============> ] 934B/3.143kB a2e54379c540 Downloading [==================================================>] 3.143kB/3.143kB a2e54379c540 Download complete 0e4bc2bd6656 Extracting [> ] 327.7kB/29.78MB 2edb059d627d Downloading [====> ] 933B/10.01kB 2edb059d627d Downloading [==================================================>] 10.01kB/10.01kB 2edb059d627d Verifying Checksum 2edb059d627d Download complete 0e4bc2bd6656 Extracting [===========> ] 6.881MB/29.78MB 9bb5da4cc6c3 Downloading [==================================================>] 128B/128B 9bb5da4cc6c3 Verifying Checksum 9bb5da4cc6c3 Download complete 2b3e79aa53c6 Downloading [===> ] 7.454MB/113.1MB 9d6744175495 Downloading [==================================================>] 168B/168B 9d6744175495 Verifying Checksum 9d6744175495 Download complete 0e4bc2bd6656 Extracting [==================> ] 11.14MB/29.78MB 2b3e79aa53c6 Download
error: Failed to start e2e database container: Command failed: E2E_CONTAINER_NAME=manicode-e2e-error-scenarios-1765231732676 E2E_DB_PORT=5433 docker compose -f /home/runner/work/codebuff/codebuff/packages/internal/src/db/docker-compose.e2e.yml up -d --wait: cli/src/__tests__/e2e/test-db-utils.ts#L64
Network manicode-e2e-error-scenarios-1765231732676_default Created Container manicode-e2e-error-scenarios-1765231732676-db-1 Creating Container manicode-e2e-error-scenarios-1765231732676-db-1 Created Container manicode-e2e-error-scenarios-1765231732676-db-1 Starting Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint manicode-e2e-error-scenarios-1765231732676-db-1 (84884ac0c677f32a93313f7a3e62c7e63e39fd40c9f753869746b18423ddefb3): Bind for 0.0.0.0:5433 failed: port is already allocated at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:64:15) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:46:41) at createE2ETestContext (/home/runner/work/***/***/cli/src/__***s__/e2e/***-cli-utils.ts:188:20) at async <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:761:17) at spawnSync (node:child_process:226:22) at execSync (node:child_process:275:109) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:55:5) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:46:41) at createE2ETestContext (/home/runner/work/***/***/cli/src/__***s__/e2e/***-cli-utils.ts:188:20)
error: Failed to start e2e database container: Command failed: E2E_CONTAINER_NAME=manicode-e2e-keyboard-interaction-1765231732318 E2E_DB_PORT=5433 docker compose -f /home/runner/work/codebuff/codebuff/packages/internal/src/db/docker-compose.e2e.yml up -d --wait: cli/src/__tests__/e2e/test-db-utils.ts#L64
Network manicode-e2e-keyboard-interaction-1765231732318_default Created Container manicode-e2e-keyboard-interaction-1765231732318-db-1 Creating Container manicode-e2e-keyboard-interaction-1765231732318-db-1 Created Container manicode-e2e-keyboard-interaction-1765231732318-db-1 Starting Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint manicode-e2e-keyboard-interaction-1765231732318-db-1 (2df377e8253b37e01ed5107e2afd8c3326ef7aaffc96678f3e90abee9f05aa7a): Bind for 0.0.0.0:5433 failed: port is already allocated at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:64:15) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:46:41) at createE2ETestContext (/home/runner/work/***/***/cli/src/__***s__/e2e/***-cli-utils.ts:188:20) at async <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:619:17) at spawnSync (node:child_process:226:22) at execSync (node:child_process:275:109) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:55:5) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:46:41) at createE2ETestContext (/home/runner/work/***/***/cli/src/__***s__/e2e/***-cli-utils.ts:188:20)
error: Failed to start e2e database container: Command failed: E2E_CONTAINER_NAME=manicode-e2e-cli-flags-1765231731926 E2E_DB_PORT=5433 docker compose -f /home/runner/work/codebuff/codebuff/packages/internal/src/db/docker-compose.e2e.yml up -d --wait: cli/src/__tests__/e2e/test-db-utils.ts#L64
Network manicode-e2e-cli-flags-1765231731926_default Created Container manicode-e2e-cli-flags-1765231731926-db-1 Creating Container manicode-e2e-cli-flags-1765231731926-db-1 Created Container manicode-e2e-cli-flags-1765231731926-db-1 Starting Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint manicode-e2e-cli-flags-1765231731926-db-1 (04c06394832f06cfa174a4354a3cf1707c65c6637fc919ba1b0e8e7d46fdfcb9): Bind for 0.0.0.0:5433 failed: port is already allocated at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:64:15) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:46:41) at createE2ETestContext (/home/runner/work/***/***/cli/src/__***s__/e2e/***-cli-utils.ts:188:20) at async <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:517:17) at spawnSync (node:child_process:226:22) at execSync (node:child_process:275:109) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:55:5) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:46:41) at createE2ETestContext (/home/runner/work/***/***/cli/src/__***s__/e2e/***-cli-utils.ts:188:20)
error: Failed to start e2e database container: Command failed: E2E_CONTAINER_NAME=manicode-e2e-additional-slash-com-1765231731577 E2E_DB_PORT=5433 docker compose -f /home/runner/work/codebuff/codebuff/packages/internal/src/db/docker-compose.e2e.yml up -d --wait: cli/src/__tests__/e2e/test-db-utils.ts#L64
Network manicode-e2e-additional-slash-com-1765231731577_default Created Container manicode-e2e-additional-slash-com-1765231731577-db-1 Creating Container manicode-e2e-additional-slash-com-1765231731577-db-1 Created Container manicode-e2e-additional-slash-com-1765231731577-db-1 Starting Error response from daemon: failed to set up container networking: driver failed programming external connectivity on endpoint manicode-e2e-additional-slash-com-1765231731577-db-1 (3e36d48008678fda868473c861cfde7bcd7334d156be2d800a9974adf4438268): Bind for 0.0.0.0:5433 failed: port is already allocated at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:64:15) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:46:41) at createE2ETestContext (/home/runner/work/***/***/cli/src/__***s__/e2e/***-cli-utils.ts:188:20) at async <anonymous> (/home/runner/work/***/***/cli/src/__***s__/e2e/full-stack.***.ts:333:17) at spawnSync (node:child_process:226:22) at execSync (node:child_process:275:109) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:55:5) at createE2EDatabase (/home/runner/work/***/***/cli/src/__***s__/e2e/***-db-utils.ts:46:41) at createE2ETestContext (/home/runner/work/***/***/cli/src/__***s__/e2e/***-cli-utils.ts:188:20)
test-cli
Attempt 4 failed. Reason: Child_process exited with error code 123
test-cli
Attempt 3 failed. Reason: Child_process exited with error code 123
test-cli
Attempt 2 failed. Reason: Child_process exited with error code 123
test-cli
Attempt 1 failed. Reason: Child_process exited with error code 123