Cannot load snd-dummy module anymore

My previous build used to work perfectly fine with the snd-dummy module, as shown here:
But now it fails:

Here’s the error:
The command “sudo modprobe snd-dummy” failed and exited with 1 during .

The commit doesn’t alter the travis.yml file and only slightly change my unit test:

Yet another victim of

(running the below locally in Bionic)

$ apt-file search snd-dummy
linux-image-4.15.0-1002-oem: /lib/modules/4.15.0-1002-oem/kernel/sound/drivers/snd-dummy.ko
linux-modules-4.15.0-1006-oem: /lib/modules/4.15.0-1006-oem/kernel/sound/drivers/snd-dummy.ko
linux-modules-extra-4.15.0-20-generic: /lib/modules/4.15.0-20-generic/kernel/sound/drivers/snd-dummy.ko

suggests that this module has been moved from the base kernel package to the linux-modules or linux-modules-extra package in Xenial.

Unfortunately, the only way I found to make it work so far is to use trsuty instead of xenial.
However, I would like to try to get it working on xenial.
Here are my (failed) attempts:

As per How do I use apt-get to update to the latest kernel? - Ask Ubuntu, use apt install linux-modules-extra-`uname -r` to install a modules package for the running kernel.


That worked! Thank you!