Skip to content

suspend/*_suspend-time-check_* dependency check issue #2326

@bnbhat

Description

@bnbhat

Bug Description

suspend/{index}_suspend-time-check_{product_slug} depends on "$PLAINBOX_SESSION_SHARE"/{index}_suspend_single_times.log file, which is generated by suspend/{index}_suspend_after_switch_to_card_{product_slug}. But this test gets skipped on IoT platforms as this depends on graphics/{index}_auto_switch_card_{product_slug}

id: graphics/{index}_auto_switch_card_{product_slug}
template-id: graphics/index_auto_switch_card_product_slug
requires:
 graphics_card.driver in ['nvidia', 'amdgpu-pro', 'pcieport']
 graphics_card.driver != 'amdgpu-pro' and lsb.release < '22.04'
----------------------------[ Running job 38 / 41 ]-----------------------------
[ Test auto suspend/resume after switching to PCI ID 0x0 drm-platform-ae01000_display-controller ]
ID: com.canonical.certification::suspend/1_suspend_after_switch_to_card_drm_platform_ae01000_display_controller_auto
Category: Suspend tests
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Outcome: job cannot be started
----------------------------[ Running job 39 / 41 ]-----------------------------
----[ Verify if the machine meets the suspend and resume time thresholds. ]-----
ID: com.canonical.certification::suspend/1_suspend-time-check_drm_platform_ae01000_display_controller_auto
Category: Suspend tests
--------------------------------------------------------------------------------
No suspend log files found
--------------------------------------------------------------------------------
Outcome: job failed

for more details, here are test results:
suspend/1_suspend-time-check_drm_platform_ae01000_display_controller_auto
suspend/1_suspend_after_switch_to_card_drm_platform_ae01000_display_controller_auto
graphics/1_auto_switch_card_drm_platform_ae01000_display_controller

# graphics_card from resource job

bus: drm
category: VIDEO
driver: msm_dpu
gpu_count: 1
index: 1
name: dri/card0
path: /devices/platform/soc@0/ae00000.display-subsystem/ae01000.display-controller/drm/card0
pci_device_name: card0
prime_gpu_offload: Off
product: drm-platform-ae01000_display-controller
product_slug: drm_platform_ae01000_display_controller
switch_to_cmd: false
vendor: PCI ID 0x0
vendor_slug: PCI_ID_0x0

Cert-blocker Test Case

  • cert-blocker

To Reproduce

run suspend/{index}suspend-time-check{product_slug} test on any Qualcomm IoT device.

Or even on any device that does not have a gpu that qualifies in this
graphics_card.driver in ['nvidia', 'amdgpu-pro', 'pcieport']

Expected Result

The job skips as its dependency is skipped

Actual Result

The job fails as its dependency was skipped, it cannot complete.

Environment

  • OS: Classic 24.04
  • Checkbox snap 7.0.0-dev58
  • Device: Any Qualcomm IoT board (RB3, RB8)

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions