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

Miles/test releases #1

Open
wants to merge 5 commits into
base: mck/release-verification-script
Choose a base branch
from

Conversation

Miles-Garnsey
Copy link

@michaelsembwever are you happy to take these changes forward?

I need to go away and read the cassanda-ci confluence to figure out how to get test-releases.sh scheduled, but I'm really drinking from the firehose at the moment and won't get to that immediately.

At least if these are merged on your fork then they won't be lost hopefully.

@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 1d90352 to 4ea68da Compare August 30, 2021 14:14
# wget https://downloads.apache.org/cassandra/KEYS
# cd downloads.apache.org/cassandra/
# mv redhat/311x/* redhat/
mv KEYS redhat
Copy link
Member

Choose a reason for hiding this comment

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

cp KEYS redhat/

echo
rm -f procfifo
mkfifo procfifo
docker run -i -v `pwd`/redhat:/redhat centos timeout 180 /bin/bash -c "( rpm --import /redhat/KEYS; rpm -K /redhat/*.rpm);" 2>&1 >procfifo &
Copy link
Member

Choose a reason for hiding this comment

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

Rather than run the centos container twice, can we add --import /redhat/KEYS to line 103 above? (adding the [[ $LINE =~ ".*digests SIGNATURES NOT OK" ]] conditional block in before the [[ $LINE =~ "Starting listening for CQL clients on" ]] block)

@michaelsembwever
Copy link
Member

michaelsembwever commented Sep 11, 2021

wrt 031aeee and 8ad9e85 i think we can do better.
What is it testing is that the latest debian distribution doesn't break our latest supported Cassandra releases, as our releases are static but the debian distributions (and what's in apt) is the moving target.

A hurdle with this approach is that if it breaks there's nothing we can do about it (except wait and hope that the next release fixes it).

A better approach would be to put these debian and redhat "start up" smoke tests into our existing CI pipeline. We already build on these distributions to test the packaging of each works, so extending that to check that the built package also starts up seems a reasonable extension to add.

@@ -26,7 +26,7 @@ function test_deb() {
HEAP_NEWSIZE=500m MAX_HEAP_SIZE=1g cassandra -R -f
"
rm -f procfifo && mkfifo procfifo
docker run -i openjdk:8-jdk-slim-buster timeout 180 /bin/bash -c $COMMAND 2>&1 >procfifo &
docker run -i openjdk:8-jdk-slim-buster timeout 360 /bin/bash -c $COMMAND 2>&1 >procfifo &
Copy link
Member

@michaelsembwever michaelsembwever Sep 11, 2021

Choose a reason for hiding this comment

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

yes, this change was also made in the original PR
( 4ea68da#diff-a636443cd5bfb43c9eddbf4ea4ce8546d63190b9326266245ab0068984fe59c1R84 )

@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 4ea68da to 5e6a4a3 Compare February 8, 2022 12:14
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 5e6a4a3 to fc22ab0 Compare April 19, 2022 10:57
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from fc22ab0 to c316892 Compare May 24, 2022 08:38
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 2 times, most recently from 029d0ab to 12e7d81 Compare October 20, 2022 18:08
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 4 times, most recently from 88e8e13 to 4b2f607 Compare December 9, 2022 12:30
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch from 4b2f607 to dbf5d81 Compare May 3, 2023 14:42
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 5 times, most recently from bed5d51 to 0e53ce4 Compare August 15, 2023 14:59
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 2 times, most recently from 5996107 to f5a33a8 Compare September 4, 2023 20:32
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 3 times, most recently from b119a93 to 52bc067 Compare July 18, 2024 13:17
@michaelsembwever michaelsembwever force-pushed the mck/release-verification-script branch 9 times, most recently from 333a269 to ab9a662 Compare July 21, 2024 12:22
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.

2 participants