Skip to content

Conversation

AmirhosseinPoolad
Copy link
Contributor

Fixes #3254 . See this action run:

https://github.com/verilog-to-routing/vtr-verilog-to-routing/actions/runs/17196322572/job/48779145751

The test has passed the CI but there are actually errors:
Image

Why did it pass? Well there this piece of code:
Image

But that's not the root cause. The QoR parsing script returned -1 in case of a mismatch between arch file name in the actual run and the golden results. In case of 1 run failure, the -1 would cancel the 1 and as a result the regression tests would pass while having errors. This commit fixes that by not throwing an exception in that specific case (Therefore not returning -1) and taking the absolute value of the QoR and run failures before summing them up.

The QoR parsing script returned -1 in case of a mismatch between arch file name in
the actual run and the golden results. If there was 1 run failures, the -1 would
cancel the 1 and as a result the regression tests would pass while having errors.
This commit fixes that by not throwing an exception in that specific case (Therefore
not returning -1) and taking the absolute value of the QoR and run failures.
@github-actions github-actions bot added scripts Utility & Infrastructure scripts lang-python Python code tests labels Aug 26, 2025
@AmirhosseinPoolad
Copy link
Contributor Author

Just to add, the only reason all the strong tests were actually ran in the linked CI run was that the scatter gather tests were at the end of the task list. If you moved it to the beginning, the script would crash at the start, no other tasks would be run, and CI would've still passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-python Python code scripts Utility & Infrastructure scripts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] Strong tests not failing if there's a mismatch in architecture in golden results vs test results
1 participant