Machine state will be reset. To keep it, pass --keep-machine-state start all VLans (finished: start all VLans, in 0.00 seconds) Test will time out and terminate in 3600.0 seconds run the VM test script additionally exposed symbols: machine, vlan1, start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh machine: waiting for unit postgresql.service machine: waiting for the VM to finish booting machine: starting vm machine # Disk image does not exist, creating the virtualisation disk image... machine: QEMU running (pid 45) machine # Formatting '/build/vm-state-machine/tmp.rDMu2uLRrj', 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: 2475113d-37e2-42e5-8eda-c9440ba1f07a 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 # 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:08.0 CB00 PCI2.10 PnP PMM 3EFCC730 3EF2C730 CB00 machine # Press Ctrl-B to configure iPXE (PCI 00:08.0)... machine # machine # machine # Booting from ROM... machine # Probing EDD (edd=off to disable)... ok[ 0.000000] Linux version 6.18.48 (nixbld@localhost) (gcc (GCC) 15.3.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Fri Aug 28 06:22:54 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/daijd1rzziiha5762mxn2201q555ryw0-nixos-system-machine-test/init regInfo=/nix/store/dz6k66y78xrh46cfpc3y2gxv9v72adi2-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 437609697 cycles machine # [ 0.000001] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns machine # [ 0.000004] tsc: Detected 3792.874 MHz processor machine # [ 0.000663] last_pfn = 0x3ffd8 max_arch_pfn = 0x400000000 machine # [ 0.000687] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs machine # [ 0.000689] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT machine # [ 0.002222] found SMP MP-table at [mem 0x000f5450-0x000f545f] machine # [ 0.002231] Using GB pages for direct mapping machine # [ 0.002301] RAMDISK: [mem 0x3e36a000-0x3ffcffff] machine # [ 0.002306] ACPI: Early table checksum verification disabled machine # [ 0.002308] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS ) machine # [ 0.002311] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002314] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002319] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002321] ACPI: FACS 0x000000003FFE0000 000040 machine # [ 0.002322] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002323] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002325] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002326] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002327] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d] machine # [ 0.002328] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219] machine # [ 0.002329] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f] machine # [ 0.002329] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385] machine # [ 0.002330] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd] machine # [ 0.002330] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9] machine # [ 0.002330] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421] machine # [ 0.002710] No NUMA configuration found machine # [ 0.002711] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff] machine # [ 0.002713] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff] machine # [ 0.002789] Zone ranges: machine # [ 0.002789] DMA [mem 0x0000000000001000-0x0000000000ffffff] machine # [ 0.002791] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff] machine # [ 0.002792] Normal empty machine # [ 0.002792] Device empty machine # [ 0.002793] Movable zone start for each node machine # [ 0.002793] Early memory node ranges machine # [ 0.002793] node 0: [mem 0x0000000000001000-0x000000000009efff] machine # [ 0.002794] node 0: [mem 0x0000000000100000-0x000000003ffd7fff] machine # [ 0.002795] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff] machine # [ 0.002813] On node 0, zone DMA: 1 pages in unavailable ranges machine # [ 0.003029] On node 0, zone DMA: 97 pages in unavailable ranges machine # [ 0.017509] On node 0, zone DMA32: 40 pages in unavailable ranges machine # [ 0.018374] ACPI: PM-Timer IO Port: 0x608 machine # [ 0.018382] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) machine # [ 0.018401] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 machine # [ 0.018403] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) machine # [ 0.018404] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) machine # [ 0.018404] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) machine # [ 0.018405] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) machine # [ 0.018406] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) machine # [ 0.018408] ACPI: Using ACPI (MADT) for SMP configuration information machine # [ 0.018408] ACPI: HPET id: 0x8086a201 base: 0xfed00000 machine # [ 0.018410] TSC deadline timer available machine # [ 0.018414] CPU topo: Max. logical packages: 1 machine # [ 0.018414] CPU topo: Max. logical dies: 1 machine # [ 0.018415] CPU topo: Max. dies per package: 1 machine # [ 0.018418] CPU topo: Max. threads per core: 1 machine # [ 0.018418] CPU topo: Num. cores per package: 1 machine # [ 0.018419] CPU topo: Num. threads per package: 1 machine # [ 0.018419] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs machine # [ 0.018430] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write() machine # [ 0.018454] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] machine # [ 0.018455] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff] machine # [ 0.018456] [mem 0x40000000-0xafffffff] available for PCI devices machine # [ 0.018457] Booting paravirtualized kernel on KVM machine # [ 0.018459] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns machine # [ 0.022143] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 machine # [ 0.024111] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152 machine # [ 0.024144] kvm-guest: PV spinlocks disabled, single CPU machine # [ 0.024145] 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/daijd1rzziiha5762mxn2201q555ryw0-nixos-system-machine-test/init regInfo=/nix/store/dz6k66y78xrh46cfpc3y2gxv9v72adi2-closure-info/registration console=ttyS0,115200n8 console=tty0 machine # [ 0.024216] Unknown kernel command line parameters "regInfo=/nix/store/dz6k66y78xrh46cfpc3y2gxv9v72adi2-closure-info/registration", will be passed to user space. machine # [ 0.024233] random: crng init done machine # [ 0.024233] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes machine # [ 0.025102] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) machine # [ 0.025128] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) machine # [ 0.025151] Fallback order for Node 0: 0 machine # [ 0.025153] Built 1 zonelists, mobility grouping on. Total pages: 262006 machine # [ 0.025154] Policy zone: DMA32 machine # [ 0.027133] mem auto-init: stack:all(zero), heap alloc:on, heap free:off machine # [ 0.029696] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 machine # [ 0.031502] allocated 2097152 bytes of page_ext machine # [ 0.039457] ftrace: allocating 48733 entries in 192 pages machine # [ 0.039458] ftrace: allocated 192 pages with 2 groups machine # [ 0.040082] Dynamic Preempt: lazy machine # [ 0.040207] rcu: Preemptible hierarchical RCU implementation. machine # [ 0.040207] rcu: RCU event tracing is enabled. machine # [ 0.040208] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1. machine # [ 0.040209] Trampoline variant of Tasks RCU enabled. machine # [ 0.040209] Rude variant of Tasks RCU enabled. machine # [ 0.040209] Tracing variant of Tasks RCU enabled. machine # [ 0.040210] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. machine # [ 0.040211] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 machine # [ 0.040232] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.040233] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.040234] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.043967] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16 machine # [ 0.044186] rcu: srcu_init: Setting srcu_struct sizes based on contention. machine # [ 0.044190] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns machine # [ 0.044271] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____) machine # [ 0.049882] Console: colour VGA+ 80x25 machine # [ 0.049885] printk: legacy console [tty0] enabled machine # [ 0.082724] printk: legacy console [ttyS0] enabled machine # [ 0.231572] ACPI: Core revision 20250807 machine # [ 0.232706] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns machine # [ 0.234817] APIC: Switch to symmetric I/O mode setup machine # [ 0.236151] x2apic enabled machine # [ 0.237076] APIC: Switched APIC routing to: physical x2apic machine # [ 0.239158] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 machine # [ 0.240541] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns machine # [ 0.242803] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874) machine # [ 0.244877] x86/cpu: User Mode Instruction Prevention (UMIP) activated machine # [ 0.246912] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127 machine # [ 0.247803] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0 machine # [ 0.249806] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto machine # [ 0.250804] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl machine # [ 0.251804] Spectre V2 : Mitigation: Retpolines machine # [ 0.252803] Speculative Return Stack Overflow: Mitigation: Safe RET machine # [ 0.253803] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization machine # [ 0.255803] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT machine # [ 0.257803] Spectre V2 : Enabling Restricted Speculation for firmware calls machine # [ 0.258805] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier machine # [ 0.259804] active return thunk: srso_alias_return_thunk machine # [ 0.261821] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' machine # [ 0.262803] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' machine # [ 0.264803] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' machine # [ 0.265803] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers' machine # [ 0.267803] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers' machine # [ 0.268803] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)' machine # [ 0.269803] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 machine # [ 0.270804] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8 machine # [ 0.271803] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16 machine # [ 0.272803] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24 machine # [ 0.273803] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format. machine # [ 0.301004] Freeing SMP alternatives memory: 44K machine # [ 0.301804] pid_max: default: 32768 minimum: 301 machine # [ 0.302857] LSM: initializing lsm=capability,landlock,yama,bpf,ima machine # [ 0.303893] landlock: Up and running. machine # [ 0.305460] Yama: becoming mindful. machine # [ 0.306015] LSM support for eBPF active machine # [ 0.307598] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) machine # [ 0.308829] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) machine # [ 0.310949] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2) machine # [ 0.312270] Performance Events: Fam17h+ core perfctr, AMD PMU driver. machine # [ 0.312810] ... version: 0 machine # [ 0.313804] ... bit width: 48 machine # [ 0.314804] ... generic counters: 6 machine # [ 0.315804] ... generic bitmap: 000000000000003f machine # [ 0.316804] ... fixed-purpose counters: 0 machine # [ 0.317798] ... fixed-purpose bitmap: 0000000000000000 machine # [ 0.318804] ... value mask: 0000ffffffffffff machine # [ 0.319804] ... max period: 00007fffffffffff machine # [ 0.320805] ... global_ctrl mask: 000000000000003f machine # [ 0.321885] signal: max sigframe size: 3376 machine # [ 0.322874] rcu: Hierarchical SRCU implementation. machine # [ 0.323809] rcu: Max phase no-delay instances is 400. machine # [ 0.328422] smp: Bringing up secondary CPUs ... machine # [ 0.328819] smp: Brought up 1 node, 1 CPU machine # [ 0.329766] smpboot: Total of 1 processors activated (7585.74 BogoMIPS) machine # [ 0.330934] Memory: 943024K/1048024K available (17215K kernel code, 2726K rwdata, 13580K rodata, 3644K init, 2988K bss, 97584K reserved, 0K cma-reserved) machine # [ 0.331975] devtmpfs: initialized machine # [ 0.333007] x86/mm: Memory block size: 128MB machine # [ 0.334623] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear) machine # [ 0.335837] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear). machine # [ 0.336872] pinctrl core: initialized pinctrl subsystem machine # [ 0.338069] PM: RTC time: 21:46:08, date: 2026-09-02 machine # [ 0.341073] NET: Registered PF_NETLINK/PF_ROUTE protocol family machine # [ 0.342109] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations machine # [ 0.342826] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations machine # [ 0.343930] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations machine # [ 0.344815] audit: initializing netlink subsys (disabled) machine # [ 0.346095] thermal_sys: Registered thermal governor 'fair_share' machine # [ 0.346097] thermal_sys: Registered thermal governor 'bang_bang' machine # [ 0.346805] thermal_sys: Registered thermal governor 'step_wise' machine # [ 0.347809] audit: type=2000 audit(1788385568.835:1): state=initialized audit_enabled=0 res=1 machine # [ 0.349807] thermal_sys: Registered thermal governor 'user_space' machine # [ 0.349809] thermal_sys: Registered thermal governor 'power_allocator' machine # [ 0.350832] cpuidle: using governor menu machine # [ 0.353649] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 machine # [ 0.355032] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff] machine # [ 0.355806] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry machine # [ 0.356839] PCI: Using configuration type 1 for base access machine # [ 0.358070] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. machine # [ 0.363103] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages machine # [ 0.363806] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page machine # [ 0.368806] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages machine # [ 0.369807] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page machine # [ 0.380161] ACPI: Added _OSI(Module Device) machine # [ 0.380806] ACPI: Added _OSI(Processor Device) machine # [ 0.385804] ACPI: Added _OSI(Processor Aggregator Device) machine # [ 0.391158] ACPI: 1 ACPI AML tables successfully acquired and loaded machine # [ 0.394746] ACPI: Interpreter enabled machine # [ 0.395506] ACPI: PM: (supports S0 S3 S4 S5) machine # [ 0.395817] ACPI: Using IOAPIC for interrupt routing machine # [ 0.400841] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug machine # [ 0.401805] PCI: Using E820 reservations for host bridge windows machine # [ 0.403951] ACPI: Enabled 2 GPEs in block 00 to 3F machine # [ 0.408721] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) machine # [ 0.409809] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] machine # [ 0.410885] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR] machine # [ 0.411931] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability] machine # [ 0.413236] PCI host bridge to bus 0000:00 machine # [ 0.413811] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] machine # [ 0.414823] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] machine # [ 0.415806] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] machine # [ 0.416806] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window] machine # [ 0.417806] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] machine # [ 0.418806] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window] machine # [ 0.419806] pci_bus 0000:00: root bus resource [bus 00-ff] machine # [ 0.420904] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint machine # [ 0.422513] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint machine # [ 0.425862] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref] machine # [ 0.426831] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff] machine # [ 0.427852] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref] machine # [ 0.428979] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] machine # [ 0.430709] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint machine # [ 0.432816] pci 0000:00:02.0: BAR 0 [io 0xc140-0xc15f] machine # [ 0.433819] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff] machine # [ 0.434852] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref] machine # [ 0.435820] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref] machine # [ 0.438047] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint machine # [ 0.440788] pci 0000:00:03.0: BAR 0 [io 0xc160-0xc17f] machine # [ 0.441790] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff] machine # [ 0.442858] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref] machine # [ 0.444774] pci 0000:00:04.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint machine # [ 0.446816] pci 0000:00:04.0: BAR 0 [io 0xc080-0xc0bf] machine # [ 0.447816] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff] machine # [ 0.448847] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref] machine # [ 0.450785] pci 0000:00:05.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint machine # [ 0.453774] pci 0000:00:05.0: BAR 0 [io 0xc180-0xc19f] machine # [ 0.454766] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff] machine # [ 0.455848] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref] machine # [ 0.457778] pci 0000:00:06.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint machine # [ 0.459816] pci 0000:00:06.0: BAR 0 [io 0xc1a0-0xc1bf] machine # [ 0.460817] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff] machine # [ 0.461847] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref] machine # [ 0.463793] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint machine # [ 0.465816] pci 0000:00:07.0: BAR 0 [io 0xc000-0xc07f] machine # [ 0.466817] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff] machine # [ 0.467847] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref] machine # [ 0.469792] pci 0000:00:08.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint machine # [ 0.471816] pci 0000:00:08.0: BAR 0 [io 0xc1c0-0xc1df] machine # [ 0.472817] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff] machine # [ 0.473847] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref] machine # [ 0.474817] pci 0000:00:08.0: ROM [mem 0xfeb80000-0xfebbffff pref] machine # [ 0.476759] pci 0000:00:09.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint machine # [ 0.478692] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff] machine # [ 0.479847] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref] machine # [ 0.481773] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint machine # [ 0.484249] pci 0000:00:0a.0: BAR 0 [io 0xc0c0-0xc0ff] machine # [ 0.484817] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff] machine # [ 0.485847] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref] machine # [ 0.487768] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint machine # [ 0.489816] pci 0000:00:0b.0: BAR 0 [io 0xc1e0-0xc1ff] machine # [ 0.490817] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff] machine # [ 0.491847] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref] machine # [ 0.493797] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.495510] pci 0000:00:1d.0: BAR 4 [io 0xc200-0xc21f] machine # [ 0.496110] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.498504] pci 0000:00:1d.1: BAR 4 [io 0xc220-0xc23f] machine # [ 0.499099] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.500509] pci 0000:00:1d.2: BAR 4 [io 0xc240-0xc25f] machine # [ 0.501170] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint machine # [ 0.502489] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff] machine # [ 0.503130] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint machine # [ 0.504328] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO machine # [ 0.505188] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint machine # [ 0.506722] pci 0000:00:1f.2: BAR 4 [io 0xc260-0xc27f] machine # [ 0.507763] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff] machine # [ 0.509324] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint machine # [ 0.510517] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f] machine # [ 0.515779] ACPI: PCI: Interrupt link LNKA configured for IRQ 10 machine # [ 0.516989] ACPI: PCI: Interrupt link LNKB configured for IRQ 10 machine # [ 0.518072] ACPI: PCI: Interrupt link LNKC configured for IRQ 11 machine # [ 0.518937] ACPI: PCI: Interrupt link LNKD configured for IRQ 11 machine # [ 0.519937] ACPI: PCI: Interrupt link LNKE configured for IRQ 10 machine # [ 0.520936] ACPI: PCI: Interrupt link LNKF configured for IRQ 10 machine # [ 0.521940] ACPI: PCI: Interrupt link LNKG configured for IRQ 11 machine # [ 0.522942] ACPI: PCI: Interrupt link LNKH configured for IRQ 11 machine # [ 0.523857] ACPI: PCI: Interrupt link GSIA configured for IRQ 16 machine # [ 0.524822] ACPI: PCI: Interrupt link GSIB configured for IRQ 17 machine # [ 0.525819] ACPI: PCI: Interrupt link GSIC configured for IRQ 18 machine # [ 0.526819] ACPI: PCI: Interrupt link GSID configured for IRQ 19 machine # [ 0.527819] ACPI: PCI: Interrupt link GSIE configured for IRQ 20 machine # [ 0.528819] ACPI: PCI: Interrupt link GSIF configured for IRQ 21 machine # [ 0.529822] ACPI: PCI: Interrupt link GSIG configured for IRQ 22 machine # [ 0.530822] ACPI: PCI: Interrupt link GSIH configured for IRQ 23 machine # [ 0.532570] iommu: Default domain type: Translated machine # [ 0.533674] iommu: DMA domain TLB invalidation policy: lazy mode machine # [ 0.535003] ACPI: bus type USB registered machine # [ 0.535859] usbcore: registered new interface driver usbfs machine # [ 0.536821] usbcore: registered new interface driver hub machine # [ 0.537825] usbcore: registered new device driver usb machine # [ 0.539472] NetLabel: Initializing machine # [ 0.539809] NetLabel: domain hash size = 128 machine # [ 0.540804] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO machine # [ 0.541858] NetLabel: unlabeled traffic allowed by default machine # [ 0.542814] PCI: Using ACPI for IRQ routing machine # [ 0.627717] pci 0000:00:01.0: vgaarb: setting as boot VGA device machine # [ 0.627800] pci 0000:00:01.0: vgaarb: bridge control possible machine # [ 0.627800] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none machine # [ 0.627806] vgaarb: loaded machine # [ 0.628676] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 machine # [ 0.629674] hpet0: 3 comparators, 64-bit 100.000000 MHz counter machine # [ 0.633886] clocksource: Switched to clocksource kvm-clock machine # [ 0.637157] VFS: Disk quotas dquot_6.6.0 machine # [ 0.638125] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) machine # [ 0.639802] pnp: PnP ACPI init machine # [ 0.640785] ACPI: IRQ 4 override to edge(!), high(!) machine # [ 0.642070] system 00:05: [mem 0xb0000000-0xbfffffff window] has been reserved machine # [ 0.644078] pnp: PnP ACPI: found 6 devices machine # [ 0.651673] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns machine # [ 0.653633] clocksource: Switched to clocksource acpi_pm machine # [ 0.654924] NET: Registered PF_INET protocol family machine # [ 0.656242] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) machine # [ 0.671139] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) machine # [ 0.673118] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) machine # [ 0.674871] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) machine # [ 0.676662] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) machine # [ 0.678322] TCP: Hash tables configured (established 8192 bind 8192) machine # [ 0.679821] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear) machine # [ 0.681567] UDP hash table entries: 512 (order: 3, 32768 bytes, linear) machine # [ 0.683096] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear) machine # [ 0.684712] NET: Registered PF_UNIX/PF_LOCAL protocol family machine # [ 0.686033] NET: Registered PF_XDP protocol family machine # [ 0.687177] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] machine # [ 0.688584] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] machine # [ 0.690011] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] machine # [ 0.691545] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window] machine # [ 0.693105] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window] machine # [ 0.694657] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window] machine # [ 0.696805] ACPI: \_SB_.GSIA: Enabled at IRQ 16 machine # [ 0.699013] ACPI: \_SB_.GSIB: Enabled at IRQ 17 machine # [ 0.701203] ACPI: \_SB_.GSIC: Enabled at IRQ 18 machine # [ 0.703390] ACPI: \_SB_.GSID: Enabled at IRQ 19 machine # [ 0.705320] PCI: CLS 0 bytes, default 64 machine # [ 0.706481] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns machine # [ 0.708777] Trying to unpack rootfs image as initramfs... machine # [ 0.749975] Initialise system trusted keyrings machine # [ 0.751197] workingset: timestamp_bits=40 max_order=18 bucket_order=0 machine # [ 0.772576] Key type asymmetric registered machine # [ 0.773576] Asymmetric key parser 'x509' registered machine # [ 0.778680] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) machine # [ 0.780473] io scheduler mq-deadline registered machine # [ 0.781570] io scheduler kyber registered machine # [ 0.785071] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled machine # [ 0.788850] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A machine # [ 0.795767] Linux agpgart interface v0.103 machine # [ 0.796813] ACPI: bus type drm_connector registered machine # [ 0.800015] usbcore: registered new interface driver usbserial_generic machine # [ 0.801492] usbserial: USB Serial support registered for generic machine # [ 0.805658] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled machine # [ 0.807432] drop_monitor: Initializing network drop monitor service machine # [ 0.812765] NET: Registered PF_INET6 protocol family machine # [ 0.814332] Segment Routing with IPv6 machine # [ 0.817667] In-situ OAM (IOAM) with IPv6 machine # [ 0.818942] IPI shorthand broadcast: enabled machine # [ 0.826968] sched_clock: Marking stable (634024164, 192610575)->(941066399, -114431660) machine # [ 0.832873] registered taskstats version 1 machine # [ 0.834056] Loading compiled-in X.509 certificates machine # [ 0.850538] Demotion targets for Node 0: null machine # [ 0.853687] Key type .fscrypt registered machine # [ 0.854649] Key type fscrypt-provisioning registered machine # [ 0.857735] ima: No TPM chip found, activating TPM-bypass! machine # [ 0.859004] ima: Allocated hash algorithm: sha1 machine # [ 0.861666] ima: No architecture policies found machine # [ 0.864649] PM: Magic number: 10:632:802 machine # [ 0.866388] RAS: Correctable Errors collector initialized. machine # [ 0.877008] clk: Disabling unused clocks machine # [ 0.879650] PM: genpd: Disabling unused power domains machine # [ 1.000852] Freeing initrd memory: 29080K machine # [ 1.003973] Freeing unused decrypted memory: 2028K machine # [ 1.006596] Freeing unused kernel image (initmem) memory: 3644K machine # [ 1.008052] Write protecting the kernel read-only data: 32768k machine # [ 1.010160] Freeing unused kernel image (text/rodata gap) memory: 1216K machine # [ 1.012024] Freeing unused kernel image (rodata/data gap) memory: 756K machine # [ 1.053304] x86/mm: Checked W+X mappings: passed, no W+X pages found. machine # [ 1.054781] Run /init as init process machine # [ 1.063515] systemd[1]: Inserted module 'autofs4' machine # [ 1.077847] fuse: init (API version 7.45) machine # [ 1.083123] ACPI: \_SB_.GSIG: Enabled at IRQ 22 machine # [ 1.086043] ACPI: \_SB_.GSIH: Enabled at IRQ 23 machine # [ 1.089693] ACPI: \_SB_.GSIE: Enabled at IRQ 20 machine # [ 1.092434] ACPI: \_SB_.GSIF: Enabled at IRQ 21 machine # [ 1.120410] systemd[1]: Successfully made /usr/ read-only. machine # [ 1.457049] systemd[1]: systemd 261.2 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.466228] systemd[1]: Detected virtualization kvm. machine # [ 1.467580] systemd[1]: Detected architecture x86-64. machine # [ 1.468902] systemd[1]: Running in initrd. machine # [ 1.470135] systemd[1]: Initializing machine ID from random generator. machine # [ 1.471710] systemd[1]: Hostname set to . machine # [ 1.657236] systemd[1]: bpf-restrict-fs: LSM BPF program attached machine # [ 1.691581] systemd[1]: Queued start job for default target Initrd Default Target. machine # [ 1.695913] systemd[1]: Created slice Slice /system/modprobe. machine # [ 1.697495] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. machine # [ 1.699387] systemd[1]: Expecting device /dev/disk/by-label/nixos... machine # [ 1.700974] systemd[1]: Reached target Path Units. machine # [ 1.702180] systemd[1]: Reached target Slice Units. machine # [ 1.703394] systemd[1]: Reached target Swaps. machine # [ 1.704508] systemd[1]: Reached target Timer Units. machine # [ 1.705862] systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [ 1.707479] systemd[1]: Listening on Journal Socket (/dev/log). machine # [ 1.709069] systemd[1]: Listening on Journal Sockets. machine # [ 1.710427] systemd[1]: Listening on udev Control Socket. machine # [ 1.711876] systemd[1]: Listening on udev Kernel Socket. machine # [ 1.713181] systemd[1]: Reached target Socket Units. machine # [ 1.715142] systemd[1]: Starting Create List of Static Device Nodes... machine # [ 1.722273] systemd[1]: Starting Load Kernel Module 9pnet_virtio... machine # [ 1.729354] systemd[1]: Starting Load Kernel Module configfs... machine # [ 1.741072] systemd[1]: Starting Journal Service... machine # [ 1.750448] systemd[1]: Starting Load Kernel Modules... machine # [ 1.757699] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 1.771466] netfs: FS-Cache loaded machine # [ 1.776179] 9pnet: Installing 9P2000 support machine # [ 1.789808] systemd[1]: Starting Coldplug All udev Devices... machine # [ 1.797977] systemd-journald[67]: Collecting audit messages is disabled. machine # [ 1.807084] systemd[1]: Finished Create List of Static Device Nodes. machine # [ 1.816283] systemd[1]: modprobe@9pnet_virtio.service: Deactivated successfully. machine # [ 1.822399] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. machine # [ 1.828096] systemd[1]: Finished Load Kernel Module 9pnet_virtio. machine # [ 1.832995] systemd[1]: modprobe@configfs.service: Deactivated successfully. machine # [ 1.838723] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev machine # [ 1.841249] systemd[1]: Finished Load Kernel Module configfs. machine # [ 1.847191] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config machine # [ 1.861438] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... machine # [ 1.876768] systemd[1]: Finished Load Kernel Modules. machine # [ 1.886847] systemd[1]: Starting Apply Kernel Variables... machine # [ 1.903969] systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [ 1.913824] systemd[1]: Starting Create Static Device Nodes in /dev... machine # [ 1.929756] systemd[1]: Finished Apply Kernel Variables. machine # [ 1.944327] systemd[1]: Finished Create Static Device Nodes in /dev. machine # [ 1.951002] systemd[1]: Reached target Preparation for Local File Systems. machine # [ 1.956721] systemd[1]: Reached target Local File Systems. machine # [ 1.766059] systemd-modules-load[68]: Inserted module 'dm_mod' machine # [ 1.769329] systemd-modules-load[68]: Inserted module 'virtio_balloon' machine # [ 1.771268] systemd-modules-load[68]: Inserted module 'virtio_gpu' machine # [ 1.965791] systemd[1]: Starting Rule-based Manager for Device Events and Files... machine # [ 1.973907] systemd[1]: Started Journal Service. machine # [ 1.802096] systemd[1]: Starting Create System Files and Directories... machine # [ 1.828609] systemd[1]: Finished Create System Files and Directories. machine # [ 1.832235] systemd-udevd[75]: Using default interface naming scheme 'v261'. machine # [ 1.860080] systemd[1]: Started Rule-based Manager for Device Events and Files. machine # [ 1.874996] systemd[1]: Finished Coldplug All udev Devices. machine # [ 1.876299] systemd[1]: Reached target System Initialization. machine # [ 1.877463] systemd[1]: Reached target Basic System. machine # [ 2.300290] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 machine # [ 2.309042] virtio_blk virtio5: 1/0/0 default/read/poll queues machine # [ 2.323563] virtio_blk virtio5: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB) machine # [ 2.333410] serio: i8042 KBD port at 0x60,0x64 irq 1 machine # [ 2.334311] serio: i8042 AUX port at 0x60,0x64 irq 12 machine # [ 2.336845] uhci_hcd 0000:00:1d.0: UHCI Host Controller machine # [ 2.345232] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1 machine # [ 2.351014] uhci_hcd 0000:00:1d.0: detected 2 ports machine # [ 2.353730] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c200 machine # [ 2.356787] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.360615] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.362093] usb usb1: Product: UHCI Host Controller machine # [ 2.365614] usb usb1: Manufacturer: Linux 6.18.48 uhci_hcd machine # [ 2.366731] usb usb1: SerialNumber: 0000:00:1d.0 machine # [ 2.367940] SCSI subsystem initialized machine # [ 2.369261] hub 1-0:1.0: USB hub found machine # [ 2.370288] hub 1-0:1.0: 2 ports detected machine # [ 2.372932] ehci-pci 0000:00:1d.7: EHCI Host Controller machine # [ 2.373921] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 2 machine # [ 2.375969] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000 machine # [ 2.383723] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00 machine # [ 2.385460] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18 machine # [ 2.387086] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.388937] usb usb2: Product: EHCI Host Controller machine # [ 2.389941] usb usb2: Manufacturer: Linux 6.18.48 ehci_hcd machine # [ 2.391032] usb usb2: SerialNumber: 0000:00:1d.7 machine # [ 2.392267] hub 2-0:1.0: USB hub found machine # [ 2.393421] hub 2-0:1.0: 6 ports detected machine # [ 2.416268] hub 1-0:1.0: USB hub found machine # [ 2.417866] hub 1-0:1.0: 2 ports detected machine # [ 2.421706] uhci_hcd 0000:00:1d.1: UHCI Host Controller machine # [ 2.423109] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 machine # [ 2.444231] uhci_hcd 0000:00:1d.1: detected 2 ports machine # [ 2.451169] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c220 machine # [ 2.460072] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.461527] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.483625] usb usb3: Product: UHCI Host Controller machine # [ 2.484508] usb usb3: Manufacturer: Linux 6.18.48 uhci_hcd machine # [ 2.298495] systemd[1]: Starting Virtual Console Setup... machine # [ 2.495827] usb usb3: SerialNumber: 0000:00:1d.1 machine # [ 2.305522] (udev-worker)[93]: Network interface NamePolicy= disabled on kernel command line. machine # [ 2.518683] hub 3-0:1.0: USB hub found machine # [ 2.330391] (udev-worker)[97]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name. machine # [ 2.333510] (udev-worker)[97]: Network interface NamePolicy= disabled on kernel command line. machine # [ 2.336071] systemd-vconsole-setup[100]: Configuration of first virtual console was skipped, ignoring remaining ones. machine # [ 2.532675] hub 3-0:1.0: 2 ports detected machine # [ 2.341914] systemd[1]: Finished Virtual Console Setup. machine # [ 2.544703] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 machine # [ 2.551665] uhci_hcd 0000:00:1d.2: UHCI Host Controller machine # [ 2.552629] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 machine # [ 2.371978] systemd[1]: Found device /dev/disk/by-label/nixos. machine # [ 2.374852] systemd[1]: Reached target Initrd Root Device. machine # [ 2.378085] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos... machine # [ 2.575013] uhci_hcd 0000:00:1d.2: detected 2 ports machine # [ 2.580821] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c240 machine # [ 2.585268] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode machine # [ 2.588397] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.590352] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f) machine # [ 2.591532] ahci 0000:00:1f.2: flags: 64bit ncq only machine # [ 2.594131] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.596131] usb usb4: Product: UHCI Host Controller machine # [ 2.600010] usb usb4: Manufacturer: Linux 6.18.48 uhci_hcd machine # [ 2.409744] systemd-fsck[109]: nixos: clean, 12/65536 files, 13019/262144 blocks machine # [ 2.605623] usb usb4: SerialNumber: 0000:00:1d.2 machine # [ 2.606898] scsi host0: ahci machine # [ 2.608665] hub 4-0:1.0: USB hub found machine # [ 2.609557] scsi host1: ahci machine # [ 2.611756] hub 4-0:1.0: 2 ports detected machine # [ 2.612888] scsi host2: ahci machine # [ 2.616117] scsi host3: ahci machine # [ 2.618000] scsi host4: ahci machine # [ 2.623035] scsi host5: ahci machine # [ 2.433439] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos. machine # [ 2.628477] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 44 lpm-pol 1 machine # [ 2.637161] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 44 lpm-pol 1 machine # [ 2.638619] usb 2-1: new high-speed USB device number 2 using ehci-pci machine # [ 2.648824] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 44 lpm-pol 1 machine # [ 2.654359] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 44 lpm-pol 1 machine # [ 2.661626] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 44 lpm-pol 1 machine # [ 2.666354] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 44 lpm-pol 1 machine # [ 2.768035] usb 2-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00 machine # [ 2.770013] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10 machine # [ 2.771920] usb 2-1: Product: QEMU USB Tablet machine # [ 2.773023] usb 2-1: Manufacturer: QEMU machine # [ 2.773984] usb 2-1: SerialNumber: 28754-0000:00:1d.7-1 machine # [ 2.792088] hid: raw HID events driver (C) Jiri Kosina machine # [ 2.614152] systemd[1]: Mounting /sysroot... machine # [ 2.981961] ata2: SATA link down (SStatus 0 SControl 300) machine # [ 2.983976] ata5: SATA link down (SStatus 0 SControl 300) machine # [ 2.985988] ata6: SATA link down (SStatus 0 SControl 300) machine # [ 2.987887] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) machine # [ 2.989557] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100 machine # [ 2.991132] ata3.00: applying bridge limits machine # [ 2.992415] ata4: SATA link down (SStatus 0 SControl 300) machine # [ 2.993766] ata1: SATA link down (SStatus 0 SControl 300) machine # [ 2.995143] ata3.00: configured for UDMA/100 machine # [ 2.996409] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5 machine # [ 3.046807] usbcore: registered new interface driver usbhid machine # [ 3.053602] usbhid: USB HID core driver machine # [ 3.069874] 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 # [ 3.071958] 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 # [ 3.081137] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray machine # [ 3.089690] EXT4-fs (vda): mounted filesystem 2475113d-37e2-42e5-8eda-c9440ba1f07a r/w with ordered data mode. Quota mode: none. machine # [ 3.094216] cdrom: Uniform CD-ROM driver Revision: 3.20 machine # [ 2.905089] systemd[1]: Mounted /sysroot. machine # [ 2.906101] systemd[1]: Reached target Initrd Root File System. machine # [ 2.911091] systemd[1]: Starting Mountpoints Configured in the Real Root... machine # [ 2.924150] systemd-sysroot-fstab-check[141]: /sysroot should be mounted in the initrd, will request daemon-reload. machine # [ 2.928486] systemd[1]: Reload requested from client PID 141 ('systemd-sysroot') (unit initrd-parse-etc.service)... machine # [ 2.931082] systemd[1]: Reloading... machine # [ 3.005585] systemd[1]: Reloading finished in 74 ms. machine # [ 3.015586] systemd-sysroot-fstab-check[141]: Requesting initrd-fs.target/start/replace... machine # [ 3.019192] systemd-sysroot-fstab-check[141]: Requesting swap.target/start/replace... machine # [ 3.025190] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio machine # [ 3.028187] systemd[1]: initrd-parse-etc.service: Deactivated successfully. machine # [ 3.029637] systemd[1]: Finished Mountpoints Configured in the Real Root. machine # [ 3.031475] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies. machine # [ 3.615907] systemd[1]: Mounting /sysroot/nix/.ro-store... machine # [ 3.621056] systemd[1]: Mounting /sysroot/nix/.rw-store... machine # [ 3.625344] systemd[1]: Mounting /sysroot/run... machine # [ 3.632606] systemd[1]: Mounting /sysroot/tmp/shared... machine # [ 3.640157] systemd[1]: Mounting /sysroot/tmp/xchg... machine # [ 3.844319] 9p: Installing v9fs 9p2000 file system support machine # [ 3.657675] systemd[1]: Mounted /sysroot/nix/.rw-store. machine # [ 3.659080] systemd[1]: Mounted /sysroot/run. machine # [ 3.664086] systemd[1]: Mounted /sysroot/nix/.ro-store. machine # [ 3.668115] systemd[1]: Mounted /sysroot/tmp/shared. machine # [ 3.671208] systemd[1]: Mounted /sysroot/tmp/xchg. machine # [ 3.674768] systemd[1]: Starting rw-sysroot-nix-store.service... machine # [ 3.683367] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully. machine # [ 3.685382] systemd[1]: Finished rw-sysroot-nix-store.service. machine # [ 4.614885] systemd[1]: Mounting /sysroot/nix/store... machine # [ 4.636144] systemd[1]: Mounted /sysroot/nix/store. machine # [ 4.637672] systemd[1]: Reached target Initrd File Systems. machine # [ 4.639762] systemd[1]: Starting Find NixOS closure... machine # [ 4.642528] systemd[1]: Starting Create Volatile Files and Directories in the Real Root... machine # [ 4.658919] systemd[1]: Finished Create Volatile Files and Directories in the Real Root. machine # [ 4.661087] systemd[1]: sysroot-run-credentials-systemd\x2dtmpfiles\x2dsetup\x2dsysroot.service.mount: Deactivated successfully. machine # [ 4.668771] systemd[1]: Finished Find NixOS closure. machine # [ 4.670451] systemd[1]: Reached target Initrd Default Target. machine # [ 4.672858] systemd[1]: Starting Cleaning Up and Shutting Down Daemons... machine # [ 4.684550] systemd[1]: Stopped target Initrd Default Target. machine # [ 4.686344] systemd[1]: Stopped target Basic System. machine # [ 4.687659] systemd[1]: Stopped target Initrd Root Device. machine # [ 4.690155] systemd[1]: Stopped target Path Units. machine # [ 4.691172] systemd[1]: systemd-ask-password-console.path: Deactivated successfully. machine # [ 4.692753] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch. machine # [ 4.694241] systemd[1]: Stopped target Slice Units. machine # [ 4.695273] systemd[1]: Stopped target Socket Units. machine # [ 4.696324] systemd[1]: Stopped target System Initialization. machine # [ 4.697858] systemd[1]: Stopped target Swaps. machine # [ 4.699193] systemd[1]: Stopped target Timer Units. machine # [ 4.700982] systemd[1]: dbus.socket: Deactivated successfully. machine # [ 4.702220] systemd[1]: Closed D-Bus System Message Bus Socket. machine # [ 4.703513] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully. machine # [ 4.706174] systemd[1]: Stopped Find NixOS closure. machine # [ 4.707198] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio machine # [ 4.709399] systemd[1]: Starting rw-sysroot-nix-store.service... machine # [ 4.711166] systemd[1]: systemd-sysctl.service: Deactivated successfully. machine # [ 4.712539] systemd[1]: Stopped Apply Kernel Variables. machine # [ 4.713616] systemd[1]: systemd-modules-load.service: Deactivated successfully. machine # [ 4.715429] systemd[1]: Stopped Load Kernel Modules. machine # [ 4.717150] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully. machine # [ 4.719182] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root. machine # [ 4.721526] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully. machine # [ 4.722924] systemd[1]: Stopped Create System Files and Directories. machine # [ 4.724514] systemd[1]: Stopped target Local File Systems. machine # [ 4.726311] systemd[1]: Stopped target Preparation for Local File Systems. machine # [ 4.727907] systemd[1]: systemd-udev-trigger.service: Deactivated successfully. machine # [ 4.731188] systemd[1]: Stopped Coldplug All udev Devices. machine # [ 4.733359] systemd[1]: Stopping Rule-based Manager for Device Events and Files... machine # [ 4.734900] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 4.738155] systemd[1]: Stopped Virtual Console Setup. machine # [ 4.742607] systemd[1]: initrd-cleanup.service: Deactivated successfully. machine # [ 4.745840] systemd[1]: Finished Cleaning Up and Shutting Down Daemons. machine # [ 4.748390] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully. machine # [ 4.749866] systemd[1]: Finished rw-sysroot-nix-store.service. machine # [ 4.751562] systemd[1]: systemd-udevd.service: Deactivated successfully. machine # [ 4.753447] systemd[1]: Stopped Rule-based Manager for Device Events and Files. machine # [ 4.757681] systemd[1]: systemd-udevd-control.socket: Deactivated successfully. machine # [ 4.759972] systemd[1]: Closed udev Control Socket. machine # [ 4.761255] systemd[1]: Starting Cleanup udev Database... machine # [ 4.762412] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully. machine # [ 4.764245] systemd[1]: Stopped Create Static Device Nodes in /dev. machine # [ 4.765568] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully. machine # [ 4.767661] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully. machine # [ 4.769063] systemd[1]: kmod-static-nodes.service: Deactivated successfully. machine # [ 4.771149] systemd[1]: Stopped Create List of Static Device Nodes. machine # [ 4.782844] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully. machine # [ 4.785177] systemd[1]: Finished Cleanup udev Database. machine # [ 4.786702] systemd[1]: Reached target Switch Root. machine # [ 4.788701] systemd[1]: Starting NixOS Activation... machine # [ 4.895514] initrd-nixos-activation-start[194]: booting system configuration /nix/store/daijd1rzziiha5762mxn2201q555ryw0-nixos-system-machine-test machine # [ 4.937778] initrd-nixos-activation-start[194]: running activation script... machine # [ 5.218519] initrd-nixos-activation-start[217]: setting up /etc... machine # [ 5.395817] systemd[1]: initrd-nixos-activation.service: Deactivated successfully. machine # [ 5.398272] systemd[1]: Finished NixOS Activation. machine # [ 5.399991] systemd[1]: Starting Switch Root... machine # [ 5.412149] systemd[1]: Switching root. machine # [ 5.731670] systemd-journald[67]: Received SIGTERM from PID 1 (systemd). machine # [ 5.848598] NET: Registered PF_VSOCK protocol family machine # [ 6.214801] systemd[1]: systemd 261.2 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 # [ 6.221704] systemd[1]: Detected virtualization kvm. machine # [ 6.222922] systemd[1]: Detected architecture x86-64. machine # [ 6.224090] systemd[1]: Detected first boot. machine # [ 6.227101] systemd[1]: Initializing machine ID from random generator. machine # [ 6.449583] systemd[1]: bpf-restrict-fs: LSM BPF program attached machine # [ 6.535859] systemd[1]: Applying preset policy. machine # [ 6.835488] systemd[1]: Populated /etc with preset unit settings. machine # [ 7.145453] systemd[1]: initrd-switch-root.service: Deactivated successfully. machine # [ 7.147205] systemd[1]: Stopped initrd-switch-root.service. machine # [ 7.149938] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1. machine # [ 7.152314] systemd[1]: Created slice Slice /system/getty. machine # [ 7.153922] systemd[1]: Created slice User and Session Slice. machine # [ 7.155085] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. machine # [ 7.156628] systemd[1]: Started Forward Password Requests to Wall Directory Watch. machine # [ 7.158016] systemd[1]: Expecting device /dev/hvc0... machine # [ 7.158970] systemd[1]: Expecting device /dev/ttyS0... machine # [ 7.159962] systemd[1]: Reached target Local Encrypted Volumes. machine # [ 7.161037] systemd[1]: Stopped target initrd-fs.target. machine # [ 7.171878] systemd[1]: Stopped target initrd-root-fs.target. machine # [ 7.172935] systemd[1]: Stopped target initrd-switch-root.target. machine # [ 7.174062] systemd[1]: Reached target Virtual Machines and Containers. machine # [ 7.175249] systemd[1]: Reached target Path Units. machine # [ 7.176186] systemd[1]: Reached target Remote File Systems. machine # [ 7.177231] systemd[1]: Reached target Slice Units. machine # [ 7.178194] systemd[1]: Reached target Swaps. machine # [ 7.180624] systemd[1]: Listening on Query the User Interactively for a Password. machine # [ 7.183708] systemd[1]: Listening on Process Core Dump Socket. machine # [ 7.186133] systemd[1]: Listening on Credential Encryption/Decryption. machine # [ 7.188634] systemd[1]: Listening on Factory Reset Management. machine # [ 7.189829] systemd[1]: Listening on Hostname Service Socket. machine # [ 7.192928] systemd[1]: Starting Journal Log Access Socket... machine # [ 7.194477] systemd[1]: Listening on Journal Audit Socket. machine # [ 7.197410] systemd[1]: Listening on Console Output Muting Service Socket. machine # [ 7.198820] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket. machine # [ 7.200343] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os machine # [ 7.202018] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki machine # [ 7.207962] systemd[1]: Listening on Disk Repartitioning Service Socket. machine # [ 7.209265] systemd[1]: Listening on udev Control Socket. machine # [ 7.210407] systemd[1]: Listening on udev Varlink Socket. machine # [ 7.213322] systemd[1]: Mounting Huge Pages File System... machine # [ 7.216375] systemd[1]: Mounting POSIX Message Queue File System... machine # [ 7.222084] systemd[1]: Mounting Kernel Debug File System... machine # [ 7.226811] systemd[1]: Mounting Kernel Trace File System... machine # [ 7.232385] systemd[1]: Starting Create List of Static Device Nodes... machine # [ 7.236300] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio machine # [ 7.246213] systemd[1]: Starting Load Kernel Module configfs... machine # [ 7.248272] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm machine # [ 7.261936] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore machine # [ 7.265653] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse machine # [ 7.275756] systemd[1]: Mounting FUSE Control File System... machine # [ 7.282967] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 machine # [ 7.294700] systemd[1]: Starting Journal Service... machine # [ 7.300601] systemd[1]: Starting Load Kernel Modules... machine # [ 7.311029] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer... machine # [ 7.325194] systemd[1]: Starting Remount Root and Kernel File Systems... machine # [ 7.328599] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 7.343615] systemd[1]: Starting Coldplug All udev Devices... machine # [ 7.347413] systemd-journald[287]: Collecting audit messages is enabled. machine # [ 7.361965] loop: module loaded machine # [ 7.369268] systemd[1]: Listening on Journal Log Access Socket. machine # [ 7.376762] systemd[1]: Mounted Huge Pages File System. machine # [ 7.380334] systemd[1]: Mounted POSIX Message Queue File System. machine # [ 7.385607] EXT4-fs (vda): re-mounted 2475113d-37e2-42e5-8eda-c9440ba1f07a. machine # [ 7.388578] systemd[1]: Mounted Kernel Debug File System. machine # [ 7.393866] systemd[1]: Mounted Kernel Trace File System. machine # [ 7.204632] systemd[1]: Queued start job for default target Multi-User System. machine # [ 7.399320] systemd[1]: Started Journal Service. machine # [ 7.210155] systemd[1]: systemd-journald.service: Deactivated successfully. machine # [ 7.214702] systemd-modules-load[288]: Inserted module 'loop' machine # [ 7.218243] systemd[1]: Finished Create List of Static Device Nodes. machine # [ 7.219796] systemd[1]: modprobe@configfs.service: Deactivated successfully. machine # [ 7.224488] systemd[1]: Finished Load Kernel Module configfs. machine # [ 7.225901] systemd[1]: Mounted FUSE Control File System. machine # [ 7.229520] systemd[1]: Finished Load Kernel Modules. machine # [ 7.236095] systemd[1]: Finished Remount Root and Kernel File Systems. machine # [ 7.250553] systemd[1]: Listening on Disk Image Download Service Socket. machine # [ 7.256139] systemd-oomd[290]: No swap; memory pressure usage will be degraded machine # [ 7.259459] systemd[1]: Mounting Kernel Configuration File System... machine # [ 7.265126] systemd[1]: Starting Firewall... machine # [ 7.271081] systemd[1]: Starting Flush Journal to Persistent Storage... machine # [ 7.273563] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore machine # [ 7.282721] systemd[1]: Starting Load/Save OS Random Seed... machine # [ 7.299105] systemd[1]: Starting Apply Kernel Variables... machine # [ 7.308487] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... machine # [ 7.311081] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 7.315077] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer. machine # [ 7.352974] systemd[1]: Mounted Kernel Configuration File System. machine # [ 7.562300] systemd-journald[287]: Received client request to flush runtime journal. machine # [ 7.594859] systemd[1]: Finished Load/Save OS Random Seed. machine # [ 7.599198] systemd[1]: Reached target First Boot Complete. machine # [ 7.600870] systemd[1]: Finished Apply Kernel Variables. machine # [ 7.604988] systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [ 7.608279] systemd[1]: Starting Create Static Device Nodes in /dev... machine # [ 7.610346] systemd[1]: Finished Create Static Device Nodes in /dev. machine # [ 7.612732] systemd[1]: Reached target Preparation for Local File Systems. machine # [ 7.614762] systemd[1]: Starting Rule-based Manager for Device Events and Files... machine # [ 7.617204] systemd[1]: Finished Flush Journal to Persistent Storage. machine # [ 7.618864] systemd-udevd[326]: Using default interface naming scheme 'v261'. machine # [ 7.634625] systemd[1]: Finished Coldplug All udev Devices. machine # [ 7.703982] systemd[1]: Started Rule-based Manager for Device Events and Files. machine # [ 7.875892] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse machine # [ 7.958379] systemd[1]: Mounting /run/wrappers... machine # [ 7.977120] systemd[1]: Condition check resulted in /dev/hvc0 being skipped. machine # [ 7.992882] systemd[1]: Mounted /run/wrappers. machine # [ 7.995098] systemd[1]: Reached target Local File Systems. machine # [ 7.999983] systemd[1]: Listening on Boot Loader Control Service Socket. machine # [ 8.003294] systemd[1]: Starting register-nix-paths.service... machine # [ 8.009061] systemd[1]: Starting Create SUID/SGID Wrappers... machine # [ 8.010206] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met. machine # [ 8.018785] systemd[1]: Starting Save Transient machine-id to Disk... machine # [ 8.032159] systemd[1]: Starting Create System Files and Directories... machine # [ 8.039110] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped. machine # [ 8.108559] (udev-worker)[372]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name. machine # [ 8.114468] (udev-worker)[372]: Network interface NamePolicy= disabled on kernel command line. machine # [ 8.120953] (udev-worker)[370]: Network interface NamePolicy= disabled on kernel command line. machine # [ 8.133745] systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [ 8.138675] systemd[1]: Finished Save Transient machine-id to Disk. machine # [ 8.170413] systemd[1]: Finished Create System Files and Directories. machine # [ 8.180184] systemd[1]: Starting Rebuild Journal Catalog... machine # [ 8.190169] systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [ 8.262613] systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [ 8.297188] systemd[1]: Finished Firewall. machine # [ 8.300664] systemd[1]: Finished Rebuild Journal Catalog. machine # [ 8.310132] systemd[1]: Starting Update is Completed... machine # [ 8.345656] systemd[1]: Condition check resulted in Virtio network device being skipped. machine # [ 8.347315] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore machine # [ 8.349655] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met. machine # [ 8.352490] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 machine # [ 8.356796] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore machine # [ 8.359692] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 8.362553] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 8.364977] systemd[1]: Finished Update is Completed. machine # [ 8.516733] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully. machine # [ 8.520858] systemd[1]: Finished Create SUID/SGID Wrappers. machine # [ 8.771529] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3 machine # [ 8.778520] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console machine # [ 8.784686] mousedev: PS/2 mouse device common for all mice machine # [ 8.801543] ACPI: button: Power Button [PWRF] machine # [ 8.830740] rtc_cmos 00:04: RTC can wake from S4 machine # [ 8.859574] rtc_cmos 00:04: registered as rtc0 machine # [ 8.859671] rtc_cmos 00:04: setting system clock to 2026-09-02T21:46:17 UTC (1788385577) machine # [ 8.859769] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs machine # [ 8.871093] parport_pc 00:02: reported by Plug and Play ACPI machine # [ 8.871183] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)] machine # [ 8.758875] systemd[1]: Finished register-nix-paths.service. machine # [ 8.760407] systemd[1]: Reached target System Initialization. machine # [ 8.763076] systemd[1]: Started Discard unused filesystem blocks once a week. machine # [ 8.764703] systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [ 8.767944] systemd[1]: Reached target Timer Units. machine # [ 8.769113] systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [ 8.770392] systemd[1]: Listening on Nix Daemon Socket. machine # [ 8.772419] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [ 8.774613] systemd[1]: Reached target Socket Units. machine # [ 8.775732] systemd[1]: Reached target Basic System. machine # [ 8.778302] systemd[1]: Started backdoor.service. machine # [ 8.882287] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:09.0/virtio7/input/input4 machine # [ 8.899390] Console: switching to colour dummy device 80x25 machine # [ 8.918086] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized machine # [ 8.787099] systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [ 8.789648] systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [ 8.802239] systemd[1]: Starting Post-Boot Actions... machine # [ 8.818254] systemd[1]: Started Reset console on configuration changes. machine # [ 8.839686] systemd[1]: Starting resolvconf update... machine # connecting to host... machine # [ 8.884576] nsncd[511]: Sep 02 21:46:17.716 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine: Guest shell says: b'Spawning backdoor root shell...\n' machine # [ 8.889500] systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [ 8.894605] systemd[1]: Finished Post-Boot Actions. machine: connected to guest root shell machine: (connecting took 9.64 seconds) machine: (finished: waiting for the VM to finish booting, in 9.84 seconds) machine # [ 9.063456] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt machine # [ 9.063610] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD machine # [ 8.905819] systemd[1]: Reached target Host and Network Name Lookups. machine # [ 8.907085] systemd[1]: Reached target User and Group Name Lookups. machine # [ 8.917168] systemd[1]: Starting D-Bus System Message Bus... machine # [ 8.937224] systemd[1]: Starting User Login Management... machine # [ 9.149903] [drm] Found bochs VGA, ID 0xb0c5. machine # [ 9.149905] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000. machine # [ 9.155132] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic machine # [ 9.156078] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0 machine # [ 8.976336] systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [ 9.177313] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6 machine # [ 9.182030] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5 machine # [ 9.079536] systemd[1]: Stopped target Host and Network Name Lookups. machine # [ 9.080851] systemd[1]: Stopping Host and Network Name Lookups... machine # [ 9.082044] systemd[1]: Stopped target User and Group Name Lookups. machine # [ 9.083256] systemd[1]: Stopping User and Group Name Lookups... machine # [ 9.087669] systemd[1]: Stopping Name Service Cache Daemon (nsncd)... machine # [ 9.095465] dbus-broker-launch[536]: Looking up NSS user entry for 'systemd-timesync'... machine # [ 9.097474] systemd[1]: nscd.service: Deactivated successfully. machine # [ 9.103639] systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [ 9.106203] dbus-broker-launch[536]: NSS returned no entry for 'systemd-timesync' machine # [ 9.109330] dbus-broker-launch[536]: Invalid user-name in /nix/store/c2wib9pq82dxjv5ndzi4viqw2v2g257l-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [ 9.127721] systemd-logind[540]: New seat seat0. machine # [ 9.134847] systemd[1]: Started User Login Management. machine # [ 9.141330] systemd[1]: Started D-Bus System Message Bus. machine # [ 9.146204] systemd[1]: Starting linger-users.service... machine # [ 9.149560] systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [ 9.176738] systemd[1]: Starting Virtual Console Setup... machine # [ 9.185790] dbus-broker-launch[536]: Ready machine # [ 9.210066] systemd[1]: Finished resolvconf update. machine # [ 9.215918] systemd[1]: linger-users.service: Deactivated successfully. machine # [ 9.218696] systemd[1]: Finished linger-users.service. machine # [ 9.227270] nsncd[601]: Sep 02 21:46:18.059 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [ 9.234923] systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [ 9.484177] Console: switching to colour frame buffer device 160x50 machine # [ 9.517260] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device machine # [ 9.239440] systemd[1]: Reached target Preparation for Network. machine # [ 9.327104] systemd[1]: Reached target Host and Network Name Lookups. machine # [ 9.328435] systemd[1]: Reached target User and Group Name Lookups. machine # [ 9.336172] systemd[1]: Starting DHCP Client... machine # [ 9.337320] systemd[1]: Starting Address configuration of eth1... machine # [ 9.340793] systemd[1]: Starting Extra networking commands.... machine # [ 9.342887] systemd-logind[540]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard) machine # [ 9.347369] systemd-logind[540]: Watching system buttons on /dev/input/event2 (Power Button) machine # [ 9.368810] network-addresses-eth1-start[623]: adding address 192.168.1.1/24... done machine # [ 9.385370] network-addresses-eth1-start[623]: adding address 2001:db8:1::1/64... done machine # [ 9.397096] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 9.401848] systemd[1]: Stopped Virtual Console Setup. machine # [ 9.416180] systemd[1]: Finished Address configuration of eth1. machine # [ 9.428610] systemd[1]: Starting Virtual Console Setup... machine # [ 9.496256] dhcpcd[632]: dhcpcd-10.3.2 starting machine # [ 9.690153] ppdev: user-space parallel port driver machine # [ 9.505696] dhcpcd[691]: dev: loaded udev machine # [ 9.510687] systemd[1]: Finished Extra networking commands.. machine # [ 9.515224] systemd[1]: Reached target Network. machine # [ 9.522201] systemd[1]: Starting PostgreSQL Server... machine # [ 9.722038] 8021q: 802.1Q VLAN Support v1.8 machine # [ 9.532784] systemd[1]: Starting Permit User Sessions... machine # [ 9.727419] 8021q: adding VLAN 0 to HW filter on device eth1 machine # [ 9.582824] systemd[1]: Finished Permit User Sessions. machine # [ 9.594212] systemd[1]: Started Getty on tty1. machine # [ 9.595242] systemd[1]: Reached target Login Prompts. machine # [ 9.791526] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660) machine # [ 9.612992] systemd-logind[540]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard) machine # [ 9.856563] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0) machine # [ 9.931022] cfg80211: Loading compiled-in X.509 certificates for regulatory database machine # [ 9.951405] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' machine # [ 9.953320] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' machine # [ 9.957694] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2 machine # [ 9.958841] cfg80211: failed to load regulatory.db machine # [ 9.797837] postgresql-pre-start[705]: The files belonging to this database system will be owned by user "postgres". machine # [ 9.799670] postgresql-pre-start[705]: This user must also own the server process. machine # [ 9.812490] postgresql-pre-start[705]: The database cluster will be initialized with locale "en_US.UTF-8". machine # [ 9.814273] postgresql-pre-start[705]: The default database encoding has accordingly been set to "UTF8". machine # [ 9.817086] postgresql-pre-start[705]: The default text search configuration will be set to "english". machine # [ 9.819571] postgresql-pre-start[705]: Data page checksums are enabled. machine # [ 9.821728] postgresql-pre-start[705]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok machine # [ 9.824945] postgresql-pre-start[705]: creating subdirectories ... ok machine # [ 9.827198] postgresql-pre-start[705]: selecting dynamic shared memory implementation ... posix machine # [ 9.830090] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. machine # [ 9.839941] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 9.844278] systemd[1]: Stopped Virtual Console Setup. machine # [ 10.044744] 8021q: adding VLAN 0 to HW filter on device eth0 machine # [ 9.857040] dhcpcd[691]: eth0: waiting for carrier machine # [ 9.859080] dhcpcd[691]: eth0: carrier acquired machine # [ 9.862467] systemd[1]: Starting Virtual Console Setup... machine # [ 9.880563] dhcpcd[691]: DUID 00:01:00:01:32:2b:55:aa:52:54:00:12:34:56 machine # [ 9.882087] dhcpcd[691]: eth0: IAID 00:12:34:56 machine # [ 9.883347] dhcpcd[691]: eth0: adding address fe80::5054:ff:fe12:3456 machine # [ 10.140152] kvm_amd: TSC scaling supported machine # [ 10.141918] kvm_amd: Nested Virtualization enabled machine # [ 10.142973] kvm_amd: Nested Paging enabled machine # [ 10.143977] kvm_amd: LBR virtualization supported machine # [ 10.144921] kvm_amd: Virtual VMLOAD VMSAVE supported machine # [ 10.146035] kvm_amd: Virtual GIF supported machine # [ 9.963138] postgresql-pre-start[705]: selecting default "max_connections" ... 100 machine # [ 10.195064] EDAC MC: Ver: 3.0.0 machine # [ 10.030664] postgresql-pre-start[705]: selecting default "shared_buffers" ... 128MB machine # [ 10.111105] systemd-vconsole-setup[721]: Configuration of first virtual console was skipped, ignoring remaining ones. machine # [ 10.115710] systemd[1]: Finished Virtual Console Setup. machine # [ 11.329256] postgresql-pre-start[705]: selecting default time zone ... UTC machine # [ 11.332668] postgresql-pre-start[705]: creating configuration files ... ok machine # [ 11.508757] postgresql-pre-start[705]: running bootstrap script ... ok machine # [ 11.656329] dhcpcd[691]: eth0: soliciting a DHCP lease machine # [ 11.863263] NET: Registered PF_PACKET protocol family machine # [ 11.675489] dhcpcd[691]: eth0: offered 10.0.2.15 from 10.0.2.2 machine # [ 11.678180] dhcpcd[691]: eth0: probing address 10.0.2.15/24 machine # [ 11.962152] postgresql-pre-start[705]: performing post-bootstrap initialization ... ok machine # [ 12.139445] postgresql-pre-start[705]: syncing data to disk ... ok machine # [ 12.140643] postgresql-pre-start[705]: initdb: warning: enabling "trust" authentication for local connections machine # [ 12.142306] postgresql-pre-start[705]: 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 # [ 12.144875] postgresql-pre-start[705]: Success. You can now start the database server using: machine # [ 12.146325] postgresql-pre-start[705]: pg_ctl -D /var/lib/postgresql/18 -l logfile start machine # [ 12.253893] postgres[745]: [745] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit machine # [ 12.261859] postgres[745]: [745] LOG: listening on IPv6 address "::1", port 5432 machine # [ 12.263309] postgres[745]: [745] LOG: listening on IPv4 address "127.0.0.1", port 5432 machine # [ 12.276439] postgres[745]: [745] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" machine # [ 12.310673] postgres[758]: [758] LOG: database system was shut down at 2026-09-02 21:46:20 GMT machine # [ 12.326843] postgres[745]: [745] LOG: database system is ready to accept connections machine # [ 12.341535] systemd[1]: Started PostgreSQL Server. machine # [ 12.350352] systemd[1]: Starting PostgreSQL Setup Scripts... machine # [ 12.474604] dhcpcd[691]: eth0: soliciting an IPv6 router machine # [ 12.476639] dhcpcd[691]: eth0: Router Advertisement from fe80::2 machine # [ 12.478842] dhcpcd[691]: eth0: adding address fec0::5054:ff:fe12:3456/64 machine # [ 12.480657] dhcpcd[691]: eth0: adding route to fec0::/64 machine # [ 12.481769] dhcpcd[691]: eth0: adding default route via fe80::2 machine # [ 12.536815] postgresql-setup-start[769]: CREATE DATABASE machine # [ 12.568636] postgresql-setup-start[774]: CREATE ROLE machine # [ 12.584126] postgresql-setup-start[776]: ALTER DATABASE machine # [ 12.589156] systemd[1]: Finished PostgreSQL Setup Scripts. machine # [ 12.591487] systemd[1]: Reached target PostgreSQL. machine: (finished: waiting for unit postgresql.service, in 14.21 seconds) machine: waiting for unit rustfs.service machine # [ 16.346172] dhcpcd[691]: eth0: leased 10.0.2.15 for 86400 seconds machine # [ 16.347888] dhcpcd[691]: eth0: adding route to 10.0.2.0/24 machine # [ 16.349793] dhcpcd[691]: eth0: adding default route via 10.0.2.2 machine # [ 16.418244] systemd[1]: Started DHCP Client. machine # [ 16.421769] systemd[1]: Reached target Network is Online. machine # [ 16.428549] systemd[1]: Starting RustFS Object Storage Server... machine # [ 16.994464] systemd[1]: Started RustFS Object Storage Server. machine # [ 17.001591] systemd[1]: Starting Self-hosted Zotero sync server... machine # [ 17.040543] systemd[1]: Started Self-hosted Zotero sync server. machine # [ 17.043326] systemd[1]: Reached target Multi-User System. machine # [ 17.044890] systemd[1]: Startup finished in 865ms (kernel) + 4.751s (initrd) + 11.428s (userspace) = 17.044s. machine # [ 17.243693] zhost[887]: 2026-09-02T21:46:26.075951Z INFO zhost: zhost listening bind=127.0.0.1:8189 machine: (finished: waiting for unit rustfs.service, in 4.21 seconds) machine: waiting for TCP port 9000 on localhost machine # Connection to localhost (::1) 9000 port [tcp/cslistener] succeeded! machine: (finished: waiting for TCP port 9000 on localhost, in 0.04 seconds) machine: waiting for unit zhost.service machine: (finished: waiting for unit zhost.service, in 0.03 seconds) machine: waiting for TCP port 8189 on localhost machine # 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.20 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 # [ 18.022523] zhost[887]: 2026-09-02T21:46:26.855093Z 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.05 seconds) (finished: subtest: the module deploys a working service backed by postgres, in 0.05 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 # [ 18.057366] zhost[887]: 2026-09-02T21:46:26.889776Z 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.02 seconds) machine: must succeed: jq -r .loginURL /tmp/sess machine: (finished: must succeed: jq -r .loginURL /tmp/sess, in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/login?session=ed39cc3b10ed91f3489cec1edad4199b' | grep -qi 'Authorize' machine # [ 18.135882] zhost[887]: 2026-09-02T21:46:26.968476Z INFO zhost: request method=GET uri=/login?session=ed39cc3b10ed91f3489cec1edad4199b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/login?session=ed39cc3b10ed91f3489cec1edad4199b' | grep -qi 'Authorize', in 0.04 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.status == "pending"' machine # [ 18.171335] zhost[887]: 2026-09-02T21:46:27.003952Z INFO zhost: request method=GET uri=/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.status == "pending"', in 0.04 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.apiKey == null' machine # [ 18.207172] zhost[887]: 2026-09-02T21:46:27.039481Z INFO zhost: request method=GET uri=/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | 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=ed39cc3b10ed91f3489cec1edad4199b' machine # [ 18.239423] zhost[887]: 2026-09-02T21:46:27.072138Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=ed39cc3b10ed91f3489cec1edad4199b machine # [ 18.243446] zhost[887]: 2026-09-02T21:46:27.076079Z 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=ed39cc3b10ed91f3489cec1edad4199b', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -d 'session=ed39cc3b10ed91f3489cec1edad4199b' machine # [ 18.273554] zhost[887]: 2026-09-02T21:46:27.105928Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=ed39cc3b10ed91f3489cec1edad4199b machine # [ 18.277698] zhost[887]: 2026-09-02T21:46:27.105954Z 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=ed39cc3b10ed91f3489cec1edad4199b', 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=ed39cc3b10ed91f3489cec1edad4199b' machine # [ 18.306723] zhost[887]: 2026-09-02T21:46:27.139366Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=ed39cc3b10ed91f3489cec1edad4199b machine # [ 18.310491] zhost[887]: 2026-09-02T21:46:27.139391Z 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=ed39cc3b10ed91f3489cec1edad4199b', 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=ed39cc3b10ed91f3489cec1edad4199b' machine # [ 18.339082] zhost[887]: 2026-09-02T21:46:27.171695Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=ed39cc3b10ed91f3489cec1edad4199b machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=ed39cc3b10ed91f3489cec1edad4199b', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.status == "completed"' machine # [ 18.370114] zhost[887]: 2026-09-02T21:46:27.202864Z INFO zhost: request method=GET uri=/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.status == "completed"', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.apiKey == "testtoken"' machine # [ 18.401326] zhost[887]: 2026-09-02T21:46:27.233974Z INFO zhost: request method=GET uri=/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.apiKey == "testtoken"', in 0.03 seconds) machine: must succeed: curl -sf -X DELETE http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b machine # [ 18.431985] zhost[887]: 2026-09-02T21:46:27.264689Z INFO zhost: request method=DELETE uri=/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf -X DELETE http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b, in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.status == "pending"' machine # [ 18.462122] zhost[887]: 2026-09-02T21:46:27.294752Z INFO zhost: request method=GET uri=/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/ed39cc3b10ed91f3489cec1edad4199b | jq -e '.status == "pending"', in 0.03 seconds) (finished: subtest: login session hands out the key only after authorization, in 0.44 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 # [ 18.492514] zhost[887]: 2026-09-02T21:46:27.325169Z INFO zhost: request method=GET uri=/login api_version=- if_unmod=- body= machine # [ 18.495768] zhost[887]: 2026-09-02T21:46:27.325191Z 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.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login?session=nope machine # [ 18.523743] zhost[887]: 2026-09-02T21:46:27.356349Z INFO zhost: request method=GET uri=/login?session=nope api_version=- if_unmod=- body= machine # [ 18.527173] zhost[887]: 2026-09-02T21:46:27.356372Z 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.03 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 # [ 18.555866] zhost[887]: 2026-09-02T21:46:27.388509Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=nope machine # [ 18.559276] zhost[887]: 2026-09-02T21:46:27.388534Z 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.03 seconds) (finished: subtest: the login consent endpoint validates the session token, in 0.10 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 # [ 18.588100] zhost[887]: 2026-09-02T21:46:27.420784Z 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.03 seconds) (finished: subtest: groups endpoint returns an empty set (single personal library), in 0.03 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 # [ 18.619541] zhost[887]: 2026-09-02T21:46:27.451878Z 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.03 seconds) (finished: subtest: the api key is required off the bootstrap paths, in 0.03 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 # [ 18.648202] zhost[887]: 2026-09-02T21:46:27.480899Z 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.04 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 # [ 18.685567] zhost[887]: 2026-09-02T21:46:27.517444Z 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.03 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 # [ 18.714771] zhost[887]: 2026-09-02T21:46:27.547522Z 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.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: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"RDNLY222","itemType":"book"}]' machine # [ 18.745310] zhost[887]: 2026-09-02T21:46:27.577560Z 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 # [ 18.774316] zhost[887]: 2026-09-02T21:46:27.606789Z 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.03 seconds) (finished: subtest: a read-only key reads but cannot write, in 0.16 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 # [ 18.804476] zhost[887]: 2026-09-02T21:46:27.637183Z 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.04 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 # [ 18.843613] zhost[887]: 2026-09-02T21:46:27.676245Z 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 # [ 18.875476] zhost[887]: 2026-09-02T21:46:27.708098Z 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.10 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 # [ 18.906820] zhost[887]: 2026-09-02T21:46:27.739412Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"ITEMSTAL","itemType":"book"}] machine # [ 18.911708] zhost[887]: 2026-09-02T21:46:27.743758Z 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 # [ 18.941294] zhost[887]: 2026-09-02T21:46:27.773474Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=- body=[{"key":"NPRECN22","itemType":"book"}] machine # [ 18.945177] zhost[887]: 2026-09-02T21:46:27.773505Z 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 # [ 18.980572] zhost[887]: 2026-09-02T21:46:27.813076Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -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 # [ 19.013387] zhost[887]: 2026-09-02T21:46:27.846014Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"HASOABC2","itemType":"book"}] machine # [ 19.017629] zhost[887]: 2026-09-02T21:46:27.846055Z 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 # [ 19.050360] zhost[887]: 2026-09-02T21:46:27.882926Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -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 # [ 19.082686] zhost[887]: 2026-09-02T21:46:27.915330Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"HAS0ABC2","itemType":"book"}] machine # [ 19.086509] zhost[887]: 2026-09-02T21:46:27.915357Z 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 # [ 19.119206] zhost[887]: 2026-09-02T21:46:27.951627Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -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 # [ 19.150962] zhost[887]: 2026-09-02T21:46:27.983259Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"SHORTKY","itemType":"book"}] machine # [ 19.154810] zhost[887]: 2026-09-02T21:46:27.983285Z 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.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 # [ 19.186975] zhost[887]: 2026-09-02T21:46:28.019260Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -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 # [ 19.218254] zhost[887]: 2026-09-02T21:46:28.050886Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"TOOLONGKY","itemType":"book"}] machine # [ 19.222236] zhost[887]: 2026-09-02T21:46:28.050913Z 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 # [ 19.257416] zhost[887]: 2026-09-02T21:46:28.090049Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -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 # [ 19.289872] zhost[887]: 2026-09-02T21:46:28.122308Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"lowercs2","itemType":"book"}] machine # [ 19.293695] zhost[887]: 2026-09-02T21:46:28.122334Z 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 # [ 19.324082] zhost[887]: 2026-09-02T21:46:28.156305Z INFO zhost: request method=GET uri=/users/1/items?itemKey=HASOABC2&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=HASOABC2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == []', in 0.03 seconds) (finished: subtest: a malformed object key is rejected with 400, in 0.38 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 # [ 19.371641] zhost[887]: 2026-09-02T21:46:28.204261Z 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.05 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 # [ 19.411384] zhost[887]: 2026-09-02T21:46:28.243938Z 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.04 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.445639] zhost[887]: 2026-09-02T21:46:28.278339Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) (finished: subtest: an empty batch does not bump the library version, in 0.12 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 # [ 19.481085] zhost[887]: 2026-09-02T21:46:28.313549Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"ATTACH22","itemType":"attachment","linkMode":"imported_file","filename":"t.pdf","contentType":"application/pdf"}]' | jq -e .successful machine # [ 19.513771] zhost[887]: 2026-09-02T21:46:28.346297Z 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.04 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 # [ 19.555811] zhost[887]: 2026-09-02T21:46:28.387974Z 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.03 seconds) (finished: subtest: attachment data is emitted with linkMode first, in 0.11 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 # [ 19.588450] zhost[887]: 2026-09-02T21:46:28.420994Z 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/7ac36b3fecad03de95afff1413bbd995 --data-binary @- machine # [ 19.620356] zhost[887]: 2026-09-02T21:46:28.453066Z INFO zhost: request method=POST uri=/uploads/7ac36b3fecad03de95afff1413bbd995 api_version=- if_unmod=- body=hello machine: (finished: must succeed: printf hello | curl -sf -X POST http://localhost:8189/uploads/7ac36b3fecad03de95afff1413bbd995 --data-binary @-, in 0.06 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=7ac36b3fecad03de95afff1413bbd995' machine # [ 19.680858] zhost[887]: 2026-09-02T21:46:28.513535Z INFO zhost: request method=POST uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body=upload=7ac36b3fecad03de95afff1413bbd995 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=7ac36b3fecad03de95afff1413bbd995', in 0.05 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 # [ 19.728634] zhost[887]: 2026-09-02T21:46:28.561054Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.03 seconds) machine: must succeed: curl -sf -D /tmp/dlhdr -o /dev/null http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' && grep -i '^location:' /tmp/dlhdr | tr -d '\r' | awk '{print $2}' machine # [ 19.766893] zhost[887]: 2026-09-02T21:46:28.599395Z 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.06 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.02 seconds) machine: must succeed: curl -sf 'http://127.0.0.1:9000/zotero/ATTACH22?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=rustfsadmin%2F20260902%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260902T214628Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=43c57ff4992a9230fbbc3626fcf81d4700477e682adb13d4712ff869deef4506' machine: (finished: must succeed: curl -sf 'http://127.0.0.1:9000/zotero/ATTACH22?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=rustfsadmin%2F20260902%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260902T214628Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=43c57ff4992a9230fbbc3626fcf81d4700477e682adb13d4712ff869deef4506', in 0.04 seconds) (finished: subtest: an attachment file uploads to S3 and downloads via a presigned URL, in 0.29 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 # [ 19.885286] zhost[887]: 2026-09-02T21:46:28.717958Z 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.04 seconds) (finished: subtest: re-authorizing the same file returns exists:1 (dedup), in 0.04 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 # [ 19.919929] zhost[887]: 2026-09-02T21:46:28.752479Z 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 # [ 19.924168] zhost[887]: 2026-09-02T21:46:28.752510Z 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 # [ 19.955234] zhost[887]: 2026-09-02T21:46:28.787977Z 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/9af58f723e499aa079d402fc1f9b5934 --data-binary @- machine # [ 19.988498] zhost[887]: 2026-09-02T21:46:28.821092Z INFO zhost: request method=POST uri=/uploads/9af58f723e499aa079d402fc1f9b5934 api_version=- if_unmod=- body=hello machine # [ 19.992638] zhost[887]: 2026-09-02T21:46:28.821117Z WARN zhost: uploaded bytes do not match authorization key="BADHASH2" want_md5="00000000000000000000000000000000" got_md5="5d41402abc4b2a76b9719d911017c592" machine # [ 19.996692] zhost[887]: 2026-09-02T21:46:28.821132Z WARN zhost: response error method=POST uri=/uploads/9af58f723e499aa079d402fc1f9b5934 status=400 machine: (finished: must succeed: printf hello | curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/uploads/9af58f723e499aa079d402fc1f9b5934 --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 # [ 20.027710] zhost[887]: 2026-09-02T21:46:28.860356Z INFO zhost: request method=POST uri=/users/1/items/NQUPLQAD/file api_version=3 if_unmod=- body=md5=5d41402abc4b2a76b9719d911017c592&filename=n&filesize=5&mtime=1 machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/NQUPLQAD/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=n&filesize=5&mtime=1' | jq -r .uploadKey, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items/NQUPLQAD/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'upload=c1e4bd2fb7504ca92f3060d55f6c00ad' machine # [ 20.059365] zhost[887]: 2026-09-02T21:46:28.892002Z INFO zhost: request method=POST uri=/users/1/items/NQUPLQAD/file api_version=3 if_unmod=- body=upload=c1e4bd2fb7504ca92f3060d55f6c00ad machine # [ 20.063766] zhost[887]: 2026-09-02T21:46:28.892028Z 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=c1e4bd2fb7504ca92f3060d55f6c00ad', 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 # [ 20.093127] zhost[887]: 2026-09-02T21:46:28.924987Z 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 # [ 20.097126] zhost[887]: 2026-09-02T21:46:28.925014Z 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 # [ 20.130096] zhost[887]: 2026-09-02T21:46:28.962847Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 3' -d '[{"key":"ANNQT223","itemType":"annotation","annotationType":"highlight","annotationText":"marked","parentItem":"ATTACH22"}]' | jq -e '.successful."0".data.annotationText == "marked"' machine # [ 20.163977] zhost[887]: 2026-09-02T21:46:28.996313Z 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.04 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 # [ 20.202460] zhost[887]: 2026-09-02T21:46:29.034766Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ANNQT223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ANNQT223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.annotationType == "highlight"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ANNQT223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]' machine # [ 20.234787] zhost[887]: 2026-09-02T21:46:29.067426Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ANNQT223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ANNQT223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]', in 0.03 seconds) (finished: subtest: annotations round-trip as ordinary items, in 0.14 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 # [ 20.269954] zhost[887]: 2026-09-02T21:46:29.102593Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/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 # [ 20.302861] zhost[887]: 2026-09-02T21:46:29.135360Z 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.04 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 # [ 20.340791] zhost[887]: 2026-09-02T21:46:29.173217Z 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 # [ 20.375489] zhost[887]: 2026-09-02T21:46:29.207901Z 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.04 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 # [ 20.407279] zhost[887]: 2026-09-02T21:46:29.239927Z INFO zhost: request method=GET uri=/users/1/fulltext?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.ATTACH22', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.content == "hello world" and .totalPages == 1' machine # [ 20.439624] zhost[887]: 2026-09-02T21:46:29.272138Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/fulltext api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.content == "hello world" and .totalPages == 1', in 0.03 seconds) (finished: subtest: full-text content uploads, lists versions, and downloads, in 0.20 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 # [ 20.470520] zhost[887]: 2026-09-02T21:46:29.303223Z INFO zhost: request method=POST uri=/users/1/fulltext api_version=3 if_unmod=0 body=[{"key":"ATTACH22","content":"x"}] machine # [ 20.474806] zhost[887]: 2026-09-02T21:46:29.307561Z 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 # [ 20.507394] zhost[887]: 2026-09-02T21:46:29.339988Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 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 # [ 20.541595] zhost[887]: 2026-09-02T21:46:29.374109Z 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.04 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 # [ 20.582496] zhost[887]: 2026-09-02T21:46:29.415101Z 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 # [ 20.617896] zhost[887]: 2026-09-02T21:46:29.450456Z 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 # [ 20.650786] zhost[887]: 2026-09-02T21:46:29.483341Z 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.04 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 # [ 20.689692] zhost[887]: 2026-09-02T21:46:29.522331Z 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 # [ 20.722675] zhost[887]: 2026-09-02T21:46:29.555197Z 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 # [ 20.757049] zhost[887]: 2026-09-02T21:46:29.589225Z 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 # [ 20.792078] zhost[887]: 2026-09-02T21:46:29.624246Z 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 # [ 20.824715] zhost[887]: 2026-09-02T21:46:29.657265Z 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.04 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 # [ 20.860647] zhost[887]: 2026-09-02T21:46:29.693182Z 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.39 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 # [ 20.893764] zhost[887]: 2026-09-02T21:46:29.726299Z 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.03 seconds) (finished: subtest: the query API reports Total-Results and a next-page Link, in 0.03 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 # [ 20.925696] zhost[887]: 2026-09-02T21:46:29.758354Z 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.03 seconds) (finished: subtest: a read-only key can drive the query API, in 0.03 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 # [ 20.961932] zhost[887]: 2026-09-02T21:46:29.794427Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 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 # [ 20.998613] zhost[887]: 2026-09-02T21:46:29.831276Z 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.05 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 # [ 21.041912] zhost[887]: 2026-09-02T21:46:29.874407Z 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 # [ 21.074550] zhost[887]: 2026-09-02T21:46:29.907111Z 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 # [ 21.106697] zhost[887]: 2026-09-02T21:46:29.939312Z 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 # [ 21.139650] zhost[887]: 2026-09-02T21:46:29.972314Z INFO zhost: request method=GET uri=/users/1/tags api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[] | select(.tag == "shelf") | .numItems == 1', in 0.03 seconds) (finished: subtest: convenience listings: top, trash, collection items and tags, in 0.21 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 # [ 21.174251] zhost[887]: 2026-09-02T21:46:30.006897Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 7' -d '[{"key":"TQPFALS3","itemType":"book","title":"pf","parentItem":false}]' | jq -e .successful machine # [ 21.207600] zhost[887]: 2026-09-02T21:46:30.040115Z 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.04 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join("\n")' machine # [ 21.244811] zhost[887]: 2026-09-02T21:46:30.077295Z INFO zhost: request method=GET uri=/users/1/items/top api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/top' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join("\n")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e 'has("CHILDNQ3")|not' machine # [ 21.277461] zhost[887]: 2026-09-02T21:46:30.109988Z INFO zhost: request method=GET uri=/users/1/items/top?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e 'has("CHILDNQ3")|not', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.CHILDNQ3' machine # [ 21.310072] zhost[887]: 2026-09-02T21:46:30.142528Z 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.17 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 # [ 21.345660] zhost[887]: 2026-09-02T21:46:30.178363Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 8' -d '[{"key":"MALFQRM3","itemType":"book","title":"weird","creators":"notarray","tags":"x","collections":"y"}]' | jq -e .successful machine # [ 21.379725] zhost[887]: 2026-09-02T21:46:30.212260Z 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.04 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 # [ 21.417092] zhost[887]: 2026-09-02T21:46:30.249752Z INFO zhost: request method=GET uri=/users/1/tags api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 21.447204] zhost[887]: 2026-09-02T21:46:30.279859Z 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.03 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 # [ 21.477739] zhost[887]: 2026-09-02T21:46:30.310399Z 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.03 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 # [ 21.509441] zhost[887]: 2026-09-02T21:46:30.341985Z 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.03 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 # [ 21.540670] zhost[887]: 2026-09-02T21:46:30.373183Z 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.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 # [ 21.574511] zhost[887]: 2026-09-02T21:46:30.407148Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 9' -d '[{"key":"BADTAGS3","itemType":"book","title":"bt","tags":[{"tag":"good"},123,"junk"]}]' | jq -e .successful machine # [ 21.608472] zhost[887]: 2026-09-02T21:46:30.441091Z 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.04 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 # [ 21.645696] zhost[887]: 2026-09-02T21:46:30.478355Z 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.34 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 # [ 21.680827] zhost[887]: 2026-09-02T21:46:30.513526Z 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.04 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 # [ 21.716677] zhost[887]: 2026-09-02T21:46:30.548979Z 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.04 seconds) (finished: subtest: Total-Results stays correct past the last page, in 0.07 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 # [ 21.752972] zhost[887]: 2026-09-02T21:46:30.585634Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 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 # [ 21.786789] zhost[887]: 2026-09-02T21:46:30.619381Z 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.04 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 # [ 21.830730] zhost[887]: 2026-09-02T21:46:30.663253Z 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 # [ 21.864694] zhost[887]: 2026-09-02T21:46:30.697351Z 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 # [ 21.897730] zhost[887]: 2026-09-02T21:46:30.730387Z 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 # [ 21.931083] zhost[887]: 2026-09-02T21:46:30.763668Z 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.03 seconds) (finished: subtest: query API: OR filters, descending sort and includeTrashed, in 0.21 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 # [ 21.967077] zhost[887]: 2026-09-02T21:46:30.799698Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 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 # [ 22.000684] zhost[887]: 2026-09-02T21:46:30.833376Z 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.05 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 # [ 22.045911] zhost[887]: 2026-09-02T21:46:30.878486Z 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.12 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 # [ 22.078786] zhost[887]: 2026-09-02T21:46:30.911445Z 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.03 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 # [ 22.110290] zhost[887]: 2026-09-02T21:46:30.942914Z 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.06 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 # [ 22.145668] zhost[887]: 2026-09-02T21:46:30.978417Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -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 # [ 22.178288] zhost[887]: 2026-09-02T21:46:31.010935Z 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 # [ 22.209718] zhost[887]: 2026-09-02T21:46:31.042420Z 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 # [ 22.241078] zhost[887]: 2026-09-02T21:46:31.073765Z 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.03 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 # [ 22.272944] zhost[887]: 2026-09-02T21:46:31.105451Z 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 # [ 22.304569] zhost[887]: 2026-09-02T21:46:31.137154Z 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.03 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 # [ 22.336315] zhost[887]: 2026-09-02T21:46:31.168762Z 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 # [ 22.367758] zhost[887]: 2026-09-02T21:46:31.200462Z 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.03 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 # [ 22.399533] zhost[887]: 2026-09-02T21:46:31.232068Z INFO zhost: request method=GET uri=/users/1/searches?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 22.430820] zhost[887]: 2026-09-02T21:46:31.263459Z 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.03 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 # [ 22.463082] zhost[887]: 2026-09-02T21:46:31.295623Z 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 # [ 22.495568] zhost[887]: 2026-09-02T21:46:31.328166Z 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.03 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 # [ 22.531608] zhost[887]: 2026-09-02T21:46:31.364319Z 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.03 seconds) (finished: subtest: a versions read with nothing newer returns 200 + empty map, not 304, in 0.42 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 # [ 22.580202] zhost[887]: 2026-09-02T21:46:31.412735Z 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.05 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 # [ 22.618862] zhost[887]: 2026-09-02T21:46:31.451384Z 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.04 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 # [ 22.656108] zhost[887]: 2026-09-02T21:46:31.488442Z 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 # [ 22.688679] zhost[887]: 2026-09-02T21:46:31.521192Z 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.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 # [ 22.725817] zhost[887]: 2026-09-02T21:46:31.558312Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X 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 # [ 22.760077] zhost[887]: 2026-09-02T21:46:31.592785Z 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.04 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.collections | index("CQLL2223")' machine # [ 22.798627] zhost[887]: 2026-09-02T21:46:31.631297Z 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.03 seconds) (finished: subtest: collections round-trip through write, read, versions and delete, in 0.27 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 # [ 22.836528] zhost[887]: 2026-09-02T21:46:31.669011Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/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 # [ 22.871707] zhost[887]: 2026-09-02T21:46:31.704405Z 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.04 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 # [ 22.908297] zhost[887]: 2026-09-02T21:46:31.740663Z 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.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 # [ 22.943632] zhost[887]: 2026-09-02T21:46:31.776052Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X 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 # [ 22.976273] zhost[887]: 2026-09-02T21:46:31.808375Z 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 # [ 23.010830] zhost[887]: 2026-09-02T21:46:31.843466Z 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.03 seconds) (finished: subtest: saved searches round-trip through write, read and delete, in 0.21 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 # [ 23.046360] zhost[887]: 2026-09-02T21:46:31.878986Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/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 # [ 23.078500] zhost[887]: 2026-09-02T21:46:31.910981Z 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 # [ 23.113818] zhost[887]: 2026-09-02T21:46:31.946405Z 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.03 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 # [ 23.145928] zhost[887]: 2026-09-02T21:46:31.978543Z INFO zhost: request method=POST uri=/users/1/settings api_version=3 if_unmod=0 body={"k":{"value":1}} machine # [ 23.150867] zhost[887]: 2026-09-02T21:46:31.982664Z 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 # [ 23.182577] zhost[887]: 2026-09-02T21:46:32.015327Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X 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 # [ 23.214463] zhost[887]: 2026-09-02T21:46:32.047018Z 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 # [ 23.247604] zhost[887]: 2026-09-02T21:46:32.080235Z 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.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 '.settings | index("tagColors")' machine # [ 23.279759] zhost[887]: 2026-09-02T21:46:32.112362Z 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.03 seconds) (finished: subtest: settings round-trip through write, read and delete, in 0.27 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 # [ 23.314319] zhost[887]: 2026-09-02T21:46:32.147010Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: 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 # [ 23.349711] zhost[887]: 2026-09-02T21:46:32.182143Z 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.04 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 # [ 23.387575] zhost[887]: 2026-09-02T21:46:32.220058Z 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.03 seconds) (finished: subtest: a gzip-compressed write body is decoded, in 0.11 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 # [ 23.423239] zhost[887]: 2026-09-02T21:46:32.255578Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X 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 # [ 23.455891] zhost[887]: 2026-09-02T21:46:32.288501Z 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.04 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 # [ 23.492441] zhost[887]: 2026-09-02T21:46:32.325105Z 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.03 seconds) (finished: subtest: PATCH updates items and is gated by the read-only key, in 0.10 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 # [ 23.526305] zhost[887]: 2026-09-02T21:46:32.358929Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 20' -d '[{"key":"MERGEIT2","itemType":"book","title":"orig","tags":[{"tag":"keep"}]}]' | jq -e .successful machine # [ 23.558993] zhost[887]: 2026-09-02T21:46:32.391628Z 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.04 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 23.596910] zhost[887]: 2026-09-02T21:46:32.429340Z 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 # [ 23.627695] zhost[887]: 2026-09-02T21:46:32.460323Z 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 # [ 23.662801] zhost[887]: 2026-09-02T21:46:32.495450Z INFO zhost: request method=GET uri=/users/1/items?itemKey=MERGEIT2&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=MERGEIT2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.title=="new" and .[0].data.itemType=="book" and .[0].data.tags[0].tag=="keep"', in 0.03 seconds) (finished: subtest: PATCH merges: a partial update keeps unspecified fields, in 0.17 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 # [ 23.698830] zhost[887]: 2026-09-02T21:46:32.531367Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 22' -d '[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}]' | jq -e .successful machine # [ 23.731725] zhost[887]: 2026-09-02T21:46:32.564349Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=22 body=[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 22' -d '[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}]' | jq -e .successful, in 0.04 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 23.772900] zhost[887]: 2026-09-02T21:46:32.605438Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 23' -d '[{"key":"PMERGEAT","lastRead":1700000000,"tags":[]}]' machine # [ 23.804660] zhost[887]: 2026-09-02T21:46:32.637304Z 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 # [ 23.839900] zhost[887]: 2026-09-02T21:46:32.672600Z INFO zhost: request method=GET uri=/users/1/items?itemKey=PMERGEAT&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=PMERGEAT&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.itemType=="attachment" and .[0].data.linkMode=="imported_file" and .[0].data.filename=="f.pdf" and .[0].data.lastRead==1700000000', in 0.03 seconds) (finished: subtest: POST also merges: a partial upload keeps unspecified fields, in 0.18 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 # [ 23.875170] zhost[887]: 2026-09-02T21:46:32.707872Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.04 seconds) machine: must succeed: curl -sf -X 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 # [ 23.907497] zhost[887]: 2026-09-02T21:46:32.740158Z 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 # [ 23.941909] zhost[887]: 2026-09-02T21:46:32.774400Z 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.10 seconds) (finished: run the VM test script, in 24.89 seconds) test script finished in 24.94s cleanup kill QemuMachine (pid 45) machine # qemu-system-x86_64: terminating on signal 15 from pid 39 (/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/bin/python3.14) (finished: cleanup, in 0.15 seconds)