Skip to content

Check different ISHTP modules according to the release (Bugfix) #1684

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

Merged
merged 14 commits into from
Apr 18, 2025

Conversation

LiaoU3
Copy link
Contributor

@LiaoU3 LiaoU3 commented Jan 16, 2025

Description

This issue was originally found from LP#2077844
After 24.04 (to be more precise, after kernel 5.15), the module intel_ishtp_loader will not be automatically loaded anymomre. Hence, the modules we need to check will be different due to the series.

The commit that cause the change in Linux git repo is over here.

Resolved issues

LP#2077844

Documentation

N/A

Tests

https://certification.canonical.com/hardware/202407-34230/submission/408436/

Copy link

codecov bot commented Jan 16, 2025

Codecov Report

Attention: Patch coverage is 93.10345% with 2 lines in your changes missing coverage. Please review.

Project coverage is 50.20%. Comparing base (7391273) to head (26d8572).
Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
providers/base/bin/ishtp.py 93.10% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1684      +/-   ##
==========================================
+ Coverage   50.16%   50.20%   +0.04%     
==========================================
  Files         381      382       +1     
  Lines       40856    40894      +38     
  Branches     6857     6866       +9     
==========================================
+ Hits        20494    20530      +36     
- Misses      19632    19633       +1     
- Partials      730      731       +1     
Flag Coverage Δ
provider-base 26.63% <93.10%> (+0.16%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pieqq pieqq self-requested a review March 7, 2025 08:17
@fernando79513
Copy link
Collaborator

Please merge this PR with main to fix the issues with the SRU gate.

@fernando79513 fernando79513 self-assigned this Mar 21, 2025
@fernando79513 fernando79513 added the waiting-for-changes The review has been completed but the PR is waiting for changes from the author label Mar 24, 2025
@LiaoU3 LiaoU3 requested a review from fernando79513 March 26, 2025 02:19
@LiaoU3 LiaoU3 removed the waiting-for-changes The review has been completed but the PR is waiting for changes from the author label Mar 28, 2025
@LiaoU3
Copy link
Contributor Author

LiaoU3 commented Mar 28, 2025

@fernando79513 Please review it when you have time.

Copy link
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for moving everything to python!!
I've just added some comments to make the code a bit simpler.

@LiaoU3 LiaoU3 marked this pull request as draft April 14, 2025 12:33
@LiaoU3 LiaoU3 marked this pull request as ready for review April 14, 2025 12:33
@LiaoU3 LiaoU3 requested a review from fernando79513 April 14, 2025 12:59
@LiaoU3 LiaoU3 enabled auto-merge (squash) April 15, 2025 01:15
Copy link
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just two more small changes.

@LiaoU3 LiaoU3 requested a review from fernando79513 April 17, 2025 08:39
@LiaoU3 LiaoU3 merged commit 1dcdaa1 into canonical:main Apr 18, 2025
21 checks passed
Meulengracht pushed a commit to Meulengracht/checkbox that referenced this pull request May 19, 2025
…nical#1684)

* Check different modules according to the release

* Replace shell script with python script

* Black format

* Fix flake8

* Fix check

* Replace f-string with format string

* Adopt suggestion from Fernando

* Fix mock output

* Fix codecov and tox

* Remove ishtp.py from test folder

* Extend code coverage
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

Successfully merging this pull request may close these issues.

3 participants