somerville/manifest_version job failed with query_bto_version.py not found error

Bug #1479593 reported by Po-Hsu Lin
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Invalid
Undecided
Unassigned
OEM QA Checkbox additions
Fix Released
High
Pierre Equoy

Bug Description

While running the somervile/manifest_version job, it will fail with the "query_bto_version.py" not found error.

---------[ Running job 28 / 343. Estimated time left: unknown ]-------------
-----------------[ somerville/manifest_version ]-------------------------
ID: 2014.com.canonical.ce::somerville/manifest_version
Category: 2013.com.canonical.plainbox::uncategorised
... 8< -------------------------------------------------------------------------
bash: query_bto_version.py: command not found
------------------------------------------------------------------------- >8 ---
Outcome: job failed

root@ROUM3-DVT1-C2:~$ checkbox check-config
Configuration files:
 - /etc/xdg/plainbox.conf
 - /etc/xdg/checkbox.conf (not present)
 - /home/u/.config/plainbox.conf (not present)
 - /home/u/.config/checkbox.conf (not present)
Variables:
   [FEATURE-FLAGS]
   extcmd=legacy
   [sru]
   secure_id=unset
   [submission]
   submit_to_c3=unset
   [submission]
   submit_to_hexr=unset
   [sru]
   email_address=unset
   [sru]
   c3_url=https://certification.canonical.com/submissions/submit/
   [sru]
   lp_url=https://launchpad.net/+hwdb/+submit
   [sru]
   fallback_file=unset
   [sru]
   whitelist=unset
Sections:
   [environment]
   BTDEVADDR=00:02:72:DC:5E:38
   OPEN_AC_SSID=ubuntu-cert-ac-open
   OPEN_BG_SSID=ubuntu-cert-bg-open
   OPEN_N_SSID=ubuntu-cert-n-open
   ROUTERS=multiple
   SERVER_IPERF=192.168.158.9
   WPA_AC_PSK=insecure
   WPA_AC_SSID=ubuntu-cert-ac-wpa
   WPA_BG_PSK=insecure
   WPA_BG_SSID=ubuntu-cert-bg-wpa
   WPA_N_PSK=insecure
   WPA_N_SSID=ubuntu-cert-n-wpa
No validation problems found
root@ROUM3-DVT1-C2:~$ apt-cache policy checkbox
checkbox:
  Installed: (none)
  Candidate: 0.17.6-0ubuntu6
  Version table:
     0.17.6-0ubuntu6 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
root@ROUM3-DVT1-C2:~$ apt-cache policy plainbox
plainbox:
  Installed: 0.22.2+ppa~ubuntu14.04.1
  Candidate: 0.22.2+ppa~ubuntu14.04.1
  Version table:
 *** 0.22.2+ppa~ubuntu14.04.1 0
        500 http://ppa.launchpad.net/hardware-certification/public/ubuntu/ trusty/main amd64 Packages
        100 /var/lib/dpkg/status
     0.5.3-2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
root@ROUM3-DVT1-C2:~$ plainbox dev list provider
provider '2013.com.canonical.plainbox:manifest'
provider '2013.com.canonical.plainbox:exporters'
provider '2013.com.canonical.plainbox:categories'
provider '2013.com.canonical.certification:certification-client'
provider '2013.com.canonical.certification:checkbox'
provider '2013.com.canonical.certification:plainbox-resources'
provider '2014.com.canonical.ce:oem'

Po-Hsu Lin (cypressyew)
information type: Private → Public
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Not sure if this bug is belong to plainbox-provider-checkbox (maybe the .py script should be here?)
This job belongs to the oem provider.

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

No, this is not something that we do in the checkbox provider. Looking at the job ID it's clear this is from another project. Please re-assign this to the correct project.

Changed in plainbox-provider-checkbox:
status: Confirmed → Invalid
Danny Hsu (dannyhsu)
Changed in oem-qa-checkbox:
importance: Undecided → Critical
importance: Critical → High
Jerry Kao (jerry.kao)
Changed in oem-qa-checkbox:
status: New → Confirmed
Pierre Equoy (pieq)
Changed in oem-qa-checkbox:
assignee: nobody → Pierre Equoy (pierre-equoy)
status: Confirmed → In Progress
Revision history for this message
Pierre Equoy (pieq) wrote :

  query_bto_version.py is used by somerville/manifest_version job and it exists
  under bin/ directory in the repository, however it was not executable,
  therefore it was not packaged, making this job fail all the time on tested
  devices.

I simply made the script executable and it is now packaged and the test is properly executed.

Fixed in plainbox-provider-oem 0.20.

Changed in oem-qa-checkbox:
status: In Progress → Confirmed
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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