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

Unit tests failing on msssql container error #2436

Closed
JamieDanielson opened this issue Sep 17, 2024 · 2 comments · Fixed by #2446
Closed

Unit tests failing on msssql container error #2436

JamieDanielson opened this issue Sep 17, 2024 · 2 comments · Fixed by #2446
Labels
bug Something isn't working

Comments

@JamieDanielson
Copy link
Member

JamieDanielson commented Sep 17, 2024

Unit tests are sometimes failing during Initialize Containers step in unit-test job.

Example of failed run

Example of successful run

It doesn't seem consistent, so perhaps it is flaky. I'm wondering if a timeout needs to be adjusted.

@JamieDanielson JamieDanielson added the bug Something isn't working label Sep 17, 2024
@JamieDanielson
Copy link
Member Author

In later versions the tools directory changes, but that is not at play here. Noting for posterity when it comes time to update:

Note Starting with SQL Server 2022 CU 14, we are updating SQL Server 2022 container images to include the new mssql-tools18 package. With the introduction of SQL Server 2022 CU 14, and in all future container images, the previous directory /opt/mssql-tools/bin will be phased out. The new directory for Microsoft ODBC 18 tools will be '/opt/mssql-tools18/bin', aligning with the latest tools offering.

@JamieDanielson
Copy link
Member Author

A re-run of unit-test (20) that previously failed succeeded when set to run with debug logging enabled. The first re-run failed.

Trying again with unit-test (18) without debug. I seem able to reproduce this error locally using local docker, but it's not deterministic.

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.

1 participant