Skip to content

Flake: TestAgentScript/Invalid #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ethanndickson opened this issue Oct 18, 2024 · 1 comment
Closed

Flake: TestAgentScript/Invalid #115

ethanndickson opened this issue Oct 18, 2024 · 1 comment
Assignees
Labels

Comments

@ethanndickson
Copy link
Member

https://github.com/coder/coder/actions/runs/11396850158/job/31711386291?pr=14792

=== Failed
=== FAIL: provisionersdk TestAgentScript/Invalid (10.01s)
    agent_test.go:128: unable to cancel the command, see logs:
        + trap waitonexit EXIT
        + mktemp -d -t coder.XXXXXX
        + BINARY_DIR=/tmp/coder.kHVqDU
        + BINARY_NAME=coder
        + BINARY_URL=http://127.0.0.1:32787/bin/coder-linux-amd64
        + cd /tmp/coder.kHVqDU
        + :
        + status=
        + command -v curl
        + curl -fsSL --compressed http://127.0.0.1:32787/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:32787/
        + ./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 86400
    testing.go:1398: race detected during execution of test
@dannykopping
Copy link
Collaborator

Dupe of #93
Thanks for the detail 👍

@dannykopping dannykopping closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants