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

mongodbreceiver integration test failing w/ latest mongodb driver update #16182

Closed
codeboten opened this issue Nov 8, 2022 · 3 comments · Fixed by #16187
Closed

mongodbreceiver integration test failing w/ latest mongodb driver update #16182

codeboten opened this issue Nov 8, 2022 · 3 comments · Fixed by #16187
Labels
bug Something isn't working flaky test a test is flaky needs triage New item requiring triage receiver/mongodb

Comments

@codeboten
Copy link
Contributor

Component(s)

receiver/mongodb

Describe the issue you're reporting

See https://github.com/open-telemetry/opentelemetry-collector-contrib/actions/runs/3422093006/jobs/5700027979

    integration_test.go:158: 
        	Error Trace:	/home/runner/work/opentelemetry-collector-contrib/opentelemetry-collector-contrib/receiver/mongodbreceiver/integration_test.go:158
        	Error:      	Received unexpected error:
        	            	number of resources does not match expected: 4, actual: 0
        	Test:       	TestMongodbIntegration/Running_mongodb_3.0
@codeboten codeboten added the needs triage New item requiring triage label Nov 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2022

Pinging code owners:

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

@schmikei
Copy link
Contributor

schmikei commented Nov 8, 2022

The mongo go driver dropped support for 2.6 in 1.11.0

https://github.com/mongodb/mongo-go-driver/tree/v1.11.0

We should probably drop support as well going forward as it is a fairly dated release at this point. Was mostly supported during the development to support default installations of some popular OSes.

@djaglowski
Copy link
Member

Looks like mongo dropped support for versions < 3.6. I think we'll need to do the same in order to upgrade the driver.

Looks like anything prior to 4.2 is EOL already. 4.0 went EOL earlier this year, so it seems reasonable to retain support for that, but I'm thinking we should drop 3.x entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flaky test a test is flaky needs triage New item requiring triage receiver/mongodb
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants