Skip to content

The certification_status_overrides in the sub test plan do not apply to the top level test plan #2479

@clairlin53

Description

@clairlin53

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

  • cert-blocker

To Reproduce

  1. 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
  1. Execute checkbox-cli run the client-cert-desktop-26-04-automated test plan
  2. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions