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

bump version of 'vcenter-test-container' to '1.3.0' (govmomi v0.18.0) #41151

Merged
merged 4 commits into from
Jun 6, 2018

Conversation

dericcrago
Copy link
Contributor

SUMMARY

updates 'vcenter-test-container' to '1.3.0' which has the latest tagged version of 'govmomi' (vcsim) 'v0.18.0'.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • test/runner/lib/cloud/vcenter.py
  • v{center,mware}_* tests
ANSIBLE VERSION
ansible 2.7.0.dev0 (govmomi_v0.18.0 cc051a9b1d) last updated 2018/06/05 13:44:26 (GMT -400)
  config file = /Users/deric/.ansible.cfg
  configured module search path = [u'/Users/deric/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/deric/ansible/lib/ansible
  executable location = /Users/deric/ansible/bin/ansible
  python version = 2.7.14 (default, Sep 25 2017, 09:54:19) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.37)]
ADDITIONAL INFORMATION

This required updating a couple of the vmware_guest* module tests (needed to revert the False back to True from ansible:87d6bdaf & ansible:66743f33)

@ansibot
Copy link
Contributor

ansibot commented Jun 5, 2018

@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 cloud feature This issue/PR relates to a feature request. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. test This PR relates to tests. vmware VMware community labels Jun 5, 2018
Copy link
Member

@Akasurde Akasurde left a comment

Choose a reason for hiding this comment

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

shipit

@Akasurde Akasurde removed the needs_triage Needs a first human triage before being processed. label Jun 6, 2018
@Akasurde Akasurde requested a review from mattclay June 6, 2018 06:45
@@ -48,4 +48,4 @@
- name: make sure no changes were made
assert:
that:
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [False]"
- "poweroff_d1_c1_f0.results|map(attribute='changed')|unique|list == [True]"
Copy link
Member

Choose a reason for hiding this comment

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

Why is the task name make sure no changes were made when we're asserting that changes were made?

Copy link
Member

Choose a reason for hiding this comment

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

In previous VCSIM version, vms were spawned in "poweredoff" state, and running this PB would poweroff them. But now with latest changes in VCSIM, vms are spawned in "PoweredOn" mode so running the PB would make "changed" as True. I agree to change task name as it is confusing.

Copy link
Member

Choose a reason for hiding this comment

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

@Akasurde Thanks for the explanation.
@dericcrago This PR should be ready to merge once the task names are fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks @Akasurde & @mattclay - the task names have been updated and a comment has also been added to hopefully help out in the future

@ansibot ansibot added the needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. label Jun 6, 2018
@mattclay mattclay merged commit ba848e0 into ansible:devel Jun 6, 2018
jacum pushed a commit to jacum/ansible that referenced this pull request Jun 26, 2018
…ansible#41151)

* leave vmware_guest_powerstate tests enabled, but revert changes from: 66743f3
* leave VM poweroff tests enabled, but revert changes from: 87d6bda
* bumped 'vcenter-test-container' version to '1.3.0'
* updated test task names based on PR feedback
@dericcrago dericcrago deleted the govmomi_v0.18.0 branch July 23, 2018 16:58
@ansible ansible locked and limited conversation to collaborators Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 cloud feature This issue/PR relates to a feature request. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. test This PR relates to tests. vmware VMware community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants