Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First cut at a "procstat compartments” command: list c18n compartments. #2272

Open
wants to merge 1 commit into
base: demo-2024-10
Choose a base branch
from

First cut at a "procstat compartments" command, to list c18n compartm…

7eea9af
Select commit
Loading
Failed to load commit list.
Open

First cut at a "procstat compartments” command: list c18n compartments. #2272

First cut at a "procstat compartments" command, to list c18n compartm…
7eea9af
Select commit
Loading
Failed to load commit list.
CHERI Jenkins / Jenkins failed Dec 19, 2024 in 1h 9m 43s

riscv64-purecap/Test riscv64-purecap purecap kernel: error in 'sh (Run riscv64-purecap-purecap-kernel tests in QEMU)' step

morello-hybrid / Test morello-hybrid hybrid kernel / Archive JUnit-formatted test results

Warning in junit step.

4 tests failed

morello-hybrid / Test morello-hybrid hybrid kernel / Set stage result to unstable

Warning in unstable step, with arguments Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029.

Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029

morello-hybrid / Test morello-hybrid purecap kernel / Archive JUnit-formatted test results

Warning in junit step.

4 tests failed

morello-hybrid / Test morello-hybrid purecap kernel / Set stage result to unstable

Warning in unstable step, with arguments Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029.

Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029

morello-hybrid / Test morello-hybrid purecap-benchmark kernel / Archive JUnit-formatted test results

Warning in junit step.

4 tests failed

morello-hybrid / Test morello-hybrid purecap-benchmark kernel / Set stage result to unstable

Warning in unstable step, with arguments Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029.

Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029

morello-purecap / Test morello-purecap hybrid kernel / Run morello-purecap-hybrid-kernel tests in QEMU

Error in sh (Run morello-purecap-hybrid-kernel tests in QEMU) step.

script returned exit code 1
Build log
+ rm -rf test-results/morello-purecap-hybrid-kernel
+ mkdir -p test-results/morello-purecap-hybrid-kernel
+ exit_code=0
+ ./cheribuild/jenkins-cheri-build.py --test run-morello-purecap --test-extra-args=--no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile --test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel --cheribsd/build-options=-s --cheribsd/default-kernel-abi=purecap --keep-install-dir --install-prefix=/rootfs --cheribsd/build-lib32 --cheribsd/build-tests --cheribsd/build-bench-kernels --cheribsd/build-nocaprevoke-kernels --cheribsd/with-manpages --cheribsd/debug-info --cheribsd/debug-files --cheribsd/build-alternate-abi-kernels --cheribsd/build-benchmark-abi-kernels --run-morello-purecap/kernel-abi hybrid --test-ssh-key /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/id_ed25519.pub
/usr/lib/llvm-10/bin/clang -v
Warning: Config option test-extra-args (--no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile --test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel) should be a list, got a string instead -> assuming the correct value is ['--no-timestamped-test-subdir', '--kyua-tests-files', '/usr/tests/bin/cat/Kyuafile', '--test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel']
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-amd64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-morello-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-amd64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-release-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-morello-purecap/build-bench-kernels -> True
/usr/lib/llvm-10/bin/clang is clang version (10, 0, 0) with default target x86_64-pc-linux-gnu
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
cheribsd-morello-purecap INSTALLDIR=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball INSTALL_PREFIX=/rootfs DESTDIR=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 -v
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 is clang version (14, 0, 0) with default target x86_64-unknown-linux-gnu
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 -fsyntax-only -xc /dev/null -Werror=unknown-warning-option -Werror=cheri-prototypes
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-release-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-tests for cheribsd-morello-purecap/build-tests -> True
Using fallback config option value cheribsd/build-options for cheribsd-morello-purecap/build-options -> '-s'
Warning: Config option cheribsd-morello-purecap/build-options (-s) should be a list, got a string instead -> assuming the correct value is ['-s']
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export CLANG_FORCE_COLOR_DIAGNOSTICS=always
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/cheribuild/test-scripts/run_cheribsd_tests.py --architecture morello-purecap --ssh-key /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/id_ed25519.pub --qemu-cmd /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello --disk-image /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball/cheribsd-morello-purecap.img --alternate-kernel-rootfs-path /boot/kernel.GENERIC-MORELLO --expected-kernel-abi=hybrid --no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile '--test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel'
Running mkdir -p /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/test-results/morello-purecap-hybrid-kernel

Starting QEMU: /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello -M virt,gic-version=3 -cpu morello -bios edk2-aarch64-code.fd -m 2048 -nographic -drive if=none,file=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball/cheribsd-morello-purecap.img,id=drv,format=raw -device virtio-blk-pci,drive=drv -snapshot -device virtio-net-pci,netdev=net0 -netdev user,id=net0,smb=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/test-results/morello-purecap-hybrid-kernel,hostfwd=tcp::46091-:22 -device virtio-rng-pci
Expecting regex ['start_init: trying /sbin/init', 'CHERI hybrid kernel.', 'CHERI pure-capability kernel.', 'CHERI pure-capability benchmark ABI kernel.', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x'), re.compile('Trying to mount root from .+\\.\\.\\.'), 'OK ', re.compile('((H|, h)it \\[Enter] to boot |\\[Space] to pause)')]
['/usr/tests/bin/cat/Kyuafile']
�[2J�[01;01H�[=3h�[2J�[01;01HBdsDxe: failed to load Boot0001 "UEFI Misc Device" from VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00): Not Found

BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x1,0x0)

BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x1,0x0)

�[2J�[01;01H�[2J�[01;01H�[01;01HConsoles: EFI console  


    Reading loader env vars from /efi/freebsd/loader.env


Setting currdev to disk0p1:


FreeBSD/arm64 EFI loader, Revision 1.1


(Thu Dec 19 02:58:56 UTC 2024 jenkins@focal)





   Command line arguments: loader.efi


   Image base: 0xbbea2000


   EFI version: 2.70


   EFI Firmware: EDK II (rev 1.00)


   Console: efi (0x1000)


   Load Path: \EFI\BOOT\BOOTAA64.EFI


   Load Device: PciRoot(0x0)/Pci(0x1,0x0)/HD(1,GPT,FA9A20FA-BDB9-11EF-0567-C7697351FF4A,0x22,0x1000)


   BootCurrent: 0002


   BootOrder: 0000 0001 0002[*] 0003 0004 0005 0006 0007


   BootInfo Path: PciRoot(0x0)/Pci(0x1,0x0)


Ignoring Boot0002: Only one DP found


Trying ESP: PciRoot(0x0)/Pci(0x1,0x0)/HD(1,GPT,FA9A20FA-BDB9-11EF-0567-C7697351FF4A,0x22,0x1000)


Setting currdev to disk0p1:


|�Trying: PciRoot(0x0)/Pci(0x1,0x0)/HD(2,GPT,FA9A2104-BDB9-11EF-18EC-29CDBAABF2FB,0x1022,0x1412000)


Setting currdev to disk0p2:


/�-�\�|�/�-�\�|�/�-�\�|�/�-�\�|�/��[25;01H-�\�|�/�-�Loading /boot/defaults/loader.conf


Loading /boot/defaults/loader.conf


Loading /boot/device.hints


\�Loading /boot/loader.conf


Loading /boot/loader.conf.local


|�/��[2J�[01;01H�[=3h�[2J�[01;01H�[01;01H?c-�\��[01;01H�[2J�[01;01H�[07;48H  ```                        `�[08;48H s` `.....---.......--.```   -/�[09;48H +o   .--`         /y:`      +.�[10;48H  yo`:.            :o      `+-�[11;48H   y/               -/`   -o/�[12;48H  .-                  ::/sy+:.�[13;48H  /                     `--  /�[14;48H `:                          :`�[15;48H `:                          :`�[16;48H  /                          /�[17;48H  .-                        -.�[18;48H   --                      -.�[19;48H    `:`                  `:`�[20;48H      .--             `--.�[21;48H         .---.....----.�[01;02H   _____ _               _ ____   _____ _____�[02;02H  / ____| |             (_)  _ \ / ____|  __ \�[03;02H | |    | |__   ___ _ __ _| |_) | (___ | |  | |�[04;02H | |    | '_ \ / _ \ '__| |  _ < \___ \| |  | |�[05;02H | |____| | | |  __/ |  | | |_) |____) | |__| |�[06;02H  \_____|_| |_|\___|_|  |_|____/|_____/|_____/�[09;02H/�[22;02H\�[09;44H\�[22;44H/�[09;03H-----------------------------------------�[22;03H-----------------------------------------�[10;02H|�[10;44H|�[11;02H|�[11;44H|�[12;02H|�[12;44H|�[13;02H|�[13;44H|�[14;02H|�[14;44H|�[15;02H|�[15;44H|�[16;02H|�[16;44H|�[17;02H|�[17;44H|�[18;02H|�[18;44H|�[19;02H|�[19;44H|�[20;02H|�[20;44H|�[21;02H|�[21;44H|�[09;13H Welcome to CheriBSD �[11;05H1. Boot Multi user [Enter]�[12;05H2. Boot Single user�[13;05H3. Escape to loader prompt�[14;05H4. Reboot�[15;05H5. Cons: Serial�[16;05H�[17;05HOptions:�[18;05H|�/�-�\�|�/�-�\�|�/�-�\�|�/�6. Kernel: default/kernel (1 of 12)�[19;05H7. Boot Options�[25;01H�[23;04HAutoboot in 10 seconds. [Space] to pause 


�[25;01H
===> loader(8) autoboot
Expecting regex ['start_init: trying /sbin/init', 'CHERI hybrid kernel.', 'CHERI pure-capability kernel.', 'CHERI pure-capability benchmark ABI kernel.', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x'), re.compile('Trying to mount root from .+\\.\\.\\.'), 'OK ']
�[23;04HAutoboot in 9 seconds. [Space] to pause 


�[25;01H�[23;04HAutoboot in 8 seconds. [Space] to pause 


�[25;01H�[23;01H                                                                                


�[25;01H�[25;01HExiting menu!








Type '?' for a list of commands, 'help' for more detailed help.


OK 
===> loader(8) waiting boot commands
Expecting regex ['start_init: trying /sbin/init', 'CHERI hybrid kernel.', 'CHERI pure-capability kernel.', 'CHERI pure-capability benchmark ABI kernel.', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x'), re.compile('Trying to mount root from .+\\.\\.\\.')]
boot /boot/kernel.GENERIC-MORELLO


Loading kernel...


-�\�|�/�-�\�/boot/kernel.GENERIC-MORELLO/kernel text=0x2e0 text=0x9954a0 |�/�-�\�|�text=0x2be100 /�text=0x30 data=0x142910 -�data=0x0+0x3ad720 0x8+0x141f60\�+0x8+0x10d5e8


Loading configured modules...


|�can't find '/etc/hostid'


/boot/entropy size=0x1000


/�No valid device tree blob found!


WARNING! Trying to fire up the kernel, but no device tree blob found!


---<<BOOT>>---

GDB: no debug ports present

KDB: debugger backends: ddb

KDB: current backend: ddb

Copyright 2011-2024 University of Cambridge.

Copyright 2012-2024 SRI International.

Copyright (c) 1992-2024 The FreeBSD Project.

Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994

	The Regents of the University of California. All rights reserved.

FreeBSD is a registered trademark of The FreeBSD Foundation.

FreeBSD 15.0-CURRENT #0 PR-2272-n271650-4ed750f942b8: Thu Dec 19 03:14:54 UTC 2024

    jenkins@focal:/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/cheribsd-morello-purecap-build/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/cheribsd/arm64.aarch64c/sys/GENERIC-MORELLO arm64

clang version 14.0.0 (https://git.morello-project.org/morello/llvm-project.git e9b4731a0896c74bfc31bd003c141193a748a3f2)

WARNING: WITNESS option enabled, expect reduced performance.

CHERI hybrid kernel with revocation support


Booting correct kernel ABI: CHERI hybrid kernel.
Expecting regex ['start_init: trying /sbin/init', 'CHERI hybrid kernel.', 'CHERI pure-capability kernel.', 'CHERI pure-capability benchmark ABI kernel.', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x'), re.compile('Trying to mount root from .+\\.\\.\\.')]
VT: init without driver.

module scmi already present!

real memory  = 2147483648 (2048 MB)

avail memory = 2062077952 (1966 MB)

FreeBSD/SMP: Multiprocessor System Detected: 1 CPUs

random: unblocking device.

random: entropy device external interface

kbd0 at kbdmux0

acpi0: <BOCHS BXPC>

acpi0: Power Button (fixed)

acpi0: Sleep Button (fixed)

acpi0: Could not update all GPEs: AE_NOT_CONFIGURED

psci0: <ARM Power State Co-ordination Interface Driver> on acpi0

gic0: <ARM Generic Interrupt Controller v3.0> iomem 0x8000000-0x800ffff,0x80a0000-0x8ffffff on acpi0

generic_timer0: <ARM Generic Timer> irq 34,35,36,37 on acpi0

Timecounter "ARM MPCore Timecounter" frequency 62500000 Hz quality 1000

Event timer "ARM MPCore Eventtimer" frequency 62500000 Hz quality 1000

efirtc0: <EFI Realtime Clock>

efirtc0: registered as a time-of-day clock, resolution 1.000000s

pmu0: <Performance Monitoring Unit> on acpi0

cpu0: <ACPI CPU> on acpi0

uart0: <PrimeCell UART (PL011)> iomem 0x9000000-0x9000fff irq 0 on acpi0

uart0: console (9600,n,8,1)

pcib0: <Generic PCI host controller> on acpi0

pci0: <PCI bus> on pcib0

virtio_pci0: <VirtIO PCI (legacy) Block adapter> mem 0x8000000000-0x8000003fff at device 1.0 on pci0

vtblk0: <VirtIO Block Adapter> on virtio_pci0

vtblk0: 10278MB (21049411 512 byte sectors)

virtio_pci1: <VirtIO PCI (legacy) Network adapter> port 0xa0-0xbf mem 0x8000004000-0x8000007fff at device 2.0 on pci0

vtnet0: <VirtIO Networking Adapter> on virtio_pci1

vtnet0: Ethernet address: 52:54:00:12:34:56

virtio_pci2: <VirtIO PCI (legacy) Entropy adapter> port 0x80-0x9f mem 0x8000008000-0x800000bfff at device 3.0 on pci0

acpi_ged0: <Generic Event Device> irq 33 on acpi0

acpi_ged0: Raw IRQ 41

acpi_button0: <Power Button> on acpi0

armv8crypto0: <AES-CBC,AES-XTS,AES-GCM>

Timecounters tick every 10.000 msec

usb_needs_explore_all: no devclass

CPU  0: ARM Cortex-A72 r0p3 affinity:  0

                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>

 Instruction Set Attributes 0 = <DP,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL>

 Instruction Set Attributes 1 = <RCPC-8.3,DCPoP>

 Instruction Set Attributes 2 = <>

         Processor Features 0 = <GIC,AdvSIMD+HP,FP+HP,EL1,EL0>

         Processor Features 1 = <Morello>

         Processor Features 2 = <>

      Memory Model Features 0 = <TGran4,16bit ASID,256TB PA>

      Memory Model Features 1 = <XNX,PAN+ATS1E1,LO,HPD+TTPBHA,VH,16bit VMID>

      Memory Model Features 2 = <32bit CCIDX,48bit VA,UAO,CnP>

      Memory Model Features 3 = <>

      Memory Model Features 4 = <>

             Debug Features 0 = <DoubleLock,1 CTX BKPT,8 Watchpoints,8 Breakpoints,PMUv3p4,Unknown DebugVer(0)>

             Debug Features 1 = <>

         Auxiliary Features 0 = <>

         Auxiliary Features 1 = <>

WARNING: WITNESS option enabled, expect reduced performance.

Trying to mount root from ufs:/dev/ufs/root [rw,noatime]...


===> mounting rootfs
Expecting regex ['login:', 'Logging in as root...', 'exec /bin/sh', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', 'DHCPACK from ', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x')]
pid 18 (sh), uid (0): Failed to open coredump file 'sh.core', error=30

pid 18 (sh), jid 0, uid 0: exited on signal 34 (no core dump - other error)

2024-12-19T03:35:54.861690+00:00 - init 1 - - /bin/sh on /etc/rc terminated abnormally, going to single user mode


Enter full pathname of shell or RETURN for /bin/shExpecting regex ['THIS STRING SHOULD NOT MATCH, JUST WAITING FOR 20 secs', <class 'pexpect.exceptions.TIMEOUT'>]
: 
Error during boot login prompt: <pycheribuild.boot_cheribsd.QemuCheriBSDInstance object at 0x7f4222be5430>
command: /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello
args: [b'/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello', b'-M', b'virt,gic-version=3', b'-cpu', b'morello', b'-bios', b'edk2-aarch64-code.fd', b'-m', b'2048', b'-nographic', b'-drive', b'if=none,file=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball/cheribsd-morello-purecap.img,id=drv,format=raw', b'-device', b'virtio-blk-pci,drive=drv', b'-snapshot', b'-device', b'virtio-net-pci,netdev=net0', b'-netdev', b'user,id=net0,smb=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/test-results/morello-purecap-hybrid-kernel,hostfwd=tcp::46091-:22', b'-device', b'virtio-rng-pci']
buffer (last 100 chars): ': '
before (last 100 chars): ': '
after: <class 'pexpect.exceptions.TIMEOUT'>
match: <class 'pexpect.exceptions.TIMEOUT'>
match_index: 1
exitstatus: None
flag_eof: False
pid: 525041
child_fd: 5
closed: False
timeout: 60
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1 match index=3
Fatal error (in target run-morello-purecap): Command `/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/cheribuild/test-scripts/run_cheribsd_tests.py --architecture morello-purecap --ssh-key /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/id_ed25519.pub --qemu-cmd /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello --disk-image /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball/cheribsd-morello-purecap.img --alternate-kernel-rootfs-path /boot/kernel.GENERIC-MORELLO --expected-kernel-abi=hybrid --no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile '--test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel'` failed with non-zero exit code 1. Working directory was /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2
+ exit_code=1
+ [ 1 -eq 2 ]
+ [ 1 -ne 0 ]
+ echo Test script got fatal error: exit code 1
Test script got fatal error: exit code 1
+ exit 1

morello-purecap / Test morello-purecap purecap kernel / Run morello-purecap-purecap-kernel tests in QEMU

Error in sh (Run morello-purecap-purecap-kernel tests in QEMU) step.

script returned exit code 1
Build log
+ rm -rf test-results/morello-purecap-purecap-kernel
+ mkdir -p test-results/morello-purecap-purecap-kernel
+ exit_code=0
+ ./cheribuild/jenkins-cheri-build.py --test run-morello-purecap --test-extra-args=--no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile --test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel --test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-kernel --cheribsd/build-options=-s --cheribsd/default-kernel-abi=purecap --keep-install-dir --install-prefix=/rootfs --cheribsd/build-lib32 --cheribsd/build-tests --cheribsd/build-bench-kernels --cheribsd/build-nocaprevoke-kernels --cheribsd/with-manpages --cheribsd/debug-info --cheribsd/debug-files --cheribsd/build-alternate-abi-kernels --cheribsd/build-benchmark-abi-kernels --run-morello-purecap/kernel-abi purecap --test-ssh-key /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/id_ed25519.pub
/usr/lib/llvm-10/bin/clang -v
Warning: Config option test-extra-args (--no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile --test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel --test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-kernel) should be a list, got a string instead -> assuming the correct value is ['--no-timestamped-test-subdir', '--kyua-tests-files', '/usr/tests/bin/cat/Kyuafile', '--test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel', '--test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-kernel']
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-amd64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-morello-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-amd64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-release-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-morello-purecap/build-bench-kernels -> True
/usr/lib/llvm-10/bin/clang is clang version (10, 0, 0) with default target x86_64-pc-linux-gnu
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
cheribsd-morello-purecap INSTALLDIR=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball INSTALL_PREFIX=/rootfs DESTDIR=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 -v
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 is clang version (14, 0, 0) with default target x86_64-unknown-linux-gnu
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 -fsyntax-only -xc /dev/null -Werror=unknown-warning-option -Werror=cheri-prototypes
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-release-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-tests for cheribsd-morello-purecap/build-tests -> True
Using fallback config option value cheribsd/build-options for cheribsd-morello-purecap/build-options -> '-s'
Warning: Config option cheribsd-morello-purecap/build-options (-s) should be a list, got a string instead -> assuming the correct value is ['-s']
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export CLANG_FORCE_COLOR_DIAGNOSTICS=always
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/cheribuild/test-scripts/run_cheribsd_tests.py --architecture morello-purecap --ssh-key /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/id_ed25519.pub --qemu-cmd /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello --disk-image /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball/cheribsd-morello-purecap.img --expected-kernel-abi=purecap --no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile '--test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel' '--test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-kernel'
Running mkdir -p /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/test-results/morello-purecap-purecap-kernel

Starting QEMU: /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello -M virt,gic-version=3 -cpu morello -bios edk2-aarch64-code.fd -m 2048 -nographic -drive if=none,file=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball/cheribsd-morello-purecap.img,id=drv,format=raw -device virtio-blk-pci,drive=drv -snapshot -device virtio-net-pci,netdev=net0 -netdev user,id=net0,smb=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/test-results/morello-purecap-purecap-kernel,hostfwd=tcp::37695-:22 -device virtio-rng-pci
Expecting regex ['start_init: trying /sbin/init', 'CHERI hybrid kernel.', 'CHERI pure-capability kernel.', 'CHERI pure-capability benchmark ABI kernel.', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x'), re.compile('Trying to mount root from .+\\.\\.\\.'), 'OK ', re.compile('((H|, h)it \\[Enter] to boot |\\[Space] to pause)')]
['/usr/tests/bin/cat/Kyuafile']
�[2J�[01;01H�[=3h�[2J�[01;01HBdsDxe: failed to load Boot0001 "UEFI Misc Device" from VenHw(93E34C7E-B50E-11DF-9223-2443DFD72085,00): Not Found

BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x1,0x0)

BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x1,0x0)

�[2J�[01;01H�[2J�[01;01H�[01;01HConsoles: EFI console  


    Reading loader env vars from /efi/freebsd/loader.env


Setting currdev to disk0p1:


FreeBSD/arm64 EFI loader, Revision 1.1


(Thu Dec 19 02:58:56 UTC 2024 jenkins@focal)





   Command line arguments: loader.efi


   Image base: 0xbbea2000


   EFI version: 2.70


   EFI Firmware: EDK II (rev 1.00)


   Console: efi (0x1000)


   Load Path: \EFI\BOOT\BOOTAA64.EFI


   Load Device: PciRoot(0x0)/Pci(0x1,0x0)/HD(1,GPT,FA9A20FA-BDB9-11EF-0567-C7697351FF4A,0x22,0x1000)


   BootCurrent: 0002


   BootOrder: 0000 0001 0002[*] 0003 0004 0005 0006 0007


   BootInfo Path: PciRoot(0x0)/Pci(0x1,0x0)


Ignoring Boot0002: Only one DP found


Trying ESP: PciRoot(0x0)/Pci(0x1,0x0)/HD(1,GPT,FA9A20FA-BDB9-11EF-0567-C7697351FF4A,0x22,0x1000)


Setting currdev to disk0p1:


|�Trying: PciRoot(0x0)/Pci(0x1,0x0)/HD(2,GPT,FA9A2104-BDB9-11EF-18EC-29CDBAABF2FB,0x1022,0x1412000)


Setting currdev to disk0p2:


/�-�\�|�/�-�\�|�/�-�\�|�/�-�\�|�/��[25;01H-�\�|�/�-�Loading /boot/defaults/loader.conf


Loading /boot/defaults/loader.conf


Loading /boot/device.hints


\�Loading /boot/loader.conf


Loading /boot/loader.conf.local


|�/��[2J�[01;01H�[=3h�[2J�[01;01H�[01;01H?c-�\��[01;01H�[2J�[01;01H�[07;48H  ```                        `�[08;48H s` `.....---.......--.```   -/�[09;48H +o   .--`         /y:`      +.�[10;48H  yo`:.            :o      `+-�[11;48H   y/               -/`   -o/�[12;48H  .-                  ::/sy+:.�[13;48H  /                     `--  /�[14;48H `:                          :`�[15;48H `:                          :`�[16;48H  /                          /�[17;48H  .-                        -.�[18;48H   --                      -.�[19;48H    `:`                  `:`�[20;48H      .--             `--.�[21;48H         .---.....----.�[01;02H   _____ _               _ ____   _____ _____�[02;02H  / ____| |             (_)  _ \ / ____|  __ \�[03;02H | |    | |__   ___ _ __ _| |_) | (___ | |  | |�[04;02H | |    | '_ \ / _ \ '__| |  _ < \___ \| |  | |�[05;02H | |____| | | |  __/ |  | | |_) |____) | |__| |�[06;02H  \_____|_| |_|\___|_|  |_|____/|_____/|_____/�[09;02H/�[22;02H\�[09;44H\�[22;44H/�[09;03H-----------------------------------------�[22;03H-----------------------------------------�[10;02H|�[10;44H|�[11;02H|�[11;44H|�[12;02H|�[12;44H|�[13;02H|�[13;44H|�[14;02H|�[14;44H|�[15;02H|�[15;44H|�[16;02H|�[16;44H|�[17;02H|�[17;44H|�[18;02H|�[18;44H|�[19;02H|�[19;44H|�[20;02H|�[20;44H|�[21;02H|�[21;44H|�[09;13H Welcome to CheriBSD �[11;05H1. Boot Multi user [Enter]�[12;05H2. Boot Single user�[13;05H3. Escape to loader prompt�[14;05H4. Reboot�[15;05H5. Cons: Serial�[16;05H�[17;05HOptions:�[18;05H|�/�-�\�|�/�-�\�|�/�-�\�|�/�6. Kernel: default/kernel (1 of 12)�[19;05H7. Boot Options�[25;01H�[23;04HAutoboot in 10 seconds. [Space] to pause 


�[25;01H
===> loader(8) autoboot
Expecting regex ['start_init: trying /sbin/init', 'CHERI hybrid kernel.', 'CHERI pure-capability kernel.', 'CHERI pure-capability benchmark ABI kernel.', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x'), re.compile('Trying to mount root from .+\\.\\.\\.')]
Loading kernel...


-�/boot/kernel/kernel text=0x2e0 text=0xa6dfa0 \�|�/�-�\�|�text=0x50a750 /�-�text=0x30 data=0x357470 \�|�data=0x0+0x4468e0 0x8+0x13e678/�+0x8+0x108f8f


Loading configured modules...


-�can't find '/etc/hostid'


\�/boot/entropy size=0x1000


No valid device tree blob found!


WARNING! Trying to fire up the kernel, but no device tree blob found!


---<<BOOT>>---

GDB: no debug ports present

KDB: debugger backends: ddb

KDB: current backend: ddb

Copyright 2011-2024 University of Cambridge.

Copyright 2012-2024 SRI International.

Copyright (c) 1992-2024 The FreeBSD Project.

Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994

	The Regents of the University of California. All rights reserved.

FreeBSD is a registered trademark of The FreeBSD Foundation.

FreeBSD 15.0-CURRENT #0 PR-2272-n271650-4ed750f942b8: Thu Dec 19 03:05:45 UTC 2024

    jenkins@focal:/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/cheribsd-morello-purecap-build/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/cheribsd/arm64.aarch64c/sys/GENERIC-MORELLO-PURECAP arm64

clang version 14.0.0 (https://git.morello-project.org/morello/llvm-project.git e9b4731a0896c74bfc31bd003c141193a748a3f2)

WARNING: WITNESS option enabled, expect reduced performance.

CHERI pure-capability kernel with revocation support


Booting correct kernel ABI: CHERI pure-capability kernel.
Expecting regex ['start_init: trying /sbin/init', 'CHERI hybrid kernel.', 'CHERI pure-capability kernel.', 'CHERI pure-capability benchmark ABI kernel.', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x'), re.compile('Trying to mount root from .+\\.\\.\\.')]
VT: init without driver.

module scmi already present!

real memory  = 2147483648 (2048 MB)

avail memory = 2020884480 (1927 MB)

FreeBSD/SMP: Multiprocessor System Detected: 1 CPUs

random: unblocking device.

random: entropy device external interface

kbd0 at kbdmux0

acpi0: <BOCHS BXPC>

acpi0: Power Button (fixed)

acpi0: Sleep Button (fixed)

acpi0: Could not update all GPEs: AE_NOT_CONFIGURED

psci0: <ARM Power State Co-ordination Interface Driver> on acpi0

gic0: <ARM Generic Interrupt Controller v3.0> iomem 0x8000000-0x800ffff,0x80a0000-0x8ffffff on acpi0

generic_timer0: <ARM Generic Timer> irq 34,35,36,37 on acpi0

Timecounter "ARM MPCore Timecounter" frequency 62500000 Hz quality 1000

Event timer "ARM MPCore Eventtimer" frequency 62500000 Hz quality 1000

efirtc0: <EFI Realtime Clock>

efirtc0: registered as a time-of-day clock, resolution 1.000000s

pmu0: <Performance Monitoring Unit> on acpi0

cpu0: <ACPI CPU> on acpi0

uart0: <PrimeCell UART (PL011)> iomem 0x9000000-0x9000fff irq 0 on acpi0

uart0: console (9600,n,8,1)

pcib0: <Generic PCI host controller> on acpi0

pci0: <PCI bus> on pcib0

virtio_pci0: <VirtIO PCI (legacy) Block adapter> mem 0x8000000000-0x8000003fff at device 1.0 on pci0

vtblk0: <VirtIO Block Adapter> on virtio_pci0

vtblk0: 10278MB (21049411 512 byte sectors)

virtio_pci1: <VirtIO PCI (legacy) Network adapter> port 0xa0-0xbf mem 0x8000004000-0x8000007fff at device 2.0 on pci0

vtnet0: <VirtIO Networking Adapter> on virtio_pci1

vtnet0: Ethernet address: 52:54:00:12:34:56

virtio_pci2: <VirtIO PCI (legacy) Entropy adapter> port 0x80-0x9f mem 0x8000008000-0x800000bfff at device 3.0 on pci0

acpi_ged0: <Generic Event Device> irq 33 on acpi0

acpi_ged0: Raw IRQ 41

acpi_button0: <Power Button> on acpi0

Timecounters tick every 10.000 msec

usb_needs_explore_all: no devclass

CPU  0: ARM Cortex-A72 r0p3 affinity:  0

                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG>

 Instruction Set Attributes 0 = <DP,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL>

 Instruction Set Attributes 1 = <RCPC-8.3,DCPoP>

 Instruction Set Attributes 2 = <>

         Processor Features 0 = <GIC,AdvSIMD+HP,FP+HP,EL1,EL0>

         Processor Features 1 = <Morello>

         Processor Features 2 = <>

      Memory Model Features 0 = <TGran4,16bit ASID,256TB PA>

      Memory Model Features 1 = <XNX,PAN+ATS1E1,LO,HPD+TTPBHA,VH,16bit VMID>

      Memory Model Features 2 = <32bit CCIDX,48bit VA,UAO,CnP>

      Memory Model Features 3 = <>

      Memory Model Features 4 = <>

             Debug Features 0 = <DoubleLock,1 CTX BKPT,8 Watchpoints,8 Breakpoints,PMUv3p4,Unknown DebugVer(0)>

             Debug Features 1 = <>

         Auxiliary Features 0 = <>

         Auxiliary Features 1 = <>

WARNING: WITNESS option enabled, expect reduced performance.

Trying to mount root from ufs:/dev/ufs/root [rw,noatime]...


===> mounting rootfs
Expecting regex ['login:', 'Logging in as root...', 'exec /bin/sh', 'Enter full pathname of shell or RETURN for /bin/sh', "wait for /bin/sh on /etc/rc failed'", 'Manual root filesystem specification:', 'DHCPACK from ', re.compile('USER_CHERI_EXCEPTION: pid \\d+ tid \\d+ \\(.+\\)'), re.compile('pid \\d+ tid \\d+ \\(.+\\), uid \\d+: CHERI fault \\(type 0x')]
pid 18 (sh), uid (0): Failed to open coredump file 'sh.core', error=30

pid 18 (sh), jid 0, uid 0: exited on signal 34 (no core dump - other error)

2024-12-19T03:36:11.997512+00:00 - init 1 - - /bin/sh on /etc/rc terminated abnormally, going to single user mode


Enter full pathname of shell or RETURN for /bin/shExpecting regex ['THIS STRING SHOULD NOT MATCH, JUST WAITING FOR 20 secs', <class 'pexpect.exceptions.TIMEOUT'>]
: 
Error during boot login prompt: <pycheribuild.boot_cheribsd.QemuCheriBSDInstance object at 0x7fc0766e8430>
command: /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello
args: [b'/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello', b'-M', b'virt,gic-version=3', b'-cpu', b'morello', b'-bios', b'edk2-aarch64-code.fd', b'-m', b'2048', b'-nographic', b'-drive', b'if=none,file=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball/cheribsd-morello-purecap.img,id=drv,format=raw', b'-device', b'virtio-blk-pci,drive=drv', b'-snapshot', b'-device', b'virtio-net-pci,netdev=net0', b'-netdev', b'user,id=net0,smb=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/test-results/morello-purecap-purecap-kernel,hostfwd=tcp::37695-:22', b'-device', b'virtio-rng-pci']
buffer (last 100 chars): ': '
before (last 100 chars): ': '
after: <class 'pexpect.exceptions.TIMEOUT'>
match: <class 'pexpect.exceptions.TIMEOUT'>
match_index: 1
exitstatus: None
flag_eof: False
pid: 525033
child_fd: 5
closed: False
timeout: 60
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1 match index=3
Fatal error (in target run-morello-purecap): Command `/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/cheribuild/test-scripts/run_cheribsd_tests.py --architecture morello-purecap --ssh-key /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/id_ed25519.pub --qemu-cmd /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/qemu-linux/bin/qemu-system-morello --disk-image /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball/cheribsd-morello-purecap.img --expected-kernel-abi=purecap --no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile '--test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel' '--test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-kernel'` failed with non-zero exit code 1. Working directory was /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2
+ exit_code=1
+ [ 1 -eq 2 ]
+ [ 1 -ne 0 ]
+ echo Test script got fatal error: exit code 1
Test script got fatal error: exit code 1
+ exit 1

morello-purecap / Test morello-purecap purecap-benchmark kernel / Run morello-purecap-purecap-benchmark-kernel tests in QEMU

Error in sh (Run morello-purecap-purecap-benchmark-kernel tests in QEMU) step.

script returned exit code 1
Build log
+ rm -rf test-results/morello-purecap-purecap-benchmark-kernel
+ mkdir -p test-results/morello-purecap-purecap-benchmark-kernel
+ exit_code=0
+ ./cheribuild/jenkins-cheri-build.py --test run-morello-purecap --test-extra-args=--no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile --test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel --test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-kernel --test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-benchmark-kernel --cheribsd/build-options=-s --cheribsd/default-kernel-abi=purecap --keep-install-dir --install-prefix=/rootfs --cheribsd/build-lib32 --cheribsd/build-tests --cheribsd/build-bench-kernels --cheribsd/build-nocaprevoke-kernels --cheribsd/with-manpages --cheribsd/debug-info --cheribsd/debug-files --cheribsd/build-alternate-abi-kernels --cheribsd/build-benchmark-abi-kernels --run-morello-purecap/kernel-abi purecap-benchmark --test-ssh-key /local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/id_ed25519.pub
/usr/lib/llvm-10/bin/clang -v
Warning: Config option test-extra-args (--no-timestamped-test-subdir --kyua-tests-files /usr/tests/bin/cat/Kyuafile --test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel --test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-kernel --test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-benchmark-kernel) should be a list, got a string instead -> assuming the correct value is ['--no-timestamped-test-subdir', '--kyua-tests-files', '/usr/tests/bin/cat/Kyuafile', '--test-output-dir=$WORKSPACE/test-results/morello-purecap-hybrid-kernel', '--test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-kernel', '--test-output-dir=$WORKSPACE/test-results/morello-purecap-purecap-benchmark-kernel']
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-amd64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-morello-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-mfs-root-kernel-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-mfs-root-kernel-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-mfs-root-kernel-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-riscv64-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-riscv64-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64-purecap/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-riscv64-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-riscv64-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-riscv64-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-riscv64-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-riscv64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-aarch64/build-bench-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-amd64/build-bench-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-morello-purecap/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-morello-purecap/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-release-morello-purecap/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-morello-purecap/build-bench-kernels -> True
/usr/lib/llvm-10/bin/clang is clang version (10, 0, 0) with default target x86_64-pc-linux-gnu
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
cheribsd-morello-purecap INSTALLDIR=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball INSTALL_PREFIX=/rootfs DESTDIR=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/tarball
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 -v
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 is clang version (14, 0, 0) with default target x86_64-unknown-linux-gnu
/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/morello-sdk/bin/clang-14 -fsyntax-only -xc /dev/null -Werror=unknown-warning-option -Werror=cheri-prototypes
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-morello-purecap/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/default-kernel-abi for cheribsd-release-morello-hybrid/default-kernel-abi -> 'purecap'
Using fallback config option value cheribsd/build-alternate-abi-kernels for cheribsd-release-morello-hybrid/build-alternate-abi-kernels -> True
Using fallback config option value cheribsd/build-benchmark-abi-kernels for cheribsd-release-morello-hybrid/build-benchmark-abi-kernels -> True
Using fallback config option value cheribsd/build-bench-kernels for cheribsd-release-morello-hybrid/build-bench-kernels -> True
Using fallback config option value cheribsd/build-nocaprevoke-kernels for cheribsd-release-morello-hybrid/build-nocaprevoke-kernels -> True
Using fallback config option value cheribsd/build-tests for cheribsd-morello-purecap/build-tests -> True
Using fallback config option value cheribsd/build-options for cheribsd-morello-purecap/build-options -> '-s'
Warning: Config option cheribsd-morello-purecap/build-options (-s) should be a list, got a string instead -> assuming the correct value is ['-s']
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export PATH=/local/scratch/jenkins/workspace/CheriBSD-pipeline_PR-2272@2/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export CLANG_FORCE_COLOR_DIAGNOSTICS=always
Output truncated.

Details

  • Set job properties (1.4 sec)
  • aarch64 (9.7 sec)
    • Checkout (27 sec)
    • Copying required artifacts (29 sec)
      • Build cheribsd-aarch64 (21 min)
    • Building disk images (25 sec)
    • Building MFS_ROOT kernels (1 min 57 sec)
    • Test setup (20 sec)
    • Test aarch64 (1 min 41 sec)
    • Building release images (10 min)
    • Record static analysis (36 sec)
  • amd64 (9.7 sec)
    • Checkout (23 sec)
    • Copying required artifacts (29 sec)
      • Build cheribsd-amd64 (29 min)
    • Building disk images (41 sec)
    • Test setup (21 sec)
    • Test amd64 (1 min 52 sec)
    • Building release images (22 min)
    • Record static analysis (46 sec)
  • morello-hybrid (9.7 sec)
    • Checkout (18 sec)
    • Copying required artifacts (26 sec)
      • Build cheribsd-morello-hybrid (41 min)
    • Building disk images (29 sec)
    • Building MFS_ROOT kernels (1 min 38 sec)
    • Test setup (21 sec)
    • Test morello-hybrid hybrid kernel (4.1 sec)
      Unstable: 4 tests failed
      Unstable: Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029
    • Test morello-hybrid purecap kernel (4.1 sec)
      Unstable: 4 tests failed
      Unstable: Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029
    • Test morello-hybrid purecap-benchmark kernel (9 min 47 sec)
      Unstable: 4 tests failed
      Unstable: Unstable test results: Test summary: 2057, Failures: 4, Skipped: 24, Passed: 2029
    • Building release images (10 min)
    • Record static analysis (51 sec)
  • morello-purecap (9.7 sec)
    • Checkout (16 sec)
    • Copying required artifacts (13 sec)
      • Build cheribsd-morello-purecap (59 min)
    • Building disk images (30 sec)
    • Building MFS_ROOT kernels (1 min 42 sec)
    • Test setup (21 sec)
    • Test morello-purecap hybrid kernel (4.6 sec)
      Error: script returned exit code 1
    • Test morello-purecap purecap kernel (4.6 sec)
      Error: script returned exit code 1
    • Test morello-purecap purecap-benchmark kernel (1 min 5 sec)
      Error: script returned exit code 1
  • riscv64 (9.7 sec)
    • Checkout (29 sec)
    • Copying required artifacts (23 sec)
      • Build cheribsd-riscv64 (16 min)
    • Building disk images (38 sec)
    • Building MFS_ROOT kernels (3 min 17 sec)
    • Test setup (21 sec)
    • Test riscv64 (2 min 17 sec)
    • Building release images (9 min 36 sec)
    • Record static analysis (32 sec)
  • riscv64-hybrid (9.7 sec)
    • Checkout (25 sec)
    • Copying required artifacts (24 sec)
      • Build cheribsd-riscv64-hybrid (38 min)
    • Building disk images (41 sec)
    • Building MFS_ROOT kernels (10 min)
    • Test setup (21 sec)
    • Test riscv64-hybrid hybrid kernel (2.6 sec)
      Unstable: 2 tests failed
      Unstable: Unstable test results: Test summary: 1396, Failures: 2, Skipped: 222, Passed: 1172
    • Test riscv64-hybrid purecap kernel (7 min 20 sec)
      Unstable: 2 tests failed
      Unstable: Unstable test results: Test summary: 1396, Failures: 2, Skipped: 222, Passed: 1172
    • Building release images (9 min 24 sec)
    • Record static analysis (58 sec)
  • riscv64-purecap (53 min)
    • Checkout (25 sec)
    • Copying required artifacts (22 sec)
      • Build cheribsd-riscv64-purecap (39 min)
    • Building disk images (59 sec)
    • Building MFS_ROOT kernels (10 min)
    • Test setup (21 sec)
    • Test riscv64-purecap hybrid kernel (2.5 sec)
      Error: script returned exit code 1
    • Test riscv64-purecap purecap kernel (38 sec)
      Error: script returned exit code 1