kpatch ADT test failures with 4.10 kernels

Bug #1659581 reported by Seth Forshee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kpatch (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Zesty by Seth Forshee

Bug Description

The kpatch ADT tests are failing against linux 4.10.0-4.6 from the canonical-kernel-team unstable ppa. The dkms module fails to build.

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-zesty-canonical-kernel-team-unstable/zesty/amd64/k/kpatch/20170125_212559_1f2c4@/log.gz

Tags: patch
Revision history for this message
Seth Forshee (sforshee) wrote :

Attaching make.log from dkms.

Revision history for this message
Seth Forshee (sforshee) wrote :

Errors are caused by removal of the stacktrace mechanism that kpatch was using. Found this which seems to be aimed at addressing this issue: https://github.com/dynup/kpatch/pull/659.

Revision history for this message
Seth Forshee (sforshee) wrote :

Attaching a backport of https://github.com/dynup/kpatch/commit/586feb40fe116b70d3ac752359706c3e1fafe4ea. I've tested build and load of the dkms module with xenial, yakkety, and zesty-4.10 kernels with this patch applied.

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

This bug was fixed in the package kpatch - 0.5.0-0ubuntu1

---------------
kpatch (0.5.0-0ubuntu1) bionic; urgency=low

   * Upstream bump to 0.5.0 (LP: #1763065).
   * Drop patches that are present in the upstream release:
     - kpatch-build-works-without-kpatch-kmod.patch
     - kmod-core-fix-stacktrace_ops-address-function-protot.patch
     - create-diff-object-fix-WARN-_ONCE-detection-on-newer.patch
     - use-livepatch-4.5-kernel-features.patch
   * output-kernel-build-in-debug.patch was dropped to reduce build output.
   * These remaining patches have been updated to apply to the refreshed
     upstream:
     - kpatch-build-adjust-dirs.patch
     - use-debian-rules-for-ubuntu-builds.patch
     - ubuntu-kernel-variants.patch
   * The shellcheck linter is called during packaging, to verify the quality of
     the scripts used in the package.
   * List the Ubuntu Kernel Team as the package maintainer in the control file
   * kmod/core: fix stacktrace_ops 'address' function prototype for 4.6 (LP: #1665613, #1659581)

 -- Benjamin M Romer <email address hidden> Wed, 11 Apr 2018 21:41:51 -0400

Changed in kpatch (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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