-
Notifications
You must be signed in to change notification settings - Fork 112
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 review and cleanup #888
Merged
Merged
Conversation
This file contains 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
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
…onfigurations Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
terraform-provider-vcd-bot
added
test-running:binary
and removed
test-request:binary
labels
Aug 1, 2022
…ary' Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
lvirbalas
approved these changes
Aug 2, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for all these important adjustments.
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
adambarreiro
reviewed
Aug 2, 2022
adambarreiro
approved these changes
Aug 2, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great effort, thanks a lot!
terraform-provider-vcd-bot
added
test-failed:binary
and removed
test-running:binary
labels
Aug 2, 2022
terraform-provider-vcd-bot
added
test-running:binary
test-failed:binary
and removed
test-request:binary
test-failed:binary
labels
Aug 2, 2022
terraform-provider-vcd-bot
added
test-running:binary
and removed
test-request:binary
test-failed:binary
labels
Aug 2, 2022
terraform-provider-vcd-bot
added
test-failed:binary
and removed
test-running:binary
labels
Aug 2, 2022
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.
This PR aims to cover any testing issues that were found in pre-release testing.
A list of discovered and fixed things:
Switches default VDC for binary tests (and future upgrade tests) to NSX-T VDC instead of NSX-V (aligns with acceptance test work done in Convert tests to use NSX-T based VDC #886)
Patches
make test-binary
(in filescripts/runtest.sh
) to avoid running outdated templates intest-templates
directory by defaultAdds a test
TestAccVcdNsxVdcGroupResources
(commit dcf8ac1) which hits lock errors when Edge Gateway is part of VDC Group. This is fixed in commit 73d008b by using a conditional locking mechanism:Note. This locking mechanism copy/pasted from NSX-T BGP and Route Advertisement resources.
Sample error:
vcd_inserted_media
andvcd_vm_internal_disk
lock alignment. PR Update insert media locking to be concise with internal disk locking #884 updatedvcd_inserted_media
to use locks on parent VM to solve Destroy-time error when vcd_vm_internal_disk and vcd_inserted_media used together #868. However other problems occurred because of that (sample error below) as other resource (vapp network) used lock at vApp level and we got conflict. Apparently mounting media requires lock at vApp level. So to avoid locks at different levels (vApp vs VM), resourcevcd_vm_internal_disk
is now also switched to lock at vApp level.Sample error:
TestAccVcdNsxtAlbVdcGroupIntegration
and a few other ALB tests sometimes hit errors as below on VCD 10.2. All tasks are being tracked, but it sounds like VCD needs another second after theinfrastructure part
of configuration before enabling it on particular Edge Gateway (T1). This patch gives additional 5 second sleep between infrastructure and tenant configuration parts. Only for this test for validation. I have ran it 5 times on 3 envs and it did not occur.