Skip to content

awf-squid container is failed to start #3934

@hermanho

Description

@hermanho

Summary

In the Execute GitHub Copilot CLI step, awf-squid is failed to start and reported unhealthy sometimes.

Error log

​[INFO] Starting containers...
​ Container awf-squid  Creating
​ Container awf-api-proxy  Creating
​ Container awf-api-proxy  Created
​ Container awf-squid  Created
​ Container awf-cli-proxy  Creating
​ Container awf-cli-proxy  Created
​ Container awf-agent  Creating
​ Container awf-agent  Created
​ Container awf-iptables-init  Creating
​ Container awf-iptables-init  Created
​ Container awf-squid  Starting
​ Container awf-api-proxy  Starting
​ Container awf-api-proxy  Started
​ Container awf-squid  Started
​ Container awf-squid  Waiting
​ Container awf-squid  Error
​dependency failed to start: container awf-squid is unhealthy
​Error:  Failed to start containers: Error: Command failed with exit code 1: docker compose up -d --pull never
​    at m1 (/usr/local/lib/awf/awf-bundle.js:336:57)
​    at /usr/local/lib/awf/awf-bundle.js:336:10481
​    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
​    at async s (/usr/local/lib/awf/awf-bundle.js:760:770)
​    at async Object.eI [as startContainers] (/usr/local/lib/awf/awf-bundle.js:760:885)
​    at async MI (/usr/local/lib/awf/awf-bundle.js:767:2076)
​    at async e.<anonymous> (/usr/local/lib/awf/awf-bundle.js:776:28734) {
​  shortMessage: 'Command failed with exit code 1: docker compose up -d --pull never',
​  command: 'docker compose up -d --pull never',
​  escapedCommand: 'docker compose up -d --pull never',
​  exitCode: 1,
​  signal: undefined,
​  signalDescription: undefined,
​  stdout: undefined,
​  stderr: undefined,
​  failed: true,
​  timedOut: false,
​  isCanceled: false,
​  killed: false
​}
​Error: [ERROR] Fatal error: Error: Command failed with exit code 1: docker compose up -d --pull never
​    at m1 (/usr/local/lib/awf/awf-bundle.js:336:57)
​    at /usr/local/lib/awf/awf-bundle.js:336:10481
​    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
​    at async s (/usr/local/lib/awf/awf-bundle.js:760:770)
​    at async Object.eI [as startContainers] (/usr/local/lib/awf/awf-bundle.js:760:885)
​    at async MI (/usr/local/lib/awf/awf-bundle.js:767:2076)
​    at async e.<anonymous> (/usr/local/lib/awf/awf-bundle.js:776:28734) {
​  shortMessage: 'Command failed with exit code 1: docker compose up -d --pull never',
​  command: 'docker compose up -d --pull never',
​  escapedCommand: 'docker compose up -d --pull never',
​  exitCode: 1,
​  signal: undefined,
​  signalDescription: undefined,
​  stdout: undefined,
​  stderr: undefined,
​  failed: true,
​  timedOut: false,
​  isCanceled: false,
​  killed: false
​}
​[INFO] Stopping containers...
​ Container awf-iptables-init  Stopping
​ Container awf-iptables-init  Stopped
​ Container awf-iptables-init  Removing
​ Container awf-iptables-init  Removed
​ Container awf-agent  Stopping
​ Container awf-agent  Stopped
​ Container awf-agent  Removing
​ Container awf-agent  Removed
​ Container awf-cli-proxy  Stopping
​ Container awf-api-proxy  Stopping
​ Container awf-cli-proxy  Stopped
​ Container awf-cli-proxy  Removing
​ Container awf-cli-proxy  Removed
​ Container awf-squid  Stopping
​ Container awf-api-proxy  Stopped
​ Container awf-api-proxy  Removing
​ Container awf-api-proxy  Removed
​ Container awf-squid  Stopped
​ Container awf-squid  Removing
​ Container awf-squid  Removed
​[SUCCESS] Containers stopped successfully
​[INFO] API proxy logs available at: /tmp/gh-aw/sandbox/firewall/logs/api-proxy-logs
​[INFO] CLI proxy logs available at: /tmp/gh-aw/sandbox/firewall/logs/cli-proxy-logs
​[INFO] Squid logs available at: /tmp/gh-aw/sandbox/firewall/logs
​[INFO] Audit artifacts available at: /tmp/gh-aw/sandbox/firewall/audit
​Process exiting with code: 1
​Error: Process completed with exit code 1.

Environment

​AW version v0.76.1
​AWF version: v0.25.55
​Runner: ubuntu-24.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions