Skip to content

service is-active output check for "failed" - #3574

Merged
yadvr merged 1 commit into
apache:4.13from
shapeblue:el7ServiceActiveCheck
Sep 10, 2019
Merged

service is-active output check for "failed"#3574
yadvr merged 1 commit into
apache:4.13from
shapeblue:el7ServiceActiveCheck

Conversation

@DaanHoogland

Copy link
Copy Markdown
Contributor

Description

small change to check for the right output of the system call

Fixes: #3572

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

manual testing on a nested env so far.

@DaanHoogland
DaanHoogland requested a review from yadvr August 28, 2019 07:35
@DaanHoogland

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-267

@DaanHoogland

Copy link
Copy Markdown
Contributor Author

@blueorangutan test centos7 kvm-centos7

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@apache apache deleted a comment from blueorangutan Aug 29, 2019
@apache apache deleted a comment from blueorangutan Aug 29, 2019
@apache apache deleted a comment from blueorangutan Aug 29, 2019
@apache apache deleted a comment from blueorangutan Aug 29, 2019

@yadvr yadvr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Did not test but makes sense

@GabrielBrascher GabrielBrascher left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM based on code and manual test.

I have tested and indeed the systemctl is-active cloudstack-management.service command returns active and failed. Regardless of calling a systemctl is-active cloudstack-management.service or systemctl is-failed cloudstack-management.service I got active and failed (that I found weird)

@DaanHoogland

Copy link
Copy Markdown
Contributor Author

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-268

@DaanHoogland

Copy link
Copy Markdown
Contributor Author

@blueorangutan test centos7 kvm-centos7

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-345)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38805 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr3574-t345-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_ssvm.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Smoke tests completed. 75 look OK, 2 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_10_destroy_cpvm Error 951.72 test_ssvm.py
test_05_rvpc_multi_tiers Failure 425.99 test_vpc_redundant.py
test_05_rvpc_multi_tiers Error 452.47 test_vpc_redundant.py

@DaanHoogland

Copy link
Copy Markdown
Contributor Author

I'll have a quick look at those logs but I don't think these blueorangutan/Trillian errors are related to this change.
We'll have to decide if this goes on an lts or in master btw. it was created to master before the recent 4.13 release and as it is a bugfix I think it should go in there... ? @PaulAngus @GabrielBrascher @rhtyd @borisstoyanov ?

@yadvr yadvr added this to the 4.13.1.0 milestone Sep 10, 2019
@yadvr
yadvr changed the base branch from master to 4.13 September 10, 2019 16:33
@yadvr
yadvr merged commit 2496e53 into apache:4.13 Sep 10, 2019
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