Tasks » 137

Project
p/xK
Commit
872f2d7c59645e5ce0ddfb703a46bed50f16705b
Runner
OpenBSD 7.5
State
Success
Notified
1

Runner log

+ test -n /home/acid
+ cd -- /home/acid
+ acid_dist=openbsd
+ acid_image=openbsd-7.5-custom.qcow2
+ exec runners/qemu.sh
++ cat data/proxy
++ cat data/proxy
++ sed 's/^/      /' /etc/squid/bump-ca.cert.pem
+ test -n /home/acid
+ tmp=/tmp/acid-qemu
+ rm -rf -- /tmp/acid-qemu
+ mkdir -p -- /tmp/acid-qemu
+ cd -- /tmp/acid-qemu
+ umask 026
+ qemu-img create -b /home/acid/data/openbsd-7.5-custom.qcow2 -F qcow2 -f qcow2 overlay.qcow2 6G
Formatting 'overlay.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=6442450944 backing_file=/home/acid/data/openbsd-7.5-custom.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
+ cat
++ cat -- /home/acid/data/id_ed25519.pub
++ sed 's/^/      /' /etc/squid/bump-ca.cert.pem
++ cat
+ touch meta-data
+ cloud-localds seed.img user-data meta-data
+ echo 1000
+ exec qemu-system-x86_64 -enable-kvm -smp 2 -m 2G -drive file=overlay.qcow2,if=virtio,cache=unsafe -drive file=seed.img,if=virtio,format=raw -device virtio-net-pci,netdev=net0 -netdev user,id=net0,hostfwd=tcp:127.0.0.1:9099-:22 -audio none -nographic
c[?7lSeaBIOS (version Arch Linux 1.16.3-1-1)


iPXE (http://ipxe.org) 00:03.0 C900 PCI2.10 PnP PMM+7EFD3290+7EF33290 C900
                                                                               


Booting from Hard Disk...
Using drive 0, partition 3.
Loading......
probing: pc0 com0 mem[639K 2046M a20=on] 
disk: fd0 hd0+ hd1+*
>> OpenBSD/amd64 BOOT 3.65
switching console to com>> OpenBSD/amd64 BOOT 3.65
boot> 0

booting hd0a:/bsd: 17819477+4281352+417824+0+1232896 [1553156+128+1394592+1090945]=0x1a834b0
entry point at 0xffffffff81001000
[ using 4039856 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2024 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.5 (GENERIC.MP) #82: Wed Mar 20 15:48:40 MDT 2024
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 2130550784 (2031MB)
avail mem = 2045075456 (1950MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xf6560 (9 entries)
bios0: vendor SeaBIOS version "Arch Linux 1.16.3-1-1" date 04/01/2014
bios0: QEMU Standard PC (i440FX + PIIX, 1996)
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP APIC HPET WAET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: QEMU Virtual CPU version 2.5+, 1696.47 MHz, 0f-6b-01
cpu0: FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,x2APIC,HV,NXE,LONG,LAHF,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 4MB 64b/line 16-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: QEMU Virtual CPU version 2.5+, 1696.59 MHz, 0f-6b-01
cpu1: FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,x2APIC,HV,NXE,LONG,LAHF,MELTDOWN
cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 4MB 64b/line 16-way L2 cache, 16MB 64b/line 16-way L3 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins
acpihpet0 at acpi0: 100000000 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
"ACPI0006" at acpi0 not configured
acpipci0 at acpi0 PCI0
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"PNP0A06" at acpi0 not configured
"QEMU0002" at acpi0 not configured
com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
com0: console
acpicmos0 at acpi0
"ACPI0010" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!)
acpicpu1 at acpi0: C1(@1 halt!)
pvbus0 at mainbus0: KVM
pvclock0 at pvbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <QEMU, QEMU DVD-ROM, 2.5+> removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: apic 0 int 9
iic0 at piixpm0
vga1 at pci0 dev 2 function 0 "Bochs VGA" rev 0x02
wsdisplay at vga1 not configured
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address 52:54:00:12:34:56
virtio0: msix per-VQ
virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk0 at virtio1
scsibus2 at vioblk0: 1 targets
sd0 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, >
sd0: 6144MB, 512 bytes/sector, 12582912 sectors
virtio1: msix per-VQ
virtio2 at pci0 dev 5 function 0 "Qumranet Virtio Storage" rev 0x00
vioblk1 at virtio2
scsibus3 at vioblk1: 1 targets
sd1 at scsibus3 targ 0 lun 0: <VirtIO, Block Device, >
sd1: 0MB, 512 bytes/sector, 732 sectors
virtio2: msix per-VQ
isa0 at pcib0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0 mux 1
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
root on sd0a (99160cd4212d7426.a) swap on sd0b dump on sd0b
WARNING: clock gained 34 days
WARNING: CHECK AND RESET THE DATE!
Automatic boot in progress: starting file system checks.
/dev/sd0a (99160cd4212d7426.a): file system is clean; not checking
pf enabled
starting network
reordering: ld.sofd0 at fdc0 drive 1: density unknown
 libc libcrypto sshd.
openssl: generating isakmpd RSA keys... done.
openssl: generating iked ECDSA keys... done.
ssh-keygen: generating new host keys: RSA ECDSA ED25519 
sshd: (ED25519) SHA256:xHJEr8ZEttzUvKQvscY8O7HLUZ3ZscQeeHFZnvet0qA
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: /dev/sd0b: Device not configured
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
running rc.firsttime
fw_update: add none; update none
Checking for available binary patches...
syspatch: cdn.openbsd.org: no address associated with name
Cloud-init v. 24.1.6 running 'init-local' at Thu, 08 Aug 2024 07:25:29 +0000. Up 16.440563440322876 seconds.
2024-08-08 07:25:30,052 - util.py[WARNING]: Failed to mount /dev/sd1i when looking for data
2024-08-08 07:25:30,480 - util.py[WARNING]: Failed to parse /etc/resolv.conf, use new empty file
Cloud-init v. 24.1.6 running 'init' at Thu, 08 Aug 2024 07:25:33 +0000. Up 20.08035635948181 seconds.
ci-info: +++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++
ci-info: +--------+-------+----------------+------------+-------+------------+
ci-info: | Device |   Up  |    Address     |    Mask    | Scope | Hw-Address |
ci-info: +--------+-------+----------------+------------+-------+------------+
ci-info: |  enc0  | False |       .        |     .      |   .   |     .      |
ci-info: |  lo0   |  True |   127.0.0.1    | 0xff000000 |   .   |     .      |
ci-info: |  lo0   |  True |    ::1/128     |     .      |   .   |     .      |
ci-info: |  lo0   |  True | fe80::1%lo0/64 |     .      |  0x3  |     .      |
ci-info: | pflog0 |  True |       .        |     .      |   .   |     .      |
ci-info: |  vio0  |  True |   10.0.2.15    | 0xffffff00 |   .   |     .      |
ci-info: +--------+-------+----------------+------------+-------+------------+
ci-info: 
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub
The key fingerprint is:
SHA256:JdMNQiBS7NmQ2nMfoiFNyoDSG8NcYkxjIcoIXiMj9Zo root@openbsd-ci
The key's randomart image is:
+---[RSA 3072]----+
|=XXB+..oo .      |
|@+@=*.   o o     |
|+= @.+  o o .    |
|  *oB + .+       |
|  E. = oS.       |
|    .   .        |
|                 |
|                 |
|                 |
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub
The key fingerprint is:
SHA256:KgMztoK8+z2FFaNhK9t9QrhapunlJt223OZYPFIStxM root@openbsd-ci
The key's randomart image is:
+---[ECDSA 256]---+
|                 |
|     o o         |
|    . =.oE       |
|   . + oo o      |
|  = + *.S+       |
|o. * * =+..      |
|o.. X.+.o+       |
| ..=+*.o=..      |
| o+oooo++o       |
+----[SHA256]-----+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub
The key fingerprint is:
SHA256:II1FxS4PoPGTn8fxwfbLnKzzwzqUduw4XLcg4KLB46U root@openbsd-ci
The key's randomart image is:
+--[ED25519 256]--+
|     .oo.        |
|  . .+  .        |
|   +ooo. .       |
|  . +.o.+ +      |
|   . o BS= =     |
|    + = = * * .  |
|   . * o + @ = . |
|    E     * X .  |
|          oB..   |
+----[SHA256]-----+
Cloud-init v. 24.1.6 running 'modules:config' at Thu, 08 Aug 2024 07:25:36 +0000. Up 23.381784677505493 seconds.
Cloud-init v. 24.1.6 running 'modules:final' at Thu, 08 Aug 2024 07:25:40 +0000. Up 27.251448154449463 seconds.
ci-info: +++++++++++++++++++++++++++++++++++Authorized keys from /home/ci/.ssh/authorized_keys for user ci++++++++++++++++++++++++++++++++++++
ci-info: +-------------+-------------------------------------------------------------------------------------------------+---------+---------+
ci-info: |   Keytype   |                                       Fingerprint (sha256)                                      | Options | Comment |
ci-info: +-------------+-------------------------------------------------------------------------------------------------+---------+---------+
ci-info: | ssh-ed25519 | c7:b3:2d:85:ab:32:b5:84:6b:5d:ed:7c:29:6a:82:6f:65:6a:12:c4:b6:f5:b2:b9:54:71:f0:f4:71:76:6b:b2 |    -    |   acid  |
ci-info: +-------------+-------------------------------------------------------------------------------------------------+---------+---------+
2024-08-08 07:25:40,691 - cc_keys_to_console.py[WARNING]: Unable to activate module keys_to_console, helper tool not found at /usr/lib/cloud-init/write-ssh-key-fingerprints
Cloud-init v. 24.1.6 finished at Thu, 08 Aug 2024 07:25:40 +0000. Datasource DataSourceNoCloud [seed=/dev/sd1a][dsmode=net].  Up 27.776992797851562 seconds
starting local daemons: cron.
Thu Aug  8 09:25:40 CEST 2024

OpenBSD/amd64 (openbsd-ci) (tty00)

login: 

Task log

+ sudo pkg_add -u
quirks-7.14 signed on 2024-08-05T22:27:23Z
quirks-7.14->7.14: ok
Read shared items: ok
+ sudo pkg_add git
quirks-7.14 signed on 2024-08-05T22:27:23Z
git-2.44.1:p5-Error-0.17029: ok
git-2.44.1:p5-Time-TimeDate-2.33: ok
git-2.44.1:p5-Mail-Tools-2.21p0: ok
git-2.44.1:nghttp3-1.2.0: ok
git-2.44.1:nghttp2-1.58.0: ok
git-2.44.1:ngtcp2-1.3.0: ok
git-2.44.1:curl-8.9.0: ok
git-2.44.1:gitwrapper-0.99: ok
git-2.44.1:cvsps-2.1p3: ok
git-2.44.1: ok
The following new rcscripts were installed: /etc/rc.d/gitdaemon
See rcctl(8) for details.
New and changed readme(s):
	/usr/local/share/doc/pkg-readmes/git
+ git clone --recursive https://git.janouch.name/p/xK.git xK
Cloning into 'xK'...
remote: Enumerating objects: 5232, done.        
remote: Counting objects: 100% (1189/1189), done.        
remote: Compressing objects: 100% (1075/1075), done.        
remote: Total 5232 (delta 735), reused 155 (delta 71), pack-reused 4043 (from 1)        
Receiving objects: 100% (5232/5232), 2.04 MiB | 4.36 MiB/s, done.
Resolving deltas: 100% (3446/3446), done.
Submodule 'liberty' (https://git.janouch.name/p/liberty.git) registered for path 'liberty'
Cloning into '/home/ci/xK/liberty'...
remote: Enumerating objects: 756, done.        
remote: Counting objects: 100% (225/225), done.        
remote: Compressing objects: 100% (222/222), done.        
Receiving objects: 100% (756/756), 385.24 KiB | 4.33 MiB/s, done.
remote: Total 756 (delta 132), reused 0 (delta 0), pack-reused 531 (from 1)        
Resolving deltas: 100% (453/453), done.
Submodule path 'liberty': checked out '75fc6f1c374796f9e794297c3893089009b8772f'
+ cd xK
+ git -c advice.detachedHead=false checkout 872f2d7c59645e5ce0ddfb703a46bed50f16705b
HEAD is now at 872f2d7 Fix calloc argument order
+ sudo pkg_add cmake libffi readline lua%5.4
quirks-7.14 signed on 2024-08-05T22:27:23Z
cmake-3.28.3v0:rhash-1.4.4p0: ok
cmake-3.28.3v0:jsoncpp-1.9.5: ok
cmake-3.28.3v0:libuv-1.48.0: ok
cmake-3.28.3v0:lz4-1.9.4: ok
cmake-3.28.3v0:zstd-1.5.5: ok
cmake-3.28.3v0:libb2-0.98.1v0: ok
cmake-3.28.3v0:libarchive-3.7.2: ok
cmake-3.28.3v0: ok
readline-8.2: ok
lua-5.4.6: ok
+ cmake -B build
-- The C compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/local/bin/git (found version "2.44.1") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for modules 'libssl;libcrypto'
--   Found libssl, version 2.0.0
--   Found libcrypto, version 2.0.0
-- Performing Test ICONV_ACCEPTS_TRANSLIT
-- Performing Test ICONV_ACCEPTS_TRANSLIT - Failed
-- Checking for module 'libffi'
--   Found libffi, version 3.4.4
-- Checking for one of the modules 'lua53;lua5.3;lua-5.3;lua54;lua5.4;lua-5.4;lua>=5.3'
-- Found Curses: /usr/lib/libcurses.so.15.0  
-- Checking for module 'ncursesw'
--   
-- Checking for module 'readline'
--   
CMake Warning at CMakeLists.txt:240 (message):
  Neither asciidoctor nor a2x were found, falling back to a substandard
  manual page generator


-- Configuring done (13.3s)
-- Generating done (0.3s)
-- Build files have been written to: /home/ci/xK/build
+ cmake --build build -- package
[  7%] Building C object CMakeFiles/xB.dir/xB.c.o
[ 15%] Linking C executable xB
xB.c(CMakeFiles/xB.dir/xB.c.o:(str_make)): warning: strcpy() is almost always misused, please use strlcpy()
[ 15%] Built target xB
[ 23%] Generating files from the list of server numerics
[ 23%] Built target replies
[ 30%] Generating xC relay protocol code
[ 30%] Built target xC-proto
[ 38%] Building C object CMakeFiles/xC.dir/xC.c.o
[ 46%] Linking C executable xC
xC.c(CMakeFiles/xC.dir/xC.c.o:(str_make)): warning: strcpy() is almost always misused, please use strlcpy()
[ 46%] Built target xC
[ 53%] Building C object CMakeFiles/xD.dir/xD.c.o
[ 61%] Linking C executable xD
xD.c(CMakeFiles/xD.dir/xD.c.o:(str_make)): warning: strcpy() is almost always misused, please use strlcpy()
[ 61%] Built target xD
[ 69%] Building C object CMakeFiles/test-xC.dir/xC.c.o
[ 76%] Linking C executable test-xC
xC.c(CMakeFiles/test-xC.dir/xC.c.o:(str_make)): warning: strcpy() is almost always misused, please use strlcpy()
[ 76%] Built target test-xC
[ 84%] Generating man page for xB
[ 92%] Generating man page for xC
[100%] Generating man page for xD
[100%] Built target docs
Run CPack packaging tool...
CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: xK
CPack: - Install project: xK []
CPack: Create package
CPack: - package: /home/ci/xK/build/xK-2.0.0+4+g872f2d7-OpenBSD-amd64.tar.gz generated.
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: xK
CPack: - Install project: xK []
CPack: Create package
CPack: - package: /home/ci/xK/build/xK-2.0.0+4+g872f2d7-OpenBSD-amd64.zip generated.
+ cmake --build build -- test
Running tests...
Test project /home/ci/xK/build
    Start 1: test-xC
1/2 Test #1: test-xC ..........................   Passed    0.02 sec
    Start 2: custom-static-analysis
2/2 Test #2: custom-static-analysis ...........   Passed    0.03 sec

100% tests passed, 0 tests failed out of 2

Total Test time (real) =   0.07 sec