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

[Experiment]Test pre-upgrade container's updates being dropped #8402

Open
wants to merge 2 commits 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
49 changes: 16 additions & 33 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,39 +75,22 @@ pipeline:
when:
status: success

vic-unit-test:
image: 'wdc-harbor-ci.eng.vmware.com/default-project/vic-integration-test:1.48'
pull: true
environment:
BIN: bin
GOPATH: /go
SHELL: /bin/bash
secrets:
- drone_server
- drone_token
- github_automation_api_key
- codecov_token
commands:
- tests/unit-test-check.sh
when:
status: success

custom-bootstrap-iso:
image: 'gcr.io/eminent-nation-87317/vic-build-image:yum'
pull: true
environment:
BIN: bin
GOPATH: /go
SHELL: /bin/bash
secrets:
- drone_server
- drone_token
- github_automation_api_key
- codecov_token
commands:
- export BUILD_NUMBER=${DRONE_BUILD_NUMBER}
- ./tests/generate-custom-iso.sh centos-6.9
when:
custom-bootstrap-iso:
image: 'gcr.io/eminent-nation-87317/vic-build-image:yum'
pull: true
environment:
BIN: bin
GOPATH: /go
SHELL: /bin/bash
secrets:
- drone_server
- drone_token
- github_automation_api_key
- codecov_token
commands:
- export BUILD_NUMBER=${DRONE_BUILD_NUMBER}
- ./tests/generate-custom-iso.sh centos-6.9
when:
status: success

vic-integration-test-on-pr:
Expand Down
14 changes: 7 additions & 7 deletions tests/test-cases/Group11-Upgrade/11-01-Upgrade.robot
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,21 @@ Run Docker Checks
Should Be Equal As Integers ${rc} 0


${status}= Get State Of Github Issue 5653
Run Keyword If '${status}' == 'closed' Should Contain ${output} Exited (143)
Run Keyword If '${status}' == 'closed' Fail Exit code check below needs to be updated now that Issue #5653 has been resolved
#${status}= Get State Of Github Issue 5653
#Run Keyword If '${status}' == 'closed' Should Contain ${output} Exited (143)
#Run Keyword If '${status}' == 'closed' Fail Exit code check below needs to be updated now that Issue #5653 has been resolved
# Disabling the precise check for error code until https://github.com/vmware/vic/issues/5653 is fixed - we can get rid of the
# conditional around the exit code check once the issue is closed
#Should Contain ${output} Exited (143)
Should Contain ${output} Exited (143)

${rc} ${output}= Run And Return Rc And Output docker %{VCH-PARAMS} start vch-restart-test1
Should Be Equal As Integers ${rc} 0
${rc} ${output}= Run And Return Rc And Output docker %{VCH-PARAMS} ps -a
Should Be Equal As Integers ${rc} 0

${status}= Get State Of Github Issue 7534
Run Keyword If '${status}' == 'closed' Fail Exit code check below needs to be updated now that Issue #7534 has been resolved
#Should Not Contain ${output} Exited (0)
# ${status}= Get State Of Github Issue 7534
# Run Keyword If '${status}' == 'closed' Fail Exit code check below needs to be updated now that Issue #7534 has been resolved
Should Not Contain ${output} Exited (0)

# Check that rename works on a container from a VCH that supports rename
${rc} ${output}= Run And Return Rc And Output docker %{VCH-PARAMS} pull ${busybox}
Expand Down