Skip to content

flake: TestAgentScript/Invalid: unable to cancel the command #211

Closed
coder/coder
#15532
@spikecurtis

Description

@spikecurtis
=== Failed
=== FAIL: provisionersdk TestAgentScript/Invalid (10.01s)
    agent_test.go:123: unable to cancel the command, see logs:
        + trap waitonexit EXIT
        + mktemp -d -t coder.XXXXXX
        + BINARY_DIR=/tmp/coder.p7H1TG
        + BINARY_NAME=coder
        + BINARY_URL=http://127.0.0.1:44579/bin/coder-linux-amd64
        + cd /tmp/coder.p7H1TG
        + :
        + status=
        + command -v curl
        + curl -fsSL --compressed http://127.0.0.1:44579/bin/coder-linux-amd64 -o coder
        + break
        + chmod +x coder
        + [ -n  ]
        + export CODER_AGENT_AUTH=token
        + export CODER_AGENT_URL=http://127.0.0.1:44579/
        + ./coder --version
        + head -n1
        + output=this is not the agent you are looking for
        + grep -q Coder
        + echo this is not the agent you are looking for
        + echo ERROR: Downloaded agent binary returned unexpected version output
        ERROR: Downloaded agent binary returned unexpected version output
        + echo coder --version output: "this is not the agent you are looking for"
        coder --version output: "this is not the agent you are looking for"
        + exit 2
        + waitonexit
        + echo === Agent script exited with non-zero code (2). Sleeping 24h to preserve logs...
        === Agent script exited with non-zero code (2). Sleeping 24h to preserve logs...
        + sleep 86[400](https://github.com/coder/coder/runs/32976357611#step:7:401)

seen here: https://github.com/coder/coder/runs/32976357611

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions