Skip to content

Conversation

@alinaliBQ
Copy link
Collaborator

@alinaliBQ alinaliBQ commented Jan 27, 2026

Rationale for this change

#49004

If running tests in CI without the cpp_test.sh script is a no-go, please let me know and I will close the PR.

What changes are included in this PR?

  • Run ODBC test executables arrow-odbc-spi-impl-test.exe and arrow-flight-sql-odbc-test.exe in the ODBC job of C++ Extra CI.

Are these changes tested?

Yes, in CI

Are there any user-facing changes?

N/A

Run test executables once without re-runs and without using test script. This way the segmentation fault is not caught.
@github-actions
Copy link

⚠️ GitHub issue #49004 has been automatically assigned in GitHub to PR creator.

@github-actions github-actions bot added CI: Extra: C++ Run extra C++ CI awaiting review Awaiting review labels Jan 27, 2026
@alinaliBQ alinaliBQ marked this pull request as ready for review January 27, 2026 19:30
Comment on lines +440 to +447
- name: Run ODBC Unit Tests
shell: cmd
run: |
build\cpp\%ARROW_BUILD_TYPE%\arrow-odbc-spi-impl-test.exe
- name: Run ODBC Driver Tests
shell: cmd
run: |
build\cpp\%ARROW_BUILD_TYPE%\arrow-flight-sql-odbc-test.exe
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lidavidm @kou Please have a look at this small PR. I don't see other .exe tests being run without a script in the Arrow repo, so I am not sure this approach is accepted. If it is a no-go, I can close the PR.

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jan 27, 2026
Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand correctly this test segfaults if not run in isolation and run as part of ci/scripts/cpp_test.sh?
I am not an expert here but if my understanding is correct I think we should rather investigate why it segfaults instead of hiding it.

call "cpp\src\arrow\flight\sql\odbc\tests\install_odbc.cmd" ${{ github.workspace }}\build\cpp\%ARROW_BUILD_TYPE%\arrow_flight_sql_odbc.dll
# GH-48270 TODO: Resolve segementation fault during Arrow library unload
# GH-48269 TODO: Enable Flight & Flight SQL testing in MSVC CI
# GH-48270 TODO: Resolve segementation fault during Arrow library unload, segementation fault is caught with `ci/scripts/cpp_test.sh`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# GH-48270 TODO: Resolve segementation fault during Arrow library unload, segementation fault is caught with `ci/scripts/cpp_test.sh`
# GH-48270 TODO: Resolve segmentation fault during Arrow library unload, segmentation fault is caught with `ci/scripts/cpp_test.sh`

@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting committer review Awaiting committer review labels Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting changes Awaiting changes CI: Extra: C++ Run extra C++ CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants