Cherry-pick: Changes to allow us to run nightly tests for 1.4.3#8151
Merged
zjs merged 31 commits intovmware:releases/1.4.3from Jul 27, 2018
Merged
Cherry-pick: Changes to allow us to run nightly tests for 1.4.3#8151zjs merged 31 commits intovmware:releases/1.4.3from
zjs merged 31 commits intovmware:releases/1.4.3from
Conversation
DanielXiao
approved these changes
Jul 25, 2018
hickeng
approved these changes
Jul 26, 2018
Member
Author
|
Before this is rebased and merged, it should be rebased to include this PR number on the first line of each commit message. |
(cherry picked from commit 453200e)
* Add retry on vSAN DOM objects in DS check (cherry picked from commit f1c9787)
…8151) Adds a nightly test that verifies vicadmin functions properly without a wan connection. Fixes vmware#7102. (cherry picked from commit d5135e4)
(cherry picked from commit c6ea3e2)
Updated the NFS Volume nightlies to build a full NFS test bed instead of relying on the unsupported pod placement calls. Fixes vmware#7642 (cherry picked from commit ff6baa9)
(cherry picked from commit 47851e3)
vmware#7879) (vmware#8151) (cherry picked from commit b5bad94)
(cherry picked from commit 70e4c2b)
…are#8151) This commit adds test scripts for running a nightly Jenkins job to run tests in a non-DRS environment. This change runs the Group19-DRS-Disabled suite against a pre-deployed, static vCenter ELM testbed. The corresponding secrets file will be committed to the internal repo. Future changes will include adding more tests and using a testbed deployed with a service account. Fixes vmware#7662 (cherry picked from commit fe040e0)
(cherry picked from commit 72391e5)
(cherry picked from commit 0ce740b)
(cherry picked from commit 29f07bb)
…mware#8151) Increases timeout from default 3m to 30m Toward vmware#7718 (cherry picked from commit 0e43ea6)
(cherry picked from commit b7784b8)
(cherry picked from commit 86c0c52)
…#7918) (vmware#8151) (cherry picked from commit de44136)
(cherry picked from commit 71664a5)
(cherry picked from commit 4573c60)
* fix 21-1-Whitelist test (cherry picked from commit ef61c13)
(cherry picked from commit 2c5ded5)
This parameterizes the nightly job runner script so that we can pass in the configuration elements that were previously hard coded. The primary difference is it's possible to run a user specified subset of the test cases. Also removes references in the test definitions to specific user directories. There is a mostly duplicated version of the job runner files called jenkins-drs-disabled-run.sh - as best I can determine these files are not unified only because some of the nightly tests have not been confirmed to work when the test executor is in a container. (cherry picked from commit 3b269fa)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
added a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
(cherry picked from commit 47851e3)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
This commit adds test scripts for running a nightly Jenkins job to run tests in a non-DRS environment. This change runs the Group19-DRS-Disabled suite against a pre-deployed, static vCenter ELM testbed. The corresponding secrets file will be committed to the internal repo. Future changes will include adding more tests and using a testbed deployed with a service account. Fixes #7662 (cherry picked from commit fe040e0)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
This change fixes the VIC tar extraction path in the jenkins-drs-disabled-run.sh script. We were erroneously extracting the binaries outside the vic/ directory, causing the 'Install VIC Appliance To Test Server' keyword to fail because it couldn't locate the vic-machine binary in vic/bin. Towards #7662 (cherry picked from commit 0cf0634)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
This commit adds an integration test in Group19-DRS-Disabled to verify that during a VCH create, vic-machine checks for the DRS setting in the targeted cluster and also warns if any command options specific to resource pools are supplied, since they will be ignored as they are not applicable in a DRS-disabled env. Towards #7275 (cherry picked from commit e3991c1)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
This parameterizes the nightly job runner script so that we can pass in the configuration elements that were previously hard coded. The primary difference is it's possible to run a user specified subset of the test cases. Also removes references in the test definitions to specific user directories. There is a mostly duplicated version of the job runner files called jenkins-drs-disabled-run.sh - as best I can determine these files are not unified only because some of the nightly tests have not been confirmed to work when the test executor is in a container. (cherry picked from commit 3b269fa)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
1. correct link construction for download of log bundles 2. correct custom test bed specified case in nimbus utils 3. clean generated log file name The spec arg has been moved to the end to reduce the changes necessary in calls to the Nimbus Deploy Testbed keyword that do not specify a custom testbed file. (cherry picked from commit 0f68789)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
This builds on #8047 and #8063 to address some outstanding issues left by that work. In the case of the hetrogeneous and NFS tests, it is test updates necessitated by the prior Nimbus-Util.robot updates. In the case of the VSAN tests it switches to using a testbed descriptor based off the vic-simple-cluster spec instead of what appeared to be a library spec, testng/testbeds/vsan.rb. This disables the complex vSAN testsuite at this time as I could not infer what the complex case was testing, and it is not in the test doc. It's possible that it's testing multiple vSAN datastores and our ability to use either but that's pure speculation. (cherry picked from commit d533414)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
…8151) This commit attempts to improve predictability by normalizing error checking, retry approaches, pxe boot directory, and parameterizing previously hard-coded build config. The latter is included because it allows the caller to make reasonable estimates about how the build will run rather than having to dig through test code. Previously there were retries of different durations wrapped around the outside of the Add Host To Distributed Switch keyword. If it may need retrying then the operation should do so to avoid this cluster, and those cases where a retry was not present. Reduce sleep in inner retry loops to fail faster and adds a check for exit code in addition to output parsing for faster fail. The inner loops should be parameterized or removed completely in favour of the outer retry logic unless there's significant improvement in success probability from retrying at that level however this commit does not embark on that work. (cherry picked from commit 1387ab1)
zjs
pushed a commit
that referenced
this pull request
Jul 27, 2018
This updates the build numbers used for scenario test setup to the latest update relases of the respective vSphere versions for 6.0, 6.5, and 6.7 Adds perma-links to the version/build mappings for future convenience. (cherry picked from commit 3af7fa6)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick a variety of changes related to nightly testing to allow us to run nightly tests on the 1.4.3 release branch: