Skip to content

add requires for installer related jobs (Bugfix)#2335

Open
stanley31huang wants to merge 1 commit intomainfrom
update_installer_job
Open

add requires for installer related jobs (Bugfix)#2335
stanley31huang wants to merge 1 commit intomainfrom
update_installer_job

Conversation

@stanley31huang
Copy link
Collaborator

Description

/var/log/installer logs are generated by ubiquity and it's not fit for Ubuntu Core OS, and this PR adding a requires to skip this test on a system running Ubuntu Core image.

Resolved issues

https://warthogs.atlassian.net/browse/TUCS-322

Documentation

Tests

ubuntu@localhost:~$ checkbox-ce-oem.checkbox-cli run com.canonical.certification::installer.*
Using sideloaded provider: checkbox-provider-base, version 7.0.0.dev138 from /var/tmp/checkbox-providers/base
Using sideloaded provider: checkbox-provider-ce-oem, version 0.1 from /var/tmp/checkbox-providers/checkbox-provider-ce-oem
===========================[ Running Selected Jobs ]============================
=========[ Running job 1 / 3. Estimated time left (at least): 0:00:02 ]=========
[ [DEPRECATED, use 'os' instead] Collect information about installed operating system (os-release) ]
ID: com.canonical.certification::lsb
Category: com.canonical.certification::information_gathering
... 8< -------------------------------------------------------------------------
distributor_id: Ubuntu Core
description: Ubuntu Core 24
release: 24
codename: Ubuntu Core 24
------------------------------------------------------------------------- >8 ---
Outcome: job passed
=========[ Running job 2 / 3. Estimated time left (at least): 0:00:00 ]=========
---------------[ Attach installer bootchart tarball if present. ]---------------
ID: com.canonical.certification::installer_bootchart.tgz
Category: com.canonical.plainbox::info
Job cannot be started because:
 - resource expression 'lsb.distributor_id != "Ubuntu Core"' evaluates to false
Outcome: job cannot be started
=========[ Running job 3 / 3. Estimated time left (at least): 0:00:00 ]=========
---------[ Attach the installer's debug log for diagnostic purposes. ]----------
ID: com.canonical.certification::installer_debug.gz
Category: com.canonical.plainbox::info
Job cannot be started because:
 - resource expression 'lsb.distributor_id != "Ubuntu Core"' evaluates to false
Outcome: job cannot be started
Finalizing session that hasn't been submitted anywhere: checkbox-run-2026-02-13T05.58.27
==================================[ Results ]===================================
 ☑ : [DEPRECATED, use 'os' instead] Collect information about installed operating system (os-release)
 ☐ : Attach installer bootchart tarball if present.
 ☐ : Attach the installer's debug log for diagnostic purposes.

/var/log/installer logs are generated by ubiquity and it's not fit for Ubuntu Core OS
@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.30%. Comparing base (630ef1b) to head (79dcc53).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2335   +/-   ##
=======================================
  Coverage   55.30%   55.30%           
=======================================
  Files         413      413           
  Lines       44505    44505           
  Branches     8205     8205           
=======================================
  Hits        24613    24613           
  Misses      19031    19031           
  Partials      861      861           
Flag Coverage Δ
provider-base 32.17% <ø> (ø)
provider-resource 39.57% <ø> (ø)

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
Collaborator

@Hook25 Hook25 left a comment

Choose a reason for hiding this comment

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

[DEPRECATED, use 'os' instead]

😆 , please us os.distributor_id

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.

2 participants