Tasks » 134

Project
p/json-rpc-shell
Commit
ac1a21eac8b5dfaa479ee3b552a49a9f172296e0
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.58 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.50 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:/fMcam5i2CBZtvjAPK3hsfj8qk0oc3ycQfmPlq/nzNs
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:17:03 +0000. Up 16.272610187530518 seconds.
2024-08-08 07:17:03,853 - util.py[WARNING]: Failed to mount /dev/sd1i when looking for data
2024-08-08 07:17:04,201 - 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:17:08 +0000. Up 21.76621985435486 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:pYEpGhbAnE7BkphaFF6iTxuWevLR8GKMu83hBhKCX0o root@openbsd-ci
The key's randomart image is:
+---[RSA 3072]----+
|**B..            |
|=O.=   o         |
|B.X . o . .      |
|=XEO..   +       |
|=+Xoo   S        |
|o*oo             |
|o.o              |
| =..             |
|..+              |
+----[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:/Y/azE6A4EcuWVsBVUCIKECVtRTL/4rN7aWfg2q9fDw root@openbsd-ci
The key's randomart image is:
+---[ECDSA 256]---+
|oo..o=...==o.    |
|  ..+ + .  .     |
|   . +. o .      |
|     ..* =       |
|      +.S o      |
|       o.  o     |
|        ..o.o    |
|      +.+ooE.o   |
|     ..=o*==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:cKnQ5UWU53QKnA2Qz9V1HYil+JTlx85ZxoPVZaJ6aRw root@openbsd-ci
The key's randomart image is:
+--[ED25519 256]--+
|        o*==o+o+X|
|     . o.o*.Xo*++|
|    . o ++ XE= ++|
|     . +  =ooo+.+|
|      . S ..=  + |
|           o     |
|                 |
|                 |
|                 |
+----[SHA256]-----+
Cloud-init v. 24.1.6 running 'modules:config' at Thu, 08 Aug 2024 07:17:12 +0000. Up 25.084938526153564 seconds.
Cloud-init v. 24.1.6 running 'modules:final' at Thu, 08 Aug 2024 07:17:15 +0000. Up 28.99117684364319 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:17:16,533 - 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:17:16 +0000. Datasource DataSourceNoCloud [seed=/dev/sd1a][dsmode=net].  Up 29.611278295516968 seconds
starting local daemons: cron.
Thu Aug  8 09:17:16 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:cvsps-2.1p3: ok
git-2.44.1:gitwrapper-0.99: ok
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:ngtcp2-1.3.0: ok
git-2.44.1:nghttp2-1.58.0: ok
git-2.44.1:curl-8.9.0: 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/json-rpc-shell.git json-rpc-shell
Cloning into 'json-rpc-shell'...
remote: Enumerating objects: 867, done.        
remote: Counting objects: 100% (46/46), done.        
remote: Compressing objects: 100% (46/46), done.        
remote: Total 867 (delta 23), reused 0 (delta 0), pack-reused 821 (from 1)        
Receiving objects: 100% (867/867), 498.76 KiB | 3.16 MiB/s, done.
Resolving deltas: 100% (552/552), done.
Submodule 'http-parser' (https://github.com/joyent/http-parser.git) registered for path 'http-parser'
Submodule 'liberty' (https://git.janouch.name/p/liberty.git) registered for path 'liberty'
Cloning into '/home/ci/json-rpc-shell/http-parser'...
remote: Enumerating objects: 1675, done.        
remote: Total 1675 (delta 0), reused 0 (delta 0), pack-reused 1675        
Receiving objects: 100% (1675/1675), 821.10 KiB | 2.00 MiB/s, done.
Resolving deltas: 100% (1044/1044), done.
Cloning into '/home/ci/json-rpc-shell/liberty'...
remote: Enumerating objects: 756, done.        
remote: Counting objects: 100% (225/225), done.        
remote: Compressing objects: 100% (222/222), done.        
remote: Total 756 (delta 132), reused 0 (delta 0), pack-reused 531 (from 1)        
Receiving objects: 100% (756/756), 385.24 KiB | 5.84 MiB/s, done.
Resolving deltas: 100% (453/453), done.
Submodule path 'http-parser': checked out 'ec8b5ee63f0e51191ea43bb0c6eac7bfbff3141d'
Submodule path 'liberty': checked out '75fc6f1c374796f9e794297c3893089009b8772f'
+ cd json-rpc-shell
+ git -c advice.detachedHead=false checkout ac1a21eac8b5dfaa479ee3b552a49a9f172296e0
HEAD is now at ac1a21e Bump liberty, fix calloc argument order
+ sudo pkg_add cmake libev jansson curl readline
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
libev-4.33: ok
jansson-2.14: ok
readline-8.2: 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 Curses: /usr/lib/libcurses.so.15.0  
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Found Ncursesw: /usr/lib/libncursesw.so.15.0  
-- Checking for modules 'libcurl;jansson;libssl;libcrypto'
--   Found libcurl, version 8.9.0
--   Found jansson, version 2.14
--   Found libssl, version 2.0.0
--   Found libcrypto, version 2.0.0
-- Found LibEV: /usr/local/lib/libev.so.3.1  
-- Could NOT find LibMagic (missing: LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS) 
CMake Warning at CMakeLists.txt:104 (message):
  Neither asciidoctor nor a2x were found, falling back to a substandard
  manual page generator


-- Configuring done (7.8s)
-- Generating done (0.0s)
-- Build files have been written to: /home/ci/json-rpc-shell/build
+ cmake --build build -- package
[ 25%] Building C object CMakeFiles/json-rpc-shell.dir/json-rpc-shell.c.o
[ 50%] Building C object CMakeFiles/json-rpc-shell.dir/http-parser/http_parser.c.o
[ 75%] Linking C executable json-rpc-shell
json-rpc-shell.c(CMakeFiles/json-rpc-shell.dir/json-rpc-shell.c.o:(str_make)): warning: strcpy() is almost always misused, please use strlcpy()
[ 75%] Built target json-rpc-shell
[100%] Generating man page for json-rpc-shell
[100%] Built target docs
Run CPack packaging tool...
CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: json-rpc-shell
CPack: - Install project: json-rpc-shell []
CPack: Create package
CPack: - package: /home/ci/json-rpc-shell/build/json-rpc-shell-1.1.0-OpenBSD-amd64.tar.gz generated.
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: json-rpc-shell
CPack: - Install project: json-rpc-shell []
CPack: Create package
CPack: - package: /home/ci/json-rpc-shell/build/json-rpc-shell-1.1.0-OpenBSD-amd64.zip generated.