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

tests: fix version pin for arroyo #5637

Merged
merged 1 commit into from
Jul 26, 2022
Merged

Conversation

andrwng
Copy link
Contributor

@andrwng andrwng commented Jul 26, 2022

The docker container build failed with the following:

 ---> Running in c64f400b37eb
Cloning into 'arroyo'...
fatal: Could not parse object '2631cf1406b0cb5bc05c8a37e8f9f5a40fcf31d4'.
The command '/bin/sh -c mkdir /root/external_test_suites &&     git -C /root/external_test_suites clone --depth=1 https://github.com/getsentry/arroyo.git &&     cd /root/external_test_suites/arroyo &&     git reset --hard 2631cf1406b0cb5bc05c8a37e8f9f5a40fcf31d4 &&     python3 -m pip install --force --no-cache-dir -e /root/external_test_suites/arroyo' returned a non-zero code: 128
task: Failed to run task "rp:run-ducktape-tests": task: Failed to run task "rp:init-ducktape-containers": task: Failed to run task "rp:build-test-docker-image": exit status 128

Looks like we only fetch the latest commit, and the pinned commit is no
longer the latest on the default branch. Fortunately, arroyo recently
released 1.0.0 that barely differs[1] from the pinned version, so let's
just use that.

[1] https://github.com/getsentry/arroyo/compare/1.0.0..2631cf1406b0cb5bc05c8a37e8f9f5a40fcf31d4

Release notes

  • none

The docker container build failed with the following:

 ---> Running in c64f400b37eb
Cloning into 'arroyo'...
fatal: Could not parse object '2631cf1406b0cb5bc05c8a37e8f9f5a40fcf31d4'.
The command '/bin/sh -c mkdir /root/external_test_suites &&     git -C /root/external_test_suites clone --depth=1 https://github.com/getsentry/arroyo.git &&     cd /root/external_test_suites/arroyo &&     git reset --hard 2631cf1406b0cb5bc05c8a37e8f9f5a40fcf31d4 &&     python3 -m pip install --force --no-cache-dir -e /root/external_test_suites/arroyo' returned a non-zero code: 128
task: Failed to run task "rp:run-ducktape-tests": task: Failed to run task "rp:init-ducktape-containers": task: Failed to run task "rp:build-test-docker-image": exit status 128

Looks like we only fetch the latest commit, and the pinned commit is no
longer the latest on the default branch. Fortunately, arroyo recently
released 1.0.0 that barely differs[1] from the pinned version, so let's
just use that.

[1] https://github.com/getsentry/arroyo/compare/1.0.0..2631cf1406b0cb5bc05c8a37e8f9f5a40fcf31d4
@andrwng andrwng requested a review from a team as a code owner July 26, 2022 00:20
@andrwng andrwng requested review from nk-87, VladLazar and dotnwat and removed request for a team July 26, 2022 00:20
Copy link
Member

@BenPope BenPope left a comment

Choose a reason for hiding this comment

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

Sounds entirely reasonable.

(wait for tests to pass, though, since they mention breaking changes)

@dlex dlex self-requested a review July 26, 2022 01:01
@andrwng
Copy link
Contributor Author

andrwng commented Jul 26, 2022

The test failure was #5613 caught in a different test

@andrwng andrwng merged commit 686eca7 into redpanda-data:dev Jul 26, 2022
@andrwng andrwng deleted the arroyo branch July 26, 2022 03:48
@VladLazar
Copy link
Contributor

That was my bad. Thanks for the fix @andrwng!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants