Fix mssql-techempower Linux initialization for sqlcmd v18 and deterministic startup - #2197
Merged
Merged
Conversation
Co-authored-by: sebastienros <[email protected]>
Co-authored-by: sebastienros <[email protected]>
Copilot
AI
changed the title
[WIP] Fix Linux SQL Server TechEmpower benchmark Docker image startup failure
Fix mssql-techempower Linux initialization for sqlcmd v18 and deterministic startup
Aug 18, 2026
sebastienros
approved these changes
Aug 18, 2026
sebastienros
marked this pull request as ready for review
August 18, 2026 22:43
| @@ -1 +1 @@ | |||
| FROM mcr.microsoft.com/mssql/server:2019-latest | |||
Member
There was a problem hiding this comment.
Can be updated later to a newer version
Co-authored-by: Copilot App <[email protected]>
BrennanConroy
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The SQL Server TechEmpower image was starting the engine but failing DB bootstrap because
sqlcmdmoved tomssql-tools18, leavinghello_world/world/fortuneuninitialized. This updates startup/import behavior to be ODBC 18 compatible, readiness-driven, and fail-fast on init errors.Startup/import reliability
import-data.shnow uses/opt/mssql-tools18/bin/sqlcmdwith ODBC 18 TLS option-C.sleep 20swith bounded readiness polling (SELECT 1) and explicit timeout failure.-bso SQL execution errors return non-zero instead of continuing silently.Container failure semantics
entrypoint.shnow supervisessqlservr+ import flow so initialization failure terminates container startup (non-zero) instead of leaving a running but uninitialized instance.TechEmpower dataset alignment
create.sqlworld value generation from0..9999to canonical inclusive1..10000.worldrows and 12 standardfortunerows.Tooling-path drift guard
sqlcmdpath presence (/opt/mssql-tools18/bin/sqlcmd) to catch base-image path regressions early.