Skip to content

Conversation

@clairlin53
Copy link
Contributor

@clairlin53 clairlin53 commented Nov 18, 2025

Bug fix for the PR Dmi resource sane_product to avoid in duplication (bugfix) #2046

Problem

  1. Bug: resource.py file is missing the "Mini PC" type, causing desktop jobs to be skipped.

  2. Bug: Graphics jobs and DIM job are skipped on AIO devices due to flawed "portable" refactor.

Description

Resolved issues

Documentation

Tests

Mini PC

Fail Result:
Manual Test:
https://certification.canonical.com/hardware/202505-36800/submission/458592/test-results/?term=glxgears
Auto Test:
https://certification.canonical.com/hardware/202505-36800/submission/456750/test-results/?term=glxgears

After modified (PASS):
Manual Test:
https://certification.canonical.com/hardware/202505-36800/submission/459713/
Auto Test:
https://certification.canonical.com/hardware/202505-36800/submission/459717/

AIO

Fail Result:

Manual:
https://certification.canonical.com/hardware/202508-37860/submission/456492/test-results/?term=dim
https://certification.canonical.com/hardware/202508-37860/submission/456492/test-results/?term=glxgears
Auto:
https://certification.canonical.com/hardware/202508-37860/submission/456467/test-results/?term=glxgears

After modified (PASS):
Manual Test:
https://certification.canonical.com/hardware/202508-37860/submission/459705/
https://certification.canonical.com/hardware/202508-37850/submission/459704/
https://certification.canonical.com/hardware/202508-37860/submission/459958/
Auto Test:
https://certification.canonical.com/hardware/202508-37860/submission/459708/
https://certification.canonical.com/hardware/202508-37860/submission/459956/

@codecov
Copy link

codecov bot commented Nov 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.56%. Comparing base (47817ad) to head (19670ca).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2204      +/-   ##
==========================================
+ Coverage   53.49%   53.56%   +0.06%     
==========================================
  Files         401      401              
  Lines       43079    43102      +23     
  Branches     7983     7991       +8     
==========================================
+ Hits        23045    23086      +41     
+ Misses      19223    19205      -18     
  Partials      811      811              
Flag Coverage Δ
provider-base 30.67% <ø> (+0.19%) ⬆️
provider-resource 39.42% <100.00%> (+0.12%) ⬆️

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.

Copy link
Contributor

@hanhsuan hanhsuan left a comment

Choose a reason for hiding this comment

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

Could we have one new sane_product type to collect AIO to prevent the naming issue in the future ?

@clairlin53 clairlin53 changed the title DMI sane_product missing Mini PC and fix AIO for related jobs(Bugfix) DMI sane_product missing Mini PC and fix AIO for related jobs(BugFix) Nov 19, 2025
@clairlin53 clairlin53 changed the title DMI sane_product missing Mini PC and fix AIO for related jobs(BugFix) DMI sane_product missing Mini PC and fix AIO for related jobs (BugFix) Nov 19, 2025
@clairlin53 clairlin53 requested a review from hanhsuan November 19, 2025 08:26
Copy link
Contributor

@hanhsuan hanhsuan left a comment

Choose a reason for hiding this comment

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

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