powermem icon indicating copy to clipboard operation
powermem copied to clipboard

bug(ci): SQLite acceptance repeatedly times out during agent dependency setup

Open NeverENG opened this issue 1 week ago • 0 comments

Describe the bug

The harness-validation / Acceptance (sqlite) check repeatedly fails during Bub agent dependency setup, before the affected acceptance scenarios execute. This prevents CI from completing its selected acceptance work.

In run 45591053909 for PR #2630, all three attempts recorded AgentSetupTimeoutError for each of batch-acceptance, batch-locomo, and fail-fast/batch-acceptance. All nine affected trial results have agent_execution: null.

Steps to reproduce

  1. Run the selected SQLite acceptance check through Main and its reusable .github/workflows/e2e-harness.yml workflow for PR head 2530384e19199010ea50158c7a97d759d27f40f3.
  2. The Run deterministic scenarios step invokes make harness-compose-acceptance.
  3. Inspect each trial's result.json and agent/setup/dependencies.stdout.log in the uploaded e2e-acceptance-sqlite-* artifact.

This was observed in three attempts of the same CI run. It has not been reproduced locally in an equivalent runner container.

Expected behavior

Agent setup completes reliably so that the selected acceptance scenarios execute and produce functional acceptance results.

Actual behavior

Each of the three scenario batches reports:

exception_type: AgentSetupTimeoutError
exception_message: Agent setup timed out after 360.0 seconds
agent_execution: null

Dependency logs report:

0 upgraded, 144 newly installed, 0 to remove and 0 not upgraded.
Need to get 120 MB of archives.

The last recorded output is from APT downloads using https://mirrors.aliyun.com/debian and https://mirrors.aliyun.com/debian-security:

Scenario Attempt 2: last recorded package Attempt 3: last recorded package
batch-acceptance binutils-x86-64-linux-gnu g++-12
batch-locomo libisl23 python3.11-dev
fail-fast/batch-acceptance libpython3.11-minimal libx265-199

Attempt 3's agent_setup start/end times (UTC) confirm that each setup consumes its six-minute budget:

Scenario Started Finished
batch-acceptance 12:01:42 12:07:42
batch-locomo 12:07:55 12:13:55
fail-fast/batch-acceptance 12:14:07 12:20:07

These records establish repeated setup timeouts. They do not identify whether the bottleneck is the mirror, runner egress, container networking, or another part of setup. They also do not establish whether the unexecuted acceptance scenarios would pass.

Evidence

  • Attempt 2: failed job, artifact ID 15018660256.
  • Attempt 3: failed job, artifact ID 15021510979.
  • Artifact name: e2e-acceptance-sqlite-3e6120e08e8ebabe4cdd1f988c4a909ebb18a49c (the attempts use the same name; distinguish them by artifact ID).
  • Trial results: <scenario>/harbor-jobs/<job>/<trial>/result.json.
  • Installation logs: <trial>/agent/setup/dependencies.stdout.log and dependencies.stderr.log.

Environment

  • Date: 2026-11-25.
  • GitHub Actions Linux runner, Docker Compose harness with nested task containers.
  • SQLite acceptance using the PowerContext Bub ACP agent.
  • Debian bookworm package sources in the task containers.
  • Effective agent setup timeout: 360 seconds.

Investigation needed

Measure APT metadata/download and installation time in the same runner/container network environment, including the configured mirror routing. Check whether dependencies can be reused through the supported harness installation path, and determine whether the setup budget matches measured requirements. Select a fix from those measurements while preserving the acceptance assertions; increasing timeouts or repeatedly rerunning the job alone would not identify the bottleneck.

NeverENG avatar Nov 25 '26 12:11 NeverENG