Skip to content

Commit

Permalink
xfail flaky test script test_events.py for image issue (sonic-net#1…
Browse files Browse the repository at this point in the history
…4161)

What is the motivation for this PR?
test_events.py is flaky in PR test, would block some PRs, the root cause should be image issue

How did you do it?
Create image issue sonic-net/sonic-buildimage#19943 and xfail test_events.py in PR test
  • Loading branch information
xwjiang-ms authored Aug 22, 2024
1 parent edc5ad3 commit f519867
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .azure-pipelines/pr_test_scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ t0:
- tacacs/test_ro_disk.py
- tacacs/test_ro_user.py
- tacacs/test_rw_user.py
# Temporarily skip test_events due to test issue with high failure rate
# - telemetry/test_events.py
- telemetry/test_events.py
- telemetry/test_telemetry.py
- telemetry/test_telemetry_cert_rotation.py
- test_features.py
Expand Down Expand Up @@ -394,6 +393,7 @@ t1-lag:
- platform_tests/test_reload_config.py
- hash/test_generic_hash.py
- sub_port_interfaces/test_sub_port_interfaces.py
- telemetry/test_events.py
- show_techsupport/test_auto_techsupport.py

multi-asic-t1-lag:
Expand Down Expand Up @@ -472,7 +472,6 @@ onboarding_t1:
- bgp/test_bgp_sentinel.py
- bgp/test_bgp_suppress_fib.py
- snmp/test_snmp_link_local.py
- telemetry/test_events.py

onboarding_dualtor:
- dualtor_io/test_link_failure.py
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1714,6 +1714,11 @@ telemetry/test_events.py:
reason: "Skip telemetry test events for 202211 and older branches"
conditions:
- "release in ['201811', '201911', '202012', '202205', '202211']"
xfail:
reason: "Test events is flaky in PR test, xfail until issue resolved"
conditions:
- "asic_type in ['vs']"
- https://github.com/sonic-net/sonic-buildimage/issues/19943

telemetry/test_telemetry.py:
skip:
Expand Down

0 comments on commit f519867

Please sign in to comment.