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

Do not review #8431

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -129,18 +129,6 @@ Attempt To Create Resource Pool
Should Contain ${output} Permission to perform this operation was denied

*** Test Cases ***
vic-machine create grants ops-user perms
Install VIC Appliance To Test Server additional-args=--ops-user ${ops_user_name} --ops-password ${ops_user_password} --ops-grant-perms

# Run a govc test to check that access is denied on some resources
Attempt To Disable DRS

Run Regression Tests

Run privilege-dependent docker operations

[Teardown] Cleanup VIC Appliance On Test Server

granted ops-user perms work after upgrade
Install VIC with version to Test Server v1.4.0 additional-args=--ops-user ${ops_user_name} --ops-password ${ops_user_password} --ops-grant-perms

Expand All @@ -154,30 +142,3 @@ granted ops-user perms work after upgrade
Run Regression Tests

Run privilege-dependent docker operations

[Teardown] Cleanup VIC Appliance On Test Server

Test with VM-Host Affinity
Log To Console \nStarting test...
Install VIC Appliance To Test Server additional-args=--ops-user ${ops_user_name} --ops-password ${ops_user_password} --ops-grant-perms --affinity-vm-group

# Run a govc test to check that access is denied on some resources
Attempt To Create Resource Pool

Run Regression Tests

Run privilege-dependent docker operations

[Teardown] Cleanup VIC Appliance On Test Server

vic-machine configure grants ops-user perms
Install VIC Appliance To Test Server

Reconfigure VCH With Ops User

# Run a govc test to check that access is denied on some resources
Attempt To Disable DRS

Run privilege-dependent docker operations

[Teardown] Cleanup VIC Appliance On Test Server
8 changes: 4 additions & 4 deletions tests/resources/VCH-Util.robot
Original file line number Diff line number Diff line change
Expand Up @@ -784,17 +784,17 @@ Upgrade with ID
Check Upgraded Version
${rc} ${output}= Run And Return Rc And Output bin/vic-machine-linux version
@{vers}= Split String ${output}
${releaseNumber}= Run echo @{vers}[2] | awk -F'-' '{print $1}'
${rc} ${out}= Run And Return Rc And Output govc vm.info %{VCH-NAME}
Should Contain ${out} ${releaseNumber}
Should Be Equal As Integers ${rc} 0
${rc} ${output}= Run And Return Rc And Output bin/vic-machine-linux inspect --name=%{VCH-NAME} --target=%{TEST_URL}%{TEST_DATACENTER} --thumbprint=%{TEST_THUMBPRINT} --user=%{TEST_USERNAME} --password=%{TEST_PASSWORD} --compute-resource=%{TEST_RESOURCE}
Log ${output}
Should Contain ${output} Completed successfully
Should Contain ${output} @{vers}[2]
Should Not Contain ${output} %{INITIAL-VERSION}
Should Be Equal As Integers ${rc} 0
Log ${output}
${releaseNumber}= Run echo @{vers}[2] | awk -F'-' '{print $1}'
${rc} ${out}= Run And Return Rc And Output govc vm.info %{VCH-NAME}
Should Contain ${out} ${releaseNumber}
Should Be Equal As Integers ${rc} 0
Get Docker Params ${output} ${true}

Check Original Version
Expand Down