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 # Formatting '/build/vm-state-machine/tmp.IEF7zwndUy', 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: e3979e8f-9b8d-4900-874a-ecd757464d50 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: QEMU running (pid 45) machine # [2026-10-07T21:48:30Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-10-07T21:48:30Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-10-07T21:48:30Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-10-07T21:48:30Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-10-07T21:48:30Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-10-07T21:48:30Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-10-07T21:48:30Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-10-07T21:48:30Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-10-07T21:48:30Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-10-07T21:48:30Z INFO virtiofsd] Client connected, servicing requests machine # [2026-10-07T21:48:30Z INFO virtiofsd] Client connected, servicing requests machine # [2026-10-07T21:48:30Z 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 CA00 machine # Press 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/4cr3n2fzyck954bayr6wq8yvikgfzzwm-nixos-system-machine-test/init regInfo=/nix/.ro-store/hmlvv7ydxky4zcwlh2pfk2kzkf2ggn87-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 434246046 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.000665] 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.002214] found SMP MP-table at [mem 0x000f5450-0x000f545f] machine # [ 0.002225] Using GB pages for direct mapping machine # [ 0.002293] RAMDISK: [mem 0x3e2e6000-0x3ffcffff] machine # [ 0.002299] ACPI: Early table checksum verification disabled machine # [ 0.002300] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS ) machine # [ 0.002303] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002306] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002311] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002312] ACPI: FACS 0x000000003FFE0000 000040 machine # [ 0.002314] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002315] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002317] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002318] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002319] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d] machine # [ 0.002320] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219] machine # [ 0.002321] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f] machine # [ 0.002321] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385] machine # [ 0.002321] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd] machine # [ 0.002322] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9] machine # [ 0.002322] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421] machine # [ 0.002697] No NUMA configuration found machine # [ 0.002698] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff] machine # [ 0.002701] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff] machine # [ 0.002773] Zone ranges: machine # [ 0.002774] DMA [mem 0x0000000000001000-0x0000000000ffffff] machine # [ 0.002775] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff] machine # [ 0.002776] Normal empty machine # [ 0.002777] Device empty machine # [ 0.002777] Movable zone start for each node machine # [ 0.002778] Early memory node ranges machine # [ 0.002778] node 0: [mem 0x0000000000001000-0x000000000009efff] machine # [ 0.002779] node 0: [mem 0x0000000000100000-0x000000003ffd7fff] machine # [ 0.002779] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff] machine # [ 0.002798] On node 0, zone DMA: 1 pages in unavailable ranges machine # [ 0.003014] On node 0, zone DMA: 97 pages in unavailable ranges machine # [ 0.017357] On node 0, zone DMA32: 40 pages in unavailable ranges machine # [ 0.018211] ACPI: PM-Timer IO Port: 0x608 machine # [ 0.018219] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) machine # [ 0.018237] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 machine # [ 0.018239] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) machine # [ 0.018241] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) machine # [ 0.018241] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) machine # [ 0.018242] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) machine # [ 0.018243] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) machine # [ 0.018245] ACPI: Using ACPI (MADT) for SMP configuration information machine # [ 0.018245] ACPI: HPET id: 0x8086a201 base: 0xfed00000 machine # [ 0.018247] TSC deadline timer available machine # [ 0.018251] CPU topo: Max. logical packages: 1 machine # [ 0.018251] CPU topo: Max. logical dies: 1 machine # [ 0.018252] CPU topo: Max. dies per package: 1 machine # [ 0.018255] CPU topo: Max. threads per core: 1 machine # [ 0.018255] CPU topo: Num. cores per package: 1 machine # [ 0.018256] CPU topo: Num. threads per package: 1 machine # [ 0.018256] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs machine # [ 0.018274] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write() machine # [ 0.018298] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] machine # [ 0.018299] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff] machine # [ 0.018300] [mem 0x40000000-0xafffffff] available for PCI devices machine # [ 0.018301] Booting paravirtualized kernel on KVM machine # [ 0.018303] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns machine # [ 0.022133] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 machine # [ 0.023906] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152 machine # [ 0.023939] kvm-guest: PV spinlocks disabled, single CPU machine # [ 0.023941] 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/4cr3n2fzyck954bayr6wq8yvikgfzzwm-nixos-system-machine-test/init regInfo=/nix/.ro-store/hmlvv7ydxky4zcwlh2pfk2kzkf2ggn87-closure-info/registration console=ttyS0,115200n8 console=tty0 machine # [ 0.024014] Unknown kernel command line parameters "regInfo=/nix/.ro-store/hmlvv7ydxky4zcwlh2pfk2kzkf2ggn87-closure-info/registration", will be passed to user space. machine # [ 0.024031] random: crng init done machine # [ 0.024032] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes machine # [ 0.024074] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) machine # [ 0.024517] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) machine # [ 0.024538] Fallback order for Node 0: 0 machine # [ 0.024540] Built 1 zonelists, mobility grouping on. Total pages: 262006 machine # [ 0.024541] Policy zone: DMA32 machine # [ 0.026722] mem auto-init: stack:all(zero), heap alloc:on, heap free:off machine # [ 0.029433] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 machine # [ 0.031240] allocated 2097152 bytes of page_ext machine # [ 0.039114] ftrace: allocating 48837 entries in 192 pages machine # [ 0.039116] ftrace: allocated 192 pages with 2 groups machine # [ 0.039784] Dynamic Preempt: lazy machine # [ 0.039889] rcu: Preemptible hierarchical RCU implementation. machine # [ 0.039890] rcu: RCU event tracing is enabled. machine # [ 0.039890] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1. machine # [ 0.039891] Trampoline variant of Tasks RCU enabled. machine # [ 0.039891] Rude variant of Tasks RCU enabled. machine # [ 0.039891] Tracing variant of Tasks RCU enabled. machine # [ 0.039892] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. machine # [ 0.039892] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 machine # [ 0.039910] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.039912] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.039912] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.043676] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16 machine # [ 0.043916] rcu: srcu_init: Setting srcu_struct sizes based on contention. machine # [ 0.043920] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns machine # [ 0.044000] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____) machine # [ 0.049578] Console: colour VGA+ 80x25 machine # [ 0.049581] printk: legacy console [tty0] enabled machine # [ 0.082222] printk: legacy console [ttyS0] enabled machine # [ 0.230188] ACPI: Core revision 20250807 machine # [ 0.231325] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns machine # [ 0.233424] APIC: Switch to symmetric I/O mode setup machine # [ 0.234683] x2apic enabled machine # [ 0.235565] APIC: Switched APIC routing to: physical x2apic machine # [ 0.237616] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 machine # [ 0.238952] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns machine # [ 0.241224] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874) machine # [ 0.243293] x86/cpu: User Mode Instruction Prevention (UMIP) activated machine # [ 0.244325] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127 machine # [ 0.245225] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0 machine # [ 0.246227] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto machine # [ 0.248225] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl machine # [ 0.249225] Spectre V2 : Mitigation: Retpolines machine # [ 0.250225] Speculative Return Stack Overflow: Mitigation: Safe RET machine # [ 0.251225] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization machine # [ 0.253225] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT machine # [ 0.254225] Spectre V2 : Enabling Restricted Speculation for firmware calls machine # [ 0.255226] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier machine # [ 0.257225] active return thunk: srso_alias_return_thunk machine # [ 0.258238] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' machine # [ 0.260225] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' machine # [ 0.261225] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' machine # [ 0.263225] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers' machine # [ 0.264225] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers' machine # [ 0.266225] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)' machine # [ 0.268225] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 machine # [ 0.269225] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8 machine # [ 0.271225] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16 machine # [ 0.272225] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24 machine # [ 0.273225] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format. machine # [ 0.299205] Freeing SMP alternatives memory: 48K machine # [ 0.300226] pid_max: default: 32768 minimum: 301 machine # [ 0.301271] LSM: initializing lsm=capability,landlock,yama,bpf,ima machine # [ 0.302308] landlock: Up and running. machine # [ 0.303225] Yama: becoming mindful. machine # [ 0.304418] LSM support for eBPF active machine # [ 0.305305] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) machine # [ 0.306244] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) machine # [ 0.308961] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2) machine # [ 0.309656] Performance Events: Fam17h+ core perfctr, AMD PMU driver. machine # [ 0.310228] ... version: 0 machine # [ 0.311216] ... bit width: 48 machine # [ 0.312007] ... generic counters: 6 machine # [ 0.312998] ... generic bitmap: 000000000000003f machine # [ 0.314226] ... fixed-purpose counters: 0 machine # [ 0.315216] ... fixed-purpose bitmap: 0000000000000000 machine # [ 0.316226] ... value mask: 0000ffffffffffff machine # [ 0.317226] ... max period: 00007fffffffffff machine # [ 0.318226] ... global_ctrl mask: 000000000000003f machine # [ 0.319307] signal: max sigframe size: 3376 machine # [ 0.320328] rcu: Hierarchical SRCU implementation. machine # [ 0.321230] rcu: Max phase no-delay instances is 400. machine # [ 0.325881] smp: Bringing up secondary CPUs ... machine # [ 0.326238] smp: Brought up 1 node, 1 CPU machine # [ 0.327178] smpboot: Total of 1 processors activated (7585.74 BogoMIPS) machine # [ 0.328342] Memory: 942468K/1048024K available (18124K kernel code, 2728K rwdata, 13644K rodata, 3656K init, 3632K bss, 98108K reserved, 0K cma-reserved) machine # [ 0.329400] devtmpfs: initialized machine # [ 0.330343] x86/mm: Memory block size: 128MB machine # [ 0.332021] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear) machine # [ 0.333253] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear). machine # [ 0.334295] pinctrl core: initialized pinctrl subsystem machine # [ 0.335485] PM: RTC time: 21:48:30, date: 2026-10-07 machine # [ 0.338697] NET: Registered PF_NETLINK/PF_ROUTE protocol family machine # [ 0.339536] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations machine # [ 0.340247] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations machine # [ 0.341346] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations machine # [ 0.342233] audit: initializing netlink subsys (disabled) machine # [ 0.343478] thermal_sys: Registered thermal governor 'fair_share' machine # [ 0.343479] thermal_sys: Registered thermal governor 'bang_bang' machine # [ 0.344227] thermal_sys: Registered thermal governor 'step_wise' machine # [ 0.345229] audit: type=2000 audit(1791409711.548:1): state=initialized audit_enabled=0 res=1 machine # [ 0.347228] thermal_sys: Registered thermal governor 'user_space' machine # [ 0.347230] thermal_sys: Registered thermal governor 'power_allocator' machine # [ 0.348239] cpuidle: using governor menu machine # [ 0.351029] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 machine # [ 0.352454] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff] machine # [ 0.353228] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry machine # [ 0.354235] PCI: Using configuration type 1 for base access machine # [ 0.355400] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. machine # [ 0.364417] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages machine # [ 0.365226] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page machine # [ 0.370226] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages machine # [ 0.371226] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page machine # [ 0.377454] ACPI: Added _OSI(Module Device) machine # [ 0.378227] ACPI: Added _OSI(Processor Device) machine # [ 0.381226] ACPI: Added _OSI(Processor Aggregator Device) machine # [ 0.386606] ACPI: 1 ACPI AML tables successfully acquired and loaded machine # [ 0.392588] ACPI: Interpreter enabled machine # [ 0.393240] ACPI: PM: (supports S0 S3 S4 S5) machine # [ 0.394227] ACPI: Using IOAPIC for interrupt routing machine # [ 0.395267] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug machine # [ 0.397096] PCI: Using E820 reservations for host bridge windows machine # [ 0.398363] ACPI: Enabled 2 GPEs in block 00 to 3F machine # [ 0.403157] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) machine # [ 0.404230] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] machine # [ 0.405302] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR] machine # [ 0.406345] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability] machine # [ 0.407659] PCI host bridge to bus 0000:00 machine # [ 0.408231] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] machine # [ 0.409227] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] machine # [ 0.410227] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] machine # [ 0.411227] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window] machine # [ 0.412227] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] machine # [ 0.413227] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window] machine # [ 0.414227] pci_bus 0000:00: root bus resource [bus 00-ff] machine # [ 0.415360] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint machine # [ 0.416912] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint machine # [ 0.420336] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref] machine # [ 0.421295] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff] machine # [ 0.422269] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref] machine # [ 0.423530] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] machine # [ 0.424988] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint machine # [ 0.428239] pci 0000:00:02.0: BAR 0 [io 0xc100-0xc11f] machine # [ 0.429239] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff] machine # [ 0.430269] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref] machine # [ 0.431238] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref] machine # [ 0.433187] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint machine # [ 0.435967] pci 0000:00:03.0: BAR 0 [io 0xc120-0xc13f] machine # [ 0.436239] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff] machine # [ 0.437270] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref] machine # [ 0.439189] pci 0000:00:04.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint machine # [ 0.442310] pci 0000:00:04.0: BAR 0 [io 0xc000-0xc07f] machine # [ 0.443247] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff] machine # [ 0.444314] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref] machine # [ 0.446658] pci 0000:00:05.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint machine # [ 0.449178] pci 0000:00:05.0: BAR 0 [io 0xc140-0xc15f] machine # [ 0.450267] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff] machine # [ 0.451283] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref] machine # [ 0.452242] pci 0000:00:05.0: ROM [mem 0xfeb80000-0xfebbffff pref] machine # [ 0.454409] pci 0000:00:06.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint machine # [ 0.456261] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff] machine # [ 0.457308] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref] machine # [ 0.459430] pci 0000:00:07.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.461249] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff] machine # [ 0.462269] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref] machine # [ 0.464227] pci 0000:00:08.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.466248] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff] machine # [ 0.467278] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref] machine # [ 0.469180] pci 0000:00:09.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.471140] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff] machine # [ 0.472269] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref] machine # [ 0.474180] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint machine # [ 0.476691] pci 0000:00:0a.0: BAR 0 [io 0xc080-0xc0bf] machine # [ 0.477239] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff] machine # [ 0.478269] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref] machine # [ 0.480183] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint machine # [ 0.482238] pci 0000:00:0b.0: BAR 0 [io 0xc160-0xc17f] machine # [ 0.483239] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff] machine # [ 0.484269] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref] machine # [ 0.486214] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.487935] pci 0000:00:1d.0: BAR 4 [io 0xc180-0xc19f] machine # [ 0.488521] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.490075] pci 0000:00:1d.1: BAR 4 [io 0xc1a0-0xc1bf] machine # [ 0.491462] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.493935] pci 0000:00:1d.2: BAR 4 [io 0xc1c0-0xc1df] machine # [ 0.494551] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint machine # [ 0.495907] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff] machine # [ 0.496597] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint machine # [ 0.497762] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO machine # [ 0.498609] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint machine # [ 0.500132] pci 0000:00:1f.2: BAR 4 [io 0xc1e0-0xc1ff] machine # [ 0.501183] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff] machine # [ 0.502760] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint machine # [ 0.503904] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f] machine # [ 0.509183] ACPI: PCI: Interrupt link LNKA configured for IRQ 10 machine # [ 0.510360] ACPI: PCI: Interrupt link LNKB configured for IRQ 10 machine # [ 0.511364] ACPI: PCI: Interrupt link LNKC configured for IRQ 11 machine # [ 0.512355] ACPI: PCI: Interrupt link LNKD configured for IRQ 11 machine # [ 0.513364] ACPI: PCI: Interrupt link LNKE configured for IRQ 10 machine # [ 0.514355] ACPI: PCI: Interrupt link LNKF configured for IRQ 10 machine # [ 0.515364] ACPI: PCI: Interrupt link LNKG configured for IRQ 11 machine # [ 0.516355] ACPI: PCI: Interrupt link LNKH configured for IRQ 11 machine # [ 0.517279] ACPI: PCI: Interrupt link GSIA configured for IRQ 16 machine # [ 0.518244] ACPI: PCI: Interrupt link GSIB configured for IRQ 17 machine # [ 0.519245] ACPI: PCI: Interrupt link GSIC configured for IRQ 18 machine # [ 0.520244] ACPI: PCI: Interrupt link GSID configured for IRQ 19 machine # [ 0.521241] ACPI: PCI: Interrupt link GSIE configured for IRQ 20 machine # [ 0.522241] ACPI: PCI: Interrupt link GSIF configured for IRQ 21 machine # [ 0.523246] ACPI: PCI: Interrupt link GSIG configured for IRQ 22 machine # [ 0.524245] ACPI: PCI: Interrupt link GSIH configured for IRQ 23 machine # [ 0.526048] iommu: Default domain type: Translated machine # [ 0.527102] iommu: DMA domain TLB invalidation policy: lazy mode machine # [ 0.528441] ACPI: bus type USB registered machine # [ 0.529294] usbcore: registered new interface driver usbfs machine # [ 0.530243] usbcore: registered new interface driver hub machine # [ 0.531240] usbcore: registered new device driver usb machine # [ 0.532881] NetLabel: Initializing machine # [ 0.533231] NetLabel: domain hash size = 128 machine # [ 0.534226] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO machine # [ 0.535258] NetLabel: unlabeled traffic allowed by default machine # [ 0.536238] PCI: Using ACPI for IRQ routing machine # [ 0.620412] pci 0000:00:01.0: vgaarb: setting as boot VGA device machine # [ 0.621222] pci 0000:00:01.0: vgaarb: bridge control possible machine # [ 0.621222] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none machine # [ 0.621229] vgaarb: loaded machine # [ 0.622076] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 machine # [ 0.623105] hpet0: 3 comparators, 64-bit 100.000000 MHz counter machine # [ 0.628288] clocksource: Switched to clocksource kvm-clock machine # [ 0.630205] VFS: Disk quotas dquot_6.6.0 machine # [ 0.632676] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) machine # [ 0.634329] pnp: PnP ACPI init machine # [ 0.635271] ACPI: IRQ 4 override to edge(!), high(!) machine # [ 0.636557] system 00:04: [mem 0xb0000000-0xbfffffff window] has been reserved machine # [ 0.638561] pnp: PnP ACPI: found 5 devices machine # [ 0.646153] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns machine # [ 0.648107] clocksource: Switched to clocksource acpi_pm machine # [ 0.649419] NET: Registered PF_INET protocol family machine # [ 0.650711] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) machine # [ 0.665679] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) machine # [ 0.667632] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) machine # [ 0.669390] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) machine # [ 0.671156] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) machine # [ 0.672835] TCP: Hash tables configured (established 8192 bind 8192) machine # [ 0.674298] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear) machine # [ 0.676058] UDP hash table entries: 512 (order: 3, 32768 bytes, linear) machine # [ 0.677587] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear) machine # [ 0.679203] NET: Registered PF_UNIX/PF_LOCAL protocol family machine # [ 0.680543] NET: Registered PF_XDP protocol family machine # [ 0.681686] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] machine # [ 0.683078] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] machine # [ 0.684490] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] machine # [ 0.686019] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window] machine # [ 0.687533] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window] machine # [ 0.689068] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window] machine # [ 0.691211] ACPI: \_SB_.GSIA: Enabled at IRQ 16 machine # [ 0.693446] ACPI: \_SB_.GSIB: Enabled at IRQ 17 machine # [ 0.695619] ACPI: \_SB_.GSIC: Enabled at IRQ 18 machine # [ 0.697753] ACPI: \_SB_.GSID: Enabled at IRQ 19 machine # [ 0.699634] PCI: CLS 0 bytes, default 64 machine # [ 0.700763] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns machine # [ 0.703010] Trying to unpack rootfs image as initramfs... machine # [ 0.744666] Initialise system trusted keyrings machine # [ 0.747383] workingset: timestamp_bits=40 max_order=18 bucket_order=0 machine # [ 0.766899] Key type asymmetric registered machine # [ 0.767902] Asymmetric key parser 'x509' registered machine # [ 0.771376] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) machine # [ 0.776381] io scheduler mq-deadline registered machine # [ 0.777463] io scheduler kyber registered machine # [ 0.780798] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled machine # [ 0.784542] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A machine # [ 0.791476] Linux agpgart interface v0.103 machine # [ 0.792517] ACPI: bus type drm_connector registered machine # [ 0.795725] usbcore: registered new interface driver usbserial_generic machine # [ 0.797184] usbserial: USB Serial support registered for generic machine # [ 0.802342] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled machine # [ 0.804148] drop_monitor: Initializing network drop monitor service machine # [ 0.808437] NET: Registered PF_INET6 protocol family machine # [ 0.809973] Segment Routing with IPv6 machine # [ 0.813349] In-situ OAM (IOAM) with IPv6 machine # [ 0.814605] IPI shorthand broadcast: enabled machine # [ 0.822792] sched_clock: Marking stable (630025685, 192302825)->(932879263, -110550753) machine # [ 0.828422] registered taskstats version 1 machine # [ 0.829606] Loading compiled-in X.509 certificates machine # [ 0.846339] Demotion targets for Node 0: null machine # [ 0.849374] Key type .fscrypt registered machine # [ 0.850331] Key type fscrypt-provisioning registered machine # [ 0.853432] ima: No TPM chip found, activating TPM-bypass! machine # [ 0.854685] ima: Allocated hash algorithm: sha1 machine # [ 0.859356] ima: No architecture policies found machine # [ 0.860572] PM: Magic number: 14:566:853 machine # [ 0.864349] RAS: Correctable Errors collector initialized. machine # [ 0.873133] clk: Disabling unused clocks machine # [ 0.875340] PM: genpd: Disabling unused power domains machine # [ 1.000097] Freeing initrd memory: 29608K machine # [ 1.003265] Freeing unused decrypted memory: 2028K machine # [ 1.006019] Freeing unused kernel image (initmem) memory: 3656K machine # [ 1.007443] Write protecting the kernel read-only data: 32768k machine # [ 1.009048] Freeing unused kernel image (text/rodata gap) memory: 304K machine # [ 1.010843] Freeing unused kernel image (rodata/data gap) memory: 692K machine # [ 1.052264] x86/mm: Checked W+X mappings: passed, no W+X pages found. machine # [ 1.053754] Run /init as init process machine # [ 1.063189] systemd[1]: Inserted module 'autofs4' machine # [ 1.081612] fuse: init (API version 7.45) machine # [ 1.088615] ACPI: \_SB_.GSIG: Enabled at IRQ 22 machine # [ 1.091489] ACPI: \_SB_.GSIH: Enabled at IRQ 23 machine # [ 1.095138] ACPI: \_SB_.GSIE: Enabled at IRQ 20 machine # [ 1.097784] ACPI: \_SB_.GSIF: Enabled at IRQ 21 machine # [ 1.103942] virtiofs virtio5: discovered new tag: nix-store machine # [ 1.106246] virtiofs virtio5: virtio_fs_setup_dax: No cache capability machine # [ 1.114628] virtiofs virtio6: discovered new tag: shared machine # [ 1.116896] virtiofs virtio6: virtio_fs_setup_dax: No cache capability machine # [ 1.120916] virtiofs virtio7: discovered new tag: xchg machine # [ 1.123106] virtiofs virtio7: virtio_fs_setup_dax: No cache capability machine # [ 1.144218] systemd[1]: Successfully made /usr/ read-only. machine # [ 1.481188] 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.490329] systemd[1]: Detected virtualization kvm. machine # [ 1.491684] systemd[1]: Detected architecture x86-64. machine # [ 1.492978] systemd[1]: Running in initrd. machine # [ 1.494196] systemd[1]: Initializing machine ID from random generator. machine # [ 1.495772] systemd[1]: Hostname set to . machine # [ 1.561924] systemd[1]: bpf-restrict-fs: LSM BPF program attached machine # [ 1.595766] systemd[1]: Queued start job for default target Initrd Default Target. machine # [ 1.601076] systemd[1]: Created slice Slice /system/modprobe. machine # [ 1.602665] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. machine # [ 1.604518] systemd[1]: Expecting device /dev/disk/by-label/nixos... machine # [ 1.606035] systemd[1]: Reached target Path Units. machine # [ 1.607238] systemd[1]: Reached target Slice Units. machine # [ 1.608479] systemd[1]: Reached target Swaps. machine # [ 1.609596] systemd[1]: Reached target Timer Units. machine # [ 1.610907] systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [ 1.612525] systemd[1]: Listening on Journal Socket (/dev/log). machine # [ 1.614095] systemd[1]: Listening on Journal Sockets. machine # [ 1.615480] systemd[1]: Listening on udev Control Socket. machine # [ 1.616874] systemd[1]: Listening on udev Kernel Socket. machine # [ 1.618173] systemd[1]: Reached target Socket Units. machine # [ 1.620143] systemd[1]: Starting Create List of Static Device Nodes... machine # [ 1.624663] systemd[1]: Starting Load Kernel Module configfs... machine # [ 1.634841] systemd[1]: Starting Journal Service... machine # [ 1.656465] systemd[1]: Starting Load Kernel Modules... machine # [ 1.661414] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 1.667028] systemd[1]: Starting Coldplug All udev Devices... machine # [ 1.674680] systemd-journald[65]: Collecting audit messages is disabled. machine # [ 1.685424] systemd[1]: Finished Create List of Static Device Nodes. machine # [ 1.690902] systemd[1]: modprobe@configfs.service: Deactivated successfully. machine # [ 1.700848] systemd[1]: Finished Load Kernel Module configfs. machine # [ 1.707775] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config machine # [ 1.715885] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. machine # [ 1.722022] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... machine # [ 1.729432] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev machine # [ 1.755403] systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [ 1.766517] systemd[1]: Starting Create Static Device Nodes in /dev... machine # [ 1.778709] systemd[1]: Finished Load Kernel Modules. machine # [ 1.787474] systemd[1]: Starting Apply Kernel Variables... machine # [ 1.803383] systemd[1]: Finished Create Static Device Nodes in /dev. machine # [ 1.810760] systemd[1]: Reached target Preparation for Local File Systems. machine # [ 1.817403] systemd[1]: Reached target Local File Systems. machine # [ 1.823475] systemd[1]: Starting Rule-based Manager for Device Events and Files... machine # [ 1.835501] systemd[1]: Started Journal Service. machine # [ 1.644395] systemd-modules-load[67]: Inserted module 'dm_mod' machine # [ 1.646181] systemd-modules-load[67]: Inserted module 'virtio_balloon' machine # [ 1.648354] systemd-modules-load[67]: Inserted module 'virtio_gpu' machine # [ 1.654527] systemd[1]: Finished Apply Kernel Variables. machine # [ 1.670081] systemd[1]: Starting Create System Files and Directories... machine # [ 1.692440] systemd-udevd[73]: Using default interface naming scheme 'v261'. machine # [ 1.697080] systemd[1]: Finished Create System Files and Directories. machine # [ 1.720608] systemd[1]: Started Rule-based Manager for Device Events and Files. machine # [ 1.749695] systemd[1]: Finished Coldplug All udev Devices. machine # [ 1.750869] systemd[1]: Reached target System Initialization. machine # [ 1.753167] systemd[1]: Reached target Basic System. machine # [ 2.173160] virtio_blk virtio2: 1/0/0 default/read/poll queues machine # [ 2.181753] virtio_blk virtio2: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB) machine # [ 2.187535] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 machine # [ 2.198457] serio: i8042 KBD port at 0x60,0x64 irq 1 machine # [ 2.201449] uhci_hcd 0000:00:1d.0: UHCI Host Controller machine # [ 2.207018] serio: i8042 AUX port at 0x60,0x64 irq 12 machine # [ 2.211752] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 machine # [ 2.220419] uhci_hcd 0000:00:1d.0: detected 2 ports machine # [ 2.227017] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c180 machine # [ 2.233690] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.239910] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.244054] SCSI subsystem initialized machine # [ 2.246783] usb usb1: Product: UHCI Host Controller machine # [ 2.250728] usb usb1: Manufacturer: Linux 6.18.55 uhci_hcd machine # [ 2.254864] usb usb1: SerialNumber: 0000:00:1d.0 machine # [ 2.259800] hub 1-0:1.0: USB hub found machine # [ 2.263328] hub 1-0:1.0: 2 ports detected machine # [ 2.268793] ehci-pci 0000:00:1d.7: EHCI Host Controller machine # [ 2.269760] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 2 machine # [ 2.272031] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000 machine # [ 2.084146] (udev-worker)[91]: Network interface NamePolicy= disabled on kernel command line. machine # [ 2.086076] systemd[1]: Starting Virtual Console Setup... machine # [ 2.281341] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00 machine # [ 2.283762] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18 machine # [ 2.285181] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.294331] usb usb2: Product: EHCI Host Controller machine # [ 2.295191] usb usb2: Manufacturer: Linux 6.18.55 ehci_hcd machine # [ 2.298317] usb usb2: SerialNumber: 0000:00:1d.7 machine # [ 2.301477] hub 2-0:1.0: USB hub found machine # [ 2.304320] hub 2-0:1.0: 6 ports detected machine # [ 2.114842] (udev-worker)[89]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name. machine # [ 2.120452] (udev-worker)[89]: Network interface NamePolicy= disabled on kernel command line. machine # [ 2.129238] systemd-vconsole-setup[96]: Configuration of first virtual console was skipped, ignoring remaining ones. machine # [ 2.134820] systemd[1]: Finished Virtual Console Setup. machine # [ 2.331856] hub 1-0:1.0: USB hub found machine # [ 2.334332] hub 1-0:1.0: 2 ports detected machine # [ 2.340423] uhci_hcd 0000:00:1d.1: UHCI Host Controller machine # [ 2.341381] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 machine # [ 2.355256] uhci_hcd 0000:00:1d.1: detected 2 ports machine # [ 2.356587] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c1a0 machine # [ 2.174083] systemd[1]: Found device /dev/disk/by-label/nixos. machine # [ 2.175279] systemd[1]: Reached target Initrd Root Device. machine # [ 2.368693] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.370120] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.179940] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos... machine # [ 2.376129] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 machine # [ 2.390654] usb usb3: Product: UHCI Host Controller machine # [ 2.397270] usb usb3: Manufacturer: Linux 6.18.55 uhci_hcd machine # [ 2.398627] usb usb3: SerialNumber: 0000:00:1d.1 machine # [ 2.208314] systemd-fsck[104]: nixos: clean, 12/65536 files, 13019/262144 blocks machine # [ 2.403587] hub 3-0:1.0: USB hub found machine # [ 2.404788] hub 3-0:1.0: 2 ports detected machine # [ 2.410525] uhci_hcd 0000:00:1d.2: UHCI Host Controller machine # [ 2.411487] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 machine # [ 2.415322] uhci_hcd 0000:00:1d.2: detected 2 ports machine # [ 2.417825] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c1c0 machine # [ 2.233544] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos. machine # [ 2.427486] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.429744] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.434364] usb usb4: Product: UHCI Host Controller machine # [ 2.436419] usb usb4: Manufacturer: Linux 6.18.55 uhci_hcd machine # [ 2.438352] usb usb4: SerialNumber: 0000:00:1d.2 machine # [ 2.441181] hub 4-0:1.0: USB hub found machine # [ 2.442998] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode machine # [ 2.444956] hub 4-0:1.0: 2 ports detected machine # [ 2.456954] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f) machine # [ 2.462730] ahci 0000:00:1f.2: flags: 64bit ncq only machine # [ 2.476379] scsi host0: ahci machine # [ 2.479126] scsi host1: ahci machine # [ 2.479929] scsi host2: ahci machine # [ 2.484722] scsi host3: ahci machine # [ 2.489030] scsi host4: ahci machine # [ 2.492067] scsi host5: ahci machine # [ 2.493566] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 47 lpm-pol 1 machine # [ 2.497510] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 47 lpm-pol 1 machine # [ 2.499921] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 47 lpm-pol 1 machine # [ 2.501437] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 47 lpm-pol 1 machine # [ 2.502981] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 47 lpm-pol 1 machine # [ 2.504523] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 47 lpm-pol 1 machine # [ 2.548363] usb 2-1: new high-speed USB device number 2 using ehci-pci machine # [ 2.677624] usb 2-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00 machine # [ 2.679665] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10 machine # [ 2.681920] usb 2-1: Product: QEMU USB Tablet machine # [ 2.684324] usb 2-1: Manufacturer: QEMU machine # [ 2.494255] systemd[1]: Mounting /sysroot... machine # [ 2.688322] usb 2-1: SerialNumber: 28754-0000:00:1d.7-1 machine # [ 2.715368] hid: raw HID events driver (C) Jiri Kosina machine # [ 2.820583] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) machine # [ 2.822355] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100 machine # [ 2.824072] ata3.00: applying bridge limits machine # [ 2.825677] ata2: SATA link down (SStatus 0 SControl 300) machine # [ 2.827551] ata4: SATA link down (SStatus 0 SControl 300) machine # [ 2.829163] ata6: SATA link down (SStatus 0 SControl 300) machine # [ 2.830856] ata5: SATA link down (SStatus 0 SControl 300) machine # [ 2.832329] ata1: SATA link down (SStatus 0 SControl 300) machine # [ 2.833583] ata3.00: configured for UDMA/100 machine # [ 2.834900] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5 machine # [ 2.893399] usbcore: registered new interface driver usbhid machine # [ 2.899299] usbhid: USB HID core driver machine # [ 2.920722] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/0003:0627:0001.0001/input/input2 machine # [ 2.922814] 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.928625] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray machine # [ 2.939517] cdrom: Uniform CD-ROM driver Revision: 3.20 machine # [ 2.943139] EXT4-fs (vda): mounted filesystem e3979e8f-9b8d-4900-874a-ecd757464d50 r/w with ordered data mode. Quota mode: none. machine # [ 2.757898] systemd[1]: Mounted /sysroot. machine # [ 2.760189] systemd[1]: Reached target Initrd Root File System. machine # [ 2.762214] systemd[1]: Starting Mountpoints Configured in the Real Root... machine # [ 2.776165] systemd-sysroot-fstab-check[138]: /sysroot should be mounted in the initrd, will request daemon-reload. machine # [ 2.779851] systemd[1]: Reload requested from client PID 138 ('systemd-sysroot') (unit initrd-parse-etc.service)... machine # [ 2.782174] systemd[1]: Reloading... machine # [ 2.860341] systemd[1]: Reloading finished in 76 ms. machine # [ 2.869340] systemd-sysroot-fstab-check[138]: Requesting initrd-fs.target/start/replace... machine # [ 2.872266] systemd-sysroot-fstab-check[138]: Requesting swap.target/start/replace... machine # [ 2.877820] systemd[1]: initrd-parse-etc.service: Deactivated successfully. machine # [ 2.879708] systemd[1]: Finished Mountpoints Configured in the Real Root. machine # [ 2.881205] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies. machine # [ 3.494298] systemd[1]: Mounting /sysroot/nix/.ro-store... machine # [ 3.498112] systemd[1]: Mounting /sysroot/nix/.rw-store... machine # [ 3.503088] systemd[1]: Mounting /sysroot/run... machine # [ 3.509074] systemd[1]: Mounting /sysroot/tmp/shared... machine # [ 3.512147] systemd[1]: Mounting /sysroot/tmp/xchg... machine # [ 3.528729] systemd[1]: Mounted /sysroot/nix/.ro-store. machine # [ 3.536084] systemd[1]: Mounted /sysroot/nix/.rw-store. machine # [ 3.537210] systemd[1]: Mounted /sysroot/run. machine # [ 3.544738] systemd[1]: Starting rw-sysroot-nix-store.service... machine # [ 3.547742] systemd[1]: Mounted /sysroot/tmp/shared. machine # [ 3.549160] systemd[1]: Mounted /sysroot/tmp/xchg. machine # [ 3.557456] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully. machine # [ 3.559574] systemd[1]: Finished rw-sysroot-nix-store.service. machine # [ 3.562201] systemd[1]: Mounting /sysroot/nix/store... machine # [ 3.582504] systemd[1]: Mounted /sysroot/nix/store. machine # [ 3.583785] systemd[1]: Reached target Initrd File Systems. machine # [ 3.586085] systemd[1]: Starting Find NixOS closure... machine # [ 3.588377] systemd[1]: Starting Create Volatile Files and Directories in the Real Root... machine # [ 3.604274] systemd[1]: Finished Create Volatile Files and Directories in the Real Root. machine # [ 3.611138] systemd[1]: Finished Find NixOS closure. machine # [ 3.613224] systemd[1]: Reached target Initrd Default Target. machine # [ 3.615047] systemd[1]: Starting Cleaning Up and Shutting Down Daemons... machine # [ 3.628053] systemd[1]: Stopped target Initrd Default Target. machine # [ 3.629515] systemd[1]: Stopped target Basic System. machine # [ 3.630821] systemd[1]: Stopped target Initrd Root Device. machine # [ 3.633156] systemd[1]: Stopped target Path Units. machine # [ 3.634191] systemd[1]: systemd-ask-password-console.path: Deactivated successfully. machine # [ 3.635650] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch. machine # [ 3.637269] systemd[1]: Stopped target Slice Units. machine # [ 3.638340] systemd[1]: Stopped target Socket Units. machine # [ 3.639559] systemd[1]: Stopped target System Initialization. machine # [ 3.641212] systemd[1]: Stopped target Swaps. machine # [ 3.643037] systemd[1]: Stopped target Timer Units. machine # [ 3.644167] systemd[1]: dbus.socket: Deactivated successfully. machine # [ 3.645353] systemd[1]: Closed D-Bus System Message Bus Socket. machine # [ 3.646761] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully. machine # [ 3.649178] systemd[1]: Stopped Find NixOS closure. machine # [ 3.650219] systemd[1]: Starting rw-sysroot-nix-store.service... machine # [ 3.651447] systemd[1]: systemd-sysctl.service: Deactivated successfully. machine # [ 3.652967] systemd[1]: Stopped Apply Kernel Variables. machine # [ 3.654371] systemd[1]: systemd-modules-load.service: Deactivated successfully. machine # [ 3.656234] systemd[1]: Stopped Load Kernel Modules. machine # [ 3.658186] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully. machine # [ 3.659718] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root. machine # [ 3.661316] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully. machine # [ 3.662953] systemd[1]: Stopped Create System Files and Directories. machine # [ 3.664971] systemd[1]: Stopped target Local File Systems. machine # [ 3.666220] systemd[1]: Stopped target Preparation for Local File Systems. machine # [ 3.667969] systemd[1]: systemd-udev-trigger.service: Deactivated successfully. machine # [ 3.670516] systemd[1]: Stopped Coldplug All udev Devices. machine # [ 3.671772] systemd[1]: Stopping Rule-based Manager for Device Events and Files... machine # [ 3.673734] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 3.676743] systemd[1]: Stopped Virtual Console Setup. machine # [ 3.684311] systemd[1]: initrd-cleanup.service: Deactivated successfully. machine # [ 3.686111] systemd[1]: Finished Cleaning Up and Shutting Down Daemons. machine # [ 3.690552] systemd[1]: systemd-udevd.service: Deactivated successfully. machine # [ 3.692520] systemd[1]: Stopped Rule-based Manager for Device Events and Files. machine # [ 3.694511] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully. machine # [ 3.696504] systemd[1]: Finished rw-sysroot-nix-store.service. machine # [ 3.699090] systemd[1]: systemd-udevd-control.socket: Deactivated successfully. machine # [ 3.700502] systemd[1]: Closed udev Control Socket. machine # [ 3.703086] systemd[1]: Starting Cleanup udev Database... machine # [ 3.704225] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully. machine # [ 3.705750] systemd[1]: Stopped Create Static Device Nodes in /dev. machine # [ 3.707062] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully. machine # [ 3.709169] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully. machine # [ 3.710551] systemd[1]: kmod-static-nodes.service: Deactivated successfully. machine # [ 3.711879] systemd[1]: Stopped Create List of Static Device Nodes. machine # [ 3.723864] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully. machine # [ 3.725938] systemd[1]: Finished Cleanup udev Database. machine # [ 3.727713] systemd[1]: Reached target Switch Root. machine # [ 3.729734] systemd[1]: Starting NixOS Activation... machine # [ 3.785070] initrd-nixos-activation-start[190]: booting system configuration /nix/store/4cr3n2fzyck954bayr6wq8yvikgfzzwm-nixos-system-machine-test machine # [ 3.808986] initrd-nixos-activation-start[190]: running activation script... machine # [ 3.974121] initrd-nixos-activation-start[213]: setting up /etc... machine # [ 4.072855] systemd[1]: initrd-nixos-activation.service: Deactivated successfully. machine # [ 4.075100] systemd[1]: Finished NixOS Activation. machine # [ 4.077255] systemd[1]: Starting Switch Root... machine # [ 4.088847] systemd[1]: Switching root. machine # [ 4.408486] systemd-journald[65]: Received SIGTERM from PID 1 (systemd). machine # [ 4.662219] NET: Registered PF_VSOCK protocol family machine # [ 5.020899] 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 # [ 5.027684] systemd[1]: Detected virtualization kvm. machine # [ 5.028871] systemd[1]: Detected architecture x86-64. machine # [ 5.030009] systemd[1]: Detected first boot. machine # [ 5.031963] systemd[1]: Initializing machine ID from random generator. machine # [ 5.133485] systemd[1]: bpf-restrict-fs: LSM BPF program attached machine # [ 5.200665] systemd[1]: Applying preset policy. machine # [ 5.357677] systemd[1]: Populated /etc with preset unit settings. machine # [ 5.549047] systemd[1]: initrd-switch-root.service: Deactivated successfully. machine # [ 5.550825] systemd[1]: Stopped initrd-switch-root.service. machine # [ 5.553499] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1. machine # [ 5.555877] systemd[1]: Created slice Slice /system/getty. machine # [ 5.557509] systemd[1]: Created slice User and Session Slice. machine # [ 5.558709] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. machine # [ 5.560305] systemd[1]: Started Forward Password Requests to Wall Directory Watch. machine # [ 5.561693] systemd[1]: Expecting device /dev/hvc0... machine # [ 5.562636] systemd[1]: Expecting device /dev/ttyS0... machine # [ 5.563634] systemd[1]: Reached target Local Encrypted Volumes. machine # [ 5.564700] systemd[1]: Stopped target initrd-fs.target. machine # [ 5.565683] systemd[1]: Stopped target initrd-root-fs.target. machine # [ 5.566732] systemd[1]: Stopped target initrd-switch-root.target. machine # [ 5.567913] systemd[1]: Reached target Virtual Machines and Containers. machine # [ 5.569147] systemd[1]: Reached target Path Units. machine # [ 5.570122] systemd[1]: Reached target Remote File Systems. machine # [ 5.581319] systemd[1]: Reached target Slice Units. machine # [ 5.582313] systemd[1]: Reached target Swaps. machine # [ 5.584345] systemd[1]: Listening on Query the User Interactively for a Password. machine # [ 5.587021] systemd[1]: Listening on Process Core Dump Socket. machine # [ 5.589084] systemd[1]: Listening on Credential Encryption/Decryption. machine # [ 5.591298] systemd[1]: Listening on Factory Reset Management. machine # [ 5.592513] systemd[1]: Listening on Hostname Service Socket. machine # [ 5.595451] systemd[1]: Starting Journal Log Access Socket... machine # [ 5.596830] systemd[1]: Listening on Journal Audit Socket. machine # [ 5.599549] systemd[1]: Listening on Console Output Muting Service Socket. machine # [ 5.600959] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket. machine # [ 5.602392] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os machine # [ 5.604077] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki machine # [ 5.608496] systemd[1]: Listening on Disk Repartitioning Service Socket. machine # [ 5.609826] systemd[1]: Listening on udev Control Socket. machine # [ 5.610960] systemd[1]: Listening on udev Varlink Socket. machine # [ 5.613206] systemd[1]: Mounting Huge Pages File System... machine # [ 5.615580] systemd[1]: Mounting POSIX Message Queue File System... machine # [ 5.622538] systemd[1]: Mounting Kernel Debug File System... machine # [ 5.629072] systemd[1]: Mounting Kernel Trace File System... machine # [ 5.639144] systemd[1]: Starting Create List of Static Device Nodes... machine # [ 5.654386] systemd[1]: Starting Load Kernel Module configfs... machine # [ 5.664358] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm machine # [ 5.676307] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore machine # [ 5.679070] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse machine # [ 5.685062] systemd[1]: Mounting FUSE Control File System... machine # [ 5.690368] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 machine # [ 5.699154] systemd[1]: Starting Journal Service... machine # [ 5.703606] systemd[1]: Starting Load Kernel Modules... machine # [ 5.716788] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer... machine # [ 5.726867] systemd[1]: Starting Remount Root and Kernel File Systems... machine # [ 5.730403] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 5.743380] systemd[1]: Starting Coldplug All udev Devices... machine # [ 5.746079] systemd-journald[283]: Collecting audit messages is enabled. machine # [ 5.755649] systemd[1]: Listening on Journal Log Access Socket. machine # [ 5.765539] systemd[1]: Mounted Huge Pages File System. machine # [ 5.769914] systemd[1]: Mounted POSIX Message Queue File System. machine # [ 5.581647] systemd[1]: Queued start job for default target Multi-User System. machine # [ 5.775409] systemd[1]: Started Journal Service. machine # [ 5.584508] systemd[1]: systemd-journald.service: Deactivated successfully. machine # [ 5.596160] systemd[1]: Mounted Kernel Debug File System. machine # [ 5.597598] systemd[1]: Mounted Kernel Trace File System. machine # [ 5.604532] systemd[1]: Finished Create List of Static Device Nodes. machine # [ 5.607374] systemd[1]: modprobe@configfs.service: Deactivated successfully. machine # [ 5.801605] loop: module loaded machine # [ 5.613083] systemd[1]: Finished Load Kernel Module configfs. machine # [ 5.614543] systemd[1]: Mounted FUSE Control File System. machine # [ 5.616392] systemd-modules-load[284]: Inserted module 'loop' machine # [ 5.626103] systemd[1]: Finished Load Kernel Modules. machine # [ 5.830295] EXT4-fs (vda): re-mounted e3979e8f-9b8d-4900-874a-ecd757464d50. machine # [ 5.642253] systemd[1]: Mounting Kernel Configuration File System... machine # [ 5.647101] systemd[1]: Starting Firewall... machine # [ 5.651435] systemd[1]: Starting Apply Kernel Variables... machine # [ 5.658109] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... machine # [ 5.665172] systemd-oomd[285]: No swap; memory pressure usage will be degraded machine # [ 5.672846] systemd[1]: Finished Remount Root and Kernel File Systems. machine # [ 5.676110] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer. machine # [ 5.688284] systemd[1]: Listening on Disk Image Download Service Socket. machine # [ 5.701289] systemd[1]: Starting Flush Journal to Persistent Storage... machine # [ 5.702632] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore machine # [ 5.707780] systemd[1]: Starting Load/Save OS Random Seed... machine # [ 5.708959] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 5.947052] systemd-journald[283]: Received client request to flush runtime journal. machine # [ 5.940397] systemd[1]: Mounted Kernel Configuration File System. machine # [ 5.943721] systemd[1]: Finished Apply Kernel Variables. machine # [ 5.945591] systemd[1]: Finished Load/Save OS Random Seed. machine # [ 5.947639] systemd[1]: Reached target First Boot Complete. machine # [ 5.948810] systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [ 5.951232] systemd[1]: Starting Create Static Device Nodes in /dev... machine # [ 5.954169] systemd[1]: Finished Flush Journal to Persistent Storage. machine # [ 5.955680] systemd[1]: Finished Coldplug All udev Devices. machine # [ 5.975985] systemd[1]: Finished Create Static Device Nodes in /dev. machine # [ 5.978214] systemd[1]: Reached target Preparation for Local File Systems. machine # [ 5.980635] systemd[1]: Starting Rule-based Manager for Device Events and Files... machine # [ 6.017901] systemd-udevd[328]: Using default interface naming scheme 'v261'. machine # [ 6.066088] systemd[1]: Started Rule-based Manager for Device Events and Files. machine # [ 6.191800] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse machine # [ 6.286152] systemd[1]: Condition check resulted in /dev/hvc0 being skipped. machine # [ 6.305333] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped. machine # [ 6.329337] (udev-worker)[355]: Network interface NamePolicy= disabled on kernel command line. machine # [ 6.335108] (udev-worker)[358]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name. machine # [ 6.338446] (udev-worker)[358]: Network interface NamePolicy= disabled on kernel command line. machine # [ 6.364134] systemd[1]: Mounting /run/wrappers... machine # [ 6.395618] systemd[1]: Mounted /run/wrappers. machine # [ 6.396611] systemd[1]: Reached target Local File Systems. machine # [ 6.400101] systemd[1]: Listening on Boot Loader Control Service Socket. machine # [ 6.405475] systemd[1]: Starting register-nix-paths.service... machine # [ 6.411115] systemd[1]: Starting Create SUID/SGID Wrappers... machine # [ 6.412313] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met. machine # [ 6.424954] systemd[1]: Starting Save Transient machine-id to Disk... machine # [ 6.438957] systemd[1]: Starting Create System Files and Directories... machine # [ 6.521585] systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [ 6.529188] systemd[1]: Finished Save Transient machine-id to Disk. machine # [ 6.557631] systemd[1]: Finished Create System Files and Directories. machine # [ 6.563121] systemd[1]: Condition check resulted in Virtio network device being skipped. machine # [ 6.566081] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore machine # [ 6.569243] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met. machine # [ 6.573539] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 machine # [ 6.579575] systemd[1]: Starting Rebuild Journal Catalog... machine # [ 6.580753] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore machine # [ 6.582814] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 6.584514] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 6.590569] systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [ 6.679644] systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [ 6.701155] systemd[1]: Finished Rebuild Journal Catalog. machine # [ 6.706606] systemd[1]: Starting Update is Completed... machine # [ 6.763741] systemd[1]: Finished Update is Completed. machine # [ 7.050153] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console machine # [ 7.063362] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3 machine # [ 6.882559] systemd[1]: Finished Firewall. machine # [ 6.985063] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully. machine # [ 6.990160] systemd[1]: Finished Create SUID/SGID Wrappers. machine # [ 7.103993] mousedev: PS/2 mouse device common for all mice machine # [ 7.104435] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:06.0/virtio4/input/input4 machine # [ 7.104894] ACPI: button: Power Button [PWRF] machine # [ 7.189744] Console: switching to colour dummy device 80x25 machine # [ 7.194760] rtc_cmos PNP0B00:00: RTC can wake from S4 machine # [ 7.203943] rtc_cmos PNP0B00:00: registered as rtc0 machine # [ 7.204040] rtc_cmos PNP0B00:00: setting system clock to 2026-10-07T21:48:37 UTC (1791409717) machine # [ 7.204133] rtc_cmos PNP0B00:00: alarms up to one day, y3k, 242 bytes nvram, hpet irqs machine # [ 7.204430] systemd-journald[283]: Time jumped backwards, rotating. machine # [ 7.118082] systemd[1]: Finished register-nix-paths.service. machine # [ 7.121097] systemd[1]: Reached target System Initialization. machine # [ 7.123076] systemd[1]: Started Discard unused filesystem blocks once a week. machine # [ 7.124570] systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [ 7.127176] systemd[1]: Reached target Timer Units. machine # [ 7.128221] systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [ 7.129852] systemd[1]: Listening on Nix Daemon Socket. machine # [ 7.132599] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [ 7.134171] systemd[1]: Reached target Socket Units. machine # [ 7.137059] systemd[1]: Reached target Basic System. machine # [ 7.138157] systemd[1]: Started backdoor.service. machine # [ 7.140172] systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [ 7.154099] systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [ 7.215744] parport_pc 00:02: reported by Plug and Play ACPI machine # [ 7.215836] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)] machine # [ 7.239790] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized machine # [ 7.177430] systemd[1]: Starting Post-Boot Actions... machine # [ 7.185205] systemd[1]: Started Reset console on configuration changes. machine # [ 7.196511] systemd[1]: Starting resolvconf update... machine # [ 7.399894] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt machine # [ 7.400005] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD machine # [ 7.227286] nsncd[508]: Oct 07 21:48:37.715 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [ 7.233207] systemd[1]: Starting D-Bus System Message Bus... machine # [ 7.234430] systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [ 7.247920] systemd[1]: Reached target Host and Network Name Lookups. machine # connecting to host... machine # [ 7.254655] systemd[1]: Reached target User and Group Name Lookups. machine # [ 7.466347] [drm] Found bochs VGA, ID 0xb0c5. machine # [ 7.466349] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000. machine # [ 7.278496] systemd[1]: Starting User Login Management... machine: Guest shell says: b'Spawning backdoor root shell...\n' machine # [ 7.285303] systemd[1]: Finished Post-Boot Actions. machine: connected to guest root shell machine # [ 7.479489] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic machine: (connecting took 8.03 seconds) machine # [ 7.480356] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0 machine: (finished: waiting for the VM to finish booting, in 8.19 seconds) machine # [ 7.358281] systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [ 7.582350] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6 machine # [ 7.587653] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5 machine # [ 7.447765] dbus-broker-launch[516]: Looking up NSS user entry for 'systemd-timesync'... machine # [ 7.664325] Console: switching to colour frame buffer device 160x50 machine # [ 7.694258] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device machine # [ 7.486374] dbus-broker-launch[516]: NSS returned no entry for 'systemd-timesync' machine # [ 7.504934] dbus-broker-launch[516]: Invalid user-name in /nix/store/35gcckb6qvnp6qggm7q4j06lmfvadfwj-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [ 7.507764] systemd[1]: Stopped target Host and Network Name Lookups. machine # [ 7.509411] systemd[1]: Stopping Host and Network Name Lookups... machine # [ 7.513236] systemd[1]: Stopped target User and Group Name Lookups. machine # [ 7.514891] systemd[1]: Stopping User and Group Name Lookups... machine # [ 7.516174] systemd[1]: Stopping Name Service Cache Daemon (nsncd)... machine # [ 7.518561] systemd[1]: Starting Virtual Console Setup... machine # [ 7.522164] systemd[1]: nscd.service: Deactivated successfully. machine # [ 7.523355] systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [ 7.524735] systemd-logind[531]: New seat seat0. machine # [ 7.527769] systemd-logind[531]: Watching system buttons on /dev/input/event2 (Power Button) machine # [ 7.529382] systemd-logind[531]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard) machine # [ 7.533272] systemd[1]: Started User Login Management. machine # [ 7.547468] systemd[1]: Started D-Bus System Message Bus. machine # [ 7.574737] dbus-broker-launch[516]: Ready machine # [ 7.578376] systemd[1]: Starting linger-users.service... machine # [ 7.586122] systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [ 7.607315] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 7.610806] systemd[1]: Stopped Virtual Console Setup. machine # [ 7.637676] systemd[1]: Starting Virtual Console Setup... machine # [ 7.645941] systemd[1]: linger-users.service: Deactivated successfully. machine # [ 7.649533] systemd[1]: Finished linger-users.service. machine # [ 7.652244] systemd-logind[531]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard) machine # [ 7.662450] systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [ 7.665390] nsncd[599]: Oct 07 21:48:38.151 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [ 7.671139] systemd[1]: Reached target Host and Network Name Lookups. machine # [ 7.672387] systemd[1]: Reached target User and Group Name Lookups. machine # [ 7.678835] systemd[1]: Finished resolvconf update. machine # [ 7.680734] systemd[1]: Reached target Preparation for Network. machine # [ 7.688158] systemd[1]: Starting DHCP Client... machine # [ 7.691970] systemd[1]: Starting Address configuration of eth1... machine # [ 7.696357] systemd[1]: Starting Extra networking commands.... machine # [ 7.915570] ppdev: user-space parallel port driver machine # [ 7.804460] network-addresses-eth1-start[623]: adding address 192.168.1.1/24... done machine # [ 7.821651] network-addresses-eth1-start[623]: adding address 2001:db8:1::1/64... done machine # [ 8.020075] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660) machine # [ 7.871723] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 7.875365] systemd[1]: Stopped Virtual Console Setup. machine # [ 7.885854] systemd[1]: Finished Address configuration of eth1. machine # [ 8.092873] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0) machine # [ 7.901856] systemd[1]: Starting Virtual Console Setup... machine # [ 7.911636] dhcpcd[633]: dhcpcd-10.3.2 starting machine # [ 7.920617] dhcpcd[687]: dev: loaded udev machine # [ 8.131968] 8021q: 802.1Q VLAN Support v1.8 machine # [ 8.135288] 8021q: adding VLAN 0 to HW filter on device eth1 machine # [ 7.950876] systemd[1]: Finished Extra networking commands.. machine # [ 7.955280] systemd[1]: Reached target Network. machine # [ 7.959967] systemd[1]: Starting PostgreSQL Server... machine # [ 7.962735] systemd[1]: Starting Permit User Sessions... machine # [ 8.000510] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. machine # [ 8.043084] systemd[1]: Finished Permit User Sessions. machine # [ 8.083567] systemd[1]: Started Getty on tty1. machine # [ 8.084540] systemd[1]: Reached target Login Prompts. machine # [ 8.319385] cfg80211: Loading compiled-in X.509 certificates for regulatory database machine # [ 8.340238] kvm_amd: TSC scaling supported machine # [ 8.340807] kvm_amd: Nested Virtualization enabled machine # [ 8.345848] kvm_amd: Nested Paging enabled machine # [ 8.348212] kvm_amd: LBR virtualization supported machine # [ 8.348858] kvm_amd: Virtual VMLOAD VMSAVE supported machine # [ 8.351259] kvm_amd: Virtual GIF supported machine # [ 8.352785] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' machine # [ 8.353648] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' machine # [ 8.359462] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2 machine # [ 8.360618] cfg80211: failed to load regulatory.db machine # [ 8.406772] EDAC MC: Ver: 3.0.0 machine # [ 8.421707] 8021q: adding VLAN 0 to HW filter on device eth0 machine # [ 8.230674] dhcpcd[687]: eth0: waiting for carrier machine # [ 8.231943] dhcpcd[687]: libudev: received NULL device machine # [ 8.233195] dhcpcd[687]: libudev: received NULL device machine # [ 8.234992] dhcpcd[687]: eth0: carrier acquired machine # [ 8.236863] postgresql-pre-start[706]: The files belonging to this database system will be owned by user "postgres". machine # [ 8.240941] postgresql-pre-start[706]: This user must also own the server process. machine # [ 8.244110] postgresql-pre-start[706]: The database cluster will be initialized with locale "en_US.UTF-8". machine # [ 8.245799] postgresql-pre-start[706]: The default database encoding has accordingly been set to "UTF8". machine # [ 8.247434] postgresql-pre-start[706]: The default text search configuration will be set to "english". machine # [ 8.249125] postgresql-pre-start[706]: Data page checksums are enabled. machine # [ 8.250422] postgresql-pre-start[706]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok machine # [ 8.253745] postgresql-pre-start[706]: creating subdirectories ... ok machine # [ 8.255236] postgresql-pre-start[706]: selecting dynamic shared memory implementation ... posix machine # [ 8.256815] dhcpcd[687]: DUID 00:01:00:01:32:59:7a:b6:52:54:00:12:34:56 machine # [ 8.258252] dhcpcd[687]: eth0: IAID 00:12:34:56 machine # [ 8.259375] dhcpcd[687]: eth0: adding address fe80::5054:ff:fe12:3456 machine # [ 8.299638] postgresql-pre-start[706]: selecting default "max_connections" ... 100 machine # [ 8.340463] postgresql-pre-start[706]: selecting default "shared_buffers" ... 128MB machine # [ 8.354121] systemd-vconsole-setup[680]: Configuration of first virtual console was skipped, ignoring remaining ones. machine # [ 8.359578] systemd[1]: Finished Virtual Console Setup. machine # [ 8.906127] postgresql-pre-start[706]: selecting default time zone ... UTC machine # [ 8.908709] postgresql-pre-start[706]: creating configuration files ... ok machine # [ 9.059639] postgresql-pre-start[706]: running bootstrap script ... ok machine # [ 9.416360] postgresql-pre-start[706]: performing post-bootstrap initialization ... ok machine # [ 9.588164] postgresql-pre-start[706]: syncing data to disk ... ok machine # [ 9.589940] postgresql-pre-start[706]: initdb: warning: enabling "trust" authentication for local connections machine # [ 9.591631] postgresql-pre-start[706]: 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.594233] postgresql-pre-start[706]: Success. You can now start the database server using: machine # [ 9.595762] postgresql-pre-start[706]: pg_ctl -D /var/lib/postgresql/18 -l logfile start machine # [ 9.698125] postgres[737]: [737] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit machine # [ 9.702126] postgres[737]: [737] LOG: listening on IPv6 address "::1", port 5432 machine # [ 9.703557] postgres[737]: [737] LOG: listening on IPv4 address "127.0.0.1", port 5432 machine # [ 9.716540] postgres[737]: [737] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" machine # [ 9.750326] postgres[748]: [748] LOG: database system was shut down at 2026-10-07 21:48:39 GMT machine # [ 9.767082] postgres[737]: [737] LOG: database system is ready to accept connections machine # [ 9.781563] systemd[1]: Started PostgreSQL Server. machine # [ 9.789948] systemd[1]: Starting PostgreSQL Setup Scripts... machine # [ 9.940232] postgresql-setup-start[759]: CREATE DATABASE machine # [ 9.960283] dhcpcd[687]: eth0: soliciting a DHCP lease machine # [ 9.970537] postgresql-setup-start[764]: CREATE ROLE machine # [ 10.165395] NET: Registered PF_PACKET protocol family machine # [ 9.979489] dhcpcd[687]: eth0: offered 10.0.2.15 from 10.0.2.2 machine # [ 9.982521] dhcpcd[687]: eth0: probing address 10.0.2.15/24 machine # [ 9.994821] postgresql-setup-start[767]: ALTER DATABASE machine # [ 10.002335] systemd[1]: Finished PostgreSQL Setup Scripts. machine # [ 10.005081] systemd[1]: Reached target PostgreSQL. machine: (finished: waiting for unit postgresql.service, in 11.55 seconds) machine: waiting for unit rustfs.service machine # [ 10.894184] dhcpcd[687]: eth0: soliciting an IPv6 router machine # [ 10.895758] dhcpcd[687]: eth0: Router Advertisement from fe80::2 machine # [ 10.897538] dhcpcd[687]: eth0: adding address fec0::5054:ff:fe12:3456/64 machine # [ 10.899789] dhcpcd[687]: eth0: adding route to fec0::/64 machine # [ 10.901350] dhcpcd[687]: eth0: adding default route via fe80::2 machine # [ 14.988735] dhcpcd[687]: eth0: leased 10.0.2.15 for 86400 seconds machine # [ 14.990494] dhcpcd[687]: eth0: adding route to 10.0.2.0/24 machine # [ 14.993177] dhcpcd[687]: eth0: adding default route via 10.0.2.2 machine # [ 15.045158] systemd[1]: Started DHCP Client. machine # [ 15.047144] systemd[1]: Reached target Network is Online. machine # [ 15.050959] systemd[1]: Starting RustFS Object Storage Server... machine # [ 15.597323] systemd[1]: Started RustFS Object Storage Server. machine # [ 15.602828] systemd[1]: Starting Self-hosted Zotero sync server... machine # [ 15.640965] systemd[1]: Started Self-hosted Zotero sync server. machine # [ 15.643850] systemd[1]: Reached target Multi-User System. machine # [ 15.645580] systemd[1]: Startup finished in 864ms (kernel) + 3.586s (initrd) + 11.193s (userspace) = 15.645s. machine # [ 15.812939] zhost[895]: 2026-10-07T21:48:46.300404Z INFO zhost: zhost listening bind=127.0.0.1:8189 machine: (finished: waiting for unit rustfs.service, in 5.20 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.02 seconds) machine: waiting for unit zhost.service machine: (finished: waiting for unit zhost.service, in 0.02 seconds) machine: waiting for TCP port 8189 on localhost machine # Connection to localhost (127.0.0.1) 8189 port [tcp/*] succeeded! machine: (finished: waiting for TCP port 8189 on localhost, in 0.02 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.12 seconds) machine: must succeed: mc mb s3/zotero machine: (finished: must succeed: mc mb s3/zotero, in 0.20 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.265086] zhost[895]: 2026-10-07T21:48:46.753110Z 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.288783] zhost[895]: 2026-10-07T21:48:46.776846Z 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.03 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=d0260f4ec8b2e32f9bc362f783ff427b' | grep -qi 'Authorize' machine # [ 16.341235] zhost[895]: 2026-10-07T21:48:46.829262Z INFO zhost: request method=GET uri=/login?session=d0260f4ec8b2e32f9bc362f783ff427b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/login?session=d0260f4ec8b2e32f9bc362f783ff427b' | grep -qi 'Authorize', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.status == "pending"' machine # [ 16.367392] zhost[895]: 2026-10-07T21:48:46.855496Z INFO zhost: request method=GET uri=/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.status == "pending"', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.apiKey == null' machine # [ 16.393633] zhost[895]: 2026-10-07T21:48:46.881737Z INFO zhost: request method=GET uri=/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.apiKey == null', in 0.03 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=d0260f4ec8b2e32f9bc362f783ff427b' machine # [ 16.416904] zhost[895]: 2026-10-07T21:48:46.905010Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=d0260f4ec8b2e32f9bc362f783ff427b machine # [ 16.420929] zhost[895]: 2026-10-07T21:48:46.909038Z 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=d0260f4ec8b2e32f9bc362f783ff427b', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -d 'session=d0260f4ec8b2e32f9bc362f783ff427b' machine # [ 16.446571] zhost[895]: 2026-10-07T21:48:46.934211Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=d0260f4ec8b2e32f9bc362f783ff427b machine # [ 16.450441] zhost[895]: 2026-10-07T21:48:46.934247Z 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=d0260f4ec8b2e32f9bc362f783ff427b', 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=d0260f4ec8b2e32f9bc362f783ff427b' machine # [ 16.471961] zhost[895]: 2026-10-07T21:48:46.959959Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=d0260f4ec8b2e32f9bc362f783ff427b machine # [ 16.476125] zhost[895]: 2026-10-07T21:48:46.959985Z 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=d0260f4ec8b2e32f9bc362f783ff427b', 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=d0260f4ec8b2e32f9bc362f783ff427b' machine # [ 16.501978] zhost[895]: 2026-10-07T21:48:46.989944Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=d0260f4ec8b2e32f9bc362f783ff427b machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=d0260f4ec8b2e32f9bc362f783ff427b', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.status == "completed"' machine # [ 16.526633] zhost[895]: 2026-10-07T21:48:47.014684Z INFO zhost: request method=GET uri=/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.status == "completed"', in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.apiKey == "testtoken"' machine # [ 16.552191] zhost[895]: 2026-10-07T21:48:47.040201Z INFO zhost: request method=GET uri=/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.apiKey == "testtoken"', in 0.03 seconds) machine: must succeed: curl -sf -X DELETE http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b machine # [ 16.575896] zhost[895]: 2026-10-07T21:48:47.063109Z INFO zhost: request method=DELETE uri=/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf -X DELETE http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b, in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.status == "pending"' machine # [ 16.598216] zhost[895]: 2026-10-07T21:48:47.086323Z INFO zhost: request method=GET uri=/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/d0260f4ec8b2e32f9bc362f783ff427b | jq -e '.status == "pending"', in 0.02 seconds) (finished: subtest: login session hands out the key only after authorization, in 0.33 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.620966] zhost[895]: 2026-10-07T21:48:47.109074Z INFO zhost: request method=GET uri=/login api_version=- if_unmod=- body= machine # [ 16.624863] zhost[895]: 2026-10-07T21:48:47.112532Z 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.645131] zhost[895]: 2026-10-07T21:48:47.133237Z INFO zhost: request method=GET uri=/login?session=nope api_version=- if_unmod=- body= machine # [ 16.649133] zhost[895]: 2026-10-07T21:48:47.136804Z 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.669685] zhost[895]: 2026-10-07T21:48:47.157793Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=nope machine # [ 16.673247] zhost[895]: 2026-10-07T21:48:47.161357Z 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.695889] zhost[895]: 2026-10-07T21:48:47.183756Z 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.718679] zhost[895]: 2026-10-07T21:48:47.206786Z 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.740170] zhost[895]: 2026-10-07T21:48:47.228196Z 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.768325] zhost[895]: 2026-10-07T21:48:47.256340Z 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.792254] zhost[895]: 2026-10-07T21:48:47.280275Z 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.819456] zhost[895]: 2026-10-07T21:48:47.306852Z 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.03 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.841779] zhost[895]: 2026-10-07T21:48:47.329802Z 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.865831] zhost[895]: 2026-10-07T21:48:47.353936Z 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.897800] zhost[895]: 2026-10-07T21:48:47.385682Z 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.923394] zhost[895]: 2026-10-07T21:48:47.411408Z 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.947617] zhost[895]: 2026-10-07T21:48:47.435506Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"ITEMSTAL","itemType":"book"}] machine # [ 16.952235] zhost[895]: 2026-10-07T21:48:47.440125Z 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.973893] zhost[895]: 2026-10-07T21:48:47.461548Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=- body=[{"key":"NPRECN22","itemType":"book"}] machine # [ 16.977798] zhost[895]: 2026-10-07T21:48:47.461586Z 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.03 seconds) (finished: subtest: a write without If-Unmodified-Since-Version is rejected with 428, in 0.03 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 # [ 17.003839] zhost[895]: 2026-10-07T21:48:47.491944Z 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 # [ 17.028571] zhost[895]: 2026-10-07T21:48:47.516228Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"HASOABC2","itemType":"book"}] machine # [ 17.032494] zhost[895]: 2026-10-07T21:48:47.516255Z 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 # [ 17.058386] zhost[895]: 2026-10-07T21:48:47.546316Z 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 # [ 17.082582] zhost[895]: 2026-10-07T21:48:47.570242Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"HAS0ABC2","itemType":"book"}] machine # [ 17.086485] zhost[895]: 2026-10-07T21:48:47.570269Z 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 # [ 17.112249] zhost[895]: 2026-10-07T21:48:47.600357Z 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.136170] zhost[895]: 2026-10-07T21:48:47.623835Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"SHORTKY","itemType":"book"}] machine # [ 17.140121] zhost[895]: 2026-10-07T21:48:47.623861Z 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.166158] zhost[895]: 2026-10-07T21:48:47.654137Z 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.190077] zhost[895]: 2026-10-07T21:48:47.678141Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"TOOLONGKY","itemType":"book"}] machine # [ 17.194633] zhost[895]: 2026-10-07T21:48:47.682228Z 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.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 # [ 17.220654] zhost[895]: 2026-10-07T21:48:47.708761Z 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.245287] zhost[895]: 2026-10-07T21:48:47.732412Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"lowercs2","itemType":"book"}] machine # [ 17.249212] zhost[895]: 2026-10-07T21:48:47.732439Z 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.03 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.271174] zhost[895]: 2026-10-07T21:48:47.759112Z 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.02 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.299852] zhost[895]: 2026-10-07T21:48:47.787792Z 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.325274] zhost[895]: 2026-10-07T21:48:47.813199Z 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.353366] zhost[895]: 2026-10-07T21:48:47.841284Z 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.382274] zhost[895]: 2026-10-07T21:48:47.870231Z 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.408178] zhost[895]: 2026-10-07T21:48:47.896034Z 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.439714] zhost[895]: 2026-10-07T21:48:47.927507Z 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.464580] zhost[895]: 2026-10-07T21:48:47.952550Z 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/aaf51faa5da05ac1729ab4037ff27a16 --data-binary @- machine # [ 17.489034] zhost[895]: 2026-10-07T21:48:47.977048Z INFO zhost: request method=POST uri=/uploads/aaf51faa5da05ac1729ab4037ff27a16 api_version=- if_unmod=- body=hello machine: (finished: must succeed: printf hello | curl -sf -X POST http://localhost:8189/uploads/aaf51faa5da05ac1729ab4037ff27a16 --data-binary @-, in 0.04 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=aaf51faa5da05ac1729ab4037ff27a16' machine # [ 17.528537] zhost[895]: 2026-10-07T21:48:48.016431Z INFO zhost: request method=POST uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body=upload=aaf51faa5da05ac1729ab4037ff27a16 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=aaf51faa5da05ac1729ab4037ff27a16', in 0.03 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.559606] zhost[895]: 2026-10-07T21:48:48.047571Z 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.02 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.584249] zhost[895]: 2026-10-07T21:48:48.071876Z 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%2F20261007%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261007T214848Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=9421ad08e11c64d0caf514d92063d2055f476ce27b8933b3337d588eeb837330' machine: (finished: must succeed: curl -sf 'http://127.0.0.1:9000/zotero/ATTACH22?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=rustfsadmin%2F20261007%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20261007T214848Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=9421ad08e11c64d0caf514d92063d2055f476ce27b8933b3337d588eeb837330', in 0.03 seconds) (finished: subtest: an attachment file uploads to S3 and downloads via a presigned URL, in 0.19 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.660465] zhost[895]: 2026-10-07T21:48:48.148300Z 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.687304] zhost[895]: 2026-10-07T21:48:48.175407Z 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.691891] zhost[895]: 2026-10-07T21:48:48.179675Z 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.03 seconds) (finished: subtest: a file authorization without a precondition header is 428, in 0.03 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.715649] zhost[895]: 2026-10-07T21:48:48.203648Z 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.03 seconds) machine: must succeed: printf hello | curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/uploads/9b7ec0383fbee32b78ee201fe21dc622 --data-binary @- machine # [ 17.745121] zhost[895]: 2026-10-07T21:48:48.233089Z INFO zhost: request method=POST uri=/uploads/9b7ec0383fbee32b78ee201fe21dc622 api_version=- if_unmod=- body=hello machine # [ 17.749893] zhost[895]: 2026-10-07T21:48:48.233115Z WARN zhost: uploaded bytes do not match authorization key="BADHASH2" want_md5="00000000000000000000000000000000" got_md5="5d41402abc4b2a76b9719d911017c592" machine # [ 17.754254] zhost[895]: 2026-10-07T21:48:48.233130Z WARN zhost: response error method=POST uri=/uploads/9b7ec0383fbee32b78ee201fe21dc622 status=400 machine: (finished: must succeed: printf hello | curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/uploads/9b7ec0383fbee32b78ee201fe21dc622 --data-binary @-, in 0.04 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.801260] zhost[895]: 2026-10-07T21:48:48.288934Z 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.05 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=bc4044faaf4029b2040f204eb4674314' machine # [ 17.827637] zhost[895]: 2026-10-07T21:48:48.314548Z INFO zhost: request method=POST uri=/users/1/items/NQUPLQAD/file api_version=3 if_unmod=- body=upload=bc4044faaf4029b2040f204eb4674314 machine # [ 17.831874] zhost[895]: 2026-10-07T21:48:48.314585Z 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=bc4044faaf4029b2040f204eb4674314', in 0.03 seconds) (finished: subtest: registering without a prior upload is rejected, in 0.07 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.853536] zhost[895]: 2026-10-07T21:48:48.341595Z 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.858151] zhost[895]: 2026-10-07T21:48:48.345755Z 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.885952] zhost[895]: 2026-10-07T21:48:48.373849Z 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.911579] zhost[895]: 2026-10-07T21:48:48.399633Z 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.944047] zhost[895]: 2026-10-07T21:48:48.431717Z 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.02 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.968320] zhost[895]: 2026-10-07T21:48:48.456212Z 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.02 seconds) (finished: subtest: annotations round-trip as ordinary items, in 0.11 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.997627] zhost[895]: 2026-10-07T21:48:48.485528Z 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 # [ 18.023558] zhost[895]: 2026-10-07T21:48:48.511469Z 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.052989] zhost[895]: 2026-10-07T21:48:48.541003Z 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.081910] zhost[895]: 2026-10-07T21:48:48.569816Z 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.106920] zhost[895]: 2026-10-07T21:48:48.594884Z 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.02 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.131667] zhost[895]: 2026-10-07T21:48:48.619727Z 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.02 seconds) (finished: subtest: full-text content uploads, lists versions, and downloads, in 0.16 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.155085] zhost[895]: 2026-10-07T21:48:48.642981Z INFO zhost: request method=POST uri=/users/1/fulltext api_version=3 if_unmod=0 body=[{"key":"ATTACH22","content":"x"}] machine # [ 18.159447] zhost[895]: 2026-10-07T21:48:48.647548Z 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.185851] zhost[895]: 2026-10-07T21:48:48.673869Z 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.211467] zhost[895]: 2026-10-07T21:48:48.699341Z 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.243925] zhost[895]: 2026-10-07T21:48:48.731923Z 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.273577] zhost[895]: 2026-10-07T21:48:48.761632Z 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.302663] zhost[895]: 2026-10-07T21:48:48.790574Z 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.327823] zhost[895]: 2026-10-07T21:48:48.815837Z 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.354192] zhost[895]: 2026-10-07T21:48:48.842065Z 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.379379] zhost[895]: 2026-10-07T21:48:48.867338Z 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.405102] zhost[895]: 2026-10-07T21:48:48.893077Z 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.430624] zhost[895]: 2026-10-07T21:48:48.918529Z 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.455808] zhost[895]: 2026-10-07T21:48:48.943798Z 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.30 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.482705] zhost[895]: 2026-10-07T21:48:48.970720Z 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.505792] zhost[895]: 2026-10-07T21:48:48.993695Z 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.534959] zhost[895]: 2026-10-07T21:48:49.022889Z 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.560367] zhost[895]: 2026-10-07T21:48:49.048312Z 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.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]|sort|join(",")' machine # [ 18.594110] zhost[895]: 2026-10-07T21:48:49.081946Z 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.619343] zhost[895]: 2026-10-07T21:48:49.107449Z 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.645180] zhost[895]: 2026-10-07T21:48:49.133260Z 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.671127] zhost[895]: 2026-10-07T21:48:49.159094Z 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.02 seconds) (finished: subtest: convenience listings: top, trash, collection items and tags, in 0.17 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.700078] zhost[895]: 2026-10-07T21:48:49.188030Z 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.725114] zhost[895]: 2026-10-07T21:48:49.213043Z 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.757447] zhost[895]: 2026-10-07T21:48:49.245129Z 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.02 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.782381] zhost[895]: 2026-10-07T21:48:49.270315Z 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.02 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.808139] zhost[895]: 2026-10-07T21:48:49.295966Z 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.839531] zhost[895]: 2026-10-07T21:48:49.326812Z 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: 8' -d '[{"key":"MALFQRM3","itemType":"book","title":"weird","creators":"notarray","tags":"x","collections":"y"}]' | jq -e .successful machine # [ 18.864779] zhost[895]: 2026-10-07T21:48:49.352753Z 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.893646] zhost[895]: 2026-10-07T21:48:49.381554Z 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.02 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.916281] zhost[895]: 2026-10-07T21:48:49.404197Z 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.939397] zhost[895]: 2026-10-07T21:48:49.427046Z 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.961964] zhost[895]: 2026-10-07T21:48:49.449956Z 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.984947] zhost[895]: 2026-10-07T21:48:49.472887Z 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.012625] zhost[895]: 2026-10-07T21:48:49.500640Z 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.037935] zhost[895]: 2026-10-07T21:48:49.525986Z 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.068553] zhost[895]: 2026-10-07T21:48:49.556393Z 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.03 seconds) (finished: subtest: malformed (non-array) item data does not 500 the query API, in 0.26 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.097592] zhost[895]: 2026-10-07T21:48:49.585604Z 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.127162] zhost[895]: 2026-10-07T21:48:49.615102Z 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.156258] zhost[895]: 2026-10-07T21:48:49.644085Z 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.181235] zhost[895]: 2026-10-07T21:48:49.669289Z 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.214528] zhost[895]: 2026-10-07T21:48:49.702429Z 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.240634] zhost[895]: 2026-10-07T21:48:49.728259Z 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.265434] zhost[895]: 2026-10-07T21:48:49.753365Z 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.290968] zhost[895]: 2026-10-07T21:48:49.778958Z 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.16 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.319468] zhost[895]: 2026-10-07T21:48:49.807518Z 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.345136] zhost[895]: 2026-10-07T21:48:49.833142Z 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.380879] zhost[895]: 2026-10-07T21:48:49.868657Z 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.404513] zhost[895]: 2026-10-07T21:48:49.892518Z 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.427370] zhost[895]: 2026-10-07T21:48:49.915237Z 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.03 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.462588] zhost[895]: 2026-10-07T21:48:49.950497Z 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.492219] zhost[895]: 2026-10-07T21:48:49.980042Z 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.03 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.523224] zhost[895]: 2026-10-07T21:48:50.011035Z 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.03 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.548632] zhost[895]: 2026-10-07T21:48:50.036291Z 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.578738] zhost[895]: 2026-10-07T21:48:50.066794Z 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.03 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.606415] zhost[895]: 2026-10-07T21:48:50.094374Z 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.631168] zhost[895]: 2026-10-07T21:48:50.119061Z 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.03 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.654470] zhost[895]: 2026-10-07T21:48:50.142523Z 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.678862] zhost[895]: 2026-10-07T21:48:50.166854Z 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.02 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.702083] zhost[895]: 2026-10-07T21:48:50.189982Z 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.726264] zhost[895]: 2026-10-07T21:48:50.214022Z 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.03 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.751171] zhost[895]: 2026-10-07T21:48:50.239068Z 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.774060] zhost[895]: 2026-10-07T21:48:50.261956Z 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.34 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.801175] zhost[895]: 2026-10-07T21:48:50.289046Z 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.826421] zhost[895]: 2026-10-07T21:48:50.314289Z 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.856448] zhost[895]: 2026-10-07T21:48:50.344239Z 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.03 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.881198] zhost[895]: 2026-10-07T21:48:50.369304Z 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.909962] zhost[895]: 2026-10-07T21:48:50.397727Z 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.933214] zhost[895]: 2026-10-07T21:48:50.421103Z 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.961582] zhost[895]: 2026-10-07T21:48:50.449446Z 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.989965] zhost[895]: 2026-10-07T21:48:50.477853Z 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 # [ 20.015253] zhost[895]: 2026-10-07T21:48:50.503228Z 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.042533] zhost[895]: 2026-10-07T21:48:50.530499Z 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.071165] zhost[895]: 2026-10-07T21:48:50.559139Z 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.095218] zhost[895]: 2026-10-07T21:48:50.582926Z 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.122229] zhost[895]: 2026-10-07T21:48:50.610221Z 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.151083] zhost[895]: 2026-10-07T21:48:50.639007Z 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.174742] zhost[895]: 2026-10-07T21:48:50.662724Z 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.201310] zhost[895]: 2026-10-07T21:48:50.689302Z 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.224757] zhost[895]: 2026-10-07T21:48:50.712816Z INFO zhost: request method=POST uri=/users/1/settings api_version=3 if_unmod=0 body={"k":{"value":1}} machine # [ 20.228906] zhost[895]: 2026-10-07T21:48:50.717016Z 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.255525] zhost[895]: 2026-10-07T21:48:50.743375Z 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.279495] zhost[895]: 2026-10-07T21:48:50.767576Z 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.308134] zhost[895]: 2026-10-07T21:48:50.796107Z 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.332728] zhost[895]: 2026-10-07T21:48:50.820829Z 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.360940] zhost[895]: 2026-10-07T21:48:50.848813Z 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.387821] zhost[895]: 2026-10-07T21:48:50.875716Z 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.417281] zhost[895]: 2026-10-07T21:48:50.905386Z 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.445779] zhost[895]: 2026-10-07T21:48:50.933737Z 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.471389] zhost[895]: 2026-10-07T21:48:50.959313Z 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.497627] zhost[895]: 2026-10-07T21:48:50.985647Z 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.08 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.524876] zhost[895]: 2026-10-07T21:48:51.012785Z 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.550342] zhost[895]: 2026-10-07T21:48:51.038007Z 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.581545] zhost[895]: 2026-10-07T21:48:51.069501Z 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.605080] zhost[895]: 2026-10-07T21:48:51.093022Z 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.632855] zhost[895]: 2026-10-07T21:48:51.120791Z 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.02 seconds) (finished: subtest: PATCH merges: a partial update keeps unspecified fields, in 0.14 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.661515] zhost[895]: 2026-10-07T21:48:51.149525Z 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.686494] zhost[895]: 2026-10-07T21:48:51.174541Z 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.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.720344] zhost[895]: 2026-10-07T21:48:51.208258Z 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.743973] zhost[895]: 2026-10-07T21:48:51.231979Z 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.03 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.771235] zhost[895]: 2026-10-07T21:48:51.259290Z 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.02 seconds) (finished: subtest: POST also merges: a partial upload keeps unspecified fields, in 0.14 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.800366] zhost[895]: 2026-10-07T21:48:51.288278Z 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/items?itemKey=ITEM2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 24' machine # [ 20.825920] zhost[895]: 2026-10-07T21:48:51.313878Z 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.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 '.items | index("ITEM2223")' machine # [ 20.852760] zhost[895]: 2026-10-07T21:48:51.340744Z 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.08 seconds) (finished: run the VM test script, in 21.76 seconds) test script finished in 21.80s 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-07T21:48:52Z INFO virtiofsd] Client disconnected, shutting down machine # [2026-10-07T21:48:52Z INFO virtiofsd] Client disconnected, shutting down machine # [2026-10-07T21:48:52Z INFO virtiofsd] Client disconnected, shutting down (finished: cleanup, in 0.19 seconds)