Re: FreeBSD-main-amd64-test - Build #25373 - Failure

From: Li-Wen Hsu <lwhsu_at_freebsd.org>
Date: Tue, 30 Jul 2024 13:52:05 UTC
Thanks and it does fix the issue:
https://ci.freebsd.org/job/FreeBSD-main-amd64-test/25375/testReport/

On Tue, Jul 30, 2024 at 2:15 PM Warner Losh <imp@bsdimp.com> wrote:

> This is my bad lua. Next run should work since I pushed the fix 3 hours ago
>
> On Tue, Jul 30, 2024, 12:13 AM <jenkins-admin@freebsd.org> wrote:
>
>> FreeBSD-main-amd64-test - Build #25373
>> (0eac99f76ec31270f902cc2a0ff5ae4b5b606a65) - Failure
>>
>> Build information:
>> https://ci.FreeBSD.org/job/FreeBSD-main-amd64-test/25373/
>> Full change log:
>> https://ci.FreeBSD.org/job/FreeBSD-main-amd64-test/25373/changes
>> Full build log:
>> https://ci.FreeBSD.org/job/FreeBSD-main-amd64-test/25373/console
>>
>> Status explanation:
>> "Failure" - the build is suspected being broken by the following changes
>> "Still Failing" - the build has not been fixed by the following changes
>> and
>>                   this is a notification to note that these changes have
>>                   not been fully tested by the CI system
>>
>> Change summaries:
>> (Those commits are likely but not certainly responsible)
>>
>> ad57cea9e633cac5ef3f17ce0a82160bc32d7f63 by imp:
>> adjkerntz.8: minor cleanup (markup, spdx, reflow)
>>
>> 1d551845f3e864e618a10ec6427bd46d887d4280 by imp:
>> netstat.1: Clarify -d argument
>>
>> 5f659bb0b63d0d0068645d70e1c39f7a26fafd63 by imp:
>> test(1): quote closing bracket in error message
>>
>> 969484b53217cee65d6802f1954f0431cbfc6b45 by imp:
>> bytgpio: expose PNP info
>>
>> 68bcf53ea2b82aaaac49dbeaf59cc3885ccc9a3a by imp:
>> mtree: Fix the sort order in BSD.include.dist
>>
>> 1c8a45b5540d74fedd36a695f52a5d12d899c0a3 by imp:
>> mtree: Fix the sort order in BSD.tests.dist
>>
>> d573295659550cf4bfbf3aaaf97d050fe7416d77 by imp:
>> pw: Clarify groupadd/groupmod memberlist formats
>>
>> 0244e0a177a68fc8ff7e8a58fa7a9553956232ec by jhb:
>> openssl: Add <sys/random.h> include for getrandom()
>>
>> 882a725bdfc71b9fc3b70cbcc230327528f3635e by imp:
>> siphash: allow zero values for final & len in SipBuf()
>>
>> e40474f3de84f3c7b885af45d9a9391c6cf448c2 by imp:
>> siphash: minor improvements to siphash unit test
>>
>> 8165650389ba2d0a68cea6902ac3750055cad9da by imp:
>> stand: Remove obsolete junk
>>
>> 65300ca729452f62c201baedcbb4a67f2afc5ed5 by imp:
>> stand: Kill commented out line
>>
>> b38a82c77ab90eace53c56151b191efd1f4a8439 by imp:
>> Revert "loader/lua: Remove pager shim"
>>
>> 522a65a8d97a0d6b634266f1b4a89aa8f374279c by imp:
>> Revert "loader/lua: Remove compat shim for loader.lua_path"
>>
>> 809edb3636a5494ad7d3dfff910e0aab89d83442 by imp:
>> Revert "loader/lua: Remove workaround for command_error"
>>
>> 9f7f90507528aaa9a2f54575c1d4f4010d01c2e5 by imp:
>> loader: Bump all versions to 3.0
>>
>> a2fd7ae87991044ca283974ced8f6ed635d1cb0c by imp:
>> stand: Print a warning of the loader is too old
>>
>> 0eac99f76ec31270f902cc2a0ff5ae4b5b606a65 by imp:
>> stand: Add "Loader needs updating" to the first menu item"
>>
>>
>>
>> The end of the build log:
>>
>> Started by upstream project "FreeBSD-main-amd64-testvm" build number 27626
>> originally caused by:
>>  Started by upstream project "FreeBSD-main-amd64-build" build number 29402
>>  originally caused by:
>>   Started by an SCM change
>>   Started by an SCM change
>> Running as SYSTEM
>> [EnvInject] - Loading node environment variables.
>> [EnvInject] - Preparing an environment for the build.
>> [EnvInject] - Keeping Jenkins system variables.
>> [EnvInject] - Keeping Jenkins build variables.
>> [EnvInject] - Injecting as environment variables the properties content
>> LINK_TYPE=latest_tested
>> FBSD_TARGET_ARCH=amd64
>> FBSD_TARGET=amd64
>> FBSD_BRANCH=main
>>
>> [EnvInject] - Variables injected successfully.
>> [EnvInject] - Injecting contributions.
>> Building remotely on lancelot.nyi.freebsd.org (vmhost_qemu vmhost_bhyve
>> vmhost_bhyve_fast image_builder) in workspace
>> /jenkins/workspace/FreeBSD-main-amd64-test
>> The recommended git tool is: NONE
>> No credentials specified
>> Wiping out workspace first.
>> Cloning the remote Git repository
>> Cloning repository https://git.freebsd.org/src.git
>>  > git init /jenkins/workspace/FreeBSD-main-amd64-test/src # timeout=10
>> Using reference repository: /home/git/src.git
>> Fetching upstream changes from https://git.freebsd.org/src.git
>>  > git --version # timeout=10
>>  > git --version # 'git version 2.45.2'
>> Setting http proxy: proxy.nyi.FreeBSD.org:3128
>>  > git fetch --tags --force --progress -- https://git.freebsd.org/src.git
>> +refs/heads/*:refs/remotes/origin/* # timeout=10
>>  > git config remote.origin.url https://git.freebsd.org/src.git #
>> timeout=10
>>  > git config --add remote.origin.fetch
>> +refs/heads/*:refs/remotes/origin/* # timeout=10
>> Avoid second fetch
>> Checking out Revision 0eac99f76ec31270f902cc2a0ff5ae4b5b606a65
>> (refs/remotes/origin/main)
>>  > git config core.sparsecheckout # timeout=10
>>  > git checkout -f 0eac99f76ec31270f902cc2a0ff5ae4b5b606a65 # timeout=10
>> Commit message: "stand: Add "Loader needs updating" to the first menu
>> item""
>>  > git rev-list --no-walk a2b67d4a6e364586ae7180cc4696609e8960f955 #
>> timeout=10
>> Checking for pre-build
>> Executing pre-build step
>> Checking if email needs to be generated
>> No emails were triggered.
>> Checking for pre-build
>> Executing pre-build step
>> Checking if email needs to be generated
>> No emails were triggered.
>> Checking for pre-build
>> Executing pre-build step
>> Checking if email needs to be generated
>> No emails were triggered.
>> [FreeBSD-main-amd64-test] $ /bin/sh -xe
>> /tmp/jenkins16328154407788136897.sh
>> + rm -fr freebsd-ci
>> + git clone '--depth=1' --single-branch -b main
>> https://github.com/freebsd/freebsd-ci.git
>> Cloning into 'freebsd-ci'...
>> + cd freebsd-ci
>> + git rev-parse HEAD
>> 50dbe7759ed26a885f473eb5678b26780f5000a2
>> + cd ..
>> [FreeBSD-main-amd64-test] $ /bin/sh -xe /tmp/jenkins8304739600988650064.sh
>> + sh -ex freebsd-ci/jobs/FreeBSD-main-amd64-test/build.sh
>> + export 'TARGET=amd64'
>> + export 'TARGET_ARCH=amd64'
>> + export 'USE_TEST_SUBR=
>> disable-dtrace-tests.sh
>> disable-zfs-tests.sh
>> disable-notyet-tests.sh
>> run-kyua.sh
>> '
>> + sh -x freebsd-ci/scripts/test/run-tests.sh
>> + SSL_CA_CERT_FILE=/usr/local/share/certs/ca-root-nss.crt
>> + [ -z 0eac99f76ec31270f902cc2a0ff5ae4b5b606a65 ]
>> + KERNCONF=GENERIC
>> + ARTIFACT_SERVER=artifact.ci.freebsd.org
>> +
>> ARTIFACT_SUBDIR=snapshot/main/0eac99f76ec31270f902cc2a0ff5ae4b5b606a65/amd64/amd64
>> + [ GENERIC '=' GENERIC ]
>> + IMG_NAME=disk-test.img
>> + JOB_DIR=freebsd-ci/jobs/FreeBSD-main-amd64-test
>> + dirname freebsd-ci/scripts/test/run-tests.sh
>> + TEST_BASE=freebsd-ci/scripts/test
>> + TIMEOUT_MS=21600000
>> + TIMEOUT=21600
>> + TIMEOUT_EXPECT=21540
>> + TIMEOUT_VM=21420
>> + : 2
>> + : 8192m
>> + EXTRA_DISK_NUM=5
>> + BHYVE_EXTRA_DISK_PARAM=''
>> + METADIR=meta
>> + METAOUTDIR=meta-out
>> + fetch
>> https://artifact.ci.freebsd.org/snapshot/main/0eac99f76ec31270f902cc2a0ff5ae4b5b606a65/amd64/amd64/disk-test.img.zst
>> disk-test.img.zst
>> <https://artifact.ci.freebsd.org/snapshot/main/0eac99f76ec31270f902cc2a0ff5ae4b5b606a65/amd64/amd64/disk-test.img.zstdisk-test.img.zst>
>>                                    1392 MB  110 MBps    12s
>> + zstd --rm -fd disk-test.img.zst
>> + truncate -s 128m disk-cam
>> + BHYVE_EXTRA_DISK_PARAM=' -s 4:0,ahci-hd,disk-cam'
>> + jot 5
>> + truncate -s 128m disk1
>> + BHYVE_EXTRA_DISK_PARAM=' -s 4:0,ahci-hd,disk-cam -s
>> 5:0,virtio-blk,disk1'
>> + truncate -s 128m disk2
>> + BHYVE_EXTRA_DISK_PARAM=' -s 4:0,ahci-hd,disk-cam -s
>> 5:0,virtio-blk,disk1 -s 6:0,virtio-blk,disk2'
>> + truncate -s 128m disk3
>> + BHYVE_EXTRA_DISK_PARAM=' -s 4:0,ahci-hd,disk-cam -s
>> 5:0,virtio-blk,disk1 -s 6:0,virtio-blk,disk2 -s 7:0,virtio-blk,disk3'
>> + truncate -s 128m disk4
>> + BHYVE_EXTRA_DISK_PARAM=' -s 4:0,ahci-hd,disk-cam -s
>> 5:0,virtio-blk,disk1 -s 6:0,virtio-blk,disk2 -s 7:0,virtio-blk,disk3 -s
>> 8:0,virtio-blk,disk4'
>> + truncate -s 128m disk5
>> + BHYVE_EXTRA_DISK_PARAM=' -s 4:0,ahci-hd,disk-cam -s
>> 5:0,virtio-blk,disk1 -s 6:0,virtio-blk,disk2 -s 7:0,virtio-blk,disk3 -s
>> 8:0,virtio-blk,disk4 -s 9:0,virtio-blk,disk5'
>> + rm -fr meta
>> + mkdir meta
>> + cp -R freebsd-ci/jobs/FreeBSD-main-amd64-test/meta/ meta/
>> + cp freebsd-ci/scripts/test/subr/disable-dtrace-tests.sh meta/
>> + cp freebsd-ci/scripts/test/subr/disable-zfs-tests.sh meta/
>> + cp freebsd-ci/scripts/test/subr/disable-notyet-tests.sh meta/
>> + cp freebsd-ci/scripts/test/subr/run-kyua.sh meta/
>> + touch meta/auto-shutdown
>> + sh -ex freebsd-ci/scripts/test/create-meta.sh
>> + rm -f meta.tar
>> + truncate -s 512M meta.tar
>> + tar rvf meta.tar -C meta .
>> a .
>> a ./auto-shutdown
>> a ./disable-notyet-tests.sh
>> a ./run.sh
>> a ./run-kyua.sh
>> a ./disable-zfs-tests.sh
>> a ./disable-dtrace-tests.sh
>> + echo main
>> + sed -e 's,.*-,,'
>> + FBSD_BRANCH_SHORT=main
>> + TEST_VM_NAME=testvm-main-amd64-25373
>> + [ '' '=' 1 ]
>> + sudo /usr/sbin/bhyvectl '--vm=testvm-main-amd64-25373' --destroy
>> vm_open: testvm-main-amd64-25373 could not be opened: No such file or
>> directory
>> + true
>> + sudo /usr/sbin/bhyveload -c stdio -m 8192m -d disk-test.img
>> testvm-main-amd64-25373
>> Consoles: userboot
>>
>> FreeBSD/amd64 User boot lua, Revision 1.2
>> (Tue Jul  2 11:31:03 UTC 2024 root@build-14.freebsd.org)
>> | / -
>> **********************************************************************
>> **********************************************************************
>> *****                                                            *****
>> *****           BOOT LOADER IS TOO OLD. PLEASE UPGRADE.          *****
>> *****                                                            *****
>> **********************************************************************
>> **********************************************************************
>> \ | Loading /boot/defaults/loader.conf
>> Loading /boot/defaults/loader.conf
>> Loading /boot/device.hints
>> / Loading /boot/loader.conf
>> Loading /boot/loader.conf.local
>> - \  c| ERROR: error loading module 'menu' from file '/boot/lua/menu.lua':
>>         /boot/lua/menu.lua:420: '}' expected (to close '{' at line 415)
>> near 'visible'.
>>
>>
>> Type '?' for a list of commands, 'help' for more detailed help.
>> OK Build timed out (after 360 minutes). Marking the build as failed.
>> Build was aborted
>> [PostBuildScript] - [INFO] Executing post build scripts.
>> [PostBuildScript] - [INFO] Build does not have any of the results
>> [SUCCESS]. Did not execute build step #0.
>> Recording test results
>> [Checks API] No suitable checks publisher found.
>> Checking for post-build
>> Performing post-build step
>> Checking if email needs to be generated
>> Email was triggered for: Failure - Any
>> Sending email for trigger: Failure - Any
>> Sending mail from default account using System Admin e-mail address
>
>