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

ios_ntp: Switch interface to GigabitEthernet0/1 for tests #56964

Merged
merged 2 commits into from
May 27, 2019

Conversation

pabelanger
Copy link
Contributor

SUMMARY

Update ios_ntp tests with known good interface

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ansible-test ios_ntp integration

pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 26, 2019
Until we get time to debug why centos-7 nodes are slower, use python2.7
from ubuntu-bionic.

Depends-On: ansible/ansible#56955
Depends-On: ansible/ansible#56956
Depends-On: ansible/ansible#56958
Depends-On: ansible/ansible#56959
Depends-On: ansible/ansible#56960
Depends-On: ansible/ansible#56964
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
@ansibot
Copy link
Contributor

ansibot commented May 26, 2019

@ansibot ansibot added affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. cisco Cisco technologies core_review In order to be merged, this PR must follow the core review workflow. ios Cisco IOS community needs_triage Needs a first human triage before being processed. networking Network category support:network This issue/PR relates to code supported by the Ansible Network Team. test This PR relates to tests. labels May 26, 2019
@pabelanger
Copy link
Contributor Author

Pull-request updated, HEAD is now 5432706

pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 26, 2019
Until we get time to debug why centos-7 nodes are slower, use python2.7
from ubuntu-bionic.

Depends-On: ansible/ansible#56955
Depends-On: ansible/ansible#56956
Depends-On: ansible/ansible#56958
Depends-On: ansible/ansible#56959
Depends-On: ansible/ansible#56960
Depends-On: ansible/ansible#56964
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pabelanger added a commit to pabelanger/ansible-zuul-jobs-1 that referenced this pull request May 26, 2019
Until we get time to debug why centos-7 nodes are slower, use python2.7
from ubuntu-bionic.

Depends-On: ansible/ansible#56955
Depends-On: ansible/ansible#56956
Depends-On: ansible/ansible#56958
Depends-On: ansible/ansible#56959
Depends-On: ansible/ansible#56960
Depends-On: ansible/ansible#56964
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
Copy link
Contributor

@danielmellado danielmellado left a comment

Choose a reason for hiding this comment

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

LGTM, Thanks Paul!

Copy link
Member

@trishnaguha trishnaguha left a comment

Choose a reason for hiding this comment

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

Instead of hard coding the interface in the test, can we get it from prepare_ios_tests like done in ios_interface https://github.com/ansible/ansible/blob/devel/test/integration/targets/ios_interface/tests/cli/basic.yaml#L6

@ansibot ansibot removed the needs_triage Needs a first human triage before being processed. label May 27, 2019
Lets use an interface we know that exists for testing, in some cases
Loopback0 maybe not be configured.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This is currently broken, and tests don't work. Fix this by properly
registering the result variable.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
@pabelanger
Copy link
Contributor Author

Pull-request updated, HEAD is now fc0223a

@NilashishC
Copy link
Contributor

LGTM with the non hard coded interfaces.

@ansibot ansibot added shipit This PR is ready to be merged by Core and removed core_review In order to be merged, this PR must follow the core review workflow. labels May 27, 2019
@pabelanger pabelanger merged commit 89b73cb into ansible:devel May 27, 2019
pabelanger added a commit to pabelanger/ansible that referenced this pull request Jun 12, 2019
)

* ios_ntp: Switch interface to GigabitEthernet0/1 for tests

Lets use an interface we know that exists for testing, in some cases
Loopback0 maybe not be configured.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>

* ios_ntp: properly register result variable for testing

This is currently broken, and tests don't work. Fix this by properly
registering the result variable.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pabelanger added a commit to pabelanger/ansible that referenced this pull request Jun 12, 2019
)

* ios_ntp: Switch interface to GigabitEthernet0/1 for tests

Lets use an interface we know that exists for testing, in some cases
Loopback0 maybe not be configured.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>

* ios_ntp: properly register result variable for testing

This is currently broken, and tests don't work. Fix this by properly
registering the result variable.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pabelanger added a commit to pabelanger/ansible that referenced this pull request Jun 12, 2019
)

* ios_ntp: Switch interface to GigabitEthernet0/1 for tests

Lets use an interface we know that exists for testing, in some cases
Loopback0 maybe not be configured.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>

* ios_ntp: properly register result variable for testing

This is currently broken, and tests don't work. Fix this by properly
registering the result variable.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
abadger pushed a commit that referenced this pull request Jun 17, 2019
* ios_ntp: Switch interface to GigabitEthernet0/1 for tests

Lets use an interface we know that exists for testing, in some cases
Loopback0 maybe not be configured.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>

* ios_ntp: properly register result variable for testing

This is currently broken, and tests don't work. Fix this by properly
registering the result variable.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
@ansible ansible locked and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.9 This issue/PR affects Ansible v2.9 bug This issue/PR relates to a bug. cisco Cisco technologies ios Cisco IOS community networking Network category shipit This PR is ready to be merged by Core support:network This issue/PR relates to code supported by the Ansible Network Team. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants