Fix ios integration test failures in CI (#39729)

Fix ios integration test failures in CI. Since the packet transfer and receive rate
on the interface is not determined to remove the tx_rate and rx_rate test conditions
to prevent intermittent failure.
pull/39740/head
Ganesh Nalawade 7 years ago committed by GitHub
parent ab4cbfd5d3
commit 4c5ac16447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,8 +5,6 @@
ios_interface: ios_interface:
name: "{{ test_interface }}" name: "{{ test_interface }}"
state: up state: up
tx_rate: ge(0)
rx_rate: ge(0)
provider: "{{ cli }}" provider: "{{ cli }}"
register: result register: result
@ -18,8 +16,6 @@
ios_interface: ios_interface:
name: "{{ test_interface }}" name: "{{ test_interface }}"
state: down state: down
tx_rate: gt(0)
rx_rate: lt(0)
provider: "{{ cli }}" provider: "{{ cli }}"
ignore_errors: yes ignore_errors: yes
register: result register: result
@ -28,8 +24,6 @@
that: that:
- "result.failed == true" - "result.failed == true"
- "'state eq(down)' in result.failed_conditions" - "'state eq(down)' in result.failed_conditions"
- "'tx_rate gt(0)' in result.failed_conditions"
- "'rx_rate lt(0)' in result.failed_conditions"
- name: Config + intent - name: Config + intent
ios_interface: ios_interface:

@ -103,8 +103,6 @@
ios_interface: ios_interface:
name: "{{ test_interface }}" name: "{{ test_interface }}"
state: up state: up
tx_rate: ge(0)
rx_rate: ge(0)
provider: "{{ cli }}" provider: "{{ cli }}"
register: result register: result
@ -116,8 +114,6 @@
ios_interface: ios_interface:
name: "{{ test_interface }}" name: "{{ test_interface }}"
state: down state: down
tx_rate: gt(0)
rx_rate: lt(0)
provider: "{{ cli }}" provider: "{{ cli }}"
ignore_errors: yes ignore_errors: yes
register: result register: result
@ -126,8 +122,6 @@
that: that:
- "result.failed == true" - "result.failed == true"
- "'state eq(down)' in result.failed_conditions" - "'state eq(down)' in result.failed_conditions"
- "'tx_rate gt(0)' in result.failed_conditions"
- "'rx_rate lt(0)' in result.failed_conditions"
- name: Config + intent - name: Config + intent
ios_interface: ios_interface:
@ -155,6 +149,4 @@
- "result.failed == true" - "result.failed == true"
- "'state eq(up)' in result.failed_conditions" - "'state eq(up)' in result.failed_conditions"
- debug: msg="END ios_smoke cli/common_utils.yaml on connection={{ ansible_connection }}" - debug: msg="END ios_smoke cli/common_utils.yaml on connection={{ ansible_connection }}"

Loading…
Cancel
Save