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

[exporter/splunkhec] Integration test failing: HTTP response to HTTPS client #33097

Closed
crobert-1 opened this issue May 16, 2024 · 4 comments
Closed
Labels

Comments

@crobert-1
Copy link
Member

Component(s)

exporter/splunkhec

Describe the issue you're reporting

Failing CI/CD link

Failure output:

=== Failed
=== FAIL: . TestSplunkHecExporter/Events_to_Splunk (0.01s)
    logger.go:146: 2024-05-16T16:55:19.969Z	INFO	Test -> Splunk running at:	{"host": "localhost", "uiPort": "32772", "hecPort": "32771", "managementPort": "32770"}
    integration_test.go:251: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/splunkhecexporter/integration_test.go:251
        	            				/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/splunkhecexporter/integration_test.go:381
make[2]: *** [../../Makefile.Common:142: mod-integration-test] Error 1
make[1]: *** [Makefile:176: exporter/splunkhecexporter] Error 2
make: *** [Makefile:133: gointegration-test] Error 2
        	Error:      	Received unexpected error:
        	            	Post "https://localhost:32771/services/collector": http: server gave HTTP response to HTTPS client
        	Test:       	TestSplunkHecExporter/Events_to_Splunk
        	Messages:   	Must not error while sending Logs data

=== FAIL: . TestSplunkHecExporter/Events_to_Splunk_-_Non_default_index (0.01s)
    logger.go:[146](https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/9116113860/job/25064030928?pr=32970#step:5:147): 2024-05-16T16:55:19.976Z	INFO	Test -> Splunk running at:	{"host": "localhost", "uiPort": "32772", "hecPort": "32771", "managementPort": "32770"}
    integration_test.go:251: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/splunkhecexporter/integration_test.go:251
        	            				/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/splunkhecexporter/integration_test.go:381
        	Error:      	Received unexpected error:
        	            	Post "https://localhost:32771/services/collector": http: server gave HTTP response to HTTPS client
        	Test:       	TestSplunkHecExporter/Events_to_Splunk_-_Non_default_index
        	Messages:   	Must not error while sending Logs data

=== FAIL: . TestSplunkHecExporter/Events_to_Splunk_-_metrics (0.01s)
    logger.go:146: 2024-05-16T16:55:19.983Z	INFO	Test -> Splunk running at:	{"host": "localhost", "uiPort": "32772", "hecPort": "32771", "managementPort": "32770"}
    integration_test.go:274: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/splunkhecexporter/integration_test.go:274
        	            				/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/splunkhecexporter/integration_test.go:383
        	Error:      	Received unexpected error:
        	            	Post "https://localhost:32771/services/collector": http: server gave HTTP response to HTTPS client
        	Test:       	TestSplunkHecExporter/Events_to_Splunk_-_metrics
        	Messages:   	Must not error while sending Metrics data

=== FAIL: . TestSplunkHecExporter/Events_to_Splunk_-_traces (0.01s)
    logger.go:146: 2024-05-16T16:55:19.991Z	INFO	Test -> Splunk running at:	{"host": "localhost", "uiPort": "32772", "hecPort": "32771", "managementPort": "32770"}
    integration_test.go:290: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/splunkhecexporter/integration_test.go:290
        	            				/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/exporter/splunkhecexporter/integration_test.go:385
        	Error:      	Received unexpected error:
        	            	Post "https://localhost:32771/services/collector": http: server gave HTTP response to HTTPS client
        	Test:       	TestSplunkHecExporter/Events_to_Splunk_-_traces
        	Messages:   	Must not error while sending Trace data

=== FAIL: . TestSplunkHecExporter (96.16s)
@crobert-1 crobert-1 added the needs triage New item requiring triage label May 16, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@atoulme
Copy link
Contributor

atoulme commented May 30, 2024

Is this a flaky issue?

@crobert-1
Copy link
Member Author

I assume so, I don't remember seeing it in any other runs, but I haven't thoroughly checked.

@atoulme atoulme added flaky test a test is flaky and removed needs triage New item requiring triage labels Jul 17, 2024
@atoulme
Copy link
Contributor

atoulme commented Jul 17, 2024

Closing as it has not been reported again for a little while.

@atoulme atoulme closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 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