Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Test will time out and terminate in 3600.0 seconds run the VM test script additionally exposed symbols: machine, vlan1, start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh machine: waiting for unit postgresql.service machine: waiting for the VM to finish booting machine: starting vm machine # Disk image does not exist, creating the virtualisation disk image... machine: QEMU running (pid 45) machine # Formatting '/build/vm-state-machine/tmp.Gh6KDM9hMO', fmt=raw size=1073741824 machine # mke2fs 1.47.4 (6-Mar-2025) machine # Discarding device blocks: 0/262144 done machine # Creating filesystem with 262144 4k blocks and 65536 inodes machine # Filesystem UUID: 72070417-6203-465c-9d2c-3bc0f15a1269 machine # Superblock backups stored on blocks: machine # 32768, 98304, 163840, 229376 machine # machine # Allocating group tables: 0/8 done machine # Writing inode tables: 0/8 done machine # Creating journal (8192 blocks): done machine # Writing superblocks and filesystem accounting information: 0/8 done machine # machine # Virtualisation disk image created. machine # Starting virtiofs daemons... machine # [2026-10-14T22:14:45Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-10-14T22:14:45Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-10-14T22:14:45Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-10-14T22:14:45Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-10-14T22:14:45Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-10-14T22:14:45Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-10-14T22:14:45Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-10-14T22:14:45Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-10-14T22:14:45Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-10-14T22:14:45Z INFO virtiofsd] Client connected, servicing requests machine # [2026-10-14T22:14:45Z INFO virtiofsd] Client connected, servicing requests machine # [2026-10-14T22:14:45Z INFO virtiofsd] Client connected, servicing requests machine # SeaBIOS (version rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org) machine # machine # machine # iPXE (http://ipxe.org) 00:02.0 CA00 PCI2.10 PnP PMM+3EFCC730+3EF2C730 CA00Press Ctrl-B to configure iPXE (PCI 00:02.0)... machine # machine # machine # machine # machine # iPXE (http://ipxe.org) 00:05.0 CB00 PCI2.10 PnP PMM 3EFCC730 3EF2C730 CB00 machine # Press Ctrl-B to configure iPXE (PCI 00:05.0)... machine # machine # machine # Booting from ROM... machine # Probing EDD (edd=off to disable)... ok machine # [ 0.000000] Linux version 6.18.55 (nixbld@localhost) (gcc (GCC) 16.2.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Sat Oct 3 10:39:03 UTC 2026 machine # [ 0.000000] Command line: console=ttyS0 console=tty0 panic=1 boot.panic_on_fail clocksource=acpi_pm root=fstab loglevel=7 net.ifnames=0 lsm=landlock,yama,bpf init=/nix/store/kd62hp299x0vkg0lzinf4ig5553narvb-nixos-system-machine-test/init regInfo=/nix/.ro-store/jqxhix7ifdfb8p5xwd4b5kxkrg9vmz9b-closure-info/registration console=ttyS0,115200n8 console=tty0 machine # [ 0.000000] x86 CPU feature dependency check failure: CPU0 has '18*32+31' enabled but '18*32+26' disabled. Kernel might be fine, but no guarantees. machine # [ 0.000000] BIOS-provided physical RAM map: machine # [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable machine # [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved machine # [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved machine # [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffd7fff] usable machine # [ 0.000000] BIOS-e820: [mem 0x000000003ffd8000-0x000000003fffffff] reserved machine # [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved machine # [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved machine # [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved machine # [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved machine # [ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved machine # [ 0.000000] NX (Execute Disable) protection: active machine # [ 0.000000] APIC: Static calls initialized machine # [ 0.000000] SMBIOS 2.8 present. machine # [ 0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014 machine # [ 0.000000] DMI: Memory slots populated: 1/1 machine # [ 0.000000] Hypervisor detected: KVM machine # [ 0.000000] last_pfn = 0x3ffd8 max_arch_pfn = 0x400000000 machine # [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00 machine # [ 0.000000] kvm-clock: using sched offset of 445973247 cycles machine # [ 0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns machine # [ 0.000004] tsc: Detected 3792.874 MHz processor machine # [ 0.000664] last_pfn = 0x3ffd8 max_arch_pfn = 0x400000000 machine # [ 0.000688] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs machine # [ 0.000690] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT machine # [ 0.002232] found SMP MP-table at [mem 0x000f5450-0x000f545f] machine # [ 0.002243] Using GB pages for direct mapping machine # [ 0.002307] RAMDISK: [mem 0x3e2e6000-0x3ffcffff] machine # [ 0.002314] ACPI: Early table checksum verification disabled machine # [ 0.002316] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS ) machine # [ 0.002319] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002322] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002327] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002329] ACPI: FACS 0x000000003FFE0000 000040 machine # [ 0.002330] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002331] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002333] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002334] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002335] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d] machine # [ 0.002336] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219] machine # [ 0.002337] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f] machine # [ 0.002337] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385] machine # [ 0.002337] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd] machine # [ 0.002338] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9] machine # [ 0.002338] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421] machine # [ 0.002716] No NUMA configuration found machine # [ 0.002717] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff] machine # [ 0.002720] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff] machine # [ 0.002794] Zone ranges: machine # [ 0.002794] DMA [mem 0x0000000000001000-0x0000000000ffffff] machine # [ 0.002795] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff] machine # [ 0.002796] Normal empty machine # [ 0.002797] Device empty machine # [ 0.002797] Movable zone start for each node machine # [ 0.002798] Early memory node ranges machine # [ 0.002798] node 0: [mem 0x0000000000001000-0x000000000009efff] machine # [ 0.002799] node 0: [mem 0x0000000000100000-0x000000003ffd7fff] machine # [ 0.002799] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff] machine # [ 0.002819] On node 0, zone DMA: 1 pages in unavailable ranges machine # [ 0.003038] On node 0, zone DMA: 97 pages in unavailable ranges machine # [ 0.017528] On node 0, zone DMA32: 40 pages in unavailable ranges machine # [ 0.018387] ACPI: PM-Timer IO Port: 0x608 machine # [ 0.018396] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) machine # [ 0.018415] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 machine # [ 0.018417] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) machine # [ 0.018418] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) machine # [ 0.018419] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) machine # [ 0.018420] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) machine # [ 0.018420] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) machine # [ 0.018422] ACPI: Using ACPI (MADT) for SMP configuration information machine # [ 0.018423] ACPI: HPET id: 0x8086a201 base: 0xfed00000 machine # [ 0.018425] TSC deadline timer available machine # [ 0.018429] CPU topo: Max. logical packages: 1 machine # [ 0.018429] CPU topo: Max. logical dies: 1 machine # [ 0.018430] CPU topo: Max. dies per package: 1 machine # [ 0.018433] CPU topo: Max. threads per core: 1 machine # [ 0.018433] CPU topo: Num. cores per package: 1 machine # [ 0.018434] CPU topo: Num. threads per package: 1 machine # [ 0.018434] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs machine # [ 0.018445] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write() machine # [ 0.018469] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] machine # [ 0.018470] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff] machine # [ 0.018471] [mem 0x40000000-0xafffffff] available for PCI devices machine # [ 0.018472] Booting paravirtualized kernel on KVM machine # [ 0.018474] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns machine # [ 0.022279] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 machine # [ 0.024043] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152 machine # [ 0.024075] kvm-guest: PV spinlocks disabled, single CPU machine # [ 0.024077] Kernel command line: console=ttyS0 console=tty0 panic=1 boot.panic_on_fail clocksource=acpi_pm root=fstab loglevel=7 net.ifnames=0 lsm=landlock,yama,bpf init=/nix/store/kd62hp299x0vkg0lzinf4ig5553narvb-nixos-system-machine-test/init regInfo=/nix/.ro-store/jqxhix7ifdfb8p5xwd4b5kxkrg9vmz9b-closure-info/registration console=ttyS0,115200n8 console=tty0 machine # [ 0.024154] Unknown kernel command line parameters "regInfo=/nix/.ro-store/jqxhix7ifdfb8p5xwd4b5kxkrg9vmz9b-closure-info/registration", will be passed to user space. machine # [ 0.024171] random: crng init done machine # [ 0.024171] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes machine # [ 0.024212] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) machine # [ 0.024649] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) machine # [ 0.024672] Fallback order for Node 0: 0 machine # [ 0.024674] Built 1 zonelists, mobility grouping on. Total pages: 262006 machine # [ 0.024675] Policy zone: DMA32 machine # [ 0.026669] mem auto-init: stack:all(zero), heap alloc:on, heap free:off machine # [ 0.029297] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 machine # [ 0.031298] allocated 2097152 bytes of page_ext machine # [ 0.039803] ftrace: allocating 48837 entries in 192 pages machine # [ 0.039804] ftrace: allocated 192 pages with 2 groups machine # [ 0.040469] Dynamic Preempt: lazy machine # [ 0.040580] rcu: Preemptible hierarchical RCU implementation. machine # [ 0.040580] rcu: RCU event tracing is enabled. machine # [ 0.040581] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1. machine # [ 0.040582] Trampoline variant of Tasks RCU enabled. machine # [ 0.040582] Rude variant of Tasks RCU enabled. machine # [ 0.040582] Tracing variant of Tasks RCU enabled. machine # [ 0.040583] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. machine # [ 0.040584] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 machine # [ 0.040627] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.040628] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.040629] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.044355] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16 machine # [ 0.044588] rcu: srcu_init: Setting srcu_struct sizes based on contention. machine # [ 0.044592] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns machine # [ 0.044672] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____) machine # [ 0.050243] Console: colour VGA+ 80x25 machine # [ 0.050245] printk: legacy console [tty0] enabled machine # [ 0.082879] printk: legacy console [ttyS0] enabled machine # [ 0.230408] ACPI: Core revision 20250807 machine # [ 0.231514] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns machine # [ 0.233604] APIC: Switch to symmetric I/O mode setup machine # [ 0.234870] x2apic enabled machine # [ 0.235750] APIC: Switched APIC routing to: physical x2apic machine # [ 0.237786] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 machine # [ 0.239123] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns machine # [ 0.241378] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874) machine # [ 0.243448] x86/cpu: User Mode Instruction Prevention (UMIP) activated machine # [ 0.244483] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127 machine # [ 0.245378] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0 machine # [ 0.246381] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto machine # [ 0.248378] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl machine # [ 0.249378] Spectre V2 : Mitigation: Retpolines machine # [ 0.250378] Speculative Return Stack Overflow: Mitigation: Safe RET machine # [ 0.251378] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization machine # [ 0.253378] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT machine # [ 0.254378] Spectre V2 : Enabling Restricted Speculation for firmware calls machine # [ 0.255379] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier machine # [ 0.256379] active return thunk: srso_alias_return_thunk machine # [ 0.257392] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' machine # [ 0.259378] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' machine # [ 0.260378] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' machine # [ 0.262378] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers' machine # [ 0.263378] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers' machine # [ 0.265378] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)' machine # [ 0.266378] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 machine # [ 0.267378] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8 machine # [ 0.269378] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16 machine # [ 0.270378] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24 machine # [ 0.271378] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format. machine # [ 0.297681] Freeing SMP alternatives memory: 48K machine # [ 0.298379] pid_max: default: 32768 minimum: 301 machine # [ 0.299423] LSM: initializing lsm=capability,landlock,yama,bpf,ima machine # [ 0.300464] landlock: Up and running. machine # [ 0.302032] Yama: becoming mindful. machine # [ 0.303195] LSM support for eBPF active machine # [ 0.304163] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) machine # [ 0.305397] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) machine # [ 0.307459] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2) machine # [ 0.308845] Performance Events: Fam17h+ core perfctr, AMD PMU driver. machine # [ 0.309386] ... version: 0 machine # [ 0.310370] ... bit width: 48 machine # [ 0.311165] ... generic counters: 6 machine # [ 0.312150] ... generic bitmap: 000000000000003f machine # [ 0.313374] ... fixed-purpose counters: 0 machine # [ 0.314146] ... fixed-purpose bitmap: 0000000000000000 machine # [ 0.315380] ... value mask: 0000ffffffffffff machine # [ 0.316380] ... max period: 00007fffffffffff machine # [ 0.317380] ... global_ctrl mask: 000000000000003f machine # [ 0.318453] signal: max sigframe size: 3376 machine # [ 0.319482] rcu: Hierarchical SRCU implementation. machine # [ 0.320383] rcu: Max phase no-delay instances is 400. machine # [ 0.324980] smp: Bringing up secondary CPUs ... machine # [ 0.325391] smp: Brought up 1 node, 1 CPU machine # [ 0.326330] smpboot: Total of 1 processors activated (7585.74 BogoMIPS) machine # [ 0.327484] Memory: 942688K/1048024K available (18124K kernel code, 2728K rwdata, 13644K rodata, 3656K init, 3632K bss, 98108K reserved, 0K cma-reserved) machine # [ 0.328539] devtmpfs: initialized machine # [ 0.329501] x86/mm: Memory block size: 128MB machine # [ 0.331197] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear) machine # [ 0.332407] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear). machine # [ 0.333443] pinctrl core: initialized pinctrl subsystem machine # [ 0.334659] PM: RTC time: 22:14:45, date: 2026-10-14 machine # [ 0.337653] NET: Registered PF_NETLINK/PF_ROUTE protocol family machine # [ 0.338693] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations machine # [ 0.339400] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations machine # [ 0.340498] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations machine # [ 0.341387] audit: initializing netlink subsys (disabled) machine # [ 0.342587] thermal_sys: Registered thermal governor 'fair_share' machine # [ 0.342588] thermal_sys: Registered thermal governor 'bang_bang' machine # [ 0.343380] thermal_sys: Registered thermal governor 'step_wise' machine # [ 0.344382] audit: type=2000 audit(1792016086.128:1): state=initialized audit_enabled=0 res=1 machine # [ 0.346382] thermal_sys: Registered thermal governor 'user_space' machine # [ 0.346383] thermal_sys: Registered thermal governor 'power_allocator' machine # [ 0.347392] cpuidle: using governor menu machine # [ 0.350182] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 machine # [ 0.351597] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff] machine # [ 0.352381] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry machine # [ 0.353387] PCI: Using configuration type 1 for base access machine # [ 0.354555] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. machine # [ 0.359594] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages machine # [ 0.360380] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page machine # [ 0.365379] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages machine # [ 0.366380] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page machine # [ 0.376675] ACPI: Added _OSI(Module Device) machine # [ 0.377380] ACPI: Added _OSI(Processor Device) machine # [ 0.381379] ACPI: Added _OSI(Processor Aggregator Device) machine # [ 0.386771] ACPI: 1 ACPI AML tables successfully acquired and loaded machine # [ 0.390261] ACPI: Interpreter enabled machine # [ 0.391063] ACPI: PM: (supports S0 S3 S4 S5) machine # [ 0.391380] ACPI: Using IOAPIC for interrupt routing machine # [ 0.394439] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug machine # [ 0.395380] PCI: Using E820 reservations for host bridge windows machine # [ 0.396637] ACPI: Enabled 2 GPEs in block 00 to 3F machine # [ 0.401272] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) machine # [ 0.402384] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] machine # [ 0.403452] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR] machine # [ 0.404499] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability] machine # [ 0.405806] PCI host bridge to bus 0000:00 machine # [ 0.406384] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] machine # [ 0.407380] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] machine # [ 0.408380] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] machine # [ 0.409380] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window] machine # [ 0.410380] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] machine # [ 0.411380] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window] machine # [ 0.412383] pci_bus 0000:00: root bus resource [bus 00-ff] machine # [ 0.413524] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint machine # [ 0.415077] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint machine # [ 0.418417] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref] machine # [ 0.419402] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff] machine # [ 0.420422] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref] machine # [ 0.421555] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] machine # [ 0.423154] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint machine # [ 0.425392] pci 0000:00:02.0: BAR 0 [io 0xc100-0xc11f] machine # [ 0.426392] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff] machine # [ 0.427422] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref] machine # [ 0.428392] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref] machine # [ 0.430316] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint machine # [ 0.432391] pci 0000:00:03.0: BAR 0 [io 0xc120-0xc13f] machine # [ 0.433392] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff] machine # [ 0.434428] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref] machine # [ 0.436328] pci 0000:00:04.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint machine # [ 0.438946] pci 0000:00:04.0: BAR 0 [io 0xc000-0xc07f] machine # [ 0.439392] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff] machine # [ 0.440422] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref] machine # [ 0.442335] pci 0000:00:05.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint machine # [ 0.445391] pci 0000:00:05.0: BAR 0 [io 0xc140-0xc15f] machine # [ 0.446392] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff] machine # [ 0.447422] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref] machine # [ 0.448392] pci 0000:00:05.0: ROM [mem 0xfeb80000-0xfebbffff pref] machine # [ 0.450332] pci 0000:00:06.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint machine # [ 0.452401] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff] machine # [ 0.453423] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref] machine # [ 0.455335] pci 0000:00:07.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.457409] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff] machine # [ 0.458422] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref] machine # [ 0.460391] pci 0000:00:08.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.462402] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff] machine # [ 0.463422] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref] machine # [ 0.465345] pci 0000:00:09.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.467403] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff] machine # [ 0.468423] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref] machine # [ 0.470329] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint machine # [ 0.472391] pci 0000:00:0a.0: BAR 0 [io 0xc080-0xc0bf] machine # [ 0.473392] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff] machine # [ 0.474422] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref] machine # [ 0.476317] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint machine # [ 0.478392] pci 0000:00:0b.0: BAR 0 [io 0xc160-0xc17f] machine # [ 0.479392] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff] machine # [ 0.480422] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref] machine # [ 0.482354] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.484164] pci 0000:00:1d.0: BAR 4 [io 0xc180-0xc19f] machine # [ 0.485599] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.487164] pci 0000:00:1d.1: BAR 4 [io 0xc1a0-0xc1bf] machine # [ 0.488606] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.491189] pci 0000:00:1d.2: BAR 4 [io 0xc1c0-0xc1df] machine # [ 0.492717] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint machine # [ 0.494091] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff] machine # [ 0.494743] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint machine # [ 0.495898] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO machine # [ 0.496752] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint machine # [ 0.498432] pci 0000:00:1f.2: BAR 4 [io 0xc1e0-0xc1ff] machine # [ 0.499392] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff] machine # [ 0.500891] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint machine # [ 0.502162] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f] machine # [ 0.508801] ACPI: PCI: Interrupt link LNKA configured for IRQ 10 machine # [ 0.509516] ACPI: PCI: Interrupt link LNKB configured for IRQ 10 machine # [ 0.510527] ACPI: PCI: Interrupt link LNKC configured for IRQ 11 machine # [ 0.511524] ACPI: PCI: Interrupt link LNKD configured for IRQ 11 machine # [ 0.512509] ACPI: PCI: Interrupt link LNKE configured for IRQ 10 machine # [ 0.513525] ACPI: PCI: Interrupt link LNKF configured for IRQ 10 machine # [ 0.514513] ACPI: PCI: Interrupt link LNKG configured for IRQ 11 machine # [ 0.515512] ACPI: PCI: Interrupt link LNKH configured for IRQ 11 machine # [ 0.516476] ACPI: PCI: Interrupt link GSIA configured for IRQ 16 machine # [ 0.517537] ACPI: PCI: Interrupt link GSIB configured for IRQ 17 machine # [ 0.518395] ACPI: PCI: Interrupt link GSIC configured for IRQ 18 machine # [ 0.519394] ACPI: PCI: Interrupt link GSID configured for IRQ 19 machine # [ 0.520397] ACPI: PCI: Interrupt link GSIE configured for IRQ 20 machine # [ 0.521394] ACPI: PCI: Interrupt link GSIF configured for IRQ 21 machine # [ 0.522394] ACPI: PCI: Interrupt link GSIG configured for IRQ 22 machine # [ 0.523399] ACPI: PCI: Interrupt link GSIH configured for IRQ 23 machine # [ 0.525176] iommu: Default domain type: Translated machine # [ 0.526253] iommu: DMA domain TLB invalidation policy: lazy mode machine # [ 0.527570] ACPI: bus type USB registered machine # [ 0.528436] usbcore: registered new interface driver usbfs machine # [ 0.529397] usbcore: registered new interface driver hub machine # [ 0.530392] usbcore: registered new device driver usb machine # [ 0.532025] NetLabel: Initializing machine # [ 0.532384] NetLabel: domain hash size = 128 machine # [ 0.533380] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO machine # [ 0.534410] NetLabel: unlabeled traffic allowed by default machine # [ 0.535392] PCI: Using ACPI for IRQ routing machine # [ 0.619207] pci 0000:00:01.0: vgaarb: setting as boot VGA device machine # [ 0.619376] pci 0000:00:01.0: vgaarb: bridge control possible machine # [ 0.619376] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none machine # [ 0.619382] vgaarb: loaded machine # [ 0.620242] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 machine # [ 0.621258] hpet0: 3 comparators, 64-bit 100.000000 MHz counter machine # [ 0.625454] clocksource: Switched to clocksource kvm-clock machine # [ 0.628725] VFS: Disk quotas dquot_6.6.0 machine # [ 0.629690] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) machine # [ 0.631344] pnp: PnP ACPI init machine # [ 0.632288] ACPI: IRQ 4 override to edge(!), high(!) machine # [ 0.633514] system 00:04: [mem 0xb0000000-0xbfffffff window] has been reserved machine # [ 0.635507] pnp: PnP ACPI: found 5 devices machine # [ 0.643108] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns machine # [ 0.645033] clocksource: Switched to clocksource acpi_pm machine # [ 0.646315] NET: Registered PF_INET protocol family machine # [ 0.647617] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) machine # [ 0.663037] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) machine # [ 0.665000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) machine # [ 0.666737] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) machine # [ 0.668516] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) machine # [ 0.670207] TCP: Hash tables configured (established 8192 bind 8192) machine # [ 0.671673] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear) machine # [ 0.673386] UDP hash table entries: 512 (order: 3, 32768 bytes, linear) machine # [ 0.674889] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear) machine # [ 0.676469] NET: Registered PF_UNIX/PF_LOCAL protocol family machine # [ 0.677842] NET: Registered PF_XDP protocol family machine # [ 0.678975] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] machine # [ 0.680347] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] machine # [ 0.681731] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] machine # [ 0.683278] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window] machine # [ 0.684814] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window] machine # [ 0.686326] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window] machine # [ 0.688400] ACPI: \_SB_.GSIA: Enabled at IRQ 16 machine # [ 0.690629] ACPI: \_SB_.GSIB: Enabled at IRQ 17 machine # [ 0.692903] ACPI: \_SB_.GSIC: Enabled at IRQ 18 machine # [ 0.695108] ACPI: \_SB_.GSID: Enabled at IRQ 19 machine # [ 0.697045] PCI: CLS 0 bytes, default 64 machine # [ 0.698217] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns machine # [ 0.700459] Trying to unpack rootfs image as initramfs... machine # [ 0.742465] Initialise system trusted keyrings machine # [ 0.743676] workingset: timestamp_bits=40 max_order=18 bucket_order=0 machine # [ 0.763437] Key type asymmetric registered machine # [ 0.764434] Asymmetric key parser 'x509' registered machine # [ 0.767854] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) machine # [ 0.772856] io scheduler mq-deadline registered machine # [ 0.773933] io scheduler kyber registered machine # [ 0.777261] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled machine # [ 0.781012] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A machine # [ 0.786729] Linux agpgart interface v0.103 machine # [ 0.787760] ACPI: bus type drm_connector registered machine # [ 0.791181] usbcore: registered new interface driver usbserial_generic machine # [ 0.792648] usbserial: USB Serial support registered for generic machine # [ 0.796828] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled machine # [ 0.798573] drop_monitor: Initializing network drop monitor service machine # [ 0.802919] NET: Registered PF_INET6 protocol family machine # [ 0.807077] Segment Routing with IPv6 machine # [ 0.807999] In-situ OAM (IOAM) with IPv6 machine # [ 0.811115] IPI shorthand broadcast: enabled machine # [ 0.819187] sched_clock: Marking stable (627024224, 191784022)->(926315815, -107507569) machine # [ 0.824894] registered taskstats version 1 machine # [ 0.826059] Loading compiled-in X.509 certificates machine # [ 0.842973] Demotion targets for Node 0: null machine # [ 0.845854] Key type .fscrypt registered machine # [ 0.846764] Key type fscrypt-provisioning registered machine # [ 0.849923] ima: No TPM chip found, activating TPM-bypass! machine # [ 0.851175] ima: Allocated hash algorithm: sha1 machine # [ 0.853841] ima: No architecture policies found machine # [ 0.856821] PM: Magic number: 14:579:249 machine # [ 0.858512] RAS: Correctable Errors collector initialized. machine # [ 0.869235] clk: Disabling unused clocks machine # [ 0.871820] PM: genpd: Disabling unused power domains machine # [ 0.995402] Freeing initrd memory: 29608K machine # [ 0.998556] Freeing unused decrypted memory: 2028K machine # [ 1.001315] Freeing unused kernel image (initmem) memory: 3656K machine # [ 1.002731] Write protecting the kernel read-only data: 32768k machine # [ 1.004357] Freeing unused kernel image (text/rodata gap) memory: 304K machine # [ 1.006173] Freeing unused kernel image (rodata/data gap) memory: 692K machine # [ 1.047612] x86/mm: Checked W+X mappings: passed, no W+X pages found. machine # [ 1.049096] Run /init as init process machine # [ 1.058384] systemd[1]: Inserted module 'autofs4' machine # [ 1.076764] fuse: init (API version 7.45) machine # [ 1.083760] ACPI: \_SB_.GSIG: Enabled at IRQ 22 machine # [ 1.086923] ACPI: \_SB_.GSIH: Enabled at IRQ 23 machine # [ 1.090450] ACPI: \_SB_.GSIE: Enabled at IRQ 20 machine # [ 1.093050] ACPI: \_SB_.GSIF: Enabled at IRQ 21 machine # [ 1.099107] virtiofs virtio5: discovered new tag: nix-store machine # [ 1.101380] virtiofs virtio5: virtio_fs_setup_dax: No cache capability machine # [ 1.110163] virtiofs virtio6: discovered new tag: shared machine # [ 1.112375] virtiofs virtio6: virtio_fs_setup_dax: No cache capability machine # [ 1.116384] virtiofs virtio7: discovered new tag: xchg machine # [ 1.118853] virtiofs virtio7: virtio_fs_setup_dax: No cache capability machine # [ 1.146849] systemd[1]: Successfully made /usr/ read-only. machine # [ 1.484143] systemd[1]: systemd 261.3 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE) machine # [ 1.493247] systemd[1]: Detected virtualization kvm. machine # [ 1.494599] systemd[1]: Detected architecture x86-64. machine # [ 1.495907] systemd[1]: Running in initrd. machine # [ 1.497127] systemd[1]: Initializing machine ID from random generator. machine # [ 1.498657] systemd[1]: Hostname set to . machine # [ 1.565719] systemd[1]: bpf-restrict-fs: LSM BPF program attached machine # [ 1.599296] systemd[1]: Queued start job for default target Initrd Default Target. machine # [ 1.604558] systemd[1]: Created slice Slice /system/modprobe. machine # [ 1.606135] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. machine # [ 1.607981] systemd[1]: Expecting device /dev/disk/by-label/nixos... machine # [ 1.609467] systemd[1]: Reached target Path Units. machine # [ 1.610661] systemd[1]: Reached target Slice Units. machine # [ 1.611895] systemd[1]: Reached target Swaps. machine # [ 1.613011] systemd[1]: Reached target Timer Units. machine # [ 1.614313] systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [ 1.615957] systemd[1]: Listening on Journal Socket (/dev/log). machine # [ 1.617506] systemd[1]: Listening on Journal Sockets. machine # [ 1.618889] systemd[1]: Listening on udev Control Socket. machine # [ 1.620262] systemd[1]: Listening on udev Kernel Socket. machine # [ 1.621556] systemd[1]: Reached target Socket Units. machine # [ 1.623523] systemd[1]: Starting Create List of Static Device Nodes... machine # [ 1.628037] systemd[1]: Starting Load Kernel Module configfs... machine # [ 1.639162] systemd[1]: Starting Journal Service... machine # [ 1.660469] systemd[1]: Starting Load Kernel Modules... machine # [ 1.667931] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 1.676102] systemd[1]: Starting Coldplug All udev Devices... machine # [ 1.683161] systemd-journald[65]: Collecting audit messages is disabled. machine # [ 1.693954] systemd[1]: Finished Create List of Static Device Nodes. machine # [ 1.701399] systemd[1]: modprobe@configfs.service: Deactivated successfully. machine # [ 1.709305] systemd[1]: Finished Load Kernel Module configfs. machine # [ 1.716262] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config machine # [ 1.720495] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. machine # [ 1.732859] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... machine # [ 1.736913] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev machine # [ 1.765528] systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [ 1.774909] systemd[1]: Finished Load Kernel Modules. machine # [ 1.780953] systemd[1]: Starting Apply Kernel Variables... machine # [ 1.793384] systemd[1]: Starting Create Static Device Nodes in /dev... machine # [ 1.811227] systemd[1]: Finished Apply Kernel Variables. machine # [ 1.822462] systemd[1]: Finished Create Static Device Nodes in /dev. machine # [ 1.827090] systemd[1]: Reached target Preparation for Local File Systems. machine # [ 1.832882] systemd[1]: Reached target Local File Systems. machine # [ 1.838948] systemd[1]: Starting Rule-based Manager for Device Events and Files... machine # [ 1.654352] systemd-modules-load[66]: Inserted module 'dm_mod' machine # [ 1.658235] systemd-modules-load[66]: Inserted module 'virtio_balloon' machine # [ 1.659685] systemd-modules-load[66]: Inserted module 'virtio_gpu' machine # [ 1.853972] systemd[1]: Started Journal Service. machine # [ 1.678256] systemd[1]: Starting Create System Files and Directories... machine # [ 1.700807] systemd[1]: Finished Create System Files and Directories. machine # [ 1.704992] systemd-udevd[73]: Using default interface naming scheme 'v261'. machine # [ 1.734101] systemd[1]: Started Rule-based Manager for Device Events and Files. machine # [ 1.757158] systemd[1]: Finished Coldplug All udev Devices. machine # [ 1.759762] systemd[1]: Reached target System Initialization. machine # [ 1.760923] systemd[1]: Reached target Basic System. machine # [ 2.180381] virtio_blk virtio2: 1/0/0 default/read/poll queues machine # [ 2.182206] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 machine # [ 2.185439] virtio_blk virtio2: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB) machine # [ 2.195416] serio: i8042 KBD port at 0x60,0x64 irq 1 machine # [ 2.196325] serio: i8042 AUX port at 0x60,0x64 irq 12 machine # [ 2.198924] ehci-pci 0000:00:1d.7: EHCI Host Controller machine # [ 2.199857] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1 machine # [ 2.202128] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000 machine # [ 2.208819] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00 machine # [ 2.210476] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18 machine # [ 2.213802] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.216915] usb usb1: Product: EHCI Host Controller machine # [ 2.218303] usb usb1: Manufacturer: Linux 6.18.55 ehci_hcd machine # [ 2.220411] usb usb1: SerialNumber: 0000:00:1d.7 machine # [ 2.222347] hub 1-0:1.0: USB hub found machine # [ 2.223515] hub 1-0:1.0: 6 ports detected machine # [ 2.226793] uhci_hcd 0000:00:1d.0: UHCI Host Controller machine # [ 2.227702] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 machine # [ 2.243599] uhci_hcd 0000:00:1d.0: detected 2 ports machine # [ 2.245465] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c180 machine # [ 2.255483] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.266262] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.276984] usb usb2: Product: UHCI Host Controller machine # [ 2.286797] usb usb2: Manufacturer: Linux 6.18.55 uhci_hcd machine # [ 2.287741] usb usb2: SerialNumber: 0000:00:1d.0 machine # [ 2.100160] systemd[1]: Starting Virtual Console Setup... machine # [ 2.305387] hub 2-0:1.0: USB hub found machine # [ 2.119759] (udev-worker)[91]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name. machine # [ 2.125036] (udev-worker)[84]: Network interface NamePolicy= disabled on kernel command line. machine # [ 2.134204] systemd-vconsole-setup[96]: Configuration of first virtual console was skipped, ignoring remaining ones. machine # [ 2.137518] (udev-worker)[91]: Network interface NamePolicy= disabled on kernel command line. machine # [ 2.330845] hub 2-0:1.0: 2 ports detected machine # [ 2.142431] systemd[1]: Finished Virtual Console Setup. machine # [ 2.338688] uhci_hcd 0000:00:1d.1: UHCI Host Controller machine # [ 2.345018] SCSI subsystem initialized machine # [ 2.350571] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 machine # [ 2.357391] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 machine # [ 2.362966] uhci_hcd 0000:00:1d.1: detected 2 ports machine # [ 2.173694] systemd[1]: Found device /dev/disk/by-label/nixos. machine # [ 2.176082] systemd[1]: Reached target Initrd Root Device. machine # [ 2.178263] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos... machine # [ 2.376931] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c1a0 machine # [ 2.381648] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.388330] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.391825] usb usb3: Product: UHCI Host Controller machine # [ 2.392709] usb usb3: Manufacturer: Linux 6.18.55 uhci_hcd machine # [ 2.395821] usb usb3: SerialNumber: 0000:00:1d.1 machine # [ 2.398497] hub 3-0:1.0: USB hub found machine # [ 2.402326] hub 3-0:1.0: 2 ports detected machine # [ 2.214519] systemd-fsck[103]: nixos: clean, 12/65536 files, 13019/262144 blocks machine # [ 2.410986] uhci_hcd 0000:00:1d.2: UHCI Host Controller machine # [ 2.411924] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 machine # [ 2.414806] uhci_hcd 0000:00:1d.2: detected 2 ports machine # [ 2.419058] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c1c0 machine # [ 2.230220] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos. machine # [ 2.424531] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.430302] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.432892] usb usb4: Product: UHCI Host Controller machine # [ 2.435340] usb usb4: Manufacturer: Linux 6.18.55 uhci_hcd machine # [ 2.437850] usb usb4: SerialNumber: 0000:00:1d.2 machine # [ 2.440432] hub 4-0:1.0: USB hub found machine # [ 2.445503] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode machine # [ 2.447299] hub 4-0:1.0: 2 ports detected machine # [ 2.461799] usb 1-1: new high-speed USB device number 2 using ehci-pci machine # [ 2.462965] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f) machine # [ 2.470985] ahci 0000:00:1f.2: flags: 64bit ncq only machine # [ 2.482872] scsi host0: ahci machine # [ 2.484849] scsi host1: ahci machine # [ 2.486552] scsi host2: ahci machine # [ 2.489266] scsi host3: ahci machine # [ 2.491264] scsi host4: ahci machine # [ 2.493235] scsi host5: ahci machine # [ 2.494489] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 47 lpm-pol 1 machine # [ 2.496543] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 47 lpm-pol 1 machine # [ 2.498093] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 47 lpm-pol 1 machine # [ 2.499602] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 47 lpm-pol 1 machine # [ 2.501132] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 47 lpm-pol 1 machine # [ 2.502641] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 47 lpm-pol 1 machine # [ 2.592107] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00 machine # [ 2.594187] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10 machine # [ 2.596371] usb 1-1: Product: QEMU USB Tablet machine # [ 2.597841] usb 1-1: Manufacturer: QEMU machine # [ 2.599096] usb 1-1: SerialNumber: 28754-0000:00:1d.7-1 machine # [ 2.615139] hid: raw HID events driver (C) Jiri Kosina machine # [ 2.500526] systemd[1]: Mounting /sysroot... machine # [ 2.812255] ata2: SATA link down (SStatus 0 SControl 300) machine # [ 2.814235] ata6: SATA link down (SStatus 0 SControl 300) machine # [ 2.815964] ata4: SATA link down (SStatus 0 SControl 300) machine # [ 2.817946] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) machine # [ 2.819631] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100 machine # [ 2.821258] ata3.00: applying bridge limits machine # [ 2.822578] ata5: SATA link down (SStatus 0 SControl 300) machine # [ 2.823945] ata1: SATA link down (SStatus 0 SControl 300) machine # [ 2.825323] ata3.00: configured for UDMA/100 machine # [ 2.826615] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5 machine # [ 2.877616] usbcore: registered new interface driver usbhid machine # [ 2.880795] usbhid: USB HID core driver machine # [ 2.911942] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input2 machine # [ 2.914268] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:1d.7-1/input0 machine # [ 2.921095] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray machine # [ 2.933113] cdrom: Uniform CD-ROM driver Revision: 3.20 machine # [ 2.935253] EXT4-fs (vda): mounted filesystem 72070417-6203-465c-9d2c-3bc0f15a1269 r/w with ordered data mode. Quota mode: none. machine # [ 2.752089] systemd[1]: Mounted /sysroot. machine # [ 2.754654] systemd[1]: Reached target Initrd Root File System. machine # [ 2.761153] systemd[1]: Starting Mountpoints Configured in the Real Root... machine # [ 2.775229] systemd-sysroot-fstab-check[136]: /sysroot should be mounted in the initrd, will request daemon-reload. machine # [ 2.780074] systemd[1]: Reload requested from client PID 136 ('systemd-sysroot') (unit initrd-parse-etc.service)... machine # [ 2.783935] systemd[1]: Reloading... machine # [ 2.859336] systemd[1]: Reloading finished in 75 ms. machine # [ 2.867471] systemd-sysroot-fstab-check[136]: Requesting initrd-fs.target/start/replace... machine # [ 2.872275] systemd-sysroot-fstab-check[136]: Requesting swap.target/start/replace... machine # [ 2.875726] systemd[1]: initrd-parse-etc.service: Deactivated successfully. machine # [ 2.877615] systemd[1]: Finished Mountpoints Configured in the Real Root. machine # [ 2.879171] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies. machine # [ 3.502335] systemd[1]: Mounting /sysroot/nix/.ro-store... machine # [ 3.506129] systemd[1]: Mounting /sysroot/nix/.rw-store... machine # [ 3.511161] systemd[1]: Mounting /sysroot/run... machine # [ 3.516901] systemd[1]: Mounting /sysroot/tmp/shared... machine # [ 3.523972] systemd[1]: Mounting /sysroot/tmp/xchg... machine # [ 3.544893] systemd[1]: Mounted /sysroot/nix/.ro-store. machine # [ 3.548092] systemd[1]: Mounted /sysroot/nix/.rw-store. machine # [ 3.549459] systemd[1]: Mounted /sysroot/run. machine # [ 3.551172] systemd[1]: Mounted /sysroot/tmp/shared. machine # [ 3.552260] systemd[1]: Mounted /sysroot/tmp/xchg. machine # [ 3.556537] systemd[1]: Starting rw-sysroot-nix-store.service... machine # [ 3.565421] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully. machine # [ 3.568083] systemd[1]: Finished rw-sysroot-nix-store.service. machine # [ 3.570087] systemd[1]: Mounting /sysroot/nix/store... machine # [ 3.590270] systemd[1]: Mounted /sysroot/nix/store. machine # [ 3.592135] systemd[1]: Reached target Initrd File Systems. machine # [ 3.593476] systemd[1]: Starting Find NixOS closure... machine # [ 3.596308] systemd[1]: Starting Create Volatile Files and Directories in the Real Root... machine # [ 3.612373] systemd[1]: Finished Create Volatile Files and Directories in the Real Root. machine # [ 3.619223] systemd[1]: Finished Find NixOS closure. machine # [ 3.620800] systemd[1]: Reached target Initrd Default Target. machine # [ 3.623106] systemd[1]: Starting Cleaning Up and Shutting Down Daemons... machine # [ 3.635668] systemd[1]: Stopped target Initrd Default Target. machine # [ 3.637143] systemd[1]: Stopped target Basic System. machine # [ 3.638586] systemd[1]: Stopped target Initrd Root Device. machine # [ 3.640148] systemd[1]: Stopped target Path Units. machine # [ 3.641236] systemd[1]: systemd-ask-password-console.path: Deactivated successfully. machine # [ 3.642985] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch. machine # [ 3.644915] systemd[1]: Stopped target Slice Units. machine # [ 3.646402] systemd[1]: Stopped target Socket Units. machine # [ 3.648157] systemd[1]: Stopped target System Initialization. machine # [ 3.649416] systemd[1]: Stopped target Swaps. machine # [ 3.650364] systemd[1]: Stopped target Timer Units. machine # [ 3.651915] systemd[1]: dbus.socket: Deactivated successfully. machine # [ 3.653143] systemd[1]: Closed D-Bus System Message Bus Socket. machine # [ 3.654552] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully. machine # [ 3.657157] systemd[1]: Stopped Find NixOS closure. machine # [ 3.658191] systemd[1]: Starting rw-sysroot-nix-store.service... machine # [ 3.659393] systemd[1]: systemd-sysctl.service: Deactivated successfully. machine # [ 3.660985] systemd[1]: Stopped Apply Kernel Variables. machine # [ 3.662399] systemd[1]: systemd-modules-load.service: Deactivated successfully. machine # [ 3.664235] systemd[1]: Stopped Load Kernel Modules. machine # [ 3.665485] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully. machine # [ 3.667957] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root. machine # [ 3.669478] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully. machine # [ 3.670884] systemd[1]: Stopped Create System Files and Directories. machine # [ 3.672541] systemd[1]: Stopped target Local File Systems. machine # [ 3.676205] systemd[1]: Stopped target Preparation for Local File Systems. machine # [ 3.677589] systemd[1]: systemd-udev-trigger.service: Deactivated successfully. machine # [ 3.679846] systemd[1]: Stopped Coldplug All udev Devices. machine # [ 3.682201] systemd[1]: Stopping Rule-based Manager for Device Events and Files... machine # [ 3.685516] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 3.686940] systemd[1]: Stopped Virtual Console Setup. machine # [ 3.692482] systemd[1]: initrd-cleanup.service: Deactivated successfully. machine # [ 3.695641] systemd[1]: Finished Cleaning Up and Shutting Down Daemons. machine # [ 3.698200] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully. machine # [ 3.699766] systemd[1]: Finished rw-sysroot-nix-store.service. machine # [ 3.701513] systemd[1]: systemd-udevd.service: Deactivated successfully. machine # [ 3.704090] systemd[1]: Stopped Rule-based Manager for Device Events and Files. machine # [ 3.707693] systemd[1]: systemd-udevd-control.socket: Deactivated successfully. machine # [ 3.710075] systemd[1]: Closed udev Control Socket. machine # [ 3.711307] systemd[1]: Starting Cleanup udev Database... machine # [ 3.713178] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully. machine # [ 3.714671] systemd[1]: Stopped Create Static Device Nodes in /dev. machine # [ 3.715925] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully. machine # [ 3.718163] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully. machine # [ 3.719568] systemd[1]: kmod-static-nodes.service: Deactivated successfully. machine # [ 3.720914] systemd[1]: Stopped Create List of Static Device Nodes. machine # [ 3.733445] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully. machine # [ 3.735600] systemd[1]: Finished Cleanup udev Database. machine # [ 3.737178] systemd[1]: Reached target Switch Root. machine # [ 3.738969] systemd[1]: Starting NixOS Activation... machine # [ 3.795345] initrd-nixos-activation-start[188]: booting system configuration /nix/store/kd62hp299x0vkg0lzinf4ig5553narvb-nixos-system-machine-test machine # [ 3.820083] initrd-nixos-activation-start[188]: running activation script... machine # [ 3.986610] initrd-nixos-activation-start[211]: setting up /etc... machine # [ 4.086396] systemd[1]: initrd-nixos-activation.service: Deactivated successfully. machine # [ 4.088423] systemd[1]: Finished NixOS Activation. machine # [ 4.090707] systemd[1]: Starting Switch Root... machine # [ 4.102085] systemd[1]: Switching root. machine # [ 4.424935] systemd-journald[65]: Received SIGTERM from PID 1 (systemd). machine # [ 4.530146] NET: Registered PF_VSOCK protocol family machine # [ 4.886065] systemd[1]: systemd 261.3 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE) machine # [ 4.893058] systemd[1]: Detected virtualization kvm. machine # [ 4.894252] systemd[1]: Detected architecture x86-64. machine # [ 4.895413] systemd[1]: Detected first boot. machine # [ 4.897368] systemd[1]: Initializing machine ID from random generator. machine # [ 4.987843] systemd[1]: bpf-restrict-fs: LSM BPF program attached machine # [ 5.055857] systemd[1]: Applying preset policy. machine # [ 5.224469] systemd[1]: Populated /etc with preset unit settings. machine # [ 5.420217] systemd[1]: initrd-switch-root.service: Deactivated successfully. machine # [ 5.421984] systemd[1]: Stopped initrd-switch-root.service. machine # [ 5.424658] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1. machine # [ 5.427254] systemd[1]: Created slice Slice /system/getty. machine # [ 5.428881] systemd[1]: Created slice User and Session Slice. machine # [ 5.430039] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. machine # [ 5.431550] systemd[1]: Started Forward Password Requests to Wall Directory Watch. machine # [ 5.432961] systemd[1]: Expecting device /dev/hvc0... machine # [ 5.433922] systemd[1]: Expecting device /dev/ttyS0... machine # [ 5.434920] systemd[1]: Reached target Local Encrypted Volumes. machine # [ 5.435999] systemd[1]: Stopped target initrd-fs.target. machine # [ 5.436990] systemd[1]: Stopped target initrd-root-fs.target. machine # [ 5.438046] systemd[1]: Stopped target initrd-switch-root.target. machine # [ 5.439180] systemd[1]: Reached target Virtual Machines and Containers. machine # [ 5.440387] systemd[1]: Reached target Path Units. machine # [ 5.441349] systemd[1]: Reached target Remote File Systems. machine # [ 5.442408] systemd[1]: Reached target Slice Units. machine # [ 5.453440] systemd[1]: Reached target Swaps. machine # [ 5.455535] systemd[1]: Listening on Query the User Interactively for a Password. machine # [ 5.458288] systemd[1]: Listening on Process Core Dump Socket. machine # [ 5.460359] systemd[1]: Listening on Credential Encryption/Decryption. machine # [ 5.462527] systemd[1]: Listening on Factory Reset Management. machine # [ 5.463759] systemd[1]: Listening on Hostname Service Socket. machine # [ 5.466522] systemd[1]: Starting Journal Log Access Socket... machine # [ 5.468041] systemd[1]: Listening on Journal Audit Socket. machine # [ 5.470891] systemd[1]: Listening on Console Output Muting Service Socket. machine # [ 5.472291] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket. machine # [ 5.473686] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os machine # [ 5.475378] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki machine # [ 5.479832] systemd[1]: Listening on Disk Repartitioning Service Socket. machine # [ 5.481138] systemd[1]: Listening on udev Control Socket. machine # [ 5.482277] systemd[1]: Listening on udev Varlink Socket. machine # [ 5.484495] systemd[1]: Mounting Huge Pages File System... machine # [ 5.487965] systemd[1]: Mounting POSIX Message Queue File System... machine # [ 5.495595] systemd[1]: Mounting Kernel Debug File System... machine # [ 5.502336] systemd[1]: Mounting Kernel Trace File System... machine # [ 5.513744] systemd[1]: Starting Create List of Static Device Nodes... machine # [ 5.526661] systemd[1]: Starting Load Kernel Module configfs... machine # [ 5.535398] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm machine # [ 5.543527] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore machine # [ 5.546954] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse machine # [ 5.555305] systemd[1]: Mounting FUSE Control File System... machine # [ 5.557441] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 machine # [ 5.567288] systemd[1]: Starting Journal Service... machine # [ 5.574844] systemd[1]: Starting Load Kernel Modules... machine # [ 5.587467] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer... machine # [ 5.595304] systemd[1]: Starting Remount Root and Kernel File Systems... machine # [ 5.599812] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 5.612513] systemd-journald[281]: Collecting audit messages is enabled. machine # [ 5.615564] systemd[1]: Starting Coldplug All udev Devices... machine # [ 5.623667] systemd[1]: Listening on Journal Log Access Socket. machine # [ 5.632074] systemd[1]: Mounted Huge Pages File System. machine # [ 5.637123] systemd[1]: Mounted POSIX Message Queue File System. machine # [ 5.643088] systemd[1]: Mounted Kernel Debug File System. machine # [ 5.644405] loop: module loaded machine # [ 5.455562] systemd[1]: Queued start job for default target Multi-User System. machine # [ 5.458461] systemd[1]: systemd-journald.service: Deactivated successfully. machine # [ 5.651673] systemd[1]: Started Journal Service. machine # [ 5.461730] systemd-modules-load[282]: Inserted module 'loop' machine # [ 5.465767] systemd[1]: Mounted Kernel Trace File System. machine # [ 5.473412] systemd[1]: Finished Create List of Static Device Nodes. machine # [ 5.479712] systemd[1]: modprobe@configfs.service: Deactivated successfully. machine # [ 5.484089] systemd[1]: Finished Load Kernel Module configfs. machine # [ 5.485333] systemd[1]: Mounted FUSE Control File System. machine # [ 5.491065] systemd[1]: Finished Load Kernel Modules. machine # [ 5.684755] EXT4-fs (vda): re-mounted 72070417-6203-465c-9d2c-3bc0f15a1269. machine # [ 5.507112] systemd[1]: Finished Remount Root and Kernel File Systems. machine # [ 5.511884] systemd[1]: Listening on Disk Image Download Service Socket. machine # [ 5.516117] systemd[1]: Mounting Kernel Configuration File System... machine # [ 5.519423] systemd[1]: Starting Firewall... machine # [ 5.526154] systemd[1]: Starting Flush Journal to Persistent Storage... machine # [ 5.527486] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore machine # [ 5.532922] systemd-oomd[284]: No swap; memory pressure usage will be degraded machine # [ 5.541091] systemd[1]: Starting Load/Save OS Random Seed... machine # [ 5.550985] systemd[1]: Starting Apply Kernel Variables... machine # [ 5.565160] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... machine # [ 5.566638] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 5.570465] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer. machine # [ 5.796958] systemd-journald[281]: Received client request to flush runtime journal. machine # [ 5.806838] systemd[1]: Mounted Kernel Configuration File System. machine # [ 5.809715] systemd[1]: Finished Load/Save OS Random Seed. machine # [ 5.814430] systemd[1]: Reached target First Boot Complete. machine # [ 5.815590] systemd[1]: Finished Apply Kernel Variables. machine # [ 5.816926] systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [ 5.819167] systemd[1]: Starting Create Static Device Nodes in /dev... machine # [ 5.821181] systemd[1]: Finished Flush Journal to Persistent Storage. machine # [ 5.867687] systemd[1]: Finished Coldplug All udev Devices. machine # [ 5.876599] systemd[1]: Finished Create Static Device Nodes in /dev. machine # [ 5.879157] systemd[1]: Reached target Preparation for Local File Systems. machine # [ 5.881430] systemd[1]: Starting Rule-based Manager for Device Events and Files... machine # [ 5.919240] systemd-udevd[325]: Using default interface naming scheme 'v261'. machine # [ 5.967084] systemd[1]: Started Rule-based Manager for Device Events and Files. machine # [ 6.095204] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse machine # [ 6.181245] systemd[1]: Condition check resulted in /dev/hvc0 being skipped. machine # [ 6.218320] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped. machine # [ 6.233306] systemd[1]: Mounting /run/wrappers... machine # [ 6.238743] (udev-worker)[347]: Network interface NamePolicy= disabled on kernel command line. machine # [ 6.243464] (udev-worker)[348]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name. machine # [ 6.247213] (udev-worker)[348]: Network interface NamePolicy= disabled on kernel command line. machine # [ 6.271228] systemd[1]: Mounted /run/wrappers. machine # [ 6.272239] systemd[1]: Reached target Local File Systems. machine # [ 6.276470] systemd[1]: Listening on Boot Loader Control Service Socket. machine # [ 6.280962] systemd[1]: Starting register-nix-paths.service... machine # [ 6.285592] systemd[1]: Starting Create SUID/SGID Wrappers... machine # [ 6.286753] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met. machine # [ 6.294973] systemd[1]: Starting Save Transient machine-id to Disk... machine # [ 6.302835] systemd[1]: Starting Create System Files and Directories... machine # [ 6.400242] systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [ 6.407835] systemd[1]: Finished Save Transient machine-id to Disk. machine # [ 6.444310] systemd[1]: Finished Create System Files and Directories. machine # [ 6.452362] systemd[1]: Starting Rebuild Journal Catalog... machine # [ 6.466603] systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [ 6.473495] systemd[1]: Condition check resulted in Virtio network device being skipped. machine # [ 6.476089] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore machine # [ 6.478505] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met. machine # [ 6.481309] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 machine # [ 6.484731] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore machine # [ 6.488549] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 6.492177] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 6.556985] systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [ 6.585711] systemd[1]: Finished Rebuild Journal Catalog. machine # [ 6.592380] systemd[1]: Starting Update is Completed... machine # [ 6.663213] systemd[1]: Finished Update is Completed. machine # [ 6.984359] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3 machine # [ 7.001070] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console machine # [ 6.817103] systemd[1]: Finished Firewall. machine # [ 7.015101] mousedev: PS/2 mouse device common for all mice machine # [ 7.019483] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:06.0/virtio4/input/input4 machine # [ 6.856426] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully. machine # [ 6.859821] systemd[1]: Finished Create SUID/SGID Wrappers. machine # [ 7.032575] ACPI: button: Power Button [PWRF] machine # [ 7.089642] rtc_cmos PNP0B00:00: RTC can wake from S4 machine # [ 7.107279] Console: switching to colour dummy device 80x25 machine # [ 7.125374] rtc_cmos PNP0B00:00: registered as rtc0 machine # [ 7.125507] rtc_cmos PNP0B00:00: setting system clock to 2026-10-14T22:14:52 UTC (1792016092) machine # [ 7.125599] rtc_cmos PNP0B00:00: alarms up to one day, y3k, 242 bytes nvram, hpet irqs machine # [ 7.125900] systemd-journald[281]: Time jumped backwards, rotating. machine # [ 7.134246] parport_pc 00:02: reported by Plug and Play ACPI machine # [ 7.134335] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)] machine # [ 7.158535] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized machine # [ 7.196377] [drm] Found bochs VGA, ID 0xb0c5. machine # [ 7.196379] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000. machine # [ 7.015552] systemd[1]: Finished register-nix-paths.service. machine # [ 7.018778] systemd[1]: Reached target System Initialization. machine # [ 7.024753] systemd[1]: Started Discard unused filesystem blocks once a week. machine # [ 7.027484] systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [ 7.028749] systemd[1]: Reached target Timer Units. machine # [ 7.031209] systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [ 7.032601] systemd[1]: Listening on Nix Daemon Socket. machine # [ 7.033670] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [ 7.036230] systemd[1]: Reached target Socket Units. machine # [ 7.038053] systemd[1]: Reached target Basic System. machine # [ 7.040173] systemd[1]: Started backdoor.service. machine # [ 7.041867] systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [ 7.048316] systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [ 7.058451] systemd[1]: Starting Post-Boot Actions... machine # [ 7.253006] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic machine # [ 7.253932] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0 machine # [ 7.067177] systemd[1]: Started Reset console on configuration changes. machine # [ 7.084522] systemd[1]: Starting resolvconf update... machine # connecting to host... machine # [ 7.123890] systemd[1]: Starting D-Bus System Message Bus... machine # [ 7.130231] nsncd[506]: Oct 14 22:14:52.695 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [ 7.134468] systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [ 7.138220] systemd[1]: Reached target Host and Network Name Lookups. machine # [ 7.140286] systemd[1]: Reached target User and Group Name Lookups. machine: Guest shell says: b'Spawning backdoor root shell...\n' machine: connected to guest root shell machine: (connecting took 7.91 seconds) machine: (finished: waiting for the VM to finish booting, in 8.08 seconds) machine # [ 7.382026] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt machine # [ 7.382913] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD machine # [ 7.197265] systemd[1]: Starting User Login Management... machine # [ 7.204984] systemd[1]: Finished Post-Boot Actions. machine # [ 7.208568] systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [ 7.273614] dbus-broker-launch[515]: Looking up NSS user entry for 'systemd-timesync'... machine # [ 7.479536] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6 machine # [ 7.479896] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5 machine # [ 7.541546] Console: switching to colour frame buffer device 160x50 machine # [ 7.621648] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device machine # [ 7.330047] dbus-broker-launch[515]: NSS returned no entry for 'systemd-timesync' machine # [ 7.434056] dbus-broker-launch[515]: Invalid user-name in /nix/store/c7if57az75jdv2srlympmgb9m7qdjic1-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [ 7.436839] systemd[1]: Stopped target Host and Network Name Lookups. machine # [ 7.438292] systemd[1]: Stopping Host and Network Name Lookups... machine # [ 7.442817] systemd[1]: Stopped target User and Group Name Lookups. machine # [ 7.447626] nsncd[589]: Oct 14 22:14:52.988 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [ 7.452362] systemd[1]: Stopping User and Group Name Lookups... machine # [ 7.455213] systemd[1]: Stopping Name Service Cache Daemon (nsncd)... machine # [ 7.456452] systemd[1]: nscd.service: Deactivated successfully. machine # [ 7.457640] systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [ 7.458830] systemd[1]: Started D-Bus System Message Bus. machine # [ 7.461850] systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [ 7.465089] dbus-broker-launch[515]: Ready machine # [ 7.467111] systemd[1]: Starting Virtual Console Setup... machine # [ 7.468227] systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [ 7.469447] systemd[1]: Reached target Host and Network Name Lookups. machine # [ 7.470656] systemd[1]: Reached target User and Group Name Lookups. machine # [ 7.474343] systemd-logind[535]: New seat seat0. machine # [ 7.475737] systemd[1]: Started User Login Management. machine # [ 7.478346] systemd[1]: Starting linger-users.service... machine # [ 7.487227] systemd-logind[535]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard) machine # [ 7.489244] systemd[1]: Finished resolvconf update. machine # [ 7.493365] systemd[1]: Reached target Preparation for Network. machine # [ 7.496798] systemd-logind[535]: Watching system buttons on /dev/input/event2 (Power Button) machine # [ 7.502420] systemd[1]: Starting DHCP Client... machine # [ 7.508122] systemd[1]: Starting Address configuration of eth1... machine # [ 7.515087] systemd[1]: Starting Extra networking commands.... machine # [ 7.550080] systemd[1]: linger-users.service: Deactivated successfully. machine # [ 7.555407] systemd[1]: Finished linger-users.service. machine # [ 7.563922] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 7.567321] systemd[1]: Stopped Virtual Console Setup. machine # [ 7.588151] systemd[1]: Starting Virtual Console Setup... machine # [ 7.627568] network-addresses-eth1-start[619]: adding address 192.168.1.1/24... done machine # [ 7.644881] systemd-logind[535]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard) machine # [ 7.648483] network-addresses-eth1-start[619]: adding address 2001:db8:1::1/64... done machine # [ 7.674124] systemd[1]: Finished Address configuration of eth1. machine # [ 7.906194] ppdev: user-space parallel port driver machine # [ 7.757271] systemd[1]: Finished Extra networking commands.. machine # [ 7.761470] systemd[1]: Reached target Network. machine # [ 7.768088] systemd[1]: Starting PostgreSQL Server... machine # [ 7.772934] systemd[1]: Starting Permit User Sessions... machine # [ 7.776539] dhcpcd[639]: dhcpcd-10.3.2 starting machine # [ 7.785225] dhcpcd[692]: dev: loaded udev machine # [ 7.979437] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660) machine # [ 8.001514] 8021q: 802.1Q VLAN Support v1.8 machine # [ 8.002118] 8021q: adding VLAN 0 to HW filter on device eth1 machine # [ 7.829162] systemd[1]: Finished Permit User Sessions. machine # [ 7.836192] systemd[1]: Started Getty on tty1. machine # [ 7.837171] systemd[1]: Reached target Login Prompts. machine # [ 7.845396] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 7.849700] systemd[1]: Stopped Virtual Console Setup. machine # [ 8.049932] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0) machine # [ 7.879096] systemd[1]: Starting Virtual Console Setup... machine # [ 7.944961] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. machine # [ 8.183353] cfg80211: Loading compiled-in X.509 certificates for regulatory database machine # [ 8.213014] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' machine # [ 8.213870] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' machine # [ 8.218273] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2 machine # [ 8.219748] cfg80211: failed to load regulatory.db machine # [ 8.276497] kvm_amd: TSC scaling supported machine # [ 8.088993] postgresql-pre-start[703]: The files belonging to this database system will be owned by user "postgres". machine # [ 8.090933] postgresql-pre-start[703]: This user must also own the server process. machine # [ 8.284890] kvm_amd: Nested Virtualization enabled machine # [ 8.285526] kvm_amd: Nested Paging enabled machine # [ 8.286110] kvm_amd: LBR virtualization supported machine # [ 8.287290] kvm_amd: Virtual VMLOAD VMSAVE supported machine # [ 8.098966] postgresql-pre-start[703]: The database cluster will be initialized with locale "en_US.UTF-8". machine # [ 8.100703] postgresql-pre-start[703]: The default database encoding has accordingly been set to "UTF8". machine # [ 8.102358] postgresql-pre-start[703]: The default text search configuration will be set to "english". machine # [ 8.104722] postgresql-pre-start[703]: Data page checksums are enabled. machine # [ 8.297703] kvm_amd: Virtual GIF supported machine # [ 8.105996] postgresql-pre-start[703]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok machine # [ 8.109207] postgresql-pre-start[703]: creating subdirectories ... ok machine # [ 8.110519] postgresql-pre-start[703]: selecting dynamic shared memory implementation ... posix machine # [ 8.308686] 8021q: adding VLAN 0 to HW filter on device eth0 machine # [ 8.120245] dhcpcd[692]: eth0: waiting for carrier machine # [ 8.121299] dhcpcd[692]: eth0: carrier acquired machine # [ 8.129838] dhcpcd[692]: DUID 00:01:00:01:32:62:bb:5d:52:54:00:12:34:56 machine # [ 8.131115] dhcpcd[692]: eth0: IAID 00:12:34:56 machine # [ 8.132129] dhcpcd[692]: eth0: adding address fe80::5054:ff:fe12:3456 machine # [ 8.354270] EDAC MC: Ver: 3.0.0 machine # [ 8.179709] postgresql-pre-start[703]: selecting default "max_connections" ... 100 machine # [ 8.217668] postgresql-pre-start[703]: selecting default "shared_buffers" ... 128MB machine # [ 8.259176] systemd-vconsole-setup[701]: Configuration of first virtual console was skipped, ignoring remaining ones. machine # [ 8.263739] systemd[1]: Finished Virtual Console Setup. machine # [ 8.791104] postgresql-pre-start[703]: selecting default time zone ... UTC machine # [ 8.793573] postgresql-pre-start[703]: creating configuration files ... ok machine # [ 8.941954] postgresql-pre-start[703]: running bootstrap script ... ok machine # [ 9.103543] dhcpcd[692]: eth0: soliciting a DHCP lease machine # [ 9.310343] NET: Registered PF_PACKET protocol family machine # [ 9.125452] dhcpcd[692]: eth0: offered 10.0.2.15 from 10.0.2.2 machine # [ 9.127173] dhcpcd[692]: eth0: probing address 10.0.2.15/24 machine # [ 9.334306] postgresql-pre-start[703]: performing post-bootstrap initialization ... ok machine # [ 9.517705] postgresql-pre-start[703]: syncing data to disk ... ok machine # [ 9.518923] postgresql-pre-start[703]: initdb: warning: enabling "trust" authentication for local connections machine # [ 9.520580] postgresql-pre-start[703]: initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. machine # [ 9.523181] postgresql-pre-start[703]: Success. You can now start the database server using: machine # [ 9.524738] postgresql-pre-start[703]: pg_ctl -D /var/lib/postgresql/18 -l logfile start machine # [ 9.602934] dhcpcd[692]: eth0: soliciting an IPv6 router machine # [ 9.605168] dhcpcd[692]: eth0: Router Advertisement from fe80::2 machine # [ 9.606881] dhcpcd[692]: eth0: adding address fec0::5054:ff:fe12:3456/64 machine # [ 9.609228] dhcpcd[692]: eth0: adding route to fec0::/64 machine # [ 9.612262] dhcpcd[692]: eth0: adding default route via fe80::2 machine # [ 9.621249] postgres[740]: [740] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit machine # [ 9.625038] postgres[740]: [740] LOG: listening on IPv6 address "::1", port 5432 machine # [ 9.626509] postgres[740]: [740] LOG: listening on IPv4 address "127.0.0.1", port 5432 machine # [ 9.638953] postgres[740]: [740] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" machine # [ 9.671839] postgres[749]: [749] LOG: database system was shut down at 2026-10-14 22:14:54 GMT machine # [ 9.689246] postgres[740]: [740] LOG: database system is ready to accept connections machine # [ 9.703608] systemd[1]: Started PostgreSQL Server. machine # [ 9.711800] systemd[1]: Starting PostgreSQL Setup Scripts... machine # [ 9.860922] postgresql-setup-start[760]: CREATE DATABASE machine # [ 9.887754] postgresql-setup-start[765]: CREATE ROLE machine # [ 9.899116] postgresql-setup-start[767]: ALTER DATABASE machine # [ 9.903502] systemd[1]: Finished PostgreSQL Setup Scripts. machine # [ 9.905940] systemd[1]: Reached target PostgreSQL. machine: (finished: waiting for unit postgresql.service, in 11.41 seconds) machine: waiting for unit rustfs.service machine # [ 14.018872] dhcpcd[692]: eth0: leased 10.0.2.15 for 86400 seconds machine # [ 14.020650] dhcpcd[692]: eth0: adding route to 10.0.2.0/24 machine # [ 14.022530] dhcpcd[692]: eth0: adding default route via 10.0.2.2 machine # [ 14.075561] systemd[1]: Started DHCP Client. machine # [ 14.078100] systemd[1]: Reached target Network is Online. machine # [ 14.081737] systemd[1]: Starting RustFS Object Storage Server... machine # [ 14.628540] systemd[1]: Started RustFS Object Storage Server. machine # [ 14.633786] systemd[1]: Starting Self-hosted Zotero sync server... machine # [ 14.682666] systemd[1]: Started Self-hosted Zotero sync server. machine # [ 14.685753] systemd[1]: Reached target Multi-User System. machine # [ 14.687472] systemd[1]: Startup finished in 860ms (kernel) + 3.460s (initrd) + 10.365s (userspace) = 14.686s. machine: (finished: waiting for unit rustfs.service, in 4.21 seconds) machine: waiting for TCP port 9000 on localhost machine # Connection to localhost (::1) 9000 port [tcp/cslistener] succeeded! machine: (finished: waiting for TCP port 9000 on localhost, in 0.05 seconds) machine: waiting for unit zhost.service machine: (finished: waiting for unit zhost.service, in 0.03 seconds) machine: waiting for TCP port 8189 on localhost machine # [ 14.920231] zhost[885]: 2026-10-14T22:15:00.485942Z INFO zhost: zhost listening bind=127.0.0.1:8189 machine # Connection to localhost (127.0.0.1) 8189 port [tcp/*] succeeded! machine: (finished: waiting for TCP port 8189 on localhost, in 1.04 seconds) machine: must succeed: mc alias set s3 http://localhost:9000 rustfsadmin rustfsadmin machine: (finished: must succeed: mc alias set s3 http://localhost:9000 rustfsadmin rustfsadmin, in 0.11 seconds) machine: must succeed: mc mb s3/zotero machine: (finished: must succeed: mc mb s3/zotero, in 0.19 seconds) subtest: the module deploys a working service backed by postgres machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/keys/current -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 16.144659] zhost[885]: 2026-10-14T22:15:01.710524Z INFO zhost: request method=GET uri=/keys/current api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/keys/current -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.03 seconds) (finished: subtest: the module deploys a working service backed by postgres, in 0.03 seconds) subtest: login session hands out the key only after authorization machine: must succeed: curl -sf -X POST http://localhost:8189/keys/sessions -d '{}' > /tmp/sess machine # [ 16.168910] zhost[885]: 2026-10-14T22:15:01.734970Z INFO zhost: request method=POST uri=/keys/sessions api_version=- if_unmod=- body={} machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/keys/sessions -d '{}' > /tmp/sess, in 0.02 seconds) machine: must succeed: jq -r .sessionToken /tmp/sess machine: (finished: must succeed: jq -r .sessionToken /tmp/sess, in 0.01 seconds) machine: must succeed: jq -r .loginURL /tmp/sess machine: (finished: must succeed: jq -r .loginURL /tmp/sess, in 0.01 seconds) machine: must succeed: curl -sf 'http://localhost:8189/login?session=0ddb8e67e159e0e4316f4d4ef4e0eae0' | grep -qi 'Authorize' machine # [ 16.219512] zhost[885]: 2026-10-14T22:15:01.784584Z INFO zhost: request method=GET uri=/login?session=0ddb8e67e159e0e4316f4d4ef4e0eae0 api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/login?session=0ddb8e67e159e0e4316f4d4ef4e0eae0' | grep -qi 'Authorize', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.status == "pending"' machine # [ 16.248436] zhost[885]: 2026-10-14T22:15:01.814445Z INFO zhost: request method=GET uri=/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.status == "pending"', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.apiKey == null' machine # [ 16.284614] zhost[885]: 2026-10-14T22:15:01.850640Z INFO zhost: request method=GET uri=/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.apiKey == null', in 0.04 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -H 'Origin: https://evil.example' -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=0ddb8e67e159e0e4316f4d4ef4e0eae0' machine # [ 16.320273] zhost[885]: 2026-10-14T22:15:01.886242Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=0ddb8e67e159e0e4316f4d4ef4e0eae0 machine # [ 16.324119] zhost[885]: 2026-10-14T22:15:01.886288Z WARN zhost: response error method=POST uri=/login status=403 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -H 'Origin: https://evil.example' -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=0ddb8e67e159e0e4316f4d4ef4e0eae0', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -d 'session=0ddb8e67e159e0e4316f4d4ef4e0eae0' machine # [ 16.349245] zhost[885]: 2026-10-14T22:15:01.914738Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=0ddb8e67e159e0e4316f4d4ef4e0eae0 machine # [ 16.353155] zhost[885]: 2026-10-14T22:15:01.914767Z WARN zhost: response error method=POST uri=/login status=403 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -d 'session=0ddb8e67e159e0e4316f4d4ef4e0eae0', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: someone@else' -d 'session=0ddb8e67e159e0e4316f4d4ef4e0eae0' machine # [ 16.374398] zhost[885]: 2026-10-14T22:15:01.940348Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=0ddb8e67e159e0e4316f4d4ef4e0eae0 machine # [ 16.378552] zhost[885]: 2026-10-14T22:15:01.940374Z WARN zhost: response error method=POST uri=/login status=403 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: someone@else' -d 'session=0ddb8e67e159e0e4316f4d4ef4e0eae0', in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=0ddb8e67e159e0e4316f4d4ef4e0eae0' machine # [ 16.399895] zhost[885]: 2026-10-14T22:15:01.965951Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=0ddb8e67e159e0e4316f4d4ef4e0eae0 machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=0ddb8e67e159e0e4316f4d4ef4e0eae0', in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.status == "completed"' machine # [ 16.423381] zhost[885]: 2026-10-14T22:15:01.989401Z INFO zhost: request method=GET uri=/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.status == "completed"', in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.apiKey == "testtoken"' machine # [ 16.447405] zhost[885]: 2026-10-14T22:15:02.013430Z INFO zhost: request method=GET uri=/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.apiKey == "testtoken"', in 0.02 seconds) machine: must succeed: curl -sf -X DELETE http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 machine # [ 16.470081] zhost[885]: 2026-10-14T22:15:02.036000Z INFO zhost: request method=DELETE uri=/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf -X DELETE http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0, in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.status == "pending"' machine # [ 16.493193] zhost[885]: 2026-10-14T22:15:02.059302Z INFO zhost: request method=GET uri=/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/0ddb8e67e159e0e4316f4d4ef4e0eae0 | jq -e '.status == "pending"', in 0.02 seconds) (finished: subtest: login session hands out the key only after authorization, in 0.35 seconds) subtest: the login consent endpoint validates the session token machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login machine # [ 16.515801] zhost[885]: 2026-10-14T22:15:02.081912Z INFO zhost: request method=GET uri=/login api_version=- if_unmod=- body= machine # [ 16.519284] zhost[885]: 2026-10-14T22:15:02.085322Z WARN zhost: response error method=GET uri=/login status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login, in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login?session=nope machine # [ 16.540087] zhost[885]: 2026-10-14T22:15:02.106160Z INFO zhost: request method=GET uri=/login?session=nope api_version=- if_unmod=- body= machine # [ 16.543662] zhost[885]: 2026-10-14T22:15:02.109702Z WARN zhost: response error method=GET uri=/login?session=nope status=404 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login?session=nope, in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=nope' machine # [ 16.564558] zhost[885]: 2026-10-14T22:15:02.130561Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=nope machine # [ 16.568127] zhost[885]: 2026-10-14T22:15:02.130589Z WARN zhost: response error method=POST uri=/login status=404 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=nope', in 0.02 seconds) (finished: subtest: the login consent endpoint validates the session token, in 0.07 seconds) subtest: groups endpoint returns an empty set (single personal library) machine: must succeed: curl -sf http://localhost:8189/users/1/groups -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 16.590338] zhost[885]: 2026-10-14T22:15:02.156311Z INFO zhost: request method=GET uri=/users/1/groups api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/groups -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) (finished: subtest: groups endpoint returns an empty set (single personal library), in 0.02 seconds) subtest: the api key is required off the bootstrap paths machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/keys/current -H 'Zotero-API-Version: 3' machine # [ 16.613240] zhost[885]: 2026-10-14T22:15:02.179275Z INFO zhost: request method=GET uri=/keys/current api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/keys/current -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: the api key is required off the bootstrap paths, in 0.02 seconds) subtest: a read-only key reads but cannot write machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' machine # [ 16.634778] zhost[885]: 2026-10-14T22:15:02.200892Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/current -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' | jq -e '.access.user.write == false' machine # [ 16.663128] zhost[885]: 2026-10-14T22:15:02.228988Z INFO zhost: request method=GET uri=/keys/current api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/current -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' | jq -e '.access.user.write == false', in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/current -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.access.user.write == true' machine # [ 16.686563] zhost[885]: 2026-10-14T22:15:02.252586Z INFO zhost: request method=GET uri=/keys/current api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/current -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.access.user.write == true', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"RDNLY222","itemType":"book"}]' machine # [ 16.708912] zhost[885]: 2026-10-14T22:15:02.274597Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"RDNLY222","itemType":"book"}] machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"RDNLY222","itemType":"book"}]', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X DELETE 'http://localhost:8189/users/1/items?itemKey=ITEM2223' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' machine # [ 16.731764] zhost[885]: 2026-10-14T22:15:02.296600Z INFO zhost: request method=DELETE uri=/users/1/items?itemKey=ITEM2223 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X DELETE 'http://localhost:8189/users/1/items?itemKey=ITEM2223' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: a read-only key reads but cannot write, in 0.12 seconds) subtest: an item round-trips through write and read machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ITEM2223","itemType":"book","title":"t"}]' | jq -e '.successful."0".key == "ITEM2223"' machine # [ 16.755153] zhost[885]: 2026-10-14T22:15:02.321232Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"ITEM2223","itemType":"book","title":"t"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ITEM2223","itemType":"book","title":"t"}]' | jq -e '.successful."0".key == "ITEM2223"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.ITEM2223' machine # [ 16.786083] zhost[885]: 2026-10-14T22:15:02.352027Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.ITEM2223', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ITEM2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.itemType == "book"' machine # [ 16.811126] zhost[885]: 2026-10-14T22:15:02.377079Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ITEM2223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ITEM2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.itemType == "book"', in 0.03 seconds) (finished: subtest: an item round-trips through write and read, in 0.08 seconds) subtest: a stale write is rejected with 412 machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ITEMSTAL","itemType":"book"}]' machine # [ 16.835199] zhost[885]: 2026-10-14T22:15:02.401069Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"ITEMSTAL","itemType":"book"}] machine # [ 16.839649] zhost[885]: 2026-10-14T22:15:02.405648Z WARN zhost: response error method=POST uri=/users/1/items status=412 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ITEMSTAL","itemType":"book"}]', in 0.03 seconds) (finished: subtest: a stale write is rejected with 412, in 0.03 seconds) subtest: a write without If-Unmodified-Since-Version is rejected with 428 machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -d '[{"key":"NPRECN22","itemType":"book"}]' machine # [ 16.860924] zhost[885]: 2026-10-14T22:15:02.426592Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=- body=[{"key":"NPRECN22","itemType":"book"}] machine # [ 16.864783] zhost[885]: 2026-10-14T22:15:02.426616Z WARN zhost: response error method=POST uri=/users/1/items status=428 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -d '[{"key":"NPRECN22","itemType":"book"}]', in 0.02 seconds) (finished: subtest: a write without If-Unmodified-Since-Version is rejected with 428, in 0.02 seconds) subtest: a malformed object key is rejected with 400 machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 16.890980] zhost[885]: 2026-10-14T22:15:02.456987Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"HASOABC2","itemType":"book"}]' machine # [ 16.915145] zhost[885]: 2026-10-14T22:15:02.480933Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"HASOABC2","itemType":"book"}] machine # [ 16.919348] zhost[885]: 2026-10-14T22:15:02.480962Z WARN zhost: response error method=POST uri=/users/1/items status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"HASOABC2","itemType":"book"}]', in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 16.945659] zhost[885]: 2026-10-14T22:15:02.511417Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"HAS0ABC2","itemType":"book"}]' machine # [ 16.969637] zhost[885]: 2026-10-14T22:15:02.535628Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"HAS0ABC2","itemType":"book"}] machine # [ 16.974251] zhost[885]: 2026-10-14T22:15:02.535660Z WARN zhost: response error method=POST uri=/users/1/items status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"HAS0ABC2","itemType":"book"}]', in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 16.999678] zhost[885]: 2026-10-14T22:15:02.565694Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"SHORTKY","itemType":"book"}]' machine # [ 17.023879] zhost[885]: 2026-10-14T22:15:02.589541Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"SHORTKY","itemType":"book"}] machine # [ 17.027722] zhost[885]: 2026-10-14T22:15:02.589570Z WARN zhost: response error method=POST uri=/users/1/items status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"SHORTKY","itemType":"book"}]', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 17.053335] zhost[885]: 2026-10-14T22:15:02.619275Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"TOOLONGKY","itemType":"book"}]' machine # [ 17.077083] zhost[885]: 2026-10-14T22:15:02.643050Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"TOOLONGKY","itemType":"book"}] machine # [ 17.081711] zhost[885]: 2026-10-14T22:15:02.643077Z WARN zhost: response error method=POST uri=/users/1/items status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"TOOLONGKY","itemType":"book"}]', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 17.106926] zhost[885]: 2026-10-14T22:15:02.672916Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"lowercs2","itemType":"book"}]' machine # [ 17.130698] zhost[885]: 2026-10-14T22:15:02.696706Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"lowercs2","itemType":"book"}] machine # [ 17.135313] zhost[885]: 2026-10-14T22:15:02.696731Z WARN zhost: response error method=POST uri=/users/1/items status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"lowercs2","itemType":"book"}]', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=HASOABC2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == []' machine # [ 17.157427] zhost[885]: 2026-10-14T22:15:02.723239Z INFO zhost: request method=GET uri=/users/1/items?itemKey=HASOABC2&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=HASOABC2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == []', in 0.03 seconds) (finished: subtest: a malformed object key is rejected with 400, in 0.30 seconds) subtest: an empty batch does not bump the library version machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 17.186135] zhost[885]: 2026-10-14T22:15:02.752089Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[]' | jq -e .successful machine # [ 17.211788] zhost[885]: 2026-10-14T22:15:02.777685Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[]' | jq -e .successful, in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 17.239614] zhost[885]: 2026-10-14T22:15:02.805676Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) (finished: subtest: an empty batch does not bump the library version, in 0.08 seconds) subtest: attachment data is emitted with linkMode first machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 17.268179] zhost[885]: 2026-10-14T22:15:02.834291Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"ATTACH22","itemType":"attachment","linkMode":"imported_file","filename":"t.pdf","contentType":"application/pdf"}]' | jq -e .successful machine # [ 17.293415] zhost[885]: 2026-10-14T22:15:02.859270Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"ATTACH22","itemType":"attachment","linkMode":"imported_file","filename":"t.pdf","contentType":"application/pdf"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"ATTACH22","itemType":"attachment","linkMode":"imported_file","filename":"t.pdf","contentType":"application/pdf"}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ATTACH22&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]' machine # [ 17.326135] zhost[885]: 2026-10-14T22:15:02.891937Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ATTACH22&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ATTACH22&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]', in 0.02 seconds) (finished: subtest: attachment data is emitted with linkMode first, in 0.09 seconds) subtest: an attachment file uploads to S3 and downloads via a presigned URL machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000' | jq -r .uploadKey machine # [ 17.357850] zhost[885]: 2026-10-14T22:15:02.923698Z INFO zhost: request method=POST uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body=md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000 machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000' | jq -r .uploadKey, in 0.03 seconds) machine: must succeed: printf hello | curl -sf -X POST http://localhost:8189/uploads/2b2f57263bb53d98bfbd940da8982d27 --data-binary @- machine # [ 17.381849] zhost[885]: 2026-10-14T22:15:02.947908Z INFO zhost: request method=POST uri=/uploads/2b2f57263bb53d98bfbd940da8982d27 api_version=- if_unmod=- body=hello machine: (finished: must succeed: printf hello | curl -sf -X POST http://localhost:8189/uploads/2b2f57263bb53d98bfbd940da8982d27 --data-binary @-, in 0.07 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'upload=2b2f57263bb53d98bfbd940da8982d27' machine # [ 17.461157] zhost[885]: 2026-10-14T22:15:03.027089Z INFO zhost: request method=POST uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body=upload=2b2f57263bb53d98bfbd940da8982d27 machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'upload=2b2f57263bb53d98bfbd940da8982d27', in 0.04 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 17.499238] zhost[885]: 2026-10-14T22:15:03.065130Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.03 seconds) machine: must succeed: curl -sf -D /tmp/dlhdr -o /dev/null http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' && grep -i '^location:' /tmp/dlhdr | tr -d '\r' | awk '{print $2}' machine # [ 17.527731] zhost[885]: 2026-10-14T22:15:03.093623Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D /tmp/dlhdr -o /dev/null http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' && grep -i '^location:' /tmp/dlhdr | tr -d '\r' | awk '{print $2}', in 0.04 seconds) machine: must succeed: grep -iq 'zotero-file-md5: 5d41402abc4b2a76b9719d911017c592' /tmp/dlhdr machine: (finished: must succeed: grep -iq 'zotero-file-md5: 5d41402abc4b2a76b9719d911017c592' /tmp/dlhdr, in 0.01 seconds) machine: must succeed: curl -sf 'http://127.0.0.1:9000/zotero/ATTACH22?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=rustfsadmin%2F20261014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261014T221503Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=cc35e210c11b3a79e81da7cb46c4fc7a9fd5ab47dbe5d9cacf8e7f4cda4f245a' machine: (finished: must succeed: curl -sf 'http://127.0.0.1:9000/zotero/ATTACH22?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=rustfsadmin%2F20261014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261014T221503Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=cc35e210c11b3a79e81da7cb46c4fc7a9fd5ab47dbe5d9cacf8e7f4cda4f245a', in 0.02 seconds) (finished: subtest: an attachment file uploads to S3 and downloads via a presigned URL, in 0.25 seconds) subtest: re-authorizing the same file returns exists:1 (dedup) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000' | jq -e '.exists == 1' machine # [ 17.603037] zhost[885]: 2026-10-14T22:15:03.168798Z INFO zhost: request method=POST uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body=md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000 machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000' | jq -e '.exists == 1', in 0.03 seconds) (finished: subtest: re-authorizing the same file returns exists:1 (dedup), in 0.03 seconds) subtest: a file authorization without a precondition header is 428 machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -d 'md5=deadbeef&filename=t.pdf&filesize=5&mtime=1' machine # [ 17.651080] zhost[885]: 2026-10-14T22:15:03.216939Z INFO zhost: request method=POST uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body=md5=deadbeef&filename=t.pdf&filesize=5&mtime=1 machine # [ 17.655924] zhost[885]: 2026-10-14T22:15:03.217019Z WARN zhost: response error method=POST uri=/users/1/items/ATTACH22/file status=428 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -d 'md5=deadbeef&filename=t.pdf&filesize=5&mtime=1', in 0.05 seconds) (finished: subtest: a file authorization without a precondition header is 428, in 0.05 seconds) subtest: uploading bytes that do not match the declared md5 is rejected machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/BADHASH2/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=00000000000000000000000000000000&filename=b&filesize=5&mtime=1' | jq -r .uploadKey machine # [ 17.689855] zhost[885]: 2026-10-14T22:15:03.255545Z INFO zhost: request method=POST uri=/users/1/items/BADHASH2/file api_version=3 if_unmod=- body=md5=00000000000000000000000000000000&filename=b&filesize=5&mtime=1 machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/BADHASH2/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=00000000000000000000000000000000&filename=b&filesize=5&mtime=1' | jq -r .uploadKey, in 0.04 seconds) machine: must succeed: printf hello | curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/uploads/c57960c3370444607a9a0e812d84733d --data-binary @- machine # [ 17.716845] zhost[885]: 2026-10-14T22:15:03.282499Z INFO zhost: request method=POST uri=/uploads/c57960c3370444607a9a0e812d84733d api_version=- if_unmod=- body=hello machine # [ 17.721134] zhost[885]: 2026-10-14T22:15:03.282537Z WARN zhost: uploaded bytes do not match authorization key="BADHASH2" want_md5="00000000000000000000000000000000" got_md5="5d41402abc4b2a76b9719d911017c592" machine # [ 17.725416] zhost[885]: 2026-10-14T22:15:03.282553Z WARN zhost: response error method=POST uri=/uploads/c57960c3370444607a9a0e812d84733d status=400 machine: (finished: must succeed: printf hello | curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/uploads/c57960c3370444607a9a0e812d84733d --data-binary @-, in 0.03 seconds) (finished: subtest: uploading bytes that do not match the declared md5 is rejected, in 0.07 seconds) subtest: registering without a prior upload is rejected machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/NQUPLQAD/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=n&filesize=5&mtime=1' | jq -r .uploadKey machine # [ 17.752311] zhost[885]: 2026-10-14T22:15:03.318417Z INFO zhost: request method=POST uri=/users/1/items/NQUPLQAD/file api_version=3 if_unmod=- body=md5=5d41402abc4b2a76b9719d911017c592&filename=n&filesize=5&mtime=1 machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/NQUPLQAD/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=n&filesize=5&mtime=1' | jq -r .uploadKey, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items/NQUPLQAD/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'upload=c7551a6aa3d5ee761f5c1b7c355e1d69' machine # [ 17.777745] zhost[885]: 2026-10-14T22:15:03.343284Z INFO zhost: request method=POST uri=/users/1/items/NQUPLQAD/file api_version=3 if_unmod=- body=upload=c7551a6aa3d5ee761f5c1b7c355e1d69 machine # [ 17.781833] zhost[885]: 2026-10-14T22:15:03.343313Z WARN zhost: response error method=POST uri=/users/1/items/NQUPLQAD/file status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items/NQUPLQAD/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'upload=c7551a6aa3d5ee761f5c1b7c355e1d69', in 0.03 seconds) (finished: subtest: registering without a prior upload is rejected, in 0.05 seconds) subtest: non-alphanumeric keys are rejected from the file endpoint machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items/bad..key/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=x&filename=t&filesize=1&mtime=1' machine # [ 17.807657] zhost[885]: 2026-10-14T22:15:03.373662Z INFO zhost: request method=POST uri=/users/1/items/bad..key/file api_version=3 if_unmod=- body=md5=x&filename=t&filesize=1&mtime=1 machine # [ 17.812113] zhost[885]: 2026-10-14T22:15:03.373689Z WARN zhost: response error method=POST uri=/users/1/items/bad..key/file status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items/bad..key/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=x&filename=t&filesize=1&mtime=1', in 0.03 seconds) (finished: subtest: non-alphanumeric keys are rejected from the file endpoint, in 0.03 seconds) subtest: annotations round-trip as ordinary items machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 17.839975] zhost[885]: 2026-10-14T22:15:03.405922Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 3' -d '[{"key":"ANNQT223","itemType":"annotation","annotationType":"highlight","annotationText":"marked","parentItem":"ATTACH22"}]' | jq -e '.successful."0".data.annotationText == "marked"' machine # [ 17.865479] zhost[885]: 2026-10-14T22:15:03.431458Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=3 body=[{"key":"ANNQT223","itemType":"annotation","annotationType":"highlight","annotationText":"marked","parentItem":"ATTACH22"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 3' -d '[{"key":"ANNQT223","itemType":"annotation","annotationType":"highlight","annotationText":"marked","parentItem":"ATTACH22"}]' | jq -e '.successful."0".data.annotationText == "marked"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ANNQT223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.annotationType == "highlight"' machine # [ 17.898525] zhost[885]: 2026-10-14T22:15:03.464306Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ANNQT223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ANNQT223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.annotationType == "highlight"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ANNQT223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]' machine # [ 17.926410] zhost[885]: 2026-10-14T22:15:03.492345Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ANNQT223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ANNQT223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]', in 0.03 seconds) (finished: subtest: annotations round-trip as ordinary items, in 0.12 seconds) subtest: full-text content uploads, lists versions, and downloads machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 17.956501] zhost[885]: 2026-10-14T22:15:03.522466Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/fulltext -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 4' -d '[{"key":"ATTACH22","content":"hello world","indexedChars":11,"totalChars":11,"indexedPages":1,"totalPages":1}]' | jq -e '.successful."0".key == "ATTACH22"' machine # [ 17.982688] zhost[885]: 2026-10-14T22:15:03.548484Z INFO zhost: request method=POST uri=/users/1/fulltext api_version=3 if_unmod=4 body=[{"key":"ATTACH22","content":"hello world","indexedChars":11,"totalChars":11,"indexedPages":1,"totalPages":1}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/fulltext -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 4' -d '[{"key":"ATTACH22","content":"hello world","indexedChars":11,"totalChars":11,"indexedPages":1,"totalPages":1}]' | jq -e '.successful."0".key == "ATTACH22"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.ATTACH22' machine # [ 18.016232] zhost[885]: 2026-10-14T22:15:03.582021Z INFO zhost: request method=GET uri=/users/1/fulltext?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.ATTACH22', in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.048081] zhost[885]: 2026-10-14T22:15:03.614017Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/fulltext api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.ATTACH22' machine # [ 18.074206] zhost[885]: 2026-10-14T22:15:03.640098Z INFO zhost: request method=GET uri=/users/1/fulltext?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.ATTACH22', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.content == "hello world" and .totalPages == 1' machine # [ 18.100776] zhost[885]: 2026-10-14T22:15:03.666661Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/fulltext api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.content == "hello world" and .totalPages == 1', in 0.03 seconds) (finished: subtest: full-text content uploads, lists versions, and downloads, in 0.17 seconds) subtest: a stale full-text write is rejected with 412 machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/fulltext -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ATTACH22","content":"x"}]' machine # [ 18.124570] zhost[885]: 2026-10-14T22:15:03.690573Z INFO zhost: request method=POST uri=/users/1/fulltext api_version=3 if_unmod=0 body=[{"key":"ATTACH22","content":"x"}] machine # [ 18.129157] zhost[885]: 2026-10-14T22:15:03.695128Z WARN zhost: response error method=POST uri=/users/1/fulltext status=412 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/fulltext -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ATTACH22","content":"x"}]', in 0.03 seconds) (finished: subtest: a stale full-text write is rejected with 412, in 0.03 seconds) subtest: the query API filters, searches, sorts and paginates items machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.157688] zhost[885]: 2026-10-14T22:15:03.723378Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 5' -d '[{"key":"QBQQK223","itemType":"book","title":"Borrow Checker","creators":[{"lastName":"Klabnik","firstName":"Steve"}],"tags":[{"tag":"rustlang"},{"tag":"systems"}]},{"key":"QART2223","itemType":"journalArticle","title":"Unrelated","tags":[{"tag":"rustlang"}]}]' | jq -e .successful machine # [ 18.185190] zhost[885]: 2026-10-14T22:15:03.751095Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=5 body=[{"key":"QBQQK223","itemType":"book","title":"Borrow Checker","creators":[{"lastName":"Klabnik","firstName":"Steve"}],"tags":[{"tag":"rustlang"},{"tag":"systems"}]},{"key":"QART2223","itemType":"journalArticle","title":"Unrelated","tags":[{"tag":"rustlang"}]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 5' -d '[{"key":"QBQQK223","itemType":"book","title":"Borrow Checker","creators":[{"lastName":"Klabnik","firstName":"Steve"}],"tags":[{"tag":"rustlang"},{"tag":"systems"}]},{"key":"QART2223","itemType":"journalArticle","title":"Unrelated","tags":[{"tag":"rustlang"}]}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=borrow' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.219073] zhost[885]: 2026-10-14T22:15:03.785022Z INFO zhost: request method=GET uri=/users/1/items?q=borrow api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=borrow' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=klabnik' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.252323] zhost[885]: 2026-10-14T22:15:03.818159Z INFO zhost: request method=GET uri=/users/1/items?q=klabnik api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=klabnik' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemType=book' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.278383] zhost[885]: 2026-10-14T22:15:03.844401Z INFO zhost: request method=GET uri=/users/1/items?itemType=book api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemType=book' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemType=book' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.304519] zhost[885]: 2026-10-14T22:15:03.870530Z INFO zhost: request method=GET uri=/users/1/items?itemType=book api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemType=book' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemType=-book' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.331479] zhost[885]: 2026-10-14T22:15:03.897471Z INFO zhost: request method=GET uri=/users/1/items?itemType=-book api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemType=-book' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=rustlang&tag=systems' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.358769] zhost[885]: 2026-10-14T22:15:03.924646Z INFO zhost: request method=GET uri=/users/1/items?tag=rustlang&tag=systems api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=rustlang&tag=systems' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=rustlang' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.385521] zhost[885]: 2026-10-14T22:15:03.951535Z INFO zhost: request method=GET uri=/users/1/items?tag=rustlang api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=rustlang' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=world' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.412389] zhost[885]: 2026-10-14T22:15:03.978404Z INFO zhost: request method=GET uri=/users/1/items?q=world api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=world' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=world&qmode=everything' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.441184] zhost[885]: 2026-10-14T22:15:04.007120Z INFO zhost: request method=GET uri=/users/1/items?q=world&qmode=everything api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=world&qmode=everything' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) (finished: subtest: the query API filters, searches, sorts and paginates items, in 0.32 seconds) subtest: the query API reports Total-Results and a next-page Link machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1&sort=title&direction=asc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 18.466685] zhost[885]: 2026-10-14T22:15:04.032336Z INFO zhost: request method=GET uri=/users/1/items?limit=1&sort=title&direction=asc api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1&sort=title&direction=asc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: the query API reports Total-Results and a next-page Link, in 0.02 seconds) subtest: a read-only key can drive the query API machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=borrow' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' machine # [ 18.490159] zhost[885]: 2026-10-14T22:15:04.056089Z INFO zhost: request method=GET uri=/users/1/items?q=borrow api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=borrow' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: a read-only key can drive the query API, in 0.02 seconds) subtest: convenience listings: top, trash, collection items and tags machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.520595] zhost[885]: 2026-10-14T22:15:04.086546Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 6' -d '[{"key":"TQPITEM3","itemType":"book","title":"Shelf Book","collections":["CQLLXXXX"],"tags":[{"tag":"shelf"}]},{"key":"CHILDNQ3","itemType":"note","note":"child","parentItem":"TQPITEM3"},{"key":"TRASHED3","itemType":"book","title":"Gone","deleted":1}]' | jq -e .successful machine # [ 18.547204] zhost[885]: 2026-10-14T22:15:04.113312Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=6 body=[{"key":"TQPITEM3","itemType":"book","title":"Shelf Book","collections":["CQLLXXXX"],"tags":[{"tag":"shelf"}]},{"key":"CHILDNQ3","itemType":"note","note":"child","parentItem":"TQPITEM3"},{"key":"TRASHED3","itemType":"book","title":"Gone","deleted":1}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 6' -d '[{"key":"TQPITEM3","itemType":"book","title":"Shelf Book","collections":["CQLLXXXX"],"tags":[{"tag":"shelf"}]},{"key":"CHILDNQ3","itemType":"note","note":"child","parentItem":"TQPITEM3"},{"key":"TRASHED3","itemType":"book","title":"Gone","deleted":1}]' | jq -e .successful, in 0.04 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.583084] zhost[885]: 2026-10-14T22:15:04.148520Z INFO zhost: request method=GET uri=/users/1/items/top api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/top' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/trash' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.608691] zhost[885]: 2026-10-14T22:15:04.174673Z INFO zhost: request method=GET uri=/users/1/items/trash api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/trash' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections/CQLLXXXX/items' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 18.634380] zhost[885]: 2026-10-14T22:15:04.200462Z INFO zhost: request method=GET uri=/users/1/collections/CQLLXXXX/items api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/collections/CQLLXXXX/items' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[] | select(.tag == "shelf") | .numItems == 1' machine # [ 18.667100] zhost[885]: 2026-10-14T22:15:04.233140Z INFO zhost: request method=GET uri=/users/1/tags api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[] | select(.tag == "shelf") | .numItems == 1', in 0.03 seconds) (finished: subtest: convenience listings: top, trash, collection items and tags, in 0.18 seconds) subtest: top filtering covers parentItem:false and the versions view machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.697035] zhost[885]: 2026-10-14T22:15:04.262932Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 7' -d '[{"key":"TQPFALS3","itemType":"book","title":"pf","parentItem":false}]' | jq -e .successful machine # [ 18.722136] zhost[885]: 2026-10-14T22:15:04.288152Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=7 body=[{"key":"TQPFALS3","itemType":"book","title":"pf","parentItem":false}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 7' -d '[{"key":"TQPFALS3","itemType":"book","title":"pf","parentItem":false}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join("\n")' machine # [ 18.753524] zhost[885]: 2026-10-14T22:15:04.319616Z INFO zhost: request method=GET uri=/users/1/items/top api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/top' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join("\n")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e 'has("CHILDNQ3")|not' machine # [ 18.781517] zhost[885]: 2026-10-14T22:15:04.347483Z INFO zhost: request method=GET uri=/users/1/items/top?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e 'has("CHILDNQ3")|not', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.CHILDNQ3' machine # [ 18.808162] zhost[885]: 2026-10-14T22:15:04.374040Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.CHILDNQ3', in 0.03 seconds) (finished: subtest: top filtering covers parentItem:false and the versions view, in 0.14 seconds) subtest: malformed (non-array) item data does not 500 the query API machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.841825] zhost[885]: 2026-10-14T22:15:04.407660Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 8' -d '[{"key":"MALFQRM3","itemType":"book","title":"weird","creators":"notarray","tags":"x","collections":"y"}]' | jq -e .successful machine # [ 18.872510] zhost[885]: 2026-10-14T22:15:04.438485Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=8 body=[{"key":"MALFQRM3","itemType":"book","title":"weird","creators":"notarray","tags":"x","collections":"y"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 8' -d '[{"key":"MALFQRM3","itemType":"book","title":"weird","creators":"notarray","tags":"x","collections":"y"}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 18.904664] zhost[885]: 2026-10-14T22:15:04.470770Z INFO zhost: request method=GET uri=/users/1/tags api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 18.927232] zhost[885]: 2026-10-14T22:15:04.493214Z INFO zhost: request method=GET uri=/users/1/items?q=zzz api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz&qmode=everything' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 18.949868] zhost[885]: 2026-10-14T22:15:04.515858Z INFO zhost: request method=GET uri=/users/1/items?q=zzz&qmode=everything api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz&qmode=everything' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?tag=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 18.973233] zhost[885]: 2026-10-14T22:15:04.539346Z INFO zhost: request method=GET uri=/users/1/items?tag=zzz api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?tag=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/collections/y/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 18.996168] zhost[885]: 2026-10-14T22:15:04.562126Z INFO zhost: request method=GET uri=/users/1/collections/y/items api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/collections/y/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.024332] zhost[885]: 2026-10-14T22:15:04.590355Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 9' -d '[{"key":"BADTAGS3","itemType":"book","title":"bt","tags":[{"tag":"good"},123,"junk"]}]' | jq -e .successful machine # [ 19.049216] zhost[885]: 2026-10-14T22:15:04.615128Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=9 body=[{"key":"BADTAGS3","itemType":"book","title":"bt","tags":[{"tag":"good"},123,"junk"]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 9' -d '[{"key":"BADTAGS3","itemType":"book","title":"bt","tags":[{"tag":"good"},123,"junk"]}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[] | select(.tag == "good") | .numItems == 1' machine # [ 19.079885] zhost[885]: 2026-10-14T22:15:04.645783Z INFO zhost: request method=GET uri=/users/1/tags api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[] | select(.tag == "good") | .numItems == 1', in 0.02 seconds) (finished: subtest: malformed (non-array) item data does not 500 the query API, in 0.27 seconds) subtest: Total-Results stays correct past the last page machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i total-results | tr -d '\r' | cut -d' ' -f2 machine # [ 19.108192] zhost[885]: 2026-10-14T22:15:04.674091Z INFO zhost: request method=GET uri=/users/1/items?limit=1 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i total-results | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1&start=100000' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i total-results | tr -d '\r' | cut -d' ' -f2 machine # [ 19.137255] zhost[885]: 2026-10-14T22:15:04.703269Z INFO zhost: request method=GET uri=/users/1/items?limit=1&start=100000 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1&start=100000' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i total-results | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) (finished: subtest: Total-Results stays correct past the last page, in 0.06 seconds) subtest: query API: OR filters, descending sort and includeTrashed machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.167203] zhost[885]: 2026-10-14T22:15:04.732623Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 10' -d '[{"key":"CQVRA223","itemType":"book","title":"Aaa","tags":[{"tag":"aa"}]},{"key":"CQVRB223","itemType":"journalArticle","title":"Bbb","tags":[{"tag":"bb"}]},{"key":"CQVRT223","itemType":"book","title":"Ccc","deleted":1,"tags":[{"tag":"aa"}]}]' | jq -e .successful machine # [ 19.192430] zhost[885]: 2026-10-14T22:15:04.758330Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=10 body=[{"key":"CQVRA223","itemType":"book","title":"Aaa","tags":[{"tag":"aa"}]},{"key":"CQVRB223","itemType":"journalArticle","title":"Bbb","tags":[{"tag":"bb"}]},{"key":"CQVRT223","itemType":"book","title":"Ccc","deleted":1,"tags":[{"tag":"aa"}]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 10' -d '[{"key":"CQVRA223","itemType":"book","title":"Aaa","tags":[{"tag":"aa"}]},{"key":"CQVRB223","itemType":"journalArticle","title":"Bbb","tags":[{"tag":"bb"}]},{"key":"CQVRT223","itemType":"book","title":"Ccc","deleted":1,"tags":[{"tag":"aa"}]}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa||bb&itemType=book||journalArticle' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 19.227261] zhost[885]: 2026-10-14T22:15:04.792892Z INFO zhost: request method=GET uri=/users/1/items?tag=aa||bb&itemType=book||journalArticle api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa||bb&itemType=book||journalArticle' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa||bb&sort=title&direction=desc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].key' machine # [ 19.252603] zhost[885]: 2026-10-14T22:15:04.818623Z INFO zhost: request method=GET uri=/users/1/items?tag=aa||bb&sort=title&direction=desc api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa||bb&sort=title&direction=desc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].key', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa&sort=title&direction=desc&includeTrashed=1' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].key' machine # [ 19.278139] zhost[885]: 2026-10-14T22:15:04.844116Z INFO zhost: request method=GET uri=/users/1/items?tag=aa&sort=title&direction=desc&includeTrashed=1 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa&sort=title&direction=desc&includeTrashed=1' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].key', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 19.304132] zhost[885]: 2026-10-14T22:15:04.870049Z INFO zhost: request method=GET uri=/users/1/items?tag=aa api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.02 seconds) (finished: subtest: query API: OR filters, descending sort and includeTrashed, in 0.17 seconds) subtest: sort=date orders by extracted year, not raw freeform text machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.332562] zhost[885]: 2026-10-14T22:15:04.898462Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 11' -d '[{"key":"DATE2QLD","itemType":"book","title":"old","date":"circa 1850","tags":[{"tag":"era"}]},{"key":"DATE2MID","itemType":"book","title":"mid","date":"January 1960","tags":[{"tag":"era"}]},{"key":"DATE2NEW","itemType":"book","title":"new","date":"2020-05-01","tags":[{"tag":"era"}]}]' | jq -e .successful machine # [ 19.357362] zhost[885]: 2026-10-14T22:15:04.923475Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=11 body=[{"key":"DATE2QLD","itemType":"book","title":"old","date":"circa 1850","tags":[{"tag":"era"}]},{"key":"DATE2MID","itemType":"book","title":"mid","date":"January 1960","tags":[{"tag":"era"}]},{"key":"DATE2NEW","itemType":"book","title":"new","date":"2020-05-01","tags":[{"tag":"era"}]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 11' -d '[{"key":"DATE2QLD","itemType":"book","title":"old","date":"circa 1850","tags":[{"tag":"era"}]},{"key":"DATE2MID","itemType":"book","title":"mid","date":"January 1960","tags":[{"tag":"era"}]},{"key":"DATE2NEW","itemType":"book","title":"new","date":"2020-05-01","tags":[{"tag":"era"}]}]' | jq -e .successful, in 0.04 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=era&sort=date&direction=asc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join(",")' machine # [ 19.394035] zhost[885]: 2026-10-14T22:15:04.959791Z INFO zhost: request method=GET uri=/users/1/items?tag=era&sort=date&direction=asc api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=era&sort=date&direction=asc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join(",")', in 0.03 seconds) (finished: subtest: sort=date orders by extracted year, not raw freeform text, in 0.09 seconds) subtest: collection top items are served as a plain-text key list machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections/CQLLXXXX/items/top?format=keys' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.417480] zhost[885]: 2026-10-14T22:15:04.983403Z INFO zhost: request method=GET uri=/users/1/collections/CQLLXXXX/items/top?format=keys api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/collections/CQLLXXXX/items/top?format=keys' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/collections/CQLLXXXX/items/top?format=keys' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.440122] zhost[885]: 2026-10-14T22:15:05.005937Z INFO zhost: request method=GET uri=/users/1/collections/CQLLXXXX/items/top?format=keys api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/collections/CQLLXXXX/items/top?format=keys' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: collection top items are served as a plain-text key list, in 0.05 seconds) subtest: a versions read with nothing newer returns 200 + empty map, not 304 machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.468590] zhost[885]: 2026-10-14T22:15:05.034502Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.493164] zhost[885]: 2026-10-14T22:15:05.059094Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 19.518083] zhost[885]: 2026-10-14T22:15:05.084047Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items/top?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.541202] zhost[885]: 2026-10-14T22:15:05.107269Z INFO zhost: request method=GET uri=/users/1/items/top?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items/top?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 19.565284] zhost[885]: 2026-10-14T22:15:05.131297Z INFO zhost: request method=GET uri=/users/1/items/top?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/collections?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.588377] zhost[885]: 2026-10-14T22:15:05.154249Z INFO zhost: request method=GET uri=/users/1/collections?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/collections?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 19.612107] zhost[885]: 2026-10-14T22:15:05.178017Z INFO zhost: request method=GET uri=/users/1/collections?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/collections?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.635161] zhost[885]: 2026-10-14T22:15:05.201041Z INFO zhost: request method=GET uri=/users/1/searches?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 19.660198] zhost[885]: 2026-10-14T22:15:05.226045Z INFO zhost: request method=GET uri=/users/1/searches?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.683284] zhost[885]: 2026-10-14T22:15:05.249248Z INFO zhost: request method=GET uri=/users/1/fulltext?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 19.707253] zhost[885]: 2026-10-14T22:15:05.273242Z INFO zhost: request method=GET uri=/users/1/fulltext?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -iq 'last-modified-version: 12' machine # [ 19.731978] zhost[885]: 2026-10-14T22:15:05.297619Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -iq 'last-modified-version: 12', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/settings -H 'If-Modified-Since-Version: 12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.755163] zhost[885]: 2026-10-14T22:15:05.320900Z INFO zhost: request method=GET uri=/users/1/settings api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/settings -H 'If-Modified-Since-Version: 12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: a versions read with nothing newer returns 200 + empty map, not 304, in 0.31 seconds) subtest: collections round-trip through write, read, versions and delete machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.781737] zhost[885]: 2026-10-14T22:15:05.347851Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/collections -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 12' -d '[{"key":"CQLL2223","name":"Papers"}]' | jq -e '.successful."0".key == "CQLL2223"' machine # [ 19.806995] zhost[885]: 2026-10-14T22:15:05.373107Z INFO zhost: request method=POST uri=/users/1/collections api_version=3 if_unmod=12 body=[{"key":"CQLL2223","name":"Papers"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/collections -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 12' -d '[{"key":"CQLL2223","name":"Papers"}]' | jq -e '.successful."0".key == "CQLL2223"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections?collectionKey=CQLL2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.name == "Papers"' machine # [ 19.836770] zhost[885]: 2026-10-14T22:15:05.402714Z INFO zhost: request method=GET uri=/users/1/collections?collectionKey=CQLL2223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/collections?collectionKey=CQLL2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.name == "Papers"', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.CQLL2223' machine # [ 19.861526] zhost[885]: 2026-10-14T22:15:05.427516Z INFO zhost: request method=GET uri=/users/1/collections?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/collections?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.CQLL2223', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.889363] zhost[885]: 2026-10-14T22:15:05.455266Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/collections?collectionKey=CQLL2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 13' machine # [ 19.912449] zhost[885]: 2026-10-14T22:15:05.478472Z INFO zhost: request method=DELETE uri=/users/1/collections?collectionKey=CQLL2223 api_version=3 if_unmod=13 body= machine: (finished: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/collections?collectionKey=CQLL2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 13', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.collections | index("CQLL2223")' machine # [ 19.940260] zhost[885]: 2026-10-14T22:15:05.505943Z INFO zhost: request method=GET uri=/users/1/deleted?since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.collections | index("CQLL2223")', in 0.02 seconds) (finished: subtest: collections round-trip through write, read, versions and delete, in 0.19 seconds) subtest: saved searches round-trip through write, read and delete machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.968148] zhost[885]: 2026-10-14T22:15:05.534206Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/searches -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 14' -d '[{"key":"SRCH2223","name":"Recent","conditions":[]}]' | jq -e '.successful."0".key == "SRCH2223"' machine # [ 19.993178] zhost[885]: 2026-10-14T22:15:05.559031Z INFO zhost: request method=POST uri=/users/1/searches api_version=3 if_unmod=14 body=[{"key":"SRCH2223","name":"Recent","conditions":[]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/searches -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 14' -d '[{"key":"SRCH2223","name":"Recent","conditions":[]}]' | jq -e '.successful."0".key == "SRCH2223"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/searches?searchKey=SRCH2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.name == "Recent"' machine # [ 20.022557] zhost[885]: 2026-10-14T22:15:05.588539Z INFO zhost: request method=GET uri=/users/1/searches?searchKey=SRCH2223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/searches?searchKey=SRCH2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.name == "Recent"', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.051204] zhost[885]: 2026-10-14T22:15:05.617133Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/searches?searchKey=SRCH2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 15' machine # [ 20.074540] zhost[885]: 2026-10-14T22:15:05.640408Z INFO zhost: request method=DELETE uri=/users/1/searches?searchKey=SRCH2223 api_version=3 if_unmod=15 body= machine: (finished: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/searches?searchKey=SRCH2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 15', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.searches | index("SRCH2223")' machine # [ 20.102602] zhost[885]: 2026-10-14T22:15:05.668465Z INFO zhost: request method=GET uri=/users/1/deleted?since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.searches | index("SRCH2223")', in 0.02 seconds) (finished: subtest: saved searches round-trip through write, read and delete, in 0.16 seconds) subtest: settings round-trip through write, read and delete machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.131099] zhost[885]: 2026-10-14T22:15:05.697001Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 16' -d '{"tagColors":{"value":[{"name":"x","color":"#fff"}]}}' machine # [ 20.154909] zhost[885]: 2026-10-14T22:15:05.720793Z INFO zhost: request method=POST uri=/users/1/settings api_version=3 if_unmod=16 body={"tagColors":{"value":[{"name":"x","color":"#fff"}]}} machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 16' -d '{"tagColors":{"value":[{"name":"x","color":"#fff"}]}}' , in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.tagColors.value[0].name == "x" and (.tagColors.version | type == "number")' machine # [ 20.182487] zhost[885]: 2026-10-14T22:15:05.747877Z INFO zhost: request method=GET uri=/users/1/settings api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.tagColors.value[0].name == "x" and (.tagColors.version | type == "number")', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '{"k":{"value":1}}' machine # [ 20.205568] zhost[885]: 2026-10-14T22:15:05.771477Z INFO zhost: request method=POST uri=/users/1/settings api_version=3 if_unmod=0 body={"k":{"value":1}} machine # [ 20.209496] zhost[885]: 2026-10-14T22:15:05.775612Z WARN zhost: response error method=POST uri=/users/1/settings status=412 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '{"k":{"value":1}}', in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.235575] zhost[885]: 2026-10-14T22:15:05.801402Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/settings?settingKey=tagColors' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 17' machine # [ 20.258701] zhost[885]: 2026-10-14T22:15:05.824714Z INFO zhost: request method=DELETE uri=/users/1/settings?settingKey=tagColors api_version=3 if_unmod=17 body= machine: (finished: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/settings?settingKey=tagColors' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 17', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.tagColors == null' machine # [ 20.286357] zhost[885]: 2026-10-14T22:15:05.851918Z INFO zhost: request method=GET uri=/users/1/settings api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.tagColors == null', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.settings | index("tagColors")' machine # [ 20.310509] zhost[885]: 2026-10-14T22:15:05.876405Z INFO zhost: request method=GET uri=/users/1/deleted?since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.settings | index("tagColors")', in 0.02 seconds) (finished: subtest: settings round-trip through write, read and delete, in 0.21 seconds) subtest: a gzip-compressed write body is decoded machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.338278] zhost[885]: 2026-10-14T22:15:05.904264Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: printf '%s' '[{"key":"GZIP2223","itemType":"book","title":"zipped"}]' | gzip | curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 18' -H 'Content-Encoding: gzip' --data-binary @- | jq -e .successful machine # [ 20.364644] zhost[885]: 2026-10-14T22:15:05.930315Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=18 body=[{"key":"GZIP2223","itemType":"book","title":"zipped"}] machine: (finished: must succeed: printf '%s' '[{"key":"GZIP2223","itemType":"book","title":"zipped"}]' | gzip | curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 18' -H 'Content-Encoding: gzip' --data-binary @- | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=GZIP2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.title == "zipped"' machine # [ 20.393243] zhost[885]: 2026-10-14T22:15:05.959260Z INFO zhost: request method=GET uri=/users/1/items?itemKey=GZIP2223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=GZIP2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.title == "zipped"', in 0.02 seconds) (finished: subtest: a gzip-compressed write body is decoded, in 0.08 seconds) subtest: PATCH updates items and is gated by the read-only key machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.421594] zhost[885]: 2026-10-14T22:15:05.987699Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 19' -d '[{"key":"GZIP2223","itemType":"book","title":"patched"}]' | jq -e '.successful."0".data.title == "patched"' machine # [ 20.448175] zhost[885]: 2026-10-14T22:15:06.014121Z INFO zhost: request method=PATCH uri=/users/1/items api_version=3 if_unmod=19 body=[{"key":"GZIP2223","itemType":"book","title":"patched"}] machine: (finished: must succeed: curl -sf -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 19' -d '[{"key":"GZIP2223","itemType":"book","title":"patched"}]' | jq -e '.successful."0".data.title == "patched"', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"X","itemType":"book"}]' machine # [ 20.480227] zhost[885]: 2026-10-14T22:15:06.046221Z INFO zhost: request method=PATCH uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"X","itemType":"book"}] machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"X","itemType":"book"}]', in 0.02 seconds) (finished: subtest: PATCH updates items and is gated by the read-only key, in 0.09 seconds) subtest: PATCH merges: a partial update keeps unspecified fields machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.508415] zhost[885]: 2026-10-14T22:15:06.074447Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 20' -d '[{"key":"MERGEIT2","itemType":"book","title":"orig","tags":[{"tag":"keep"}]}]' | jq -e .successful machine # [ 20.534488] zhost[885]: 2026-10-14T22:15:06.100370Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=20 body=[{"key":"MERGEIT2","itemType":"book","title":"orig","tags":[{"tag":"keep"}]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 20' -d '[{"key":"MERGEIT2","itemType":"book","title":"orig","tags":[{"tag":"keep"}]}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.568386] zhost[885]: 2026-10-14T22:15:06.133958Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 21' -d '[{"key":"MERGEIT2","title":"new"}]' machine # [ 20.593631] zhost[885]: 2026-10-14T22:15:06.159514Z INFO zhost: request method=PATCH uri=/users/1/items api_version=3 if_unmod=21 body=[{"key":"MERGEIT2","title":"new"}] machine: (finished: must succeed: curl -sf -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 21' -d '[{"key":"MERGEIT2","title":"new"}]', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=MERGEIT2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.title=="new" and .[0].data.itemType=="book" and .[0].data.tags[0].tag=="keep"' machine # [ 20.627273] zhost[885]: 2026-10-14T22:15:06.193297Z INFO zhost: request method=GET uri=/users/1/items?itemKey=MERGEIT2&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=MERGEIT2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.title=="new" and .[0].data.itemType=="book" and .[0].data.tags[0].tag=="keep"', in 0.03 seconds) (finished: subtest: PATCH merges: a partial update keeps unspecified fields, in 0.15 seconds) subtest: POST also merges: a partial upload keeps unspecified fields machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.662355] zhost[885]: 2026-10-14T22:15:06.227992Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 22' -d '[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}]' | jq -e .successful machine # [ 20.692108] zhost[885]: 2026-10-14T22:15:06.258107Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=22 body=[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 22' -d '[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}]' | jq -e .successful, in 0.04 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.734677] zhost[885]: 2026-10-14T22:15:06.300523Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 23' -d '[{"key":"PMERGEAT","lastRead":1700000000,"tags":[]}]' machine # [ 20.766926] zhost[885]: 2026-10-14T22:15:06.332693Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=23 body=[{"key":"PMERGEAT","lastRead":1700000000,"tags":[]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 23' -d '[{"key":"PMERGEAT","lastRead":1700000000,"tags":[]}]', in 0.04 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=PMERGEAT&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.itemType=="attachment" and .[0].data.linkMode=="imported_file" and .[0].data.filename=="f.pdf" and .[0].data.lastRead==1700000000' machine # [ 20.801924] zhost[885]: 2026-10-14T22:15:06.367871Z INFO zhost: request method=GET uri=/users/1/items?itemKey=PMERGEAT&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=PMERGEAT&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.itemType=="attachment" and .[0].data.linkMode=="imported_file" and .[0].data.filename=="f.pdf" and .[0].data.lastRead==1700000000', in 0.03 seconds) (finished: subtest: POST also merges: a partial upload keeps unspecified fields, in 0.17 seconds) subtest: deletes are recorded in the deletion log machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.857779] zhost[885]: 2026-10-14T22:15:06.423593Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.06 seconds) machine: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/items?itemKey=ITEM2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 24' machine # [ 20.896144] zhost[885]: 2026-10-14T22:15:06.461956Z INFO zhost: request method=DELETE uri=/users/1/items?itemKey=ITEM2223 api_version=3 if_unmod=24 body= machine: (finished: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/items?itemKey=ITEM2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 24', in 0.04 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.items | index("ITEM2223")' machine # [ 20.927899] zhost[885]: 2026-10-14T22:15:06.493867Z INFO zhost: request method=GET uri=/users/1/deleted?since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.items | index("ITEM2223")', in 0.03 seconds) (finished: subtest: deletes are recorded in the deletion log, in 0.13 seconds) (finished: run the VM test script, in 21.86 seconds) test script finished in 21.94s cleanup kill QemuMachine (pid 45) machine # qemu-system-x86_64: terminating on signal 15 from pid 39 (/nix/store/lb41b0anx1f98y9y5s9mdv97gjgsq740-python3-3.14.7/bin/python3.14) machine # [2026-10-14T22:15:07Z INFO virtiofsd] Client disconnected, shutting down machine # [2026-10-14T22:15:07Z INFO virtiofsd] Client disconnected, shutting down machine # [2026-10-14T22:15:07Z INFO virtiofsd] Client disconnected, shutting down (finished: cleanup, in 0.19 seconds)