Skip to content

[BUG] Smoke tests fail in GitHub Actions #2579

@dlvenable

Description

@dlvenable

Describe the bug

The release build's smoke tests fail consistently.

However, I can run them locally with success.

To Reproduce
Steps to reproduce the behavior:

  1. Run a release build GHA

Expected behavior

The tests pass (perhaps with a re-run failed jobs)

Sample run

https://github.com/opensearch-project/data-prepper/actions/runs/4758053910/jobs/8455993252

Ready to begin smoke tests. Running cURL commands.

Test: Verify logs received via HTTP were processed
Open Search is receiving logs from Data Prepper
Found at least 78 hits
Test passed
Open Search successfully received logs from Data Prepper!

Test: Verify metrics received via grpc were processed
No hits found with query url https://localhost:9200/otel-v1-apm-span-000001/_search?q=PythonService
Smoke test failed
Stopping smoke-tests_otel-span-exporter_1  ... 
Stopping smoke-tests_otel-collector_1      ... 
Stopping smoke-tests_data-prepper_1        ... 
Stopping node-0.example.com                ... 
Stopping smoke-tests_http-log-generation_1 ... 
Stopping smoke-tests_http-log-generation_1 ... done
Stopping smoke-tests_otel-span-exporter_1  ... done
Stopping smoke-tests_otel-collector_1      ... done
Stopping smoke-tests_data-prepper_1        ... done
Stopping node-0.example.com                ... done
Removing smoke-tests_otel-span-exporter_1  ... 
Removing smoke-tests_otel-collector_1      ... 
Removing smoke-tests_data-prepper_1        ... 
Removing node-0.example.com                ... 
Removing smoke-tests_http-log-generation_1 ... 
Removing node-0.example.com                ... done
Removing smoke-tests_otel-collector_1      ... done
Removing smoke-tests_otel-span-exporter_1  ... done
Removing smoke-tests_http-log-generation_1 ... done
Removing smoke-tests_data-prepper_1        ... done
Removing network smoke-tests_default
Smoke tests failed
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Unplanned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions