Add a DEP8 test to drive the kernel regression tests

Bug #1385330 reported by Brad Figg
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Undecided
Brad Figg
Lucid
Won't Fix
Undecided
Brad Figg
Precise
Won't Fix
Undecided
Brad Figg
Trusty
Fix Released
Undecided
Brad Figg
Utopic
Won't Fix
Undecided
Brad Figg
Vivid
Won't Fix
Undecided
Brad Figg

Bug Description

See Title

Brad Figg (brad-figg)
Changed in linux (Ubuntu Lucid):
assignee: nobody → Brad Figg (brad-figg)
Changed in linux (Ubuntu Precise):
assignee: nobody → Brad Figg (brad-figg)
Changed in linux (Ubuntu Trusty):
assignee: nobody → Brad Figg (brad-figg)
Changed in linux (Ubuntu Utopic):
assignee: nobody → Brad Figg (brad-figg)
Changed in linux (Ubuntu Vivid):
assignee: nobody → Brad Figg (brad-figg)
Changed in linux (Ubuntu Lucid):
status: New → Triaged
Changed in linux (Ubuntu Precise):
status: New → Triaged
Changed in linux (Ubuntu Trusty):
status: New → Triaged
Changed in linux (Ubuntu Utopic):
status: New → Triaged
Changed in linux (Ubuntu Vivid):
status: New → Triaged
Changed in linux (Ubuntu Trusty):
status: Triaged → In Progress
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: kernel-da-key
Revision history for this message
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-trusty' to 'verification-done-trusty'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-trusty
Revision history for this message
Martin Pitt (pitti) wrote :

This ran now in https://jenkins.qa.ubuntu.com/job/trusty-adt-linux/110/. The new ubuntu-regression-suite autopkgtest succeeded (see https://jenkins.qa.ubuntu.com/job/trusty-adt-linux/110/ARCH=amd64,label=adt/console), just the test was marked as failed because of a Jenkins job configuration issue. ("No test report files were found."). I'll deal with this with Jean-Baptiste.

However, notice that the already existing "rebuild" test got broken in this upload:

-Depends: build-essential
-Restrictions: build-needed
+Depends: @builddeps@, fakeroot
+Restrictions: allow-stderr

The "build-needed" restriction was the crucial bit: without it there won't be any actual rebuild. This might be intentional for an SRU even, or you might have done that temporarily for testing the new ubuntu-regression-suite autopkgtest? But at least for the development release this should be reverted.

Revision history for this message
Martin Pitt (pitti) wrote :

Discussed with Andy on IRC. The rebuild test should become simplified and also do the build as the actual test, otherwise after the build it will reset the testbed again (i. e. starting new VM, upgrading to new kernel in -proposed, reboot). We also want to set a build profile to only build one flavor.

So you can drop debian/tests/rebuild and just have

  Test-Command: env DEB_BUILD_PROFILES=autopkgtest dpkg-buildpackage -us -uc -b
   Depends: @builddeps@

Revision history for this message
Martin Pitt (pitti) wrote :

OK, Jenkins config fixed, https://jenkins.qa.ubuntu.com/job/trusty-adt-linux/113/ succeeded now. But please double-check if this is right:

seccomp_bpf_tests.c: In function ���change_syscall���:
  seccomp_bpf_tests.c:1086:7: error: ���struct user_regs_struct��� has no member named ���orig_ax���
     regs.SYSCALL_REG = syscall;
         ^
  seccomp_bpf_tests.c:1107:7: error: ���struct user_regs_struct��� has no member named ���ax���
     regs.SYSCALL_RET = 1;
         ^
  make: *** [seccomp_bpf_tests] Error 1
11:12:04 INFO | END ERROR ubuntu_seccomp.seccomp ubuntu_seccomp.seccomp timestamp=1415704324 localtime=Nov 11 11:12:04
11:12:04 INFO | END GOOD ---- ---- timestamp=1415704324 localtime=Nov 11 11:12:04
adt-run [11:12:05]: test ubuntu-regression-suite: -----------------------]
adt-run [11:12:06]: test ubuntu-regression-suite: - - - - - - - - - - results - - - - - - - - - -
ubuntu-regression-suite PASS

This error happens on i386 only (amd64 is fine). This smells like some failing exit code isn't being propagated properly?

Revision history for this message
Andy Whitcroft (apw) wrote :

I will also note that using -b on all architectures might not be the best plan as out package is rather built for indep to build on the expected indep architecture. I might suggest we use -B in general as we are rebuilding to test the compiler as much as anything.

  Test-Command: dpkg-buildpackage -us -uc -B -Pautopkgtest
  Depends: @builddeps@

Note that Tests: rebuild is _replaced_ by Test-Command:

Brad Figg (brad-figg)
tags: added: verification-done-trusty
removed: verification-needed-trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (22.1 KiB)

This bug was fixed in the package linux - 3.13.0-40.69

---------------
linux (3.13.0-40.69) trusty; urgency=low

  [ Luis Henriques ]

  * Release Tracking Bug
    - re-used previous tracking bug

  [ Upstream Kernel Changes ]

  * regmap: fix kernel hang on regmap_bulk_write with zero val_count.

linux (3.13.0-40.68) trusty; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1388943
  * SAUCE: DEP8 test to run our regression tests
    - LP: #1385330
  * SAUCE: The very first thing we should do when testing is make sure we
    are testing the correct kernel
    - LP: #1385330

  [ dann frazier ]

  * [Config] Disable CONFIG_IPMI_SI_PROBE_DEFAULTS on armhf and arm64
    - LP: #1388952

  [ Duc Dang ]

  * SAUCE: (no-up) [PCIE] APM X-Gene: Remove debug messages in MSI
    interrupt handler path.
    - LP: #1382244
  * SAUCE: (no-up) PCI: X-Gene: Fix max payload size and phantom function
    configuration
    - LP: #1386261

  [ McAulay, Alistair ]

  * SAUCE: drm/i915: Rework GPU reset sequence to match driver load & thaw
    - LP: #1384469

  [ Timo Aaltonen ]

  * SAUCE: i915_bdw: Fix cherry-pick typo
    - LP: #1384469

  [ Upstream Kernel Changes ]

  * Revert "mac80211: disable uAPSD if all ACs are under ACM"
    - LP: #1381234
  * Revert "iwlwifi: dvm: don't enable CTS to self"
    - LP: #1381234
  * Revert "lzo: properly check for overruns"
    - LP: #1387886
  * drm/i915: provide interface for audio driver to query cdclk
    - LP: #1381168
  * regulatory: add NUL to alpha2
    - LP: #1381234
  * percpu: fix pcpu_alloc_pages() failure path
    - LP: #1381234
  * percpu: perform tlb flush after pcpu_map_pages() failure
    - LP: #1381234
  * cgroup: reject cgroup names with '\n'
    - LP: #1381234
  * vfs: add d_is_dir()
    - LP: #1381234
  * CIFS: Fix directory rename error
    - LP: #1381234
  * usb: phy: twl4030-usb: Fix lost interrupts after ID pin goes down
    - LP: #1381234
  * rtlwifi: rtl8192cu: Add new ID
    - LP: #1381234
  * CIFS: Fix wrong restart readdir for SMB1
    - LP: #1381234
  * CIFS: Fix wrong filename length for SMB2
    - LP: #1381234
  * ahci: Add Device IDs for Intel 9 Series PCH
    - LP: #1381234
  * ata_piix: Add Device IDs for Intel 9 Series PCH
    - LP: #1381234
  * USB: zte_ev: fix removed PIDs
    - LP: #1381234
  * USB: ftdi_sio: add support for NOVITUS Bono E thermal printer
    - LP: #1381234
  * USB: sierra: avoid CDC class functions on "68A3" devices
    - LP: #1381234
  * USB: sierra: add 1199:68AA device ID
    - LP: #1381234
  * iommu/arm-smmu: fix programming of SMMU_CBn_TCR for stage 1
    - LP: #1381234
  * iommu/arm-smmu: remove pgtable_page_{c,d}tor()
    - LP: #1381234
  * usb: gadget: fusb300_udc.h: Fix typo in include guard
    - LP: #1381234
  * usb: phy: tegra: Avoid use of sizeof(void)
    - LP: #1381234
  * arm64: use irq_set_affinity with force=false when migrating irqs
    - LP: #1381234
  * block: Fix dev_t minor allocation lifetime
    - LP: #1381234
  * usb: dwc3: core: fix order of PM runtime calls
    - LP: #1381234
  * usb: dwc3: core: fix ordering for PHY suspend
    - LP: #1381234
  * usb: dwc3: omap: fix ordering for runtime pm calls
    - LP: #1381234
  * ...

Changed in linux (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in linux (Ubuntu Lucid):
status: Triaged → Won't Fix
Revision history for this message
Andy Whitcroft (apw) wrote : Closing unsupported series nomination.

This bug was nominated against a series that is no longer supported, ie vivid. The bug task representing the vivid nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Vivid):
status: Triaged → Won't Fix
Mathew Hodson (mhodson)
Changed in linux (Ubuntu Utopic):
status: Triaged → Won't Fix
Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in linux (Ubuntu Precise):
status: Triaged → Won't Fix
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.