Optical write job cannot be started on Trusty

Bug #1331302 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Resource
Fix Released
Critical
Po-Hsu Lin

Bug Description

This happened on 201301-12636, a HP desktop system with HP GH80N optical drive[1].
(On 201301-12638 with hp DVD A DH16ACSHR as well)
Form its pre-install certificate, it passed with
optical/cdrom-write_sr0 test pass
optical/detect test pass hp DVD-RAM GH80N
optical/dvd-write_sr0 test pass
optical/read_sr0 test pass

But from the recent certificate, cdrom-write and dvd-write were skipped due to the resource job evaluates to false

I think it's caused by the missing "optical_resource" script.
It's found in /usr/lib/checkbox/bin, but not in /usr/lib/2013.com.canonical.certification:checkbox/

[1] Spec: http://www.evertek.com/viewpart.asp?auto=88271&cat=22

Related branches

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

optical_resource script is in the resource provider

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Oh, wait

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

There is no optical_resource at all in lp:checkbox. It still exists in lp:checkbox-legacy. I think the reason it was not moved was that it was replaced by something else and no (then needed) jobs still referenced it.

Setting to triaged as this is clearly a mistake (either the script needs to be copied or we need to adjust the job to use a newer resource)

Changed in plainbox-provider-checkbox:
status: New → Triaged
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

It was probably a symlink missing between checkbox-old and the resource provider, see: https://code.launchpad.net/~brendan-donegan/checkbox/optical_resource_bluray/+merge/203913

affects: plainbox-provider-checkbox → plainbox-provider-resource
Changed in plainbox-provider-resource:
milestone: none → 0.5
Changed in plainbox-provider-resource:
milestone: 0.5 → 0.6
Po-Hsu Lin (cypressyew)
Changed in plainbox-provider-resource:
assignee: nobody → Po-Hsu Lin (cypressyew)
status: Triaged → In Progress
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Workaround in 14.04 for checkbox-cli:
(with checkbox-certification-client installed)
sudo ln -sf /usr/lib/checkbox/bin/optical_resource /usr/lib/2013.com.canonical.certification\:plainbox-resources/bin/

Just put optical_resource in plainbox-resources/bin.

Changed in plainbox-provider-resource:
status: In Progress → Fix Committed
milestone: 0.6 → 0.5
Changed in plainbox-provider-resource:
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.