New SD test run on a server without SD slot

Bug #1850604 reported by Ike Panhc
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
Medium
Rod Smith

Bug Description

New introduced SD card test in checkbox is running on a server without SD slot and fails

ERROR:root:No removable drives were detected, aborting

Revision history for this message
Andrew Cloke (andrew-cloke) wrote :

I believe this failure was seen on HiSilicon D05 and D06 based ARM servers, neither of which have physical SD card slots.

Changed in plainbox-provider-checkbox:
status: New → Won't Fix
Revision history for this message
Jeff Lane  (bladernr) wrote :

Two things:
Need to run sd-preinserted-server in test plans, not sd-preinserted, please be sure that's the case.

two, looked at sd-preinserted-server and there's no resource requirement to skip if resource job doesn't find SD reader.

Changed in plainbox-provider-checkbox:
status: Won't Fix → Confirmed
importance: Undecided → Medium
Revision history for this message
Jeff Lane  (bladernr) wrote :

plugin: shell
category_id: com.canonical.plainbox::mediacard
id: mediacard/sd-preinserted-server
estimated_duration: 30.0
user: root
flags: preserve-cwd
command: removable_storage_test -s 268400000 --memorycard -l sdio usb scsi && removable_storage_test --memorycard sdio usb scsi
requires:
 package.name == 'udisks2' or snap.name == 'udisks2'
_summary: Automated test of SD Card reading & writing (udisk2) for servers
_description:
 This is a fully automated version of mediacard/sd-automated and assumes that the
 system under test has a memory card device plugged in prior to checkbox execution.

Needs a requirement on media card resource.

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

I'd rather suggest:

requires:
 manifest.has_card_reader == 'True'
 package.name == 'udisks2' or snap.name == 'udisks2'

Rod Smith (rodsmith)
Changed in plainbox-provider-checkbox:
assignee: nobody → Rod Smith (rodsmith)
status: Confirmed → In Progress
Changed in plainbox-provider-checkbox:
milestone: none → 0.54.0
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.