google / google/testrun

connection.switch.arp_inspection potential spurious result

Open
#1,145 10 comments 0 reactions 0 assignees View on GitHub
test triaged
Dominant language
Python
Stars
56
Forks
20
Avg merge
15h 54m
Merged PRs (30d)
12

Description

**Describe the bug**
Conducted separate 2 tests on the same DUT, from separate Tetsrun machines (not sure whether this makes a difference, as the machine hardware/spec for both machines is identical).

_Test 1_
![Image](https://github.com/user-attachments/assets/1b348596-61fa-48c1-982c-750b548c762e)

_Test 2_
![Image](https://github.com/user-attachments/assets/94ecfd23-920c-4410-aa1a-0e0e76d2ccf1)

For test 2 this was shown in the logs.
![Image](https://github.com/user-attachments/assets/c679eae8-7bf9-49c4-b7bd-3138b40e4ac8)

However at the same timestamp in connection.pcap, the DUT can clearly be seen announcing that 10.10.10.12 is at 00:60:74:f0:29:90.
![Image](https://github.com/user-attachments/assets/3ddf1354-4379-4a0f-9021-bd82942d1a37)

Is this a race condition?

Additionally, an ARP packet pertaining to 10.10.10.14 doesn't appear in connection.pcap until 7 minutes later at 15:45:07. How can this be reported/inferred at 15:38:11 in the log file above?
![Image](https://github.com/user-attachments/assets/75bcc0b5-f0ff-40f1-aac6-6da2c685f61f)

**Expected behavior**
Identical results should occur on identical tests of the same DUT.

**Error logs**
[QSC QIO-L4O v9.13.0-2412.002 (test 1).zip](https://github.com/user-attachments/files/18866243/QSC.QIO-L4O.v9.13.0-2412.002.test.1.zip)
[QSC QIO-L4O v9.13.0-2412.002 (test 2).zip](https://github.com/user-attachments/files/18866246/QSC.QIO-L4O.v9.13.0-2412.002.test.2.zip)

**Environment (please provide the following information about your setup):**
- Version 2.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.