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

fix ScyllaCloudConfigTests for python 3.12 #402

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dkropachev
Copy link
Collaborator

@dkropachev dkropachev commented Jan 4, 2025

ScyllaCloudConfigTests are failing due to the get_cluster_info returned empty list.
It fails with following error:

2025-01-04 23:20:21.023 DEBUG [test_scylla_cloud:37]: cqlsh 'select JSON host_id,broadcast_address,data_center from system.local' returned stderr: /home/runner/.ccm/scylla-repository/release/6.2.2/python3/bin/../libexec/python3.12.bin: symbol lookup error: /lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE

I have tested it against 3.12.1, 3.12.6, 3.12.7 and 3.12.8, in all cases it fails with the same error.
It looks like problem of how python is packaged and I don't have this issue locally.
Workaround would be to avoid using cqlsh and use driver instead to read cluster nodes info.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

On python 3.12.x cqlsh fails with:
```
libexec/python3.12.bin: symbol lookup error: /lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
```

So we need to work it around by not using cqlsh
@dkropachev dkropachev force-pushed the dk/investigate-scylla-cloud-config-test-failures branch from a91c06b to cf2b115 Compare January 5, 2025 02:38
@dkropachev dkropachev changed the title Log cqlsh output in get_cluster_info fix ScyllaCloudConfigTests for python 3.12 Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant