2323
2424
2525 dnf install epel-release -y
26- dnf install procps -ng -y
27- free -h
28- dnf install qemu-kvm virtme-ng -y
26+ dnf install grubby grub2-tools qemu-kvm sudo virtme -ng -y
27+ # so root can call sudo without complaint
28+ echo "root ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers
2929 dnf groupinstall 'Development Tools' -y
3030 dnf install --enablerepo=crb bc dwarves iproute kernel-devel openssl-devel elfutils-libelf-devel -y
3131
@@ -55,20 +55,47 @@ jobs:
5555
5656 ../kernel-src-tree-tools/lt_rebase.sh
5757
58- vng -b --config ciq/configs/kernel-x86_64.config --verbose | tee ../build.log
58+ #vng -b --config ciq/configs/kernel-x86_64.config --verbose | tee ../build.log
59+ # need some config tweaks for vng
60+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VSOCKETS
61+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VIRTIO_VSOCKETS
62+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VIRTIO_VSOCKETS_COMMON
63+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VSOCKETS
64+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_NET_9P
65+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_NET_9P_FD
66+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_NET_9P_VIRTIO
67+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_FAILOVER
68+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_BLK_SD_DEV
69+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_SCSI_VIRTIO
70+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VIRTIO_NET
71+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_NET_FAILOVER
72+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VIRTIO_CONSOLE
73+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_I6300ESB_WDT
74+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VIRTIO_BALLOON
75+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VIRTIO_MMIO
76+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_FUSE_FS
77+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_VIRTIO_FS
78+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_OVERLAY_FS
79+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_NETFS_SUPPORT
80+ ./scripts/config --file ./ciq/configs/kernel-x86_64.config --enable CONFIG_9P_FS
81+
82+ ../kernel-src-tree-tools/kernel_build.sh --skip-kabi --no-reboot | tee ../build.log
5983
6084 # HACK HACK HACK
61- sed -i 's/sudo//g' ../kernel-src-tree-tools/kernel_kselftest.sh
85+ # sed -i 's/sudo//g' ../kernel-src-tree-tools/kernel_kselftest.sh
6286
6387 dnf install curl --allowerasing -y
6488
6589 # should be installed in kernel_kselftest.sh
6690 dnf install conntrack-tools e2fsprogs ethtool iptables iputils ipvsadm kernel-tools nftables teamd traceroute -y
6791
6892 #vng --qemu /usr/libexec/qemu-kvm --force-initramfs --disable-microvm --rw --network user --verbose --memory 16G -- ../kernel-src-tree-tools/kernel_kselftest.sh
93+
6994 # HACK HACK HACK
70- mkdir ../kselftest-logs
71- echo ok foo:bar > ../kselftest-logs/selftest-6.12.XX.log
95+ vng --qemu /usr/libexec/qemu-kvm --force-initramfs --disable-microvm --rw --network user --verbose --memory 16G -- sh -c 'mkdir ../kselftest-logs ; echo ok foo:bar > ../kselftest-logs/selftest-$(uname -r).log'
96+
97+ #mkdir ../kselftest-logs
98+ #echo ok foo:bar > ../kselftest-logs/selftest-6.12.XX.log
7299
73100 echo "Selftests passed:"
74101 OK_TESTS=$(grep -a ^ok ../kselftest-logs/selftest* | wc -l)
@@ -78,10 +105,6 @@ jobs:
78105 STABLE_VERSION=$(git log -1 --format=%s $STABLE_TRACKING_BRANCH | grep -oP 'Linux \K[0-9]+\.[0-9]+\.[0-9]+' || echo "unknown")
79106 echo "Rebased to stable version: $STABLE_VERSION"
80107
81- # Debug: Show all local branches
82- echo "Local branches:"
83- git branch -a
84-
85108 # Push the branches
86109 git push origin $CLK_NEXT_BRANCH
87110 git push origin $TMP_CLK_NEXT_BRANCH
@@ -118,8 +141,9 @@ jobs:
118141 STABLE_VERSION=$(cat ../stable_version.txt)
119142 OK_TESTS=$(cat ../ok_tests.txt)
120143
121- # Extract abbreviated build log (last 50 lines with timing summary)
122- BUILD_LOG_SUMMARY=$(tail -50 ../build.log)
144+ # Extract abbreviated build log (first 20 and last 20 lines)
145+ #BUILD_LOG_SUMMARY=$(head -20 ../build.log && echo "" && echo "[snip]" && echo "" && tail -20 ../build.log)
146+ BUILD_LOG_SUMMARY=$(egrep -B 5 -A 5 "\[TIMER\]|^Starting Build" ../build.log)
123147
124148 # Get artifact URLs (will be available after workflow completes)
125149 RUN_ID="${{ github.run_id }}"
0 commit comments