Skip to content
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

Can't run the testbed #14975

Closed
yutingcaicyt opened this issue Oct 17, 2022 · 2 comments · Fixed by #16084
Closed

Can't run the testbed #14975

yutingcaicyt opened this issue Oct 17, 2022 · 2 comments · Fixed by #16084
Assignees
Labels
bug Something isn't working

Comments

@yutingcaicyt
Copy link
Contributor

What happened?

Description

After I download the source code, I try the way described in https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/testbed to run the test case, however, it shows me the error:
`yuting@yutingdeMacBook-Pro testbed % TESTS_DIR=./tests ./runtests.sh

=== RUN TestIdleMode
2022/10/17 19:35:59 Starting Agent (/Users/yuting/Desktop/project/opentelemetry-collector-contrib/bin/otelcontribcol_testbed_darwin_amd64)
2022/10/17 19:35:59 Writing Agent log to /Users/yuting/Desktop/project/opentelemetry-collector-contrib/testbed/tests/results/TestIdleMode/agent.log
2022/10/17 19:35:59 cannot start executable at /Users/yuting/Desktop/project/opentelemetry-collector-contrib/bin/otelcontribcol_testbed_darwin_amd64: fork/exec /Users/yuting/Desktop/project/opentelemetry-collector-contrib/bin/otelcontribcol_testbed_darwin_amd64: no such file or directory
test_case.go:303: cannot start executable at /Users/yuting/Desktop/project/opentelemetry-collector-contrib/bin/otelcontribcol_testbed_darwin_amd64: fork/exec /Users/yuting/Desktop/project/opentelemetry-collector-contrib/bin/otelcontribcol_testbed_darwin_amd64: no such file or directory
2022/10/17 19:35:59 Stopped generator. Sent: 0 items
--- FAIL: TestIdleMode (0.00s)
`

Steps to Reproduce

go version: 1.18.3

Expected Result

Actual Result

Collector version

v0.62.0

Environment information

Environment

OS: (e.g., "macOS")
Compiler(if manually compiled): (e.g., "1.18.3")

OpenTelemetry Collector configuration

No response

Log output

No response

Additional context

No response

@yutingcaicyt yutingcaicyt added bug Something isn't working needs triage New item requiring triage labels Oct 17, 2022
@evan-bradley
Copy link
Contributor

It looks like the docs are outdated. From what I can tell, the simplest way to run all tests locally is to run the following from the repository root:

make e2e-test

I can update the docs on this.

@evan-bradley evan-bradley removed the needs triage New item requiring triage label Oct 18, 2022
@evan-bradley evan-bradley self-assigned this Oct 18, 2022
@yutingcaicyt
Copy link
Contributor Author

Thanks a lot, I hope these docs can be updated as soon as possible 0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants