DPDK dep8 tests failing on non supported platforms

Bug #1551158 reported by Christian Ehrhardt 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpdk (Ubuntu)
Fix Released
High
Unassigned

Bug Description

While adding further tests we realized that DPDK tests would fail on non supported platforms.

While it makes perfect sense for them to fail, most involved people wondered why it even ran there.
Long story short: The dpdk package builds packages for all platforms like libdpdk-dev - therefore it's tests are tried to run on all platforms.

Now all the time the only thing avoiding this issue to be seen was that the tests had an "isolation-machine" restriction.
That accidentally limited the execution just to the supported i386 and amd64 for now.

When adding another Test which did not have that restrictions the issues started to show up.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

After discussing on #ubuntu-devel it was decided that the tests should guard themselves and skip the test if not appropriate.
Such specific HW need seems rare and there is no e.g. autopkgtest feature to limit Architectures.

Note: it was considered a "regression" because the fact that before we couldn't run it was not a "fault" of the Test (but of our environment). So when the new failing test landed it became a regression.

Changed in dpdk (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

FYI - this started on Friday and while we were almost done right now it is worth to document this for further reference e.g. from the Changelogs.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dpdk - 2.2.0-0ubuntu3

---------------
dpdk (2.2.0-0ubuntu3) xenial; urgency=medium

  * Guard dep8 tests against non supported platforms (LP: #1551158):
    - d/t/control now avoids failing due to "dependencies are unsatisfiable"
      when fetching packages. The packages architecture restrictions got added
      to avoid that.
    - d/t/check-dpdk-supported-arch.sh is called by all DPDK tests to ensure
      the platform is supported. If not it skips the test.

 -- Christian Ehrhardt <email address hidden> Mon, 29 Feb 2016 11:03:39 +0000

Changed in dpdk (Ubuntu):
status: Triaged → 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.