-
Notifications
You must be signed in to change notification settings - Fork 49
Unable to build custom kernel module in 2605.9.0 #298
Copy link
Copy link
Closed
flatcar/scripts
#107Labels
kind/bugSomething isn't workingSomething isn't working
Description
Description
Build of a custom kernel module fails on 2605.9.0 - the same process is successful on 2605.8.0/
Impact
Production env is dependant on the module in question - blocked from upgrading.
Environment and steps to reproduce
- Set-up: spin up Flatcar EC2 instance in AWS using
ami-01005e70742a799fe - Task: build wireguard custom kernel module 1.0.20201112 for Flatcar 2605.9
- Action(s): [ sequence of actions that triggered the bug, see example below ]
[2020-12-09T00:27:08.532Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + export WIREGUARD_VERSION=1.0.20201112
[2020-12-09T00:27:08.532Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + WIREGUARD_VERSION=1.0.20201112
[2020-12-09T00:27:08.532Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + modules=/opt/modules
[2020-12-09T00:27:08.532Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + mkdir -p /opt/modules /opt/modules.wd
[2020-12-09T00:27:08.532Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + mount -o lowerdir=/lib/modules,upperdir=/opt/modules,workdir=/opt/modules.wd -t overlay overlay /lib/modules
[2020-12-09T00:27:08.532Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + systemctl enable lib-modules.mount
[2020-12-09T00:27:08.532Z] �[0m�[0mnull_resource.run_install_script (remote-exec): Created symlink /etc/systemd/system/local-fs.target.wants/lib-modules.mount → /etc/systemd/system/lib-modules.mount.
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + . /usr/share/flatcar/release
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): ++ FLATCAR_RELEASE_VERSION=2605.9.0
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): ++ FLATCAR_RELEASE_BOARD=amd64-usr
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): ++ FLATCAR_RELEASE_APPID='{e96281a6-d1af-4bde-9a0a-97b76e56dc57}'
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + . /usr/share/flatcar/update.conf
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): ++ SERVER=https://public.update.flatcar-linux.net/v1/update/
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): ++ GROUP=stable
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + url=https://stable.release.flatcar-linux.net/amd64-usr/2605.9.0/flatcar_developer_container.bin.bz2
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + curl -L https://stable.release.flatcar-linux.net/amd64-usr/2605.9.0/flatcar_developer_container.bin.bz2
[2020-12-09T00:27:08.791Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + bzip2 -d
...
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + src_dir=/home/core/coreos_src
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): ++ pwd
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + var_tmp_dir=/home/core/coreos_var_tmp
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + mkdir -p /home/core/coreos_src /home/core/coreos_var_tmp
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + sed -i s/_wireguard_version_/1.0.20201112/ /tmp/installer.sh
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + systemd-nspawn --bind=/lib/modules --bind=/tmp --overlay=/home/core/coreos_src::/usr/src --overlay=/home/core/coreos_var_tmp::/var/tmp --image=flatcar_developer_container.bin /tmp/installer.sh
...
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + src_dir=/home/core/coreos_src
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): ++ pwd
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + var_tmp_dir=/home/core/coreos_var_tmp
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + mkdir -p /home/core/coreos_src /home/core/coreos_var_tmp
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + sed -i s/_wireguard_version_/1.0.20201112/ /tmp/installer.sh
[2020-12-09T00:29:30.219Z] �[0m�[0mnull_resource.run_install_script (remote-exec): + systemd-nspawn --bind=/lib/modules --bind=/tmp --overlay=/home/core/coreos_src::/usr/src --overlay=/home/core/coreos_var_tmp::/var/tmp --image=flatcar_developer_container.bin /tmp/installer.sh
...
2020-12-09T00:30:04.691Z] �[0m�[1mnull_resource.run_install_script: Still creating... (3m30s elapsed)�[0m�[0m
[2020-12-09T00:30:05.257Z] �[0m�[0mnull_resource.run_install_script (remote-exec): >>> Git clone in /var/lib/portage/portage-stable successful
[2020-12-09T00:30:05.257Z] �[0m�[0mnull_resource.run_install_script (remote-exec): Warning: No revision found for https://github.com/flatcar-linux/coreos-overlay.git
[2020-12-09T00:30:05.257Z] �[0m�[0mnull_resource.run_install_script (remote-exec): >>> Cloning repository 'coreos' from 'https://github.com/flatcar-linux/coreos-overlay.git'...
[2020-12-09T00:30:05.257Z] �[0m�[0mnull_resource.run_install_script (remote-exec): >>> Starting git clone in /var/lib/portage/coreos-overlay
[2020-12-09T00:30:05.257Z] �[0m�[0mnull_resource.run_install_script (remote-exec): Cloning into '/var/lib/portage/coreos-overlay'...
...
[2020-12-09T00:30:11.924Z] �[0m�[0mnull_resource.run_install_script (remote-exec): >>> Git clone in /var/lib/portage/coreos-overlay successful
- Error: [describe the error that was triggered]
02:30:12 null_resource.run_install_script (remote-exec): Performing Global Updates
02:30:12 null_resource.run_install_script (remote-exec): (Could take a couple of minutes if you have a lot of binary packages.)
02:30:13
02:30:13
02:30:13 null_resource.run_install_script (remote-exec): + emerge -gKv coreos-sources
02:30:13 null_resource.run_install_script (remote-exec):
02:30:13
02:30:13
02:30:13 null_resource.run_install_script (remote-exec): !!! Error fetching binhost package info from 'https://storage.googleapis.com/flatcar-jenkins/developer/boards/amd64-usr/2605.9.0/pkgs'
02:30:13 null_resource.run_install_script (remote-exec): !!! HTTP Error 404: Not Found
02:30:13
02:30:13
02:30:13
02:30:13 null_resource.run_install_script (remote-exec): !!! Error fetching binhost package info from 'https://storage.googleapis.com/flatcar-jenkins/developer/boards/amd64-usr/2605.9.0/toolchain'
02:30:13 null_resource.run_install_script (remote-exec): !!! HTTP Error 404: Not Found
02:30:13
Expected behavior
build is successful
Additional information
Since we're building wireguard, the issue isn't relevant to beta and alpha build where it is part of the kernel.
Thank you for the great work on Flatcar and otherwise :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working