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

test.py: don't stop cluster's site if not started #11939

Closed
wants to merge 1 commit into from

Conversation

alecco
Copy link
Contributor

@alecco alecco commented Nov 9, 2022

Check ScyllaCluster.site is present before calling stop(). This might happen due to bad starts when ScyllaCluster.stop() is called but ScyllaCluster.start() failed.

@alecco
Copy link
Contributor Author

alecco commented Nov 9, 2022

This commit consists of only 1 commit (61f0935) and it's based on #11747
(783ffbb).

@alecco alecco requested review from kbr- and kostja November 9, 2022 14:56
@scylladb-promoter
Copy link
Contributor

@alecco alecco force-pushed the testpy-topology-start-failure branch from 61f0935 to c53a1b5 Compare November 10, 2022 08:15
@alecco
Copy link
Contributor Author

alecco commented Nov 10, 2022

Changes in c53a1b5:

@alecco alecco changed the title test.py: stop cluster's site if not started test.py: don't stop cluster's site if not started Nov 10, 2022
@alecco alecco force-pushed the testpy-topology-start-failure branch from c53a1b5 to 697e7a9 Compare November 10, 2022 09:29
@alecco
Copy link
Contributor Author

alecco commented Nov 10, 2022

Changes in 697e7a9:

  • fix commit title

@scylladb-promoter
Copy link
Contributor

@alecco
Copy link
Contributor Author

alecco commented Nov 10, 2022

CI state FAILURE - https://jenkins.scylladb.com/job/releng/job/Scylla-CI/2946/

Failure due to #8079 (comment).
Restarting CI

@scylladb-promoter
Copy link
Contributor

@alecco alecco force-pushed the testpy-topology-start-failure branch from 697e7a9 to bd7bd97 Compare November 25, 2022 12:24
@alecco
Copy link
Contributor Author

alecco commented Nov 25, 2022

Changes in bd7bd97:

  • rebased on master

@scylladb-promoter
Copy link
Contributor

The site member is created in ScyllaCluster.start(), for startup failure
this might not be initialized, so check it's present before stop()ing
it. And delete it as it's not running and proper initialization should
call ScyllaCluster.start().

Signed-off-by: Alejo Sanchez <alejo.sanchez@scylladb.com>
@alecco alecco force-pushed the testpy-topology-start-failure branch from bd7bd97 to 0920771 Compare November 28, 2022 09:14
@alecco
Copy link
Contributor Author

alecco commented Nov 28, 2022

CI state FAILURE - https://jenkins.scylladb.com/job/releng/job/Scylla-CI/3183/

Unrelated failure

[sstable_compaction_test.max_ongoing_compaction_test.1798.xunit.xml.[empty]](https://jenkins.scylladb.com/job/releng/job/Scylla-CI/3183/testReport/junit/sstable_compaction_test.max_ongoing_compaction_test.1798.xunit/xml/_empty_/)

@alecco
Copy link
Contributor Author

alecco commented Nov 28, 2022

Changes in 0920771:

  • rebase to trigger new CI run

@scylladb-promoter
Copy link
Contributor

@alecco
Copy link
Contributor Author

alecco commented Nov 30, 2022

ping

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.

None yet

3 participants