dpdk autotests should record the DKMS build results as artifacts

Bug #1625028 reported by Andy Whitcroft
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dpdk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The DPDK dkms package test should include the dkms make logs in its results so that a failure to build is detected and logs are retained. The autodep8 dkms test includes the following snippet to achieve this:

  if [ -d /var/lib/dkms ]; then
      (cd /var/lib/dkms; find -name "make.log" -print0 | xargs -0 tar c) > "$ADT_ARTIFACTS/$pkg-make-logs.tar"
  fi

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

Status changed to 'Confirmed' because the bug affects multiple users.

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

Integrated and running into the issue intentionally now to check if it retains the logs in ADT_ARTIFACTS as it should.

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

I reproduced the issue and have valid logs in ADT_ARTIFACTS.

All checks passed, upload will be part of bug 1625009 (debdiff is there)

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

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

---------------
dpdk (16.07-0ubuntu3) yakkety; urgency=medium

  [ Christian Ehrhardt ]
  * merge of latest deb_dpdk packaging for dpdk 16.07 (LP: #1625009)
    - excluding ppc enablement due to being post-FF
    - mix and match of changelogs as it is not yet uploaded to Debian
  * add man pages for installed binaries
    - add backport of patches from upstream
    - call generation of man pages in d/rules
  * d/t/test-dkms retain dkms logs for debugging (LP: #1625028)
  * fix rte_kni dkms build with kernel >= 4.8 (LP: #1625021)
    - d/p/dpdk-dev-v2-kni-fix-build-with-kernel-4.8.patch replaced macro with
      its value in kni ethtool drivers.

  [ Luca Boccassi ]
  * Add optional binary kernel modules package, disabled by default (build with
    DEB_BUILD_OPTIONS=kernel_modules to enable). If enabled will build kernel
    modules against the local, current kernel version (override by adding
    ksrc=<path/to/kernel/sources> to DEB_BUILD_OPTIONS) into a
    dpdk-modules-<kernel version> package
  * Set HOST_/EXTRA/CPP/C/LDFLAGS in d/rules so that all built objects pick up
    all flags set by the dpkg environment, like hardening flags
  * Add rte-compile-pre-cppflags.patch to make all DPDK objects pick up the
    user specified or environment specified CPP/C/LDFLAGS.
    Fixes Lintian warning:
    - W: dpdk-dev: hardening-no-relro
         usr/share/dpdk/x86_64-default-linuxapp-gcc/app/dpdk-pmdinfogen
  * Add a brief HOWTO to debian/README.source with instructions to build the
    packages, for CI systems and the like.
  * Build with RTE_DEVEL_BUILD=n to avoid building test pmds with an rpath
    hardcoded to the package build PATH. Fixes Lintian Error:
    - E: dpdk: binary-or-shlib-defines-rpath usr/bin/dpdk-pdump
         /home/lboccass/git/dpdk_deb/debian/build/shared-root/lib

  [ Santiago RR ]
  * improve debian/copyright
  * remove duplicate entries from d/control

 -- Christian Ehrhardt <email address hidden> Mon, 19 Sep 2016 08:49:44 +0200

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