Skip to content

systemvm: fix proc.find in CsProcess.py#4413

Merged
DaanHoogland merged 1 commit intoapache:4.14from
ustcweizhou:4.14-fix-proc-find
Oct 21, 2020
Merged

systemvm: fix proc.find in CsProcess.py#4413
DaanHoogland merged 1 commit intoapache:4.14from
ustcweizhou:4.14-fix-proc-find

Conversation

@weizhouapache
Copy link
Copy Markdown
Member

Description

This fixes the issues described in #4384 and #4386

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?

Copy link
Copy Markdown
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

given good test results LGTM

for i in CsHelper.execute("ps aux"):
items = len(self.search)
proc = re.split(r"\s+", i)[items*-1:]
proc = re.split(r"\s+", i)[10:]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

given this is null based the return is now the full cli as returned by ps aux ; 👍


def find_pid(self):
self.pid = []
items = len(self.search)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

maybe we should think about renaming search; it actually means to be the process/command name.

@DaanHoogland
Copy link
Copy Markdown
Contributor

@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: ✔centos7 ✖centos8 ✔debian. JID-2207

@DaanHoogland
Copy link
Copy Markdown
Contributor

@blueorangutan test

@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-3007)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 29348 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4413-t3007-kvm-centos7.zip
Smoke tests completed. 83 look OK, 0 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File

@DaanHoogland
Copy link
Copy Markdown
Contributor

ping @rhtyd , not sure who else was involved in the predecessors of this one, but i think we can merge this one now.

@DaanHoogland
Copy link
Copy Markdown
Contributor

@davidjumani @borisstoyanov @andrijapanicsb @GabrielBrascher can we get more oks on this?

@DaanHoogland DaanHoogland merged commit ff8a84e into apache:4.14 Oct 21, 2020
@weizhouapache
Copy link
Copy Markdown
Member Author

@DaanHoogland good .
let's see if there are still issues with test_vpc_redundant.py in trillian test of coming PRs.

@weizhouapache
Copy link
Copy Markdown
Member Author

@DaanHoogland this has been merged into 4.14. it needs to be merged into master as well

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.

6 participants