Ticket #1309 (new defect)

Opened 11 years ago

Last modified 11 years ago

Automatically test whether OpenAFS compiles against the rolling PPA

Reported by: geofft Owned by:
Priority: normal Milestone: Current Semester
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description (last modified by geofft) (diff)

The plan for the Ubuntu rolling distribution involves taking new kernels fairly often. I think they're waiting until the 3.x.1 stable release before pushing them, but there's still a small chance that the Linux OpenAFS module code won't have accounted for kernel API changes by then.

We should automatically test that the kernel module compiles fine. There are a couple of ways to do this, and I'm not sure what the best answer is.

One possible route is to set up an automatic build on our own hardware somewhere (probably the build server, for convenience) which grabs the latest proposed kernel headers from the kernel team's PPA, tries to compile OpenAFS via DKMS against them, and emails us if that fails. I believe there's a mechanism for filing the Ubuntu equivalent of an RC bug against the new kernel, which will block it from migrating until we close it with the fixed openafs-modules-dkms; we might be able to script automatically filing such a bug.

The other approach would be to add an  autopkgtest to the Ubuntu (or Debian) OpenAFS packaging, which merely tests to make sure the DKMS build works with the new kernel headers. Ubuntu has  some mechanisms for running autopkgtest, and I think a mechanism for identifying specific tests as blockers. But the challenge here will be to get Ubuntu to run tests against the PPA version, since we want to know well in advance as opposed to the day a new kernel is supposed to be migrated.

Change History

comment:1 Changed 11 years ago by geofft

  • Description modified (diff)
Note: See TracTickets for help on using tickets.