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

Hostmetrics tests failed on Linux #31751

Closed
tdx opened this issue Mar 14, 2024 · 2 comments
Closed

Hostmetrics tests failed on Linux #31751

tdx opened this issue Mar 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@tdx
Copy link

tdx commented Mar 14, 2024

Describe the bug
Hostmetrics tests failed on Linux

Steps to reproduce
make

What did you expect to see?
All tests passed

What did you see instead?
opentelemetry-collector-contrib/.tools/gotestsum --rerun-fails=1 --packages="./..." -- -race -timeout 300s -parallel 4 --tags=""
∅ internal
∅ internal/metadata
∅ internal/perfcounters (cached)
✓ internal/scraper/loadscraper/internal/metadata (cached)
✓ internal/scraper/cpuscraper/internal/metadata (cached)
✓ internal/scraper/loadscraper (cached)
✓ . (cached)
✓ internal/scraper/networkscraper/internal/metadata (cached)
✓ internal/scraper/memoryscraper (cached)
✓ internal/scraper/filesystemscraper/internal/metadata (cached)
✓ internal/scraper/diskscraper/internal/metadata (cached)
✓ internal/scraper/filesystemscraper (cached)
✓ internal/scraper/memoryscraper/internal/metadata (cached)
✓ internal/scraper/cpuscraper/ucal (cached)
✓ internal/scraper/cpuscraper (cached)
✓ internal/scraper/diskscraper (cached)
✓ internal/scraper/processesscraper (cached)
✓ internal/scraper/pagingscraper (cached)
✓ internal/scraper/pagingscraper/internal/metadata (cached)
✓ internal/scraper/processesscraper/internal/metadata (cached)
✖ internal/scraper/networkscraper (208ms)
✓ internal/scraper/processscraper/internal/handlecount (cached)
✓ internal/scraper/processscraper/internal/metadata (cached)
✓ internal/scraper/processscraper/ucal (cached)
✓ internal/scraper/processscraper (cached)

DONE 261 tests, 1 skipped, 6 failures in 1.733s

✖ internal/scraper/networkscraper (55ms)
✖ internal/scraper/networkscraper (56ms)
✖ internal/scraper/networkscraper (54ms)
✖ internal/scraper/networkscraper (56ms)
✖ internal/scraper/networkscraper (55ms)

=== Skipped
=== SKIP: internal/scraper/loadscraper TestScrape (0.00s)
load_scraper_test.go:32: Flaky test. See #10030

=== Failed
=== FAIL: internal/scraper/networkscraper TestScrape/Standard (0.05s)
network_scraper_test.go:234:
Error Trace: /home/tdx/dev/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_scraper_test.go:234
/home/tdx/dev/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/networkscraper/network_scraper_test.go:203
Error: Not equal:
expected: 12
actual : 13
Test: TestScrape/StandardWhat version did you use?

What config did you use?
git clone ...
make

Environment
OS: Ubuntu 22.04
Compiler: go version go1.22.1 linux/amd64

@tdx tdx added the bug Something isn't working label Mar 14, 2024
@atoulme
Copy link
Contributor

atoulme commented Mar 14, 2024

Flaky test - rerun helps.

@atoulme atoulme transferred this issue from open-telemetry/opentelemetry-collector Mar 14, 2024
@crobert-1
Copy link
Member

This is a frequency of #31001 👍

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

No branches or pull requests

3 participants