Conversation
Summary of ChangesHello @mateusz-bloch, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request streamlines the test infrastructure by completely removing the Coremark Pro test suite, which appears to be no longer needed or maintained. Concurrently, it optimizes the execution of the Highlights
Changelog
Ignored Files
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
The pull request primarily involves the removal of Coremark Pro test files and a modification to the lsb_vsx.py harness. The changes in lsb_vsx.py include a significant reduction in the dut.expect timeout and the addition of a debug print statement. The reduction in timeout should be carefully validated to ensure it doesn't introduce flakiness, and the debug print statement should be removed.
lsb_vsx/lsb_vsx.py
Outdated
|
|
||
| while True: | ||
| idx = dut.expect([start, tc_start, status, tc_end, final, msg_line, vsx_error], timeout=2000) | ||
| idx = dut.expect([start, tc_start, status, tc_end, final, msg_line, vsx_error], timeout=90) |
There was a problem hiding this comment.
The timeout for dut.expect has been reduced from 2000 seconds to 90 seconds. While 2000 seconds might be excessive, a drastic reduction to 90 seconds could lead to test failures if the DUT takes longer to respond under certain conditions (e.g., heavy load, slower hardware, or complex test cases). Please ensure this new timeout is sufficient for all expected scenarios and is based on empirical data rather than an arbitrary reduction. If the previous timeout was too long, consider a more robust timeout mechanism or a value that accounts for variability.
| idx = dut.expect([start, tc_start, status, tc_end, final, msg_line, vsx_error], timeout=90) | |
| idx = dut.expect([start, tc_start, status, tc_end, final, msg_line, vsx_error], timeout=2000) |
lsb_vsx/lsb_vsx.py
Outdated
| idx = dut.expect([start, tc_start, status, tc_end, final, msg_line, vsx_error], timeout=90) | ||
| parsed = dut.match.groupdict() | ||
|
|
||
| print(idx) |
7c26700 to
21da6ba
Compare
21da6ba to
538d78c
Compare
Unit Test Results 1 files ± 0 2 158 suites +1 575 6h 1m 37s ⏱️ + 5h 9m 16s For more details on these failures, see this check. Results for commit 14a0ef2. ± Comparison against base commit 048bb6e. ♻️ This comment has been updated with latest results. |
24f6bfe to
14a0ef2
Compare
Description
Motivation and Context
Types of changes
How Has This Been Tested?
Checklist:
Special treatment