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

test_rx_queues.py::test_rx_queues[rgmii-125MHz-hp-mixed-xs2] test fails for some seeds #69

Open
shuchitak opened this issue Nov 25, 2024 · 0 comments

Comments

@shuchitak
Copy link
Contributor

test_rx_queues.py::test_rx_queues[rgmii-125MHz-hp-mixed-xs2] fails intermittently, roughly about a couple of times every 10 runs.
The seed used to seed python's random number generator is generated randomly, so the test fails or passes depending on the seed. When the test fails, the DUT reports high priority packets being dropped.

I can recreate the failure with xmostest as well, running the master branch with xmostest.

If I increase the core clock freq from 500MHz to 600MHz, I can confirm that the test passes reliably, so this looks like a timing issue.

I've listed below 2 seed values, for which the test fails with pyxsim/xmostest, in case we want to recreate the failure.

seed = 1949281052092687998 # fails with pyxsim
seed = 1164115433906158532 # fails on xmostest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant