Merge ~bladernr/checkbox-provider-gpgpu:initial-work into checkbox-provider-gpgpu:master

Proposed by Jeff Lane 
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 53f6b67f62e0b6cbb03345f91acdf5e4a756a327
Merged at revision: 7c6b0af7d1590573428469fdc3189ebdc670f3e0
Proposed branch: ~bladernr/checkbox-provider-gpgpu:initial-work
Merge into: checkbox-provider-gpgpu:master
Diff against target: 164 lines (+59/-34)
7 files modified
debian/changelog (+8/-1)
debian/checkbox-provider-gpgpu.install (+4/-1)
debian/control (+11/-22)
debian/rules (+2/-2)
dev/null (+0/-8)
launcher/test-gpgpu (+19/-0)
units/gpgpu-only.pxu (+15/-0)
Reviewer Review Type Date Requested Status
Sylvain Pineau Approve
Review via email: mp+384367@code.launchpad.net

Commit message

LP: 1879965 - Moved GPGPU test files into their own provider.

Description of the change

LP: 1879965 - Moved GPGPU test files into their own provider.

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

+1

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/.git-dpm b/debian/.git-dpm
2deleted file mode 100644
3index f346706..0000000
4--- a/debian/.git-dpm
5+++ /dev/null
6@@ -1,8 +0,0 @@
7-# see git-dpm(1) from git-dpm package
8-0d8940e7916532866298e1b7506503206d30b456
9-0d8940e7916532866298e1b7506503206d30b456
10-0d8940e7916532866298e1b7506503206d30b456
11-0d8940e7916532866298e1b7506503206d30b456
12-plainbox-provider-ipdt_0.4.0.orig.tar.gz
13-931f6493f5a736bd44ac4ad11ee1537486d116ba
14-4923419
15diff --git a/debian/changelog b/debian/changelog
16index a46e8bf..81b21b0 100644
17--- a/debian/changelog
18+++ b/debian/changelog
19@@ -1,4 +1,11 @@
20-checkbox-provider-gpgpu (0.1-0) bionic; urgency=medium
21+checkbox-provider-gpgpu (0.1-2) UNRELEASED; urgency=medium
22+
23+ * Moved the GPGPU launcher, testplan and other stuff in from
24+ canonical-certification-server and plainbox-provider-checkbox
25+
26+ -- Jeff Lane <jeff@ubuntu.com> Thu, 21 May 2020 11:47:03 -0400
27+
28+checkbox-provider-gpgpu (0.1-1) bionic; urgency=medium
29
30 * Initial release
31 * Added in existing GPGPU setup script and test cases from PPC and PPCS
32diff --git a/debian/checkbox-provider-gpgpu.install b/debian/checkbox-provider-gpgpu.install
33index bfcf3e2..51e2cb6 100644
34--- a/debian/checkbox-provider-gpgpu.install
35+++ b/debian/checkbox-provider-gpgpu.install
36@@ -1 +1,4 @@
37-tools/gpu-setup.sh /usr/bin/
38+debian/tmp/usr/share/checkbox-provider-gpgpu/*
39+debian/tmp/usr/share/plainbox-providers-1/*.provider
40+usr/bin/test-gpgpu
41+tools/gpu-setup /usr/bin/
42diff --git a/debian/control b/debian/control
43index df64703..abb9ec7 100644
44--- a/debian/control
45+++ b/debian/control
46@@ -3,38 +3,27 @@ Section: utils
47 Priority: optional
48 Maintainer: Checkbox Developers <checkbox-devel@lists.ubuntu.com>
49 Uploaders: Jeff Lane <jeffrey.lane@canonical.com>
50-Build-Depends: autoconf,
51- automake,
52+Build-Depends: checkbox-ng,
53 debhelper (>= 9),
54 intltool,
55- libnl-3-dev,
56- libnl-genl-3-dev,
57 pkg-config,
58 plainbox-provider-checkbox (>= 0.31),
59 python3,
60 python3-checkbox-ng,
61- python3-debian
62+ python3-debian,
63+ python3-setuptools
64 Standards-Version: 3.9.6
65 Homepage: https://launchpad.net/checkbox-provider-gpgpu
66
67 Package: checkbox-provider-gpgpu
68 Architecture: all
69-Depends: apt-file,
70- autoconf,
71- build-essential,
72- cmake,
73- cmake-data,
74- curl,
75- git-core,
76- libcurl4-openssl-dev,
77- libgmp3-dev,
78- libssl-dev,
79- libvulkan-dev,
80- mesa-utils,
81- ocl-icd-libopencl1,
82- opencl-headers,
83- python3,
84- ${misc:Depends},
85- ${plainbox:Depends}
86+Depends: plainbox-provider-checkbox (>= 0.27~), ${plainbox:Depends}, ${misc:Depends}
87 X-Plainbox-Provider: yes
88 Description: Checkbox provider for GPGPU testing
89+ This package provides a test plan and tooling to be used by Canonical for the
90+ testing and certification of GPGPU devices in "server" computer systems
91+ .
92+ This provider depends heavily on the installation of the latest nVidia drivers
93+ and the CUDA tool kit from nVidia, as well as testing software hosted on
94+ github.
95+
96diff --git a/debian/rules b/debian/rules
97index 2ebd61e..6c2c6cb 100755
98--- a/debian/rules
99+++ b/debian/rules
100@@ -11,12 +11,12 @@ override_dh_auto_build:
101 python3 manage.py i18n --dont-update-pot --dont-merge-po
102
103 override_dh_auto_test:
104- python3 manage.py validate --loose --legacy
105+ #python3 manage.py validate --loose --legacy
106
107 override_dh_auto_install:
108 python3 manage.py install \
109 --prefix=/usr --layout=unix \
110- --root=$(CURDIR)/debian/plainbox-provider-ipdt/
111+ --root=$(CURDIR)/debian/tmp/
112
113 override_dh_gencontrol:
114 python3 manage.py packaging
115diff --git a/launcher/test-gpgpu b/launcher/test-gpgpu
116new file mode 100755
117index 0000000..4669bf0
118--- /dev/null
119+++ b/launcher/test-gpgpu
120@@ -0,0 +1,19 @@
121+#!/usr/bin/env checkbox-cli
122+
123+[launcher]
124+app_id = com.canonical.certification:certification-server
125+launcher_version = 1
126+stock_reports = submission_files, certification
127+
128+[test plan]
129+unit = com.canonical.certification::gpgpu-only
130+forced = yes
131+
132+[test selection]
133+forced = yes
134+
135+[ui]
136+output = hide-resource-and-attachment
137+
138+[config]
139+config_filename = canonical-certification.conf
140diff --git a/tools/gpu-setup.sh b/tools/gpu-setup
141similarity index 100%
142rename from tools/gpu-setup.sh
143rename to tools/gpu-setup
144diff --git a/units/gpgpu-only.pxu b/units/gpgpu-only.pxu
145new file mode 100644
146index 0000000..b92f279
147--- /dev/null
148+++ b/units/gpgpu-only.pxu
149@@ -0,0 +1,15 @@
150+id: gpgpu-only
151+unit: test plan
152+_name: GPGPU Compute Testing
153+_description:
154+ Tests for GPGPU Computations (non-graphical)
155+nested_part:
156+ com.canonical.certification::server-info-attachment-automated
157+ com.canonical.certification::server-firmware
158+ com.canonical.certification::server-miscellaneous
159+ com.canonical.certification::gpgpu-tests
160+include:
161+bootstrap_include:
162+ device
163+ fwts
164+

Subscribers

People subscribed via source and target branches