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

error_injection: replace boost::lexical_cast with std::from_chars #22164

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

Conversation

avikivity
Copy link
Member

Replace boost with a standard facility; this reduces dependencies as lexical_cast depends on boost ranges.

Small build time improvement, no backport needed.

Replace boost with a standard facility; this reduces dependencies
as lexical_cast depends on boost ranges.
@scylladb-promoter
Copy link
Contributor

🔴 CI State: FAILURE

✅ - Build
✅ - dtest with topology changes
✅ - Docker Test
✅ - dtest
✅ - dtest with tablets
✅ - Offline-installer Artifact Tests
❌ - Unit Tests

Failed Tests (2/35576):

Build Details:

  • Duration: 8 hr 4 min
  • Builder: i-07307d6d16b044b46 (m5ad.8xlarge)

@tchaikov
Copy link
Contributor

tchaikov commented Jan 5, 2025

@scylladb-promoter
Copy link
Contributor

🔴 CI State: FAILURE

✅ - Build
❌ - Docker Test
✅ - dtest with tablets
❌ - Offline-installer Artifact Tests
✅ - dtest
✅ - dtest with topology changes
✅ - Unit Tests

Build Details:

  • Duration: 3 hr 59 min
  • Builder: spider2.cloudius-systems.com

@avikivity
Copy link
Member Author

@yaronkaikov what can I do about the offline installer failures?

@mykaul
Copy link
Contributor

mykaul commented Jan 5, 2025

@yaronkaikov what can I do about the offline installer failures?

It's scylladb/scylla-cluster-tests#9645

Generally, I think it's wrong to run them in CI.

@yaronkaikov
Copy link
Contributor

@yaronkaikov what can I do about the offline installer failures?

It's scylladb/scylla-cluster-tests#9645

Generally, I think it's wrong to run them in CI.

Well, just not long ago, we had a regression that took us a few months to fix.

@mykaul
Copy link
Contributor

mykaul commented Jan 5, 2025

@yaronkaikov what can I do about the offline installer failures?

It's scylladb/scylla-cluster-tests#9645
Generally, I think it's wrong to run them in CI.

Well, just not long ago, we had a regression that took us a few months to fix.

Run it nightly, or on next. Nor per PR.

@yaronkaikov
Copy link
Contributor

@yaronkaikov what can I do about the offline installer failures?

It's scylladb/scylla-cluster-tests#9645
Generally, I think it's wrong to run them in CI.

Well, just not long ago, we had a regression that took us a few months to fix.

Run it nightly, or on next. Nor per PR.

This is what we were doing, before (nightly) and it didn't help us much

About running in next , i guess it's a good solution, just need @avikivity to agree

@@ -13,6 +13,7 @@
#include <boost/range/adaptor/map.hpp>
#include <boost/range/algorithm/copy.hpp>
#include <boost/range/join.hpp>
#include <boost/lexical_cast.hpp>
Copy link
Member

Choose a reason for hiding this comment

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

Why not convert the error injection point in override_snapshot_thresholds too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because I want to keep the patch localized and not grow it.

@avikivity
Copy link
Member Author

About running in next , i guess it's a good solution, just need @avikivity to agree

Ok with that.

@avikivity
Copy link
Member Author

Docker test failed too. What can I do to make CI pass?

@yaronkaikov
Copy link
Contributor

Docker test failed too. What can I do to make CI pass?

It failed due to scylladb/scylla-cluster-tests#9645 @fruch any idea what is going on ?

@avikivity
Copy link
Member Author

Since podman now supports nested containers, perhaps we can test the container image in test.py.

@fruch
Copy link
Contributor

fruch commented Jan 5, 2025

Since podman now supports nested containers, perhaps we can test the container image in test.py.

those tests are not just for docker image...

@avikivity
Copy link
Member Author

We can test other packages too in containers.

@scylladb-promoter
Copy link
Contributor

🟢 CI State: SUCCESS

✅ - Build
✅ - dtest with tablets
✅ - dtest
✅ - dtest with topology changes
✅ - Offline-installer Artifact Tests
✅ - Docker Test
✅ - Unit Tests

Build Details:

  • Duration: 4 hr 0 min
  • Builder: spider5.cloudius-systems.com

Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

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

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/none Backport is not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants