Bug Description
When a test plan (Parent) includes another test plan (Child) via nested_part, the certification_status_overrides defined in the Child plan are ignored during the execution of the Parent plan.
To make a job a "blocker," the override must be duplicated in the Parent plan, which leads to maintenance overhead and potential configuration errors across large certification suites.
Cert-blocker Test Case
To Reproduce
- Create a Sub Test Plan (sub-plan) with a certification_status_overrides setting a specific job to blocker.
For example:
id: audio-base-26-04-automated
unit: test plan
_name: Audio for 26.04 (Automated)
_description: Automated tests for audio
include:
nested_part:
audio-cert-automated
after-suspend-audio-cert-automated
certification_status_overrides:
apply blocker to com.canonical.certification::audio/detect_sinks
apply blocker to com.canonical.certification::audio/detect_sources
apply blocker to com.canonical.certification::audio/alsa_record_playback_automated
apply blocker to com.canonical.certification::after-suspend-audio/detect_sinks
apply blocker to com.canonical.certification::after-suspend-audio/detect_sources
apply blocker to com.canonical.certification::after-suspend-audio/alsa_record_playback_automated
- Execute checkbox-cli run the
client-cert-desktop-26-04-automated test plan
- Observe the status of the job defined in the Sub Plan's override.
Expected Result
The job should inherit the blocker status defined in the nested Sub Plan.
Actual Result
The job retains its original status unless the override is explicitly redefined in the Top Plan.
Environment
- checkbox version: 7.1.0.dev100
- CID: 202512-38201
Relevant log output
Additional context
sub_audio_submission.html
26_Auto_testplan_submission.html
Bug Description
When a test plan (Parent) includes another test plan (Child) via nested_part, the certification_status_overrides defined in the Child plan are ignored during the execution of the Parent plan.
To make a job a "blocker," the override must be duplicated in the Parent plan, which leads to maintenance overhead and potential configuration errors across large certification suites.
Cert-blocker Test Case
To Reproduce
For example:
client-cert-desktop-26-04-automatedtest planExpected Result
The job should inherit the blocker status defined in the nested Sub Plan.
Actual Result
The job retains its original status unless the override is explicitly redefined in the Top Plan.
Environment
Relevant log output
Additional context
sub_audio_submission.html
26_Auto_testplan_submission.html