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.au7FRlRO7F', 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: f60fb708-0eda-4cda-b033-5b2d49951e99 machine # Superblock backups stored on blocks: machine # 32768, 98304, 163840, 229376 machine # machine # Allocating group tables: 0/8 done machine # Writing inode tables: 0/8 done machine # Creating journal (8192 blocks): done machine # Writing superblocks and filesystem accounting information: 0/8 done machine # machine # Virtualisation disk image created. machine # Starting virtiofs daemons... machine # [2026-09-16T21:47:32Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-09-16T21:47:32Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-09-16T21:47:32Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-09-16T21:47:32Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-09-16T21:47:32Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-09-16T21:47:32Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-09-16T21:47:32Z WARN virtiofsd::passthrough] Failed to open file handle for the root node: Operation not permitted (os error 1) machine # [2026-09-16T21:47:32Z WARN virtiofsd::passthrough] File handles do not appear safe to use, disabling file handles altogether machine # [2026-09-16T21:47:32Z INFO virtiofsd] Waiting for vhost-user socket connection... machine # [2026-09-16T21:47:32Z INFO virtiofsd] Client connected, servicing requests machine # [2026-09-16T21:47:32Z INFO virtiofsd] Client connected, servicing requests machine # [2026-09-16T21:47:32Z INFO virtiofsd] Client connected, servicing requests machine # SeaBIOS (version rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org) machine # machine # machine # iPXE (http://ipxe.org) 00:02.0 CA00 PCI2.10 PnP PMM+3EFCC730+3EF2C730 CA00 machine # Press Ctrl-B to configure iPXE (PCI 00:02.0)... machine # machine # machine # machine # machine # iPXE (http://ipxe.org) 00:05.0 CB00 PCI2.10 PnP PMM 3EFCC730 3EF2C730 CB00 machine # Press Ctrl-B to configure iPXE (PCI 00:05.0)... machine # machine # machine # Booting from ROM... machine # Probing EDD (edd=off to disable)... ok machine # [ 0.000000] Linux version 6.18.51 (nixbld@localhost) (gcc (GCC) 15.3.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Fri Sep 11 09:49:46 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/rpx060h7kly0p8c4ish1kzs60vf99kx1-nixos-system-machine-test/init regInfo=/nix/store/jqnswyiczh5d3p6rs98clldsl38njkk7-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 441014538 cycles machine # [ 0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns machine # [ 0.000004] tsc: Detected 3792.874 MHz processor machine # [ 0.000657] last_pfn = 0x3ffd8 max_arch_pfn = 0x400000000 machine # [ 0.000681] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs machine # [ 0.000683] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT machine # [ 0.002216] found SMP MP-table at [mem 0x000f5450-0x000f545f] machine # [ 0.002227] Using GB pages for direct mapping machine # [ 0.002305] RAMDISK: [mem 0x3e36b000-0x3ffcffff] machine # [ 0.002310] ACPI: Early table checksum verification disabled machine # [ 0.002312] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS ) machine # [ 0.002315] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002317] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002323] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002325] ACPI: FACS 0x000000003FFE0000 000040 machine # [ 0.002326] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002327] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002329] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002330] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001) machine # [ 0.002331] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d] machine # [ 0.002332] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219] machine # [ 0.002332] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f] machine # [ 0.002333] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385] machine # [ 0.002333] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd] machine # [ 0.002334] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9] machine # [ 0.002334] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421] machine # [ 0.002708] No NUMA configuration found machine # [ 0.002709] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff] machine # [ 0.002712] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff] machine # [ 0.002784] Zone ranges: machine # [ 0.002785] DMA [mem 0x0000000000001000-0x0000000000ffffff] machine # [ 0.002786] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff] machine # [ 0.002787] Normal empty machine # [ 0.002788] Device empty machine # [ 0.002788] Movable zone start for each node machine # [ 0.002789] Early memory node ranges machine # [ 0.002789] node 0: [mem 0x0000000000001000-0x000000000009efff] machine # [ 0.002790] node 0: [mem 0x0000000000100000-0x000000003ffd7fff] machine # [ 0.002790] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff] machine # [ 0.002834] On node 0, zone DMA: 1 pages in unavailable ranges machine # [ 0.003040] On node 0, zone DMA: 97 pages in unavailable ranges machine # [ 0.016864] On node 0, zone DMA32: 40 pages in unavailable ranges machine # [ 0.017714] ACPI: PM-Timer IO Port: 0x608 machine # [ 0.017722] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1]) machine # [ 0.017740] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23 machine # [ 0.017742] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) machine # [ 0.017743] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level) machine # [ 0.017744] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) machine # [ 0.017745] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level) machine # [ 0.017745] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level) machine # [ 0.017747] ACPI: Using ACPI (MADT) for SMP configuration information machine # [ 0.017748] ACPI: HPET id: 0x8086a201 base: 0xfed00000 machine # [ 0.017750] TSC deadline timer available machine # [ 0.017753] CPU topo: Max. logical packages: 1 machine # [ 0.017754] CPU topo: Max. logical dies: 1 machine # [ 0.017754] CPU topo: Max. dies per package: 1 machine # [ 0.017758] CPU topo: Max. threads per core: 1 machine # [ 0.017758] CPU topo: Num. cores per package: 1 machine # [ 0.017759] CPU topo: Num. threads per package: 1 machine # [ 0.017759] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs machine # [ 0.017770] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write() machine # [ 0.017794] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff] machine # [ 0.017795] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff] machine # [ 0.017796] [mem 0x40000000-0xafffffff] available for PCI devices machine # [ 0.017797] Booting paravirtualized kernel on KVM machine # [ 0.017799] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns machine # [ 0.021503] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1 machine # [ 0.023344] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152 machine # [ 0.023377] kvm-guest: PV spinlocks disabled, single CPU machine # [ 0.023378] 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/rpx060h7kly0p8c4ish1kzs60vf99kx1-nixos-system-machine-test/init regInfo=/nix/store/jqnswyiczh5d3p6rs98clldsl38njkk7-closure-info/registration console=ttyS0,115200n8 console=tty0 machine # [ 0.023451] Unknown kernel command line parameters "regInfo=/nix/store/jqnswyiczh5d3p6rs98clldsl38njkk7-closure-info/registration", will be passed to user space. machine # [ 0.023468] random: crng init done machine # [ 0.023468] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes machine # [ 0.024310] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) machine # [ 0.024339] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear) machine # [ 0.024362] Fallback order for Node 0: 0 machine # [ 0.024364] Built 1 zonelists, mobility grouping on. Total pages: 262006 machine # [ 0.024365] Policy zone: DMA32 machine # [ 0.026291] mem auto-init: stack:all(zero), heap alloc:on, heap free:off machine # [ 0.029084] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 machine # [ 0.030841] allocated 2097152 bytes of page_ext machine # [ 0.039057] ftrace: allocating 48736 entries in 192 pages machine # [ 0.039058] ftrace: allocated 192 pages with 2 groups machine # [ 0.039685] Dynamic Preempt: lazy machine # [ 0.039833] rcu: Preemptible hierarchical RCU implementation. machine # [ 0.039834] rcu: RCU event tracing is enabled. machine # [ 0.039834] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1. machine # [ 0.039835] Trampoline variant of Tasks RCU enabled. machine # [ 0.039836] Rude variant of Tasks RCU enabled. machine # [ 0.039836] Tracing variant of Tasks RCU enabled. machine # [ 0.039837] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. machine # [ 0.039838] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 machine # [ 0.039850] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.039851] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.039852] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. machine # [ 0.043750] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16 machine # [ 0.043988] rcu: srcu_init: Setting srcu_struct sizes based on contention. machine # [ 0.043992] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns machine # [ 0.044075] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____) machine # [ 0.049668] Console: colour VGA+ 80x25 machine # [ 0.049670] printk: legacy console [tty0] enabled machine # [ 0.082631] printk: legacy console [ttyS0] enabled machine # [ 0.230270] ACPI: Core revision 20250807 machine # [ 0.231399] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns machine # [ 0.234515] APIC: Switch to symmetric I/O mode setup machine # [ 0.236344] x2apic enabled machine # [ 0.237616] APIC: Switched APIC routing to: physical x2apic machine # [ 0.240518] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 machine # [ 0.242233] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns machine # [ 0.244818] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874) machine # [ 0.245880] x86/cpu: User Mode Instruction Prevention (UMIP) activated machine # [ 0.246908] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127 machine # [ 0.248809] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0 machine # [ 0.249812] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto machine # [ 0.250809] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl machine # [ 0.252809] Spectre V2 : Mitigation: Retpolines machine # [ 0.253809] Speculative Return Stack Overflow: Mitigation: Safe RET machine # [ 0.255809] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization machine # [ 0.257809] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT machine # [ 0.259809] Spectre V2 : Enabling Restricted Speculation for firmware calls machine # [ 0.261811] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier machine # [ 0.262809] active return thunk: srso_alias_return_thunk machine # [ 0.263823] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' machine # [ 0.264809] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' machine # [ 0.265809] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' machine # [ 0.266809] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers' machine # [ 0.268809] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers' machine # [ 0.269809] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)' machine # [ 0.270809] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 machine # [ 0.271809] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8 machine # [ 0.272809] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16 machine # [ 0.274809] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24 machine # [ 0.275809] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format. machine # [ 0.303814] Freeing SMP alternatives memory: 44K machine # [ 0.304810] pid_max: default: 32768 minimum: 301 machine # [ 0.305857] LSM: initializing lsm=capability,landlock,yama,bpf,ima machine # [ 0.306894] landlock: Up and running. machine # [ 0.307809] Yama: becoming mindful. machine # [ 0.309016] LSM support for eBPF active machine # [ 0.309891] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) machine # [ 0.310828] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear) machine # [ 0.313579] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2) machine # [ 0.314209] Performance Events: Fam17h+ core perfctr, AMD PMU driver. machine # [ 0.314812] ... version: 0 machine # [ 0.315799] ... bit width: 48 machine # [ 0.316595] ... generic counters: 6 machine # [ 0.317628] ... generic bitmap: 000000000000003f machine # [ 0.318785] ... fixed-purpose counters: 0 machine # [ 0.319567] ... fixed-purpose bitmap: 0000000000000000 machine # [ 0.320804] ... value mask: 0000ffffffffffff machine # [ 0.321800] ... max period: 00007fffffffffff machine # [ 0.322802] ... global_ctrl mask: 000000000000003f machine # [ 0.323890] signal: max sigframe size: 3376 machine # [ 0.324876] rcu: Hierarchical SRCU implementation. machine # [ 0.325814] rcu: Max phase no-delay instances is 400. machine # [ 0.330452] smp: Bringing up secondary CPUs ... machine # [ 0.330822] smp: Brought up 1 node, 1 CPU machine # [ 0.331755] smpboot: Total of 1 processors activated (7585.74 BogoMIPS) machine # [ 0.332996] Memory: 943020K/1048024K available (17231K kernel code, 2726K rwdata, 13600K rodata, 3644K init, 2988K bss, 97580K reserved, 0K cma-reserved) machine # [ 0.333970] devtmpfs: initialized machine # [ 0.334961] x86/mm: Memory block size: 128MB machine # [ 0.336620] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear) machine # [ 0.337837] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear). machine # [ 0.338868] pinctrl core: initialized pinctrl subsystem machine # [ 0.340122] PM: RTC time: 21:47:32, date: 2026-09-16 machine # [ 0.343160] NET: Registered PF_NETLINK/PF_ROUTE protocol family machine # [ 0.344122] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations machine # [ 0.344830] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations machine # [ 0.345924] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations machine # [ 0.346818] audit: initializing netlink subsys (disabled) machine # [ 0.348009] thermal_sys: Registered thermal governor 'fair_share' machine # [ 0.348010] thermal_sys: Registered thermal governor 'bang_bang' machine # [ 0.348823] audit: type=2000 audit(1789595253.334:1): state=initialized audit_enabled=0 res=1 machine # [ 0.350813] thermal_sys: Registered thermal governor 'step_wise' machine # [ 0.350814] thermal_sys: Registered thermal governor 'user_space' machine # [ 0.351811] thermal_sys: Registered thermal governor 'power_allocator' machine # [ 0.352824] cpuidle: using governor menu machine # [ 0.355642] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5 machine # [ 0.357047] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff] machine # [ 0.357812] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry machine # [ 0.358819] PCI: Using configuration type 1 for base access machine # [ 0.359967] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible. machine # [ 0.367066] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages machine # [ 0.367811] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page machine # [ 0.372810] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages machine # [ 0.373811] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page machine # [ 0.384161] ACPI: Added _OSI(Module Device) machine # [ 0.384811] ACPI: Added _OSI(Processor Device) machine # [ 0.388810] ACPI: Added _OSI(Processor Aggregator Device) machine # [ 0.392176] ACPI: 1 ACPI AML tables successfully acquired and loaded machine # [ 0.398190] ACPI: Interpreter enabled machine # [ 0.398825] ACPI: PM: (supports S0 S3 S4 S5) machine # [ 0.399812] ACPI: Using IOAPIC for interrupt routing machine # [ 0.400863] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug machine # [ 0.402257] PCI: Using E820 reservations for host bridge windows machine # [ 0.402955] ACPI: Enabled 2 GPEs in block 00 to 3F machine # [ 0.407736] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) machine # [ 0.408815] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3] machine # [ 0.409883] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR] machine # [ 0.410930] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability] machine # [ 0.412237] PCI host bridge to bus 0000:00 machine # [ 0.412816] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] machine # [ 0.413811] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] machine # [ 0.414811] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] machine # [ 0.415811] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window] machine # [ 0.416811] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window] machine # [ 0.417812] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window] machine # [ 0.418811] pci_bus 0000:00: root bus resource [bus 00-ff] machine # [ 0.419888] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint machine # [ 0.421522] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint machine # [ 0.424864] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref] machine # [ 0.425833] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff] machine # [ 0.426867] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref] machine # [ 0.428085] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] machine # [ 0.429696] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint machine # [ 0.431822] pci 0000:00:02.0: BAR 0 [io 0xc100-0xc11f] machine # [ 0.432823] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff] machine # [ 0.433853] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref] machine # [ 0.434823] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref] machine # [ 0.436811] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint machine # [ 0.438822] pci 0000:00:03.0: BAR 0 [io 0xc120-0xc13f] machine # [ 0.439823] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff] machine # [ 0.440860] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref] machine # [ 0.442779] pci 0000:00:04.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint machine # [ 0.444831] pci 0000:00:04.0: BAR 0 [io 0xc000-0xc07f] machine # [ 0.445823] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff] machine # [ 0.446853] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref] machine # [ 0.448769] pci 0000:00:05.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint machine # [ 0.451933] pci 0000:00:05.0: BAR 0 [io 0xc140-0xc15f] machine # [ 0.452823] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff] machine # [ 0.453854] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref] machine # [ 0.454823] pci 0000:00:05.0: ROM [mem 0xfeb80000-0xfebbffff pref] machine # [ 0.456754] pci 0000:00:06.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint machine # [ 0.458832] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff] machine # [ 0.459853] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref] machine # [ 0.461776] pci 0000:00:07.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.463740] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff] machine # [ 0.464854] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref] machine # [ 0.466811] pci 0000:00:08.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.468742] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff] machine # [ 0.469853] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref] machine # [ 0.471762] pci 0000:00:09.0: [1af4:105a] type 00 class 0x018000 conventional PCI endpoint machine # [ 0.473834] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff] machine # [ 0.474853] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref] machine # [ 0.476761] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint machine # [ 0.478830] pci 0000:00:0a.0: BAR 0 [io 0xc080-0xc0bf] machine # [ 0.479823] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff] machine # [ 0.480853] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref] machine # [ 0.482947] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint machine # [ 0.484823] pci 0000:00:0b.0: BAR 0 [io 0xc160-0xc17f] machine # [ 0.485823] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff] machine # [ 0.486853] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref] machine # [ 0.488802] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.490490] pci 0000:00:1d.0: BAR 4 [io 0xc180-0xc19f] machine # [ 0.491087] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.492523] pci 0000:00:1d.1: BAR 4 [io 0xc1a0-0xc1bf] machine # [ 0.493108] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint machine # [ 0.495498] pci 0000:00:1d.2: BAR 4 [io 0xc1c0-0xc1df] machine # [ 0.496133] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint machine # [ 0.497502] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff] machine # [ 0.498179] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint machine # [ 0.499343] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO machine # [ 0.500179] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint machine # [ 0.501739] pci 0000:00:1f.2: BAR 4 [io 0xc1e0-0xc1ff] machine # [ 0.502781] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff] machine # [ 0.504345] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint machine # [ 0.505549] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f] machine # [ 0.510983] ACPI: PCI: Interrupt link LNKA configured for IRQ 10 machine # [ 0.511947] ACPI: PCI: Interrupt link LNKB configured for IRQ 10 machine # [ 0.512945] ACPI: PCI: Interrupt link LNKC configured for IRQ 11 machine # [ 0.513943] ACPI: PCI: Interrupt link LNKD configured for IRQ 11 machine # [ 0.514940] ACPI: PCI: Interrupt link LNKE configured for IRQ 10 machine # [ 0.515940] ACPI: PCI: Interrupt link LNKF configured for IRQ 10 machine # [ 0.516973] ACPI: PCI: Interrupt link LNKG configured for IRQ 11 machine # [ 0.517940] ACPI: PCI: Interrupt link LNKH configured for IRQ 11 machine # [ 0.518864] ACPI: PCI: Interrupt link GSIA configured for IRQ 16 machine # [ 0.519829] ACPI: PCI: Interrupt link GSIB configured for IRQ 17 machine # [ 0.520829] ACPI: PCI: Interrupt link GSIC configured for IRQ 18 machine # [ 0.521828] ACPI: PCI: Interrupt link GSID configured for IRQ 19 machine # [ 0.522825] ACPI: PCI: Interrupt link GSIE configured for IRQ 20 machine # [ 0.523825] ACPI: PCI: Interrupt link GSIF configured for IRQ 21 machine # [ 0.524825] ACPI: PCI: Interrupt link GSIG configured for IRQ 22 machine # [ 0.525825] ACPI: PCI: Interrupt link GSIH configured for IRQ 23 machine # [ 0.527626] iommu: Default domain type: Translated machine # [ 0.528681] iommu: DMA domain TLB invalidation policy: lazy mode machine # [ 0.530024] ACPI: bus type USB registered machine # [ 0.530865] usbcore: registered new interface driver usbfs machine # [ 0.531830] usbcore: registered new interface driver hub machine # [ 0.532830] usbcore: registered new device driver usb machine # [ 0.534514] NetLabel: Initializing machine # [ 0.534815] NetLabel: domain hash size = 128 machine # [ 0.535810] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO machine # [ 0.536841] NetLabel: unlabeled traffic allowed by default machine # [ 0.537821] PCI: Using ACPI for IRQ routing machine # [ 0.621776] pci 0000:00:01.0: vgaarb: setting as boot VGA device machine # [ 0.621807] pci 0000:00:01.0: vgaarb: bridge control possible machine # [ 0.621807] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none machine # [ 0.621813] vgaarb: loaded machine # [ 0.622674] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0 machine # [ 0.623667] hpet0: 3 comparators, 64-bit 100.000000 MHz counter machine # [ 0.627866] clocksource: Switched to clocksource kvm-clock machine # [ 0.629716] VFS: Disk quotas dquot_6.6.0 machine # [ 0.632169] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) machine # [ 0.633841] pnp: PnP ACPI init machine # [ 0.634780] ACPI: IRQ 4 override to edge(!), high(!) machine # [ 0.636012] system 00:04: [mem 0xb0000000-0xbfffffff window] has been reserved machine # [ 0.638015] pnp: PnP ACPI: found 5 devices machine # [ 0.645662] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns machine # [ 0.647616] clocksource: Switched to clocksource acpi_pm machine # [ 0.648946] NET: Registered PF_INET protocol family machine # [ 0.650236] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear) machine # [ 0.664704] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear) machine # [ 0.666692] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) machine # [ 0.668470] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear) machine # [ 0.670222] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear) machine # [ 0.671860] TCP: Hash tables configured (established 8192 bind 8192) machine # [ 0.673307] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear) machine # [ 0.674983] UDP hash table entries: 512 (order: 3, 32768 bytes, linear) machine # [ 0.676479] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear) machine # [ 0.678080] NET: Registered PF_UNIX/PF_LOCAL protocol family machine # [ 0.679381] NET: Registered PF_XDP protocol family machine # [ 0.680534] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] machine # [ 0.681917] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] machine # [ 0.683285] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] machine # [ 0.684794] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window] machine # [ 0.686326] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window] machine # [ 0.687836] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window] machine # [ 0.689990] ACPI: \_SB_.GSIA: Enabled at IRQ 16 machine # [ 0.692153] ACPI: \_SB_.GSIB: Enabled at IRQ 17 machine # [ 0.694293] ACPI: \_SB_.GSIC: Enabled at IRQ 18 machine # [ 0.696427] ACPI: \_SB_.GSID: Enabled at IRQ 19 machine # [ 0.698300] PCI: CLS 0 bytes, default 64 machine # [ 0.699406] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns machine # [ 0.701649] Trying to unpack rootfs image as initramfs... machine # [ 0.741328] Initialise system trusted keyrings machine # [ 0.744889] workingset: timestamp_bits=40 max_order=18 bucket_order=0 machine # [ 0.765578] Key type asymmetric registered machine # [ 0.766572] Asymmetric key parser 'x509' registered machine # [ 0.769888] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248) machine # [ 0.773900] io scheduler mq-deadline registered machine # [ 0.776858] io scheduler kyber registered machine # [ 0.779993] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled machine # [ 0.781678] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A machine # [ 0.787862] Linux agpgart interface v0.103 machine # [ 0.790901] ACPI: bus type drm_connector registered machine # [ 0.792424] usbcore: registered new interface driver usbserial_generic machine # [ 0.793880] usbserial: USB Serial support registered for generic machine # [ 0.797854] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled machine # [ 0.799614] drop_monitor: Initializing network drop monitor service machine # [ 0.803978] NET: Registered PF_INET6 protocol family machine # [ 0.808095] Segment Routing with IPv6 machine # [ 0.811861] In-situ OAM (IOAM) with IPv6 machine # [ 0.813130] IPI shorthand broadcast: enabled machine # [ 0.821251] sched_clock: Marking stable (626024369, 194815031)->(926923746, -106084346) machine # [ 0.826928] registered taskstats version 1 machine # [ 0.828087] Loading compiled-in X.509 certificates machine # [ 0.845851] Demotion targets for Node 0: null machine # [ 0.847007] Key type .fscrypt registered machine # [ 0.849853] Key type fscrypt-provisioning registered machine # [ 0.851087] ima: No TPM chip found, activating TPM-bypass! machine # [ 0.853855] ima: Allocated hash algorithm: sha1 machine # [ 0.854944] ima: No architecture policies found machine # [ 0.857998] PM: Magic number: 10:685:803 machine # [ 0.859697] RAS: Correctable Errors collector initialized. machine # [ 0.870231] clk: Disabling unused clocks machine # [ 0.873868] PM: genpd: Disabling unused power domains machine # [ 0.990530] Freeing initrd memory: 29076K machine # [ 0.993610] Freeing unused decrypted memory: 2028K machine # [ 0.996270] Freeing unused kernel image (initmem) memory: 3644K machine # [ 0.997678] Write protecting the kernel read-only data: 32768k machine # [ 0.999761] Freeing unused kernel image (text/rodata gap) memory: 1200K machine # [ 1.001589] Freeing unused kernel image (rodata/data gap) memory: 736K machine # [ 1.043369] x86/mm: Checked W+X mappings: passed, no W+X pages found. machine # [ 1.044806] Run /init as init process machine # [ 1.054242] systemd[1]: Inserted module 'autofs4' machine # [ 1.073053] fuse: init (API version 7.45) machine # [ 1.080082] ACPI: \_SB_.GSIG: Enabled at IRQ 22 machine # [ 1.083042] ACPI: \_SB_.GSIH: Enabled at IRQ 23 machine # [ 1.086614] ACPI: \_SB_.GSIE: Enabled at IRQ 20 machine # [ 1.089210] ACPI: \_SB_.GSIF: Enabled at IRQ 21 machine # [ 1.095208] virtiofs virtio5: discovered new tag: nix-store machine # [ 1.097474] virtiofs virtio5: virtio_fs_setup_dax: No cache capability machine # [ 1.106606] virtiofs virtio6: discovered new tag: shared machine # [ 1.109955] virtiofs virtio6: virtio_fs_setup_dax: No cache capability machine # [ 1.115699] virtiofs virtio7: discovered new tag: xchg machine # [ 1.119036] virtiofs virtio7: virtio_fs_setup_dax: No cache capability machine # [ 1.143199] systemd[1]: Successfully made /usr/ read-only. machine # [ 1.480242] 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.489324] systemd[1]: Detected virtualization kvm. machine # [ 1.490648] systemd[1]: Detected architecture x86-64. machine # [ 1.491944] systemd[1]: Running in initrd. machine # [ 1.493338] systemd[1]: Initializing machine ID from random generator. machine # [ 1.495260] systemd[1]: Hostname set to . machine # [ 1.682888] systemd[1]: bpf-restrict-fs: LSM BPF program attached machine # [ 1.717126] systemd[1]: Queued start job for default target Initrd Default Target. machine # [ 1.721133] systemd[1]: Created slice Slice /system/modprobe. machine # [ 1.722723] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. machine # [ 1.724605] systemd[1]: Expecting device /dev/disk/by-label/nixos... machine # [ 1.726163] systemd[1]: Reached target Path Units. machine # [ 1.727355] systemd[1]: Reached target Slice Units. machine # [ 1.728583] systemd[1]: Reached target Swaps. machine # [ 1.729694] systemd[1]: Reached target Timer Units. machine # [ 1.731037] systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [ 1.732662] systemd[1]: Listening on Journal Socket (/dev/log). machine # [ 1.734251] systemd[1]: Listening on Journal Sockets. machine # [ 1.735602] systemd[1]: Listening on udev Control Socket. machine # [ 1.737038] systemd[1]: Listening on udev Kernel Socket. machine # [ 1.738349] systemd[1]: Reached target Socket Units. machine # [ 1.740349] systemd[1]: Starting Create List of Static Device Nodes... machine # [ 1.747452] systemd[1]: Starting Load Kernel Module configfs... machine # [ 1.758295] systemd[1]: Starting Journal Service... machine # [ 1.779987] systemd[1]: Starting Load Kernel Modules... machine # [ 1.784924] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 1.790889] systemd[1]: Starting Coldplug All udev Devices... machine # [ 1.795781] systemd-journald[66]: Collecting audit messages is disabled. machine # [ 1.804632] systemd[1]: Finished Create List of Static Device Nodes. machine # [ 1.813413] systemd[1]: modprobe@configfs.service: Deactivated successfully. machine # [ 1.822294] systemd[1]: Finished Load Kernel Module configfs. machine # [ 1.829338] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config machine # [ 1.836355] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log. machine # [ 1.842514] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... machine # [ 1.851948] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev machine # [ 1.874892] systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [ 1.886983] systemd[1]: Starting Create Static Device Nodes in /dev... machine # [ 1.899190] systemd[1]: Finished Load Kernel Modules. machine # [ 1.907990] systemd[1]: Starting Apply Kernel Variables... machine # [ 1.920257] systemd[1]: Finished Create Static Device Nodes in /dev. machine # [ 1.928192] systemd[1]: Reached target Preparation for Local File Systems. machine # [ 1.935205] systemd[1]: Reached target Local File Systems. machine # [ 1.941978] systemd[1]: Starting Rule-based Manager for Device Events and Files... machine # [ 1.957206] systemd[1]: Finished Apply Kernel Variables. machine # [ 1.766580] systemd-modules-load[68]: Inserted module 'dm_mod'[ 1.964030] systemd[1]: Started Journal Service. machine # machine # [ 1.770604] systemd-modules-load[68]: Inserted module 'virtio_balloon' machine # [ 1.772460] systemd-modules-load[68]: Inserted module 'virtio_gpu' machine # [ 1.790099] systemd[1]: Starting Create System Files and Directories... machine # [ 1.804681] systemd-udevd[74]: Using default interface naming scheme 'v261'. machine # [ 1.815114] systemd[1]: Finished Create System Files and Directories. machine # [ 1.836079] systemd[1]: Started Rule-based Manager for Device Events and Files. machine # [ 1.876186] systemd[1]: Finished Coldplug All udev Devices. machine # [ 1.877627] systemd[1]: Reached target System Initialization. machine # [ 1.878828] systemd[1]: Reached target Basic System. machine # [ 2.255925] virtio_blk virtio2: 1/0/0 default/read/poll queues machine # [ 2.272664] virtio_blk virtio2: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB) machine # [ 2.301859] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12 machine # [ 2.312198] serio: i8042 KBD port at 0x60,0x64 irq 1 machine # [ 2.320828] serio: i8042 AUX port at 0x60,0x64 irq 12 machine # [ 2.330453] ehci-pci 0000:00:1d.7: EHCI Host Controller machine # [ 2.331381] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1 machine # [ 2.333441] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000 machine # [ 2.341853] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00 machine # [ 2.344150] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18 machine # [ 2.347333] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.350110] usb usb1: Product: EHCI Host Controller machine # [ 2.352294] usb usb1: Manufacturer: Linux 6.18.51 ehci_hcd machine # [ 2.354109] usb usb1: SerialNumber: 0000:00:1d.7 machine # [ 2.356238] hub 1-0:1.0: USB hub found machine # [ 2.358021] hub 1-0:1.0: 6 ports detected machine # [ 2.362822] uhci_hcd 0000:00:1d.0: UHCI Host Controller machine # [ 2.363730] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2 machine # [ 2.376980] uhci_hcd 0000:00:1d.0: detected 2 ports machine # [ 2.384995] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c180 machine # [ 2.394135] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.395538] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.210787] (udev-worker)[89]: Network interface NamePolicy= disabled on kernel command line. machine # [ 2.212790] systemd[1]: Starting Virtual Console Setup... machine # [ 2.413418] SCSI subsystem initialized machine # [ 2.238676] (udev-worker)[84]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name. machine # [ 2.241371] (udev-worker)[84]: Network interface NamePolicy= disabled on kernel command line. machine # [ 2.246400] systemd-vconsole-setup[97]: Configuration of first virtual console was skipped, ignoring remaining ones. machine # [ 2.248982] systemd[1]: Finished Virtual Console Setup. machine # [ 2.446945] usb usb2: Product: UHCI Host Controller machine # [ 2.452826] usb usb2: Manufacturer: Linux 6.18.51 uhci_hcd machine # [ 2.453767] usb usb2: SerialNumber: 0000:00:1d.0 machine # [ 2.462489] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0 machine # [ 2.467850] hub 2-0:1.0: USB hub found machine # [ 2.472327] hub 2-0:1.0: 2 ports detected machine # [ 2.283524] systemd[1]: Found device /dev/disk/by-label/nixos. machine # [ 2.285536] systemd[1]: Reached target Initrd Root Device. machine # [ 2.290083] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos... machine # [ 2.490086] uhci_hcd 0000:00:1d.1: UHCI Host Controller machine # [ 2.502601] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3 machine # [ 2.506904] uhci_hcd 0000:00:1d.1: detected 2 ports machine # [ 2.508501] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c1a0 machine # [ 2.511608] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.515929] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.323300] systemd-fsck[104]: nixos: clean, 12/65536 files, 13019/262144 blocks machine # [ 2.520824] usb usb3: Product: UHCI Host Controller machine # [ 2.521695] usb usb3: Manufacturer: Linux 6.18.51 uhci_hcd machine # [ 2.524816] usb usb3: SerialNumber: 0000:00:1d.1 machine # [ 2.528016] hub 3-0:1.0: USB hub found machine # [ 2.529208] hub 3-0:1.0: 2 ports detected machine # [ 2.535952] uhci_hcd 0000:00:1d.2: UHCI Host Controller machine # [ 2.536899] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4 machine # [ 2.349618] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos. machine # [ 2.546408] uhci_hcd 0000:00:1d.2: detected 2 ports machine # [ 2.548974] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c1c0 machine # [ 2.551397] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18 machine # [ 2.552830] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 machine # [ 2.555720] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode machine # [ 2.557245] usb usb4: Product: UHCI Host Controller machine # [ 2.558526] usb usb4: Manufacturer: Linux 6.18.51 uhci_hcd machine # [ 2.559679] usb usb4: SerialNumber: 0000:00:1d.2 machine # [ 2.561489] hub 4-0:1.0: USB hub found machine # [ 2.562921] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f) machine # [ 2.564959] hub 4-0:1.0: 2 ports detected machine # [ 2.566102] ahci 0000:00:1f.2: flags: 64bit ncq only machine # [ 2.584914] scsi host0: ahci machine # [ 2.587847] scsi host1: ahci machine # [ 2.590894] scsi host2: ahci machine # [ 2.592888] scsi host3: ahci machine # [ 2.598872] usb 1-1: new high-speed USB device number 2 using ehci-pci machine # [ 2.600573] scsi host4: ahci machine # [ 2.604004] scsi host5: ahci machine # [ 2.604678] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 47 lpm-pol 1 machine # [ 2.613858] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 47 lpm-pol 1 machine # [ 2.615500] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 47 lpm-pol 1 machine # [ 2.617054] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 47 lpm-pol 1 machine # [ 2.618571] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 47 lpm-pol 1 machine # [ 2.620144] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 47 lpm-pol 1 machine # [ 2.727971] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00 machine # [ 2.729984] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10 machine # [ 2.732186] usb 1-1: Product: QEMU USB Tablet machine # [ 2.733552] usb 1-1: Manufacturer: QEMU machine # [ 2.734845] usb 1-1: SerialNumber: 28754-0000:00:1d.7-1 machine # [ 2.749030] hid: raw HID events driver (C) Jiri Kosina machine # [ 2.608118] systemd[1]: Mounting /sysroot... machine # [ 2.934485] ata4: SATA link down (SStatus 0 SControl 300) machine # [ 2.936570] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300) machine # [ 2.938942] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100 machine # [ 2.940615] ata3.00: applying bridge limits machine # [ 2.942470] ata6: SATA link down (SStatus 0 SControl 300) machine # [ 2.944358] ata2: SATA link down (SStatus 0 SControl 300) machine # [ 2.946055] ata1: SATA link down (SStatus 0 SControl 300) machine # [ 2.947562] ata5: SATA link down (SStatus 0 SControl 300) machine # [ 2.948981] ata3.00: configured for UDMA/100 machine # [ 2.950241] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5 machine # [ 3.004322] usbcore: registered new interface driver usbhid machine # [ 3.011244] usbhid: USB HID core driver machine # [ 3.035961] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input2 machine # [ 3.042092] 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.048099] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray machine # [ 3.058231] EXT4-fs (vda): mounted filesystem f60fb708-0eda-4cda-b033-5b2d49951e99 r/w with ordered data mode. Quota mode: none. machine # [ 3.060897] cdrom: Uniform CD-ROM driver Revision: 3.20 machine # [ 2.869869] systemd[1]: Mounted /sysroot. machine # [ 2.872168] systemd[1]: Reached target Initrd Root File System. machine # [ 2.875410] systemd[1]: Starting Mountpoints Configured in the Real Root... machine # [ 2.891797] systemd-sysroot-fstab-check[138]: /sysroot should be mounted in the initrd, will request daemon-reload. machine # [ 2.895982] systemd[1]: Reload requested from client PID 138 ('systemd-sysroot') (unit initrd-parse-etc.service)... machine # [ 2.898049] systemd[1]: Reloading... machine # [ 2.975503] systemd[1]: Reloading finished in 79 ms. machine # [ 2.983655] systemd-sysroot-fstab-check[138]: Requesting initrd-fs.target/start/replace... machine # [ 2.989146] systemd-sysroot-fstab-check[138]: Requesting swap.target/start/replace... machine # [ 2.992422] systemd[1]: initrd-parse-etc.service: Deactivated successfully. machine # [ 2.995139] systemd[1]: Finished Mountpoints Configured in the Real Root. machine # [ 2.996459] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies. machine # [ 3.609915] systemd[1]: Mounting /sysroot/nix/.ro-store... machine # [ 3.614996] systemd[1]: Mounting /sysroot/nix/.rw-store... machine # [ 3.619797] systemd[1]: Mounting /sysroot/run... machine # [ 3.621146] systemd[1]: Mounting /sysroot/tmp/shared... machine # [ 3.629328] systemd[1]: Mounting /sysroot/tmp/xchg... machine # [ 3.652289] systemd[1]: Mounted /sysroot/nix/.ro-store. machine # [ 3.653633] systemd[1]: Mounted /sysroot/nix/.rw-store. machine # [ 3.655075] systemd[1]: Mounted /sysroot/run. machine # [ 3.656890] systemd[1]: Mounted /sysroot/tmp/shared. machine # [ 3.660192] systemd[1]: Mounted /sysroot/tmp/xchg. machine # [ 3.663703] systemd[1]: Starting rw-sysroot-nix-store.service... machine # [ 3.674108] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully. machine # [ 3.676127] systemd[1]: Finished rw-sysroot-nix-store.service. machine # [ 4.609321] systemd[1]: Mounting /sysroot/nix/store... machine # [ 4.632642] systemd[1]: Mounted /sysroot/nix/store. machine # [ 4.634336] systemd[1]: Reached target Initrd File Systems. machine # [ 4.636346] systemd[1]: Starting Find NixOS closure... machine # [ 4.640147] systemd[1]: Starting Create Volatile Files and Directories in the Real Root... machine # [ 4.656917] systemd[1]: Finished Create Volatile Files and Directories in the Real Root. machine # [ 4.659860] systemd[1]: sysroot-run-credentials-systemd\x2dtmpfiles\x2dsetup\x2dsysroot.service.mount: Deactivated successfully. machine # [ 4.664879] systemd[1]: Finished Find NixOS closure. machine # [ 4.666915] systemd[1]: Reached target Initrd Default Target. machine # [ 4.668351] systemd[1]: Starting Cleaning Up and Shutting Down Daemons... machine # [ 4.680851] systemd[1]: Stopped target Initrd Default Target. machine # [ 4.682533] systemd[1]: Stopped target Basic System. machine # [ 4.684166] systemd[1]: Stopped target Initrd Root Device. machine # [ 4.685355] systemd[1]: Stopped target Path Units. machine # [ 4.686374] systemd[1]: systemd-ask-password-console.path: Deactivated successfully. machine # [ 4.688270] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch. machine # [ 4.691186] systemd[1]: Stopped target Slice Units. machine # [ 4.692255] systemd[1]: Stopped target Socket Units. machine # [ 4.693421] systemd[1]: Stopped target System Initialization. machine # [ 4.694559] systemd[1]: Stopped target Swaps. machine # [ 4.695512] systemd[1]: Stopped target Timer Units. machine # [ 4.696682] systemd[1]: dbus.socket: Deactivated successfully. machine # [ 4.698193] systemd[1]: Closed D-Bus System Message Bus Socket. machine # [ 4.700188] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully. machine # [ 4.701646] systemd[1]: Stopped Find NixOS closure. machine # [ 4.702893] systemd[1]: Starting rw-sysroot-nix-store.service... machine # [ 4.704250] systemd[1]: systemd-sysctl.service: Deactivated successfully. machine # [ 4.706229] systemd[1]: Stopped Apply Kernel Variables. machine # [ 4.707621] systemd[1]: systemd-modules-load.service: Deactivated successfully. machine # [ 4.710249] systemd[1]: Stopped Load Kernel Modules. machine # [ 4.711992] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully. machine # [ 4.714415] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root. machine # [ 4.717240] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully. machine # [ 4.720321] systemd[1]: Stopped Create System Files and Directories. machine # [ 4.721858] systemd[1]: Stopped target Local File Systems. machine # [ 4.723909] systemd[1]: Stopped target Preparation for Local File Systems. machine # [ 4.725948] systemd[1]: systemd-udev-trigger.service: Deactivated successfully. machine # [ 4.728191] systemd[1]: Stopped Coldplug All udev Devices. machine # [ 4.729548] systemd[1]: Stopping Rule-based Manager for Device Events and Files... machine # [ 4.732884] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 4.734305] systemd[1]: Stopped Virtual Console Setup. machine # [ 4.743401] systemd[1]: systemd-udevd.service: Deactivated successfully. machine # [ 4.745357] systemd[1]: Stopped Rule-based Manager for Device Events and Files. machine # [ 4.747353] systemd[1]: initrd-cleanup.service: Deactivated successfully. machine # [ 4.749320] systemd[1]: Finished Cleaning Up and Shutting Down Daemons. machine # [ 4.751399] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully. machine # [ 4.752869] systemd[1]: Finished rw-sysroot-nix-store.service. machine # [ 4.755470] systemd[1]: systemd-udevd-control.socket: Deactivated successfully. machine # [ 4.756933] systemd[1]: Closed udev Control Socket. machine # [ 4.759093] systemd[1]: Starting Cleanup udev Database... machine # [ 4.760199] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully. machine # [ 4.762169] systemd[1]: Stopped Create Static Device Nodes in /dev. machine # [ 4.763382] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully. machine # [ 4.765171] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully. machine # [ 4.766536] systemd[1]: kmod-static-nodes.service: Deactivated successfully. machine # [ 4.769146] systemd[1]: Stopped Create List of Static Device Nodes. machine # [ 4.782630] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully. machine # [ 4.784287] systemd[1]: Finished Cleanup udev Database. machine # [ 4.785664] systemd[1]: Reached target Switch Root. machine # [ 4.787512] systemd[1]: Starting NixOS Activation... machine # [ 4.839523] initrd-nixos-activation-start[190]: booting system configuration /nix/store/rpx060h7kly0p8c4ish1kzs60vf99kx1-nixos-system-machine-test machine # [ 4.862354] initrd-nixos-activation-start[190]: running activation script... machine # [ 5.020225] initrd-nixos-activation-start[213]: setting up /etc... machine # [ 5.114766] systemd[1]: initrd-nixos-activation.service: Deactivated successfully. machine # [ 5.117091] systemd[1]: Finished NixOS Activation. machine # [ 5.118973] systemd[1]: Starting Switch Root... machine # [ 5.130943] systemd[1]: Switching root. machine # [ 5.450868] systemd-journald[66]: Received SIGTERM from PID 1 (systemd). machine # [ 5.553922] NET: Registered PF_VSOCK protocol family machine # [ 5.909775] 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 # [ 5.917907] systemd[1]: Detected virtualization kvm. machine # [ 5.919273] systemd[1]: Detected architecture x86-64. machine # [ 5.920613] systemd[1]: Detected first boot. machine # [ 5.922528] systemd[1]: Initializing machine ID from random generator. machine # [ 6.139135] systemd[1]: bpf-restrict-fs: LSM BPF program attached machine # [ 6.215248] systemd[1]: Applying preset policy. machine # [ 6.372212] systemd[1]: Populated /etc with preset unit settings. machine # [ 6.563645] systemd[1]: initrd-switch-root.service: Deactivated successfully. machine # [ 6.565365] systemd[1]: Stopped initrd-switch-root.service. machine # [ 6.568059] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1. machine # [ 6.570395] systemd[1]: Created slice Slice /system/getty. machine # [ 6.571935] systemd[1]: Created slice User and Session Slice. machine # [ 6.573070] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. machine # [ 6.574541] systemd[1]: Started Forward Password Requests to Wall Directory Watch. machine # [ 6.575903] systemd[1]: Expecting device /dev/hvc0... machine # [ 6.576845] systemd[1]: Expecting device /dev/ttyS0... machine # [ 6.577823] systemd[1]: Reached target Local Encrypted Volumes. machine # [ 6.578890] systemd[1]: Stopped target initrd-fs.target. machine # [ 6.579864] systemd[1]: Stopped target initrd-root-fs.target. machine # [ 6.580897] systemd[1]: Stopped target initrd-switch-root.target. machine # [ 6.582002] systemd[1]: Reached target Virtual Machines and Containers. machine # [ 6.583169] systemd[1]: Reached target Path Units. machine # [ 6.584078] systemd[1]: Reached target Remote File Systems. machine # [ 6.585107] systemd[1]: Reached target Slice Units. machine # [ 6.600022] systemd[1]: Reached target Swaps. machine # [ 6.602264] systemd[1]: Listening on Query the User Interactively for a Password. machine # [ 6.604971] systemd[1]: Listening on Process Core Dump Socket. machine # [ 6.606965] systemd[1]: Listening on Credential Encryption/Decryption. machine # [ 6.609080] systemd[1]: Listening on Factory Reset Management. machine # [ 6.610263] systemd[1]: Listening on Hostname Service Socket. machine # [ 6.613236] systemd[1]: Starting Journal Log Access Socket... machine # [ 6.615686] systemd[1]: Listening on Journal Audit Socket. machine # [ 6.617768] systemd[1]: Listening on Console Output Muting Service Socket. machine # [ 6.619150] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket. machine # [ 6.620543] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os machine # [ 6.622220] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki machine # [ 6.626398] systemd[1]: Listening on Disk Repartitioning Service Socket. machine # [ 6.627762] systemd[1]: Listening on udev Control Socket. machine # [ 6.628917] systemd[1]: Listening on udev Varlink Socket. machine # [ 6.631173] systemd[1]: Mounting Huge Pages File System... machine # [ 6.635235] systemd[1]: Mounting POSIX Message Queue File System... machine # [ 6.641887] systemd[1]: Mounting Kernel Debug File System... machine # [ 6.648473] systemd[1]: Mounting Kernel Trace File System... machine # [ 6.657885] systemd[1]: Starting Create List of Static Device Nodes... machine # [ 6.671987] systemd[1]: Starting Load Kernel Module configfs... machine # [ 6.680352] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm machine # [ 6.689438] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore machine # [ 6.692649] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse machine # [ 6.698469] systemd[1]: Mounting FUSE Control File System... machine # [ 6.700414] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 machine # [ 6.708789] systemd[1]: Starting Journal Service... machine # [ 6.715512] systemd[1]: Starting Load Kernel Modules... machine # [ 6.730361] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer... machine # [ 6.736806] systemd[1]: Starting Remount Root and Kernel File Systems... machine # [ 6.739926] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 6.750280] systemd[1]: Starting Coldplug All udev Devices... machine # [ 6.753853] systemd-journald[283]: Collecting audit messages is enabled. machine # [ 6.763701] systemd[1]: Listening on Journal Log Access Socket. machine # [ 6.770006] systemd[1]: Mounted Huge Pages File System. machine # [ 6.775873] systemd[1]: Mounted POSIX Message Queue File System. machine # [ 6.786168] systemd[1]: Started Journal Service. machine # [ 6.586990] systemd[1]: Queued start job for default target Multi-User System. machine # [ 6.594838] systemd[1]: systemd-journald.service: Deactivated successfully. machine # [ 6.796188] loop: module loaded machine # [ 6.799805] EXT4-fs (vda): re-mounted f60fb708-0eda-4cda-b033-5b2d49951e99. machine # [ 6.606839] systemd[1]: Mounted Kernel Debug File System. machine # [ 6.609853] systemd-modules-load[284]: Inserted module 'loop' machine # [ 6.613778] systemd[1]: Mounted Kernel Trace File System. machine # [ 6.621127] systemd[1]: Finished Create List of Static Device Nodes. machine # [ 6.622417] systemd[1]: modprobe@configfs.service: Deactivated successfully. machine # [ 6.625129] systemd[1]: Finished Load Kernel Module configfs. machine # [ 6.628121] systemd[1]: Finished Load Kernel Modules. machine # [ 6.629285] systemd[1]: Finished Remount Root and Kernel File Systems. machine # [ 6.633157] systemd[1]: Mounted FUSE Control File System. machine # [ 6.645890] systemd[1]: Listening on Disk Image Download Service Socket. machine # [ 6.652111] systemd[1]: Mounting Kernel Configuration File System... machine # [ 6.655134] systemd[1]: Starting Firewall... machine # [ 6.661208] systemd[1]: Starting Flush Journal to Persistent Storage... machine # [ 6.664399] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore machine # [ 6.679846] systemd[1]: Starting Load/Save OS Random Seed... machine # [ 6.687569] systemd-oomd[286]: No swap; memory pressure usage will be degraded machine # [ 6.701299] systemd[1]: Starting Apply Kernel Variables... machine # [ 6.715816] systemd[1]: Starting Create Static Device Nodes in /dev gracefully... machine # [ 6.717346] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 6.719580] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer. machine # [ 6.940016] systemd-journald[283]: Received client request to flush runtime journal. machine # [ 6.916407] systemd[1]: Finished Load/Save OS Random Seed. machine # [ 6.920874] systemd[1]: Reached target First Boot Complete. machine # [ 6.924368] systemd[1]: Mounted Kernel Configuration File System. machine # [ 6.925581] systemd[1]: Finished Apply Kernel Variables. machine # [ 6.926805] systemd[1]: Finished Flush Journal to Persistent Storage. machine # [ 6.936239] systemd[1]: Finished Create Static Device Nodes in /dev gracefully. machine # [ 6.940814] systemd[1]: Starting Create Static Device Nodes in /dev... machine # [ 6.987181] systemd[1]: Finished Coldplug All udev Devices. machine # [ 6.999599] systemd[1]: Finished Create Static Device Nodes in /dev. machine # [ 7.001703] systemd[1]: Reached target Preparation for Local File Systems. machine # [ 7.004656] systemd[1]: Starting Rule-based Manager for Device Events and Files... machine # [ 7.043539] systemd-udevd[328]: Using default interface naming scheme 'v261'. machine # [ 7.091226] systemd[1]: Started Rule-based Manager for Device Events and Files. machine # [ 7.235825] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse machine # [ 7.311713] systemd[1]: Condition check resulted in /dev/hvc0 being skipped. machine # [ 7.337097] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped. machine # [ 7.364797] (udev-worker)[352]: Network interface NamePolicy= disabled on kernel command line. machine # [ 7.368228] (udev-worker)[356]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name. machine # [ 7.372209] (udev-worker)[356]: Network interface NamePolicy= disabled on kernel command line. machine # [ 7.379062] systemd[1]: Mounting /run/wrappers... machine # [ 7.409125] systemd[1]: Mounted /run/wrappers. machine # [ 7.410277] systemd[1]: Reached target Local File Systems. machine # [ 7.415092] systemd[1]: Listening on Boot Loader Control Service Socket. machine # [ 7.420166] systemd[1]: Starting register-nix-paths.service... machine # [ 7.426643] systemd[1]: Starting Create SUID/SGID Wrappers... machine # [ 7.428992] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met. machine # [ 7.441074] systemd[1]: Starting Save Transient machine-id to Disk... machine # [ 7.458828] systemd[1]: Starting Create System Files and Directories... machine # [ 7.547087] systemd[1]: etc-machine\x2did.mount: Deactivated successfully. machine # [ 7.556844] systemd[1]: Finished Save Transient machine-id to Disk. machine # [ 7.581322] systemd[1]: Finished Create System Files and Directories. machine # [ 7.589294] systemd[1]: Starting Rebuild Journal Catalog... machine # [ 7.597626] systemd[1]: Starting Record System Boot/Shutdown in UTMP... machine # [ 7.607937] systemd[1]: Condition check resulted in Virtio network device being skipped. machine # [ 7.612446] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore machine # [ 7.614739] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met. machine # [ 7.617462] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67 machine # [ 7.622200] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore machine # [ 7.625354] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 7.627104] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os machine # [ 7.709286] systemd[1]: Finished Record System Boot/Shutdown in UTMP. machine # [ 7.740284] systemd[1]: Finished Rebuild Journal Catalog. machine # [ 7.748051] systemd[1]: Starting Update is Completed... machine # [ 7.812843] systemd[1]: Finished Update is Completed. machine # [ 7.874335] systemd[1]: Finished Firewall. machine # [ 8.112954] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3 machine # [ 8.123474] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console machine # [ 7.970331] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully. machine # [ 7.972709] systemd[1]: Finished Create SUID/SGID Wrappers. machine # [ 8.148794] ACPI: button: Power Button [PWRF] machine # [ 8.149481] mousedev: PS/2 mouse device common for all mice machine # [ 8.245288] parport_pc 00:02: reported by Plug and Play ACPI machine # [ 8.245377] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)] machine # [ 8.246630] rtc_cmos PNP0B00:00: RTC can wake from S4 machine # [ 8.250357] rtc_cmos PNP0B00:00: registered as rtc0 machine # [ 8.250453] rtc_cmos PNP0B00:00: setting system clock to 2026-09-16T21:47:40 UTC (1789595260) machine # [ 8.250538] rtc_cmos PNP0B00:00: alarms up to one day, y3k, 242 bytes nvram, hpet irqs machine # [ 8.113222] systemd[1]: Finished register-nix-paths.service. machine # [ 8.115403] systemd[1]: Reached target System Initialization. machine # [ 8.119078] systemd[1]: Started Discard unused filesystem blocks once a week. machine # [ 8.120442] systemd[1]: Started Daily Cleanup of Temporary Directories. machine # [ 8.121803] systemd[1]: Reached target Timer Units. machine # [ 8.124192] systemd[1]: Listening on D-Bus System Message Bus Socket. machine # [ 8.126356] systemd[1]: Listening on Nix Daemon Socket. machine # [ 8.128046] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket. machine # [ 8.131558] systemd[1]: Reached target Socket Units. machine # [ 8.132636] systemd[1]: Reached target Basic System. machine # [ 8.134105] systemd[1]: Started backdoor.service. machine # [ 8.140137] systemd[1]: Starting Import lastlog data into lastlog2 database... machine # [ 8.250936] systemd-journald[283]: Time jumped backwards, rotating. machine # [ 8.253370] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:06.0/virtio4/input/input4 machine # [ 8.148182] systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [ 8.154777] systemd[1]: Starting Post-Boot Actions... machine # [ 8.167522] systemd[1]: Started Reset console on configuration changes. machine # [ 8.183087] systemd[1]: Starting resolvconf update... machine # [ 8.202098] systemd[1]: Starting D-Bus System Message Bus... machine # connecting to host... machine # [ 8.253544] Console: switching to colour dummy device 80x25 machine # [ 8.285847] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized machine # [ 8.412587] [drm] Found bochs VGA, ID 0xb0c5. machine # [ 8.412589] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000. machine # [ 8.246487] systemd[1]: Finished Post-Boot Actions. machine: Guest shell says: b'Spawning backdoor root shell...\n' machine # [ 8.250281] nsncd[508]: Sep 16 21:47:40.694 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine: connected to guest root shell machine: (connecting took 9.00 seconds) machine: (finished: waiting for the VM to finish booting, in 9.16 seconds) machine # [ 8.261127] systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [ 8.266846] systemd[1]: Reached target Host and Network Name Lookups. machine # [ 8.273262] systemd[1]: Reached target User and Group Name Lookups. machine # [ 8.288370] systemd[1]: Starting User Login Management... machine # [ 8.485955] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt machine # [ 8.486858] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD machine # [ 8.503507] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic machine # [ 8.504456] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0 machine # [ 8.316989] systemd[1]: Finished Import lastlog data into lastlog2 database. machine # [ 8.368573] dbus-broker-launch[515]: Looking up NSS user entry for 'systemd-timesync'... machine # [ 8.611917] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6 machine # [ 8.614073] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5 machine # [ 8.729638] Console: switching to colour frame buffer device 160x50 machine # [ 8.793845] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device machine # [ 8.453280] dbus-broker-launch[515]: NSS returned no entry for 'systemd-timesync' machine # [ 8.602138] dbus-broker-launch[515]: Invalid user-name in /nix/store/zn912clcp21z9f4hpydwyvgyqx4qa7bz-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync" machine # [ 8.605363] systemd[1]: Stopped target Host and Network Name Lookups. machine # [ 8.612482] systemd[1]: Stopping Host and Network Name Lookups... machine # [ 8.615936] nsncd[595]: Sep 16 21:47:40.993 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket" machine # [ 8.622223] systemd[1]: Stopped target User and Group Name Lookups. machine # [ 8.626149] systemd[1]: Stopping User and Group Name Lookups... machine # [ 8.627483] systemd[1]: Stopping Name Service Cache Daemon (nsncd)... machine # [ 8.636210] systemd[1]: nscd.service: Deactivated successfully. machine # [ 8.637461] systemd[1]: Stopped Name Service Cache Daemon (nsncd). machine # [ 8.639436] systemd[1]: Started D-Bus System Message Bus. machine # [ 8.643206] systemd[1]: Starting Name Service Cache Daemon (nsncd)... machine # [ 8.644570] dbus-broker-launch[515]: Ready machine # [ 8.647281] systemd[1]: Starting Virtual Console Setup... machine # [ 8.651218] systemd[1]: Started Name Service Cache Daemon (nsncd). machine # [ 8.652481] systemd[1]: Finished resolvconf update. machine # [ 8.653485] systemd[1]: Reached target Preparation for Network. machine # [ 8.654648] systemd[1]: Reached target Host and Network Name Lookups. machine # [ 8.658297] systemd[1]: Reached target User and Group Name Lookups. machine # [ 8.659490] systemd[1]: Starting DHCP Client... machine # [ 8.660482] systemd[1]: Starting Address configuration of eth1... machine # [ 8.661735] systemd[1]: Starting Extra networking commands.... machine # [ 8.667305] systemd-logind[536]: New seat seat0. machine # [ 8.669959] systemd-logind[536]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard) machine # [ 8.673827] systemd-logind[536]: Watching system buttons on /dev/input/event2 (Power Button) machine # [ 8.676797] systemd[1]: Started User Login Management. machine # [ 8.678660] systemd[1]: Starting linger-users.service... machine # [ 8.686698] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 8.692385] systemd[1]: Stopped Virtual Console Setup. machine # [ 8.726335] systemd[1]: Starting Virtual Console Setup... machine # [ 8.729738] systemd[1]: linger-users.service: Deactivated successfully. machine # [ 8.736314] systemd[1]: Finished linger-users.service. machine # [ 8.747511] network-addresses-eth1-start[618]: adding address 192.168.1.1/24... done machine # [ 8.769132] network-addresses-eth1-start[618]: adding address 2001:db8:1::1/64... done machine # [ 8.790155] systemd[1]: Finished Address configuration of eth1. machine # [ 9.017727] ppdev: user-space parallel port driver machine # [ 8.860694] dhcpcd[629]: dhcpcd-10.3.2 starting machine # [ 8.869411] dhcpcd[690]: dev: loaded udev machine # [ 8.871045] systemd[1]: Finished Extra networking commands.. machine # [ 8.875890] systemd[1]: Reached target Network. machine # [ 8.882209] systemd[1]: Starting PostgreSQL Server... machine # [ 8.883820] systemd-logind[536]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard) machine # [ 8.886980] systemd[1]: Starting Permit User Sessions... machine # [ 9.098199] 8021q: 802.1Q VLAN Support v1.8 machine # [ 9.103862] 8021q: adding VLAN 0 to HW filter on device eth1 machine # [ 8.935973] systemd[1]: Finished Permit User Sessions. machine # [ 8.946248] systemd[1]: Started Getty on tty1. machine # [ 8.947257] systemd[1]: Reached target Login Prompts. machine # [ 9.143013] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660) machine # [ 9.181827] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0) machine # [ 9.011957] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully. machine # [ 9.013628] systemd[1]: Stopped Virtual Console Setup. machine # [ 9.032815] systemd[1]: Starting Virtual Console Setup... machine # [ 9.073995] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. machine # [ 9.301259] cfg80211: Loading compiled-in X.509 certificates for regulatory database machine # [ 9.320535] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' machine # [ 9.321413] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' machine # [ 9.325353] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2 machine # [ 9.326913] cfg80211: failed to load regulatory.db machine # [ 9.188936] postgresql-pre-start[705]: The files belonging to this database system will be owned by user "postgres". machine # [ 9.190898] postgresql-pre-start[705]: This user must also own the server process. machine # [ 9.393219] 8021q: adding VLAN 0 to HW filter on device eth0 machine # [ 9.200697] dhcpcd[690]: eth0: waiting for carrier machine # [ 9.203242] dhcpcd[690]: libudev: received NULL device machine # [ 9.204279] postgresql-pre-start[705]: The database cluster will be initialized with locale "en_US.UTF-8". machine # [ 9.205925] postgresql-pre-start[705]: The default database encoding has accordingly been set to "UTF8". machine # [ 9.207549] postgresql-pre-start[705]: The default text search configuration will be set to "english". machine # [ 9.209167] postgresql-pre-start[705]: Data page checksums are enabled. machine # [ 9.210432] postgresql-pre-start[705]: fixing permissions on existing directory /var/lib/postgresql/18 ... ok machine # [ 9.212113] postgresql-pre-start[705]: creating subdirectories ... ok machine # [ 9.217165] postgresql-pre-start[705]: selecting dynamic shared memory implementation ... posix machine # [ 9.219132] dhcpcd[690]: libudev: received NULL device machine # [ 9.220320] dhcpcd[690]: eth0: carrier acquired machine # [ 9.226920] dhcpcd[690]: DUID 00:01:00:01:32:3d:ca:fd:52:54:00:12:34:56 machine # [ 9.228274] dhcpcd[690]: eth0: IAID 00:12:34:56 machine # [ 9.229545] dhcpcd[690]: eth0: adding address fe80::5054:ff:fe12:3456 machine # [ 9.438518] kvm_amd: TSC scaling supported machine # [ 9.439089] kvm_amd: Nested Virtualization enabled machine # [ 9.440384] kvm_amd: Nested Paging enabled machine # [ 9.441424] kvm_amd: LBR virtualization supported machine # [ 9.442591] kvm_amd: Virtual VMLOAD VMSAVE supported machine # [ 9.443579] kvm_amd: Virtual GIF supported machine # [ 9.291963] postgresql-pre-start[705]: selecting default "max_connections" ... 100 machine # [ 9.495304] EDAC MC: Ver: 3.0.0 machine # [ 9.340161] postgresql-pre-start[705]: selecting default "shared_buffers" ... 128MB machine # [ 9.375762] systemd-vconsole-setup[703]: Configuration of first virtual console was skipped, ignoring remaining ones. machine # [ 9.379877] systemd[1]: Finished Virtual Console Setup. machine # [ 9.903502] postgresql-pre-start[705]: selecting default time zone ... UTC machine # [ 9.906112] postgresql-pre-start[705]: creating configuration files ... ok machine # [ 10.054961] postgresql-pre-start[705]: running bootstrap script ... ok machine # [ 10.414913] postgresql-pre-start[705]: performing post-bootstrap initialization ... ok machine # [ 10.471199] dhcpcd[690]: eth0: soliciting a DHCP lease machine # [ 10.677290] NET: Registered PF_PACKET protocol family machine # [ 10.486440] dhcpcd[690]: eth0: offered 10.0.2.15 from 10.0.2.2 machine # [ 10.488181] dhcpcd[690]: eth0: probing address 10.0.2.15/24 machine # [ 10.615255] postgresql-pre-start[705]: syncing data to disk ... ok machine # [ 10.616624] postgresql-pre-start[705]: initdb: warning: enabling "trust" authentication for local connections machine # [ 10.618855] 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 # [ 10.621424] postgresql-pre-start[705]: Success. You can now start the database server using: machine # [ 10.622907] postgresql-pre-start[705]: pg_ctl -D /var/lib/postgresql/18 -l logfile start machine # [ 10.711477] postgres[742]: [742] LOG: starting PostgreSQL 18.6 on x86_64-pc-linux-gnu, compiled by clang version 21.1.8, 64-bit machine # [ 10.715310] postgres[742]: [742] LOG: listening on IPv6 address "::1", port 5432 machine # [ 10.716974] postgres[742]: [742] LOG: listening on IPv4 address "127.0.0.1", port 5432 machine # [ 10.729630] postgres[742]: [742] LOG: listening on Unix socket "/run/postgresql/.s.PGSQL.5432" machine # [ 10.764354] postgres[751]: [751] LOG: database system was shut down at 2026-09-16 21:47:42 GMT machine # [ 10.780475] postgres[742]: [742] LOG: database system is ready to accept connections machine # [ 10.796323] systemd[1]: Started PostgreSQL Server. machine # [ 10.804396] systemd[1]: Starting PostgreSQL Setup Scripts... machine # [ 10.951688] postgresql-setup-start[762]: CREATE DATABASE machine # [ 10.979163] postgresql-setup-start[767]: CREATE ROLE machine # [ 10.989600] postgresql-setup-start[769]: ALTER DATABASE machine # [ 10.993957] systemd[1]: Finished PostgreSQL Setup Scripts. machine # [ 10.996491] systemd[1]: Reached target PostgreSQL. machine: (finished: waiting for unit postgresql.service, in 12.52 seconds) machine: waiting for unit rustfs.service machine # [ 11.868804] dhcpcd[690]: eth0: soliciting an IPv6 router machine # [ 11.871280] dhcpcd[690]: eth0: Router Advertisement from fe80::2 machine # [ 11.873377] dhcpcd[690]: eth0: adding address fec0::5054:ff:fe12:3456/64 machine # [ 11.875321] dhcpcd[690]: eth0: adding route to fec0::/64 machine # [ 11.876890] dhcpcd[690]: eth0: adding default route via fe80::2 machine # [ 15.767897] dhcpcd[690]: eth0: leased 10.0.2.15 for 86400 seconds machine # [ 15.769923] dhcpcd[690]: eth0: adding route to 10.0.2.0/24 machine # [ 15.773326] dhcpcd[690]: eth0: adding default route via 10.0.2.2 machine # [ 15.847353] systemd[1]: Started DHCP Client. machine # [ 15.849796] systemd[1]: Reached target Network is Online. machine # [ 15.853763] systemd[1]: Starting RustFS Object Storage Server... machine # [ 16.368976] systemd[1]: Started RustFS Object Storage Server. machine # [ 16.375216] systemd[1]: Starting Self-hosted Zotero sync server... machine # [ 16.416610] systemd[1]: Started Self-hosted Zotero sync server. machine # [ 16.418484] systemd[1]: Reached target Multi-User System. machine # [ 16.419666] systemd[1]: Startup finished in 853ms (kernel) + 4.489s (initrd) + 11.074s (userspace) = 16.418s. machine # [ 16.621686] zhost[897]: 2026-09-16T21:47:49.065468Z INFO zhost: zhost listening bind=127.0.0.1:8189 machine: (finished: waiting for unit rustfs.service, in 5.23 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.03 seconds) machine: waiting for unit zhost.service machine: (finished: waiting for unit zhost.service, in 0.02 seconds) machine: waiting for TCP port 8189 on localhost machine # Connection to localhost (127.0.0.1) 8189 port [tcp/*] succeeded! machine: (finished: waiting for TCP port 8189 on localhost, in 0.02 seconds) machine: must succeed: mc alias set s3 http://localhost:9000 rustfsadmin rustfsadmin machine: (finished: must succeed: mc alias set s3 http://localhost:9000 rustfsadmin rustfsadmin, in 0.11 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 # [ 17.239889] zhost[897]: 2026-09-16T21:47:49.684053Z INFO zhost: request method=GET uri=/keys/current api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/keys/current -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.03 seconds) (finished: subtest: the module deploys a working service backed by postgres, in 0.03 seconds) subtest: login session hands out the key only after authorization machine: must succeed: curl -sf -X POST http://localhost:8189/keys/sessions -d '{}' > /tmp/sess machine # [ 17.262870] zhost[897]: 2026-09-16T21:47:49.707018Z INFO zhost: request method=POST uri=/keys/sessions api_version=- if_unmod=- body={} machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/keys/sessions -d '{}' > /tmp/sess, in 0.02 seconds) machine: must succeed: jq -r .sessionToken /tmp/sess machine: (finished: must succeed: jq -r .sessionToken /tmp/sess, in 0.01 seconds) machine: must succeed: jq -r .loginURL /tmp/sess machine: (finished: must succeed: jq -r .loginURL /tmp/sess, in 0.01 seconds) machine: must succeed: curl -sf 'http://localhost:8189/login?session=82904514ea39e1ddeb58d910adf3487b' | grep -qi 'Authorize' machine # [ 17.311972] zhost[897]: 2026-09-16T21:47:49.756024Z INFO zhost: request method=GET uri=/login?session=82904514ea39e1ddeb58d910adf3487b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/login?session=82904514ea39e1ddeb58d910adf3487b' | grep -qi 'Authorize', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.status == "pending"' machine # [ 17.338222] zhost[897]: 2026-09-16T21:47:49.782342Z INFO zhost: request method=GET uri=/keys/sessions/82904514ea39e1ddeb58d910adf3487b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.status == "pending"', in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.apiKey == null' machine # [ 17.365196] zhost[897]: 2026-09-16T21:47:49.809374Z INFO zhost: request method=GET uri=/keys/sessions/82904514ea39e1ddeb58d910adf3487b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | 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=82904514ea39e1ddeb58d910adf3487b' machine # [ 17.395203] zhost[897]: 2026-09-16T21:47:49.838891Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=82904514ea39e1ddeb58d910adf3487b machine # [ 17.399362] zhost[897]: 2026-09-16T21:47:49.838928Z 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=82904514ea39e1ddeb58d910adf3487b', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -d 'session=82904514ea39e1ddeb58d910adf3487b' machine # [ 17.421189] zhost[897]: 2026-09-16T21:47:49.864890Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=82904514ea39e1ddeb58d910adf3487b machine # [ 17.424990] zhost[897]: 2026-09-16T21:47:49.864916Z 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=82904514ea39e1ddeb58d910adf3487b', 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=82904514ea39e1ddeb58d910adf3487b' machine # [ 17.448264] zhost[897]: 2026-09-16T21:47:49.892343Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=82904514ea39e1ddeb58d910adf3487b machine # [ 17.452441] zhost[897]: 2026-09-16T21:47:49.892370Z 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=82904514ea39e1ddeb58d910adf3487b', 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=82904514ea39e1ddeb58d910adf3487b' machine # [ 17.473576] zhost[897]: 2026-09-16T21:47:49.917632Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=82904514ea39e1ddeb58d910adf3487b machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=82904514ea39e1ddeb58d910adf3487b', in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.status == "completed"' machine # [ 17.498349] zhost[897]: 2026-09-16T21:47:49.942394Z INFO zhost: request method=GET uri=/keys/sessions/82904514ea39e1ddeb58d910adf3487b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.status == "completed"', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.apiKey == "testtoken"' machine # [ 17.522171] zhost[897]: 2026-09-16T21:47:49.966226Z INFO zhost: request method=GET uri=/keys/sessions/82904514ea39e1ddeb58d910adf3487b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.apiKey == "testtoken"', in 0.02 seconds) machine: must succeed: curl -sf -X DELETE http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b machine # [ 17.544550] zhost[897]: 2026-09-16T21:47:49.988659Z INFO zhost: request method=DELETE uri=/keys/sessions/82904514ea39e1ddeb58d910adf3487b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf -X DELETE http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b, in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.status == "pending"' machine # [ 17.567934] zhost[897]: 2026-09-16T21:47:50.011726Z INFO zhost: request method=GET uri=/keys/sessions/82904514ea39e1ddeb58d910adf3487b api_version=- if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/sessions/82904514ea39e1ddeb58d910adf3487b | jq -e '.status == "pending"', in 0.02 seconds) (finished: subtest: login session hands out the key only after authorization, in 0.33 seconds) subtest: the login consent endpoint validates the session token machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login machine # [ 17.589839] zhost[897]: 2026-09-16T21:47:50.033930Z INFO zhost: request method=GET uri=/login api_version=- if_unmod=- body= machine # [ 17.593790] zhost[897]: 2026-09-16T21:47:50.033953Z WARN zhost: response error method=GET uri=/login status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login, in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login?session=nope machine # [ 17.613563] zhost[897]: 2026-09-16T21:47:50.057658Z INFO zhost: request method=GET uri=/login?session=nope api_version=- if_unmod=- body= machine # [ 17.617108] zhost[897]: 2026-09-16T21:47:50.057680Z WARN zhost: response error method=GET uri=/login?session=nope status=404 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/login?session=nope, in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=nope' machine # [ 17.637851] zhost[897]: 2026-09-16T21:47:50.081697Z INFO zhost: request method=POST uri=/login api_version=- if_unmod=- body=session=nope machine # [ 17.642119] zhost[897]: 2026-09-16T21:47:50.081723Z WARN zhost: response error method=POST uri=/login status=404 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/login -H 'X-Auth-Request-Email: owner@mulatta.io' -d 'session=nope', in 0.02 seconds) (finished: subtest: the login consent endpoint validates the session token, in 0.07 seconds) subtest: groups endpoint returns an empty set (single personal library) machine: must succeed: curl -sf http://localhost:8189/users/1/groups -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 17.663077] zhost[897]: 2026-09-16T21:47:50.107221Z INFO zhost: request method=GET uri=/users/1/groups api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/groups -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) (finished: subtest: groups endpoint returns an empty set (single personal library), in 0.02 seconds) subtest: the api key is required off the bootstrap paths machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/keys/current -H 'Zotero-API-Version: 3' machine # [ 17.685822] zhost[897]: 2026-09-16T21:47:50.130010Z INFO zhost: request method=GET uri=/keys/current api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/keys/current -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: the api key is required off the bootstrap paths, in 0.02 seconds) subtest: a read-only key reads but cannot write machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' machine # [ 17.707181] zhost[897]: 2026-09-16T21:47:50.151370Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3', in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/current -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' | jq -e '.access.user.write == false' machine # [ 17.734873] zhost[897]: 2026-09-16T21:47:50.178969Z INFO zhost: request method=GET uri=/keys/current api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/current -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' | jq -e '.access.user.write == false', in 0.02 seconds) machine: must succeed: curl -sf http://localhost:8189/keys/current -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.access.user.write == true' machine # [ 17.758133] zhost[897]: 2026-09-16T21:47:50.202184Z INFO zhost: request method=GET uri=/keys/current api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/keys/current -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.access.user.write == true', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"RDNLY222","itemType":"book"}]' machine # [ 17.780631] zhost[897]: 2026-09-16T21:47:50.224406Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"RDNLY222","itemType":"book"}] machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"RDNLY222","itemType":"book"}]', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X DELETE 'http://localhost:8189/users/1/items?itemKey=ITEM2223' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' machine # [ 17.801976] zhost[897]: 2026-09-16T21:47:50.246164Z INFO zhost: request method=DELETE uri=/users/1/items?itemKey=ITEM2223 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X DELETE 'http://localhost:8189/users/1/items?itemKey=ITEM2223' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: a read-only key reads but cannot write, in 0.12 seconds) subtest: an item round-trips through write and read machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ITEM2223","itemType":"book","title":"t"}]' | jq -e '.successful."0".key == "ITEM2223"' machine # [ 17.827178] zhost[897]: 2026-09-16T21:47:50.271366Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"ITEM2223","itemType":"book","title":"t"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ITEM2223","itemType":"book","title":"t"}]' | jq -e '.successful."0".key == "ITEM2223"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.ITEM2223' machine # [ 17.857775] zhost[897]: 2026-09-16T21:47:50.301839Z 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.02 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 # [ 17.883077] zhost[897]: 2026-09-16T21:47:50.326703Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ITEM2223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ITEM2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.itemType == "book"', in 0.03 seconds) (finished: subtest: an item round-trips through write and read, in 0.08 seconds) subtest: a stale write is rejected with 412 machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ITEMSTAL","itemType":"book"}]' machine # [ 17.907793] zhost[897]: 2026-09-16T21:47:50.351880Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"ITEMSTAL","itemType":"book"}] machine # [ 17.912820] zhost[897]: 2026-09-16T21:47:50.357007Z 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 # [ 17.935342] zhost[897]: 2026-09-16T21:47:50.378539Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=- body=[{"key":"NPRECN22","itemType":"book"}] machine # [ 17.939768] zhost[897]: 2026-09-16T21:47:50.378564Z WARN zhost: response error method=POST uri=/users/1/items status=428 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -d '[{"key":"NPRECN22","itemType":"book"}]', in 0.03 seconds) (finished: subtest: a write without If-Unmodified-Since-Version is rejected with 428, in 0.03 seconds) subtest: a malformed object key is rejected with 400 machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 17.975271] zhost[897]: 2026-09-16T21:47:50.419357Z 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 # [ 17.999652] zhost[897]: 2026-09-16T21:47:50.443395Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"HASOABC2","itemType":"book"}] machine # [ 18.003493] zhost[897]: 2026-09-16T21:47:50.443423Z 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 # [ 18.029546] zhost[897]: 2026-09-16T21:47:50.473591Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"HAS0ABC2","itemType":"book"}]' machine # [ 18.053930] zhost[897]: 2026-09-16T21:47:50.497147Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"HAS0ABC2","itemType":"book"}] machine # [ 18.057737] zhost[897]: 2026-09-16T21:47:50.497174Z 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.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.082896] zhost[897]: 2026-09-16T21:47:50.526893Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"SHORTKY","itemType":"book"}]' machine # [ 18.106642] zhost[897]: 2026-09-16T21:47:50.550718Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"SHORTKY","itemType":"book"}] machine # [ 18.111208] zhost[897]: 2026-09-16T21:47:50.550747Z WARN zhost: response error method=POST uri=/users/1/items status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"SHORTKY","itemType":"book"}]', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.136642] zhost[897]: 2026-09-16T21:47:50.580487Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"TOOLONGKY","itemType":"book"}]' machine # [ 18.160082] zhost[897]: 2026-09-16T21:47:50.603937Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"TOOLONGKY","itemType":"book"}] machine # [ 18.163956] zhost[897]: 2026-09-16T21:47:50.603964Z WARN zhost: response error method=POST uri=/users/1/items status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"TOOLONGKY","itemType":"book"}]', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.189837] zhost[897]: 2026-09-16T21:47:50.633857Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"lowercs2","itemType":"book"}]' machine # [ 18.213565] zhost[897]: 2026-09-16T21:47:50.657644Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"lowercs2","itemType":"book"}] machine # [ 18.218155] zhost[897]: 2026-09-16T21:47:50.657672Z WARN zhost: response error method=POST uri=/users/1/items status=400 machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"lowercs2","itemType":"book"}]', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=HASOABC2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == []' machine # [ 18.240209] zhost[897]: 2026-09-16T21:47:50.684302Z INFO zhost: request method=GET uri=/users/1/items?itemKey=HASOABC2&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=HASOABC2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == []', in 0.03 seconds) (finished: subtest: a malformed object key is rejected with 400, in 0.30 seconds) subtest: an empty batch does not bump the library version machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.268983] zhost[897]: 2026-09-16T21:47:50.713044Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[]' | jq -e .successful machine # [ 18.294238] zhost[897]: 2026-09-16T21:47:50.738325Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[]' | jq -e .successful, in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.321831] zhost[897]: 2026-09-16T21:47:50.765826Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) (finished: subtest: an empty batch does not bump the library version, in 0.08 seconds) subtest: attachment data is emitted with linkMode first machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.350806] zhost[897]: 2026-09-16T21:47:50.794865Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"ATTACH22","itemType":"attachment","linkMode":"imported_file","filename":"t.pdf","contentType":"application/pdf"}]' | jq -e .successful machine # [ 18.376168] zhost[897]: 2026-09-16T21:47:50.820302Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=1 body=[{"key":"ATTACH22","itemType":"attachment","linkMode":"imported_file","filename":"t.pdf","contentType":"application/pdf"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 1' -d '[{"key":"ATTACH22","itemType":"attachment","linkMode":"imported_file","filename":"t.pdf","contentType":"application/pdf"}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ATTACH22&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]' machine # [ 18.406555] zhost[897]: 2026-09-16T21:47:50.850378Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ATTACH22&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ATTACH22&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]', in 0.02 seconds) (finished: subtest: attachment data is emitted with linkMode first, in 0.08 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 # [ 18.431365] zhost[897]: 2026-09-16T21:47:50.875338Z 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/d8e30646b4ffc13873c3281a98744bd6 --data-binary @- machine # [ 18.455510] zhost[897]: 2026-09-16T21:47:50.899563Z INFO zhost: request method=POST uri=/uploads/d8e30646b4ffc13873c3281a98744bd6 api_version=- if_unmod=- body=hello machine: (finished: must succeed: printf hello | curl -sf -X POST http://localhost:8189/uploads/d8e30646b4ffc13873c3281a98744bd6 --data-binary @-, in 0.03 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=d8e30646b4ffc13873c3281a98744bd6' machine # [ 18.492297] zhost[897]: 2026-09-16T21:47:50.936357Z INFO zhost: request method=POST uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body=upload=d8e30646b4ffc13873c3281a98744bd6 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=d8e30646b4ffc13873c3281a98744bd6', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 18.524716] zhost[897]: 2026-09-16T21:47:50.968565Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf -D /tmp/dlhdr -o /dev/null http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' && grep -i '^location:' /tmp/dlhdr | tr -d '\r' | awk '{print $2}' machine # [ 18.550106] zhost[897]: 2026-09-16T21:47:50.994002Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D /tmp/dlhdr -o /dev/null http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' && grep -i '^location:' /tmp/dlhdr | tr -d '\r' | awk '{print $2}', in 0.04 seconds) machine: must succeed: grep -iq 'zotero-file-md5: 5d41402abc4b2a76b9719d911017c592' /tmp/dlhdr machine: (finished: must succeed: grep -iq 'zotero-file-md5: 5d41402abc4b2a76b9719d911017c592' /tmp/dlhdr, in 0.01 seconds) machine: must succeed: curl -sf 'http://127.0.0.1:9000/zotero/ATTACH22?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=rustfsadmin%2F20260916%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260916T214750Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=9a78240cb2c3179a1a6a185a7a161d062f1ba9be4de7afb455f6d2f5271e70c8' machine: (finished: must succeed: curl -sf 'http://127.0.0.1:9000/zotero/ATTACH22?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=rustfsadmin%2F20260916%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260916T214750Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=9a78240cb2c3179a1a6a185a7a161d062f1ba9be4de7afb455f6d2f5271e70c8', in 0.02 seconds) (finished: subtest: an attachment file uploads to S3 and downloads via a presigned URL, in 0.19 seconds) subtest: re-authorizing the same file returns exists:1 (dedup) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000' | jq -e '.exists == 1' machine # [ 18.626835] zhost[897]: 2026-09-16T21:47:51.070927Z INFO zhost: request method=POST uri=/users/1/items/ATTACH22/file api_version=3 if_unmod=- body=md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000 machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-None-Match: *' -d 'md5=5d41402abc4b2a76b9719d911017c592&filename=t.pdf&filesize=5&mtime=1700000000000' | jq -e '.exists == 1', in 0.03 seconds) (finished: subtest: re-authorizing the same file returns exists:1 (dedup), in 0.03 seconds) subtest: a file authorization without a precondition header is 428 machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/items/ATTACH22/file -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -d 'md5=deadbeef&filename=t.pdf&filesize=5&mtime=1' machine # [ 18.653787] zhost[897]: 2026-09-16T21:47:51.097090Z 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 # [ 18.658443] zhost[897]: 2026-09-16T21:47:51.097124Z 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 # [ 18.683936] zhost[897]: 2026-09-16T21:47:51.127893Z 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/b3ca49262936981a6628aa92d3c089b3 --data-binary @- machine # [ 18.722102] zhost[897]: 2026-09-16T21:47:51.165703Z INFO zhost: request method=POST uri=/uploads/b3ca49262936981a6628aa92d3c089b3 api_version=- if_unmod=- body=hello machine # [ 18.726106] zhost[897]: 2026-09-16T21:47:51.165729Z WARN zhost: uploaded bytes do not match authorization key="BADHASH2" want_md5="00000000000000000000000000000000" got_md5="5d41402abc4b2a76b9719d911017c592" machine # [ 18.731078] zhost[897]: 2026-09-16T21:47:51.165744Z WARN zhost: response error method=POST uri=/uploads/b3ca49262936981a6628aa92d3c089b3 status=400 machine: (finished: must succeed: printf hello | curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/uploads/b3ca49262936981a6628aa92d3c089b3 --data-binary @-, in 0.05 seconds) (finished: subtest: uploading bytes that do not match the declared md5 is rejected, in 0.08 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 # [ 18.767937] zhost[897]: 2026-09-16T21:47:51.211936Z 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=4723d4bf436f3c8f93d69b9a120b5dc2' machine # [ 18.794639] zhost[897]: 2026-09-16T21:47:51.238717Z INFO zhost: request method=POST uri=/users/1/items/NQUPLQAD/file api_version=3 if_unmod=- body=upload=4723d4bf436f3c8f93d69b9a120b5dc2 machine # [ 18.799388] zhost[897]: 2026-09-16T21:47:51.238745Z 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=4723d4bf436f3c8f93d69b9a120b5dc2', in 0.03 seconds) (finished: subtest: registering without a prior upload is rejected, in 0.06 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 # [ 18.820469] zhost[897]: 2026-09-16T21:47:51.264503Z 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 # [ 18.825226] zhost[897]: 2026-09-16T21:47:51.264530Z 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 # [ 18.852599] zhost[897]: 2026-09-16T21:47:51.296693Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 3' -d '[{"key":"ANNQT223","itemType":"annotation","annotationType":"highlight","annotationText":"marked","parentItem":"ATTACH22"}]' | jq -e '.successful."0".data.annotationText == "marked"' machine # [ 18.879345] zhost[897]: 2026-09-16T21:47:51.323400Z 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 # [ 18.914356] zhost[897]: 2026-09-16T21:47:51.358320Z 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 # [ 18.938608] zhost[897]: 2026-09-16T21:47:51.382748Z INFO zhost: request method=GET uri=/users/1/items?itemKey=ANNQT223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=ANNQT223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.[0].data | keys_unsorted[0]', in 0.02 seconds) (finished: subtest: annotations round-trip as ordinary items, in 0.12 seconds) subtest: full-text content uploads, lists versions, and downloads machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 18.967959] zhost[897]: 2026-09-16T21:47:51.411894Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/fulltext -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 4' -d '[{"key":"ATTACH22","content":"hello world","indexedChars":11,"totalChars":11,"indexedPages":1,"totalPages":1}]' | jq -e '.successful."0".key == "ATTACH22"' machine # [ 18.992719] zhost[897]: 2026-09-16T21:47:51.436905Z INFO zhost: request method=POST uri=/users/1/fulltext api_version=3 if_unmod=4 body=[{"key":"ATTACH22","content":"hello world","indexedChars":11,"totalChars":11,"indexedPages":1,"totalPages":1}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/fulltext -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 4' -d '[{"key":"ATTACH22","content":"hello world","indexedChars":11,"totalChars":11,"indexedPages":1,"totalPages":1}]' | jq -e '.successful."0".key == "ATTACH22"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.ATTACH22' machine # [ 19.022382] zhost[897]: 2026-09-16T21:47:51.466282Z 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.02 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 # [ 19.050949] zhost[897]: 2026-09-16T21:47:51.494929Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/fulltext api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.ATTACH22' machine # [ 19.075457] zhost[897]: 2026-09-16T21:47:51.519370Z INFO zhost: request method=GET uri=/users/1/fulltext?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '.ATTACH22', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.content == "hello world" and .totalPages == 1' machine # [ 19.100508] zhost[897]: 2026-09-16T21:47:51.544491Z INFO zhost: request method=GET uri=/users/1/items/ATTACH22/fulltext api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/ATTACH22/fulltext' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.content == "hello world" and .totalPages == 1', in 0.02 seconds) (finished: subtest: full-text content uploads, lists versions, and downloads, in 0.16 seconds) subtest: a stale full-text write is rejected with 412 machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/fulltext -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"ATTACH22","content":"x"}]' machine # [ 19.123837] zhost[897]: 2026-09-16T21:47:51.567922Z INFO zhost: request method=POST uri=/users/1/fulltext api_version=3 if_unmod=0 body=[{"key":"ATTACH22","content":"x"}] machine # [ 19.128415] zhost[897]: 2026-09-16T21:47:51.572447Z 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 # [ 19.154249] zhost[897]: 2026-09-16T21:47:51.598228Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 5' -d '[{"key":"QBQQK223","itemType":"book","title":"Borrow Checker","creators":[{"lastName":"Klabnik","firstName":"Steve"}],"tags":[{"tag":"rustlang"},{"tag":"systems"}]},{"key":"QART2223","itemType":"journalArticle","title":"Unrelated","tags":[{"tag":"rustlang"}]}]' | jq -e .successful machine # [ 19.179454] zhost[897]: 2026-09-16T21:47:51.623432Z 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 # [ 19.214802] zhost[897]: 2026-09-16T21:47:51.658958Z 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 # [ 19.244740] zhost[897]: 2026-09-16T21:47:51.688722Z 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 # [ 19.270244] zhost[897]: 2026-09-16T21:47:51.714335Z 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 # [ 19.296388] zhost[897]: 2026-09-16T21:47:51.740396Z 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.02 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 # [ 19.321157] zhost[897]: 2026-09-16T21:47:51.765186Z 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 # [ 19.347219] zhost[897]: 2026-09-16T21:47:51.791159Z 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 # [ 19.373188] zhost[897]: 2026-09-16T21:47:51.817372Z 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 # [ 19.399212] zhost[897]: 2026-09-16T21:47:51.843093Z INFO zhost: request method=GET uri=/users/1/items?q=world api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=world' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=world&qmode=everything' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 19.426790] zhost[897]: 2026-09-16T21:47:51.870768Z INFO zhost: request method=GET uri=/users/1/items?q=world&qmode=everything api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?q=world&qmode=everything' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.03 seconds) (finished: subtest: the query API filters, searches, sorts and paginates items, in 0.30 seconds) subtest: the query API reports Total-Results and a next-page Link machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1&sort=title&direction=asc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.451151] zhost[897]: 2026-09-16T21:47:51.895226Z INFO zhost: request method=GET uri=/users/1/items?limit=1&sort=title&direction=asc api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1&sort=title&direction=asc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: the query API reports Total-Results and a next-page Link, in 0.02 seconds) subtest: a read-only key can drive the query API machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=borrow' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' machine # [ 19.474638] zhost[897]: 2026-09-16T21:47:51.918735Z INFO zhost: request method=GET uri=/users/1/items?q=borrow api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=borrow' -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: a read-only key can drive the query API, in 0.02 seconds) subtest: convenience listings: top, trash, collection items and tags machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.503679] zhost[897]: 2026-09-16T21:47:51.947776Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 6' -d '[{"key":"TQPITEM3","itemType":"book","title":"Shelf Book","collections":["CQLLXXXX"],"tags":[{"tag":"shelf"}]},{"key":"CHILDNQ3","itemType":"note","note":"child","parentItem":"TQPITEM3"},{"key":"TRASHED3","itemType":"book","title":"Gone","deleted":1}]' | jq -e .successful machine # [ 19.528745] zhost[897]: 2026-09-16T21:47:51.972806Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=6 body=[{"key":"TQPITEM3","itemType":"book","title":"Shelf Book","collections":["CQLLXXXX"],"tags":[{"tag":"shelf"}]},{"key":"CHILDNQ3","itemType":"note","note":"child","parentItem":"TQPITEM3"},{"key":"TRASHED3","itemType":"book","title":"Gone","deleted":1}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 6' -d '[{"key":"TQPITEM3","itemType":"book","title":"Shelf Book","collections":["CQLLXXXX"],"tags":[{"tag":"shelf"}]},{"key":"CHILDNQ3","itemType":"note","note":"child","parentItem":"TQPITEM3"},{"key":"TRASHED3","itemType":"book","title":"Gone","deleted":1}]' | jq -e .successful, in 0.04 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")' machine # [ 19.567240] zhost[897]: 2026-09-16T21:47:52.010690Z 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 # [ 19.591691] zhost[897]: 2026-09-16T21:47:52.035788Z 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 # [ 19.617224] zhost[897]: 2026-09-16T21:47:52.061221Z 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 # [ 19.642800] zhost[897]: 2026-09-16T21:47:52.086800Z INFO zhost: request method=GET uri=/users/1/tags api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[] | select(.tag == "shelf") | .numItems == 1', in 0.02 seconds) (finished: subtest: convenience listings: top, trash, collection items and tags, in 0.17 seconds) subtest: top filtering covers parentItem:false and the versions view machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.671921] zhost[897]: 2026-09-16T21:47:52.115641Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 7' -d '[{"key":"TQPFALS3","itemType":"book","title":"pf","parentItem":false}]' | jq -e .successful machine # [ 19.696930] zhost[897]: 2026-09-16T21:47:52.140892Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=7 body=[{"key":"TQPFALS3","itemType":"book","title":"pf","parentItem":false}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 7' -d '[{"key":"TQPFALS3","itemType":"book","title":"pf","parentItem":false}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join("\n")' machine # [ 19.729084] zhost[897]: 2026-09-16T21:47:52.173059Z 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 # [ 19.754423] zhost[897]: 2026-09-16T21:47:52.198497Z INFO zhost: request method=GET uri=/users/1/items/top?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e 'has("CHILDNQ3")|not', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.CHILDNQ3' machine # [ 19.779174] zhost[897]: 2026-09-16T21:47:52.223201Z 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.02 seconds) (finished: subtest: top filtering covers parentItem:false and the versions view, in 0.14 seconds) subtest: malformed (non-array) item data does not 500 the query API machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.808083] zhost[897]: 2026-09-16T21:47:52.251701Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 8' -d '[{"key":"MALFQRM3","itemType":"book","title":"weird","creators":"notarray","tags":"x","collections":"y"}]' | jq -e .successful machine # [ 19.833065] zhost[897]: 2026-09-16T21:47:52.276992Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=8 body=[{"key":"MALFQRM3","itemType":"book","title":"weird","creators":"notarray","tags":"x","collections":"y"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 8' -d '[{"key":"MALFQRM3","itemType":"book","title":"weird","creators":"notarray","tags":"x","collections":"y"}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.865617] zhost[897]: 2026-09-16T21:47:52.309063Z INFO zhost: request method=GET uri=/users/1/tags api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.887561] zhost[897]: 2026-09-16T21:47:52.331500Z INFO zhost: request method=GET uri=/users/1/items?q=zzz api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz&qmode=everything' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.910156] zhost[897]: 2026-09-16T21:47:52.354208Z INFO zhost: request method=GET uri=/users/1/items?q=zzz&qmode=everything api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?q=zzz&qmode=everything' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?tag=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.933476] zhost[897]: 2026-09-16T21:47:52.377495Z INFO zhost: request method=GET uri=/users/1/items?tag=zzz api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?tag=zzz' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/collections/y/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 19.956779] zhost[897]: 2026-09-16T21:47:52.400792Z INFO zhost: request method=GET uri=/users/1/collections/y/items api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/collections/y/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 19.985385] zhost[897]: 2026-09-16T21:47:52.429397Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 9' -d '[{"key":"BADTAGS3","itemType":"book","title":"bt","tags":[{"tag":"good"},123,"junk"]}]' | jq -e .successful machine # [ 20.011190] zhost[897]: 2026-09-16T21:47:52.455156Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=9 body=[{"key":"BADTAGS3","itemType":"book","title":"bt","tags":[{"tag":"good"},123,"junk"]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 9' -d '[{"key":"BADTAGS3","itemType":"book","title":"bt","tags":[{"tag":"good"},123,"junk"]}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[] | select(.tag == "good") | .numItems == 1' machine # [ 20.042041] zhost[897]: 2026-09-16T21:47:52.486091Z INFO zhost: request method=GET uri=/users/1/tags api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/tags -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[] | select(.tag == "good") | .numItems == 1', in 0.02 seconds) (finished: subtest: malformed (non-array) item data does not 500 the query API, in 0.26 seconds) subtest: Total-Results stays correct past the last page machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i total-results | tr -d '\r' | cut -d' ' -f2 machine # [ 20.070663] zhost[897]: 2026-09-16T21:47:52.514528Z INFO zhost: request method=GET uri=/users/1/items?limit=1 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i total-results | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1&start=100000' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i total-results | tr -d '\r' | cut -d' ' -f2 machine # [ 20.099204] zhost[897]: 2026-09-16T21:47:52.543300Z INFO zhost: request method=GET uri=/users/1/items?limit=1&start=100000 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?limit=1&start=100000' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i total-results | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) (finished: subtest: Total-Results stays correct past the last page, in 0.06 seconds) subtest: query API: OR filters, descending sort and includeTrashed machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.128620] zhost[897]: 2026-09-16T21:47:52.572617Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 10' -d '[{"key":"CQVRA223","itemType":"book","title":"Aaa","tags":[{"tag":"aa"}]},{"key":"CQVRB223","itemType":"journalArticle","title":"Bbb","tags":[{"tag":"bb"}]},{"key":"CQVRT223","itemType":"book","title":"Ccc","deleted":1,"tags":[{"tag":"aa"}]}]' | jq -e .successful machine # [ 20.153912] zhost[897]: 2026-09-16T21:47:52.597918Z 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 # [ 20.189826] zhost[897]: 2026-09-16T21:47:52.633791Z 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 # [ 20.215399] zhost[897]: 2026-09-16T21:47:52.659376Z 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 # [ 20.241515] zhost[897]: 2026-09-16T21:47:52.685697Z 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 # [ 20.267167] zhost[897]: 2026-09-16T21:47:52.711169Z INFO zhost: request method=GET uri=/users/1/items?tag=aa api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=aa' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|sort|join(",")', in 0.02 seconds) (finished: subtest: query API: OR filters, descending sort and includeTrashed, in 0.17 seconds) subtest: sort=date orders by extracted year, not raw freeform text machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.295792] zhost[897]: 2026-09-16T21:47:52.739828Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 11' -d '[{"key":"DATE2QLD","itemType":"book","title":"old","date":"circa 1850","tags":[{"tag":"era"}]},{"key":"DATE2MID","itemType":"book","title":"mid","date":"January 1960","tags":[{"tag":"era"}]},{"key":"DATE2NEW","itemType":"book","title":"new","date":"2020-05-01","tags":[{"tag":"era"}]}]' | jq -e .successful machine # [ 20.321216] zhost[897]: 2026-09-16T21:47:52.765152Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=11 body=[{"key":"DATE2QLD","itemType":"book","title":"old","date":"circa 1850","tags":[{"tag":"era"}]},{"key":"DATE2MID","itemType":"book","title":"mid","date":"January 1960","tags":[{"tag":"era"}]},{"key":"DATE2NEW","itemType":"book","title":"new","date":"2020-05-01","tags":[{"tag":"era"}]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 11' -d '[{"key":"DATE2QLD","itemType":"book","title":"old","date":"circa 1850","tags":[{"tag":"era"}]},{"key":"DATE2MID","itemType":"book","title":"mid","date":"January 1960","tags":[{"tag":"era"}]},{"key":"DATE2NEW","itemType":"book","title":"new","date":"2020-05-01","tags":[{"tag":"era"}]}]' | jq -e .successful, in 0.04 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=era&sort=date&direction=asc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join(",")' machine # [ 20.357721] zhost[897]: 2026-09-16T21:47:52.801539Z INFO zhost: request method=GET uri=/users/1/items?tag=era&sort=date&direction=asc api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?tag=era&sort=date&direction=asc' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -r '[.[].key]|join(",")', in 0.03 seconds) (finished: subtest: sort=date orders by extracted year, not raw freeform text, in 0.09 seconds) subtest: collection top items are served as a plain-text key list machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections/CQLLXXXX/items/top?format=keys' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 20.381577] zhost[897]: 2026-09-16T21:47:52.825673Z INFO zhost: request method=GET uri=/users/1/collections/CQLLXXXX/items/top?format=keys api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/collections/CQLLXXXX/items/top?format=keys' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/collections/CQLLXXXX/items/top?format=keys' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 20.404411] zhost[897]: 2026-09-16T21:47:52.848332Z INFO zhost: request method=GET uri=/users/1/collections/CQLLXXXX/items/top?format=keys api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/collections/CQLLXXXX/items/top?format=keys' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: collection top items are served as a plain-text key list, in 0.05 seconds) subtest: a versions read with nothing newer returns 200 + empty map, not 304 machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.432869] zhost[897]: 2026-09-16T21:47:52.877056Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 20.456548] zhost[897]: 2026-09-16T21:47:52.900522Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 20.480253] zhost[897]: 2026-09-16T21:47:52.924329Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items/top?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 20.503190] zhost[897]: 2026-09-16T21:47:52.947377Z INFO zhost: request method=GET uri=/users/1/items/top?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/items/top?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 20.527148] zhost[897]: 2026-09-16T21:47:52.971170Z INFO zhost: request method=GET uri=/users/1/items/top?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items/top?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/collections?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 20.550156] zhost[897]: 2026-09-16T21:47:52.994280Z INFO zhost: request method=GET uri=/users/1/collections?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/collections?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 20.574202] zhost[897]: 2026-09-16T21:47:53.018047Z INFO zhost: request method=GET uri=/users/1/collections?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/collections?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 20.596812] zhost[897]: 2026-09-16T21:47:53.040876Z INFO zhost: request method=GET uri=/users/1/searches?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 20.620182] zhost[897]: 2026-09-16T21:47:53.064202Z INFO zhost: request method=GET uri=/users/1/searches?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/searches?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 20.643260] zhost[897]: 2026-09-16T21:47:53.087196Z INFO zhost: request method=GET uri=/users/1/fulltext?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}' machine # [ 20.667417] zhost[897]: 2026-09-16T21:47:53.111059Z INFO zhost: request method=GET uri=/users/1/fulltext?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/fulltext?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '. == {}', in 0.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -iq 'last-modified-version: 12' machine # [ 20.692400] zhost[897]: 2026-09-16T21:47:53.136133Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=12 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -iq 'last-modified-version: 12', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/settings -H 'If-Modified-Since-Version: 12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' machine # [ 20.715396] zhost[897]: 2026-09-16T21:47:53.159459Z INFO zhost: request method=GET uri=/users/1/settings api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' http://localhost:8189/users/1/settings -H 'If-Modified-Since-Version: 12' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3', in 0.02 seconds) (finished: subtest: a versions read with nothing newer returns 200 + empty map, not 304, in 0.31 seconds) subtest: collections round-trip through write, read, versions and delete machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.742173] zhost[897]: 2026-09-16T21:47:53.185958Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/collections -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 12' -d '[{"key":"CQLL2223","name":"Papers"}]' | jq -e '.successful."0".key == "CQLL2223"' machine # [ 20.767266] zhost[897]: 2026-09-16T21:47:53.211400Z INFO zhost: request method=POST uri=/users/1/collections api_version=3 if_unmod=12 body=[{"key":"CQLL2223","name":"Papers"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/collections -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 12' -d '[{"key":"CQLL2223","name":"Papers"}]' | jq -e '.successful."0".key == "CQLL2223"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections?collectionKey=CQLL2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.name == "Papers"' machine # [ 20.797057] zhost[897]: 2026-09-16T21:47:53.240983Z INFO zhost: request method=GET uri=/users/1/collections?collectionKey=CQLL2223&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/collections?collectionKey=CQLL2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.name == "Papers"', in 0.02 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/collections?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.CQLL2223' machine # [ 20.822331] zhost[897]: 2026-09-16T21:47:53.266234Z 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 # [ 20.850483] zhost[897]: 2026-09-16T21:47:53.294557Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/collections?collectionKey=CQLL2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 13' machine # [ 20.874090] zhost[897]: 2026-09-16T21:47:53.318012Z INFO zhost: request method=DELETE uri=/users/1/collections?collectionKey=CQLL2223 api_version=3 if_unmod=13 body= machine: (finished: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/collections?collectionKey=CQLL2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 13', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.collections | index("CQLL2223")' machine # [ 20.902472] zhost[897]: 2026-09-16T21:47:53.346567Z 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.19 seconds) subtest: saved searches round-trip through write, read and delete machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 20.930867] zhost[897]: 2026-09-16T21:47:53.374955Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/searches -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 14' -d '[{"key":"SRCH2223","name":"Recent","conditions":[]}]' | jq -e '.successful."0".key == "SRCH2223"' machine # [ 20.957882] zhost[897]: 2026-09-16T21:47:53.401801Z INFO zhost: request method=POST uri=/users/1/searches api_version=3 if_unmod=14 body=[{"key":"SRCH2223","name":"Recent","conditions":[]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/searches -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 14' -d '[{"key":"SRCH2223","name":"Recent","conditions":[]}]' | jq -e '.successful."0".key == "SRCH2223"', in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/searches?searchKey=SRCH2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.name == "Recent"' machine # [ 20.988677] zhost[897]: 2026-09-16T21:47:53.432766Z 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 # [ 21.020102] zhost[897]: 2026-09-16T21:47:53.464042Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/searches?searchKey=SRCH2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 15' machine # [ 21.044793] zhost[897]: 2026-09-16T21:47:53.488651Z 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 # [ 21.074944] zhost[897]: 2026-09-16T21:47:53.518957Z INFO zhost: request method=GET uri=/users/1/deleted?since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.searches | index("SRCH2223")', in 0.02 seconds) (finished: subtest: saved searches round-trip through write, read and delete, in 0.17 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 # [ 21.102803] zhost[897]: 2026-09-16T21:47:53.546793Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 16' -d '{"tagColors":{"value":[{"name":"x","color":"#fff"}]}}' machine # [ 21.126276] zhost[897]: 2026-09-16T21:47:53.570338Z 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 # [ 21.153241] zhost[897]: 2026-09-16T21:47:53.597339Z INFO zhost: request method=GET uri=/users/1/settings api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.tagColors.value[0].name == "x" and (.tagColors.version | type == "number")', in 0.02 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X POST http://localhost:8189/users/1/settings -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '{"k":{"value":1}}' machine # [ 21.176230] zhost[897]: 2026-09-16T21:47:53.620366Z INFO zhost: request method=POST uri=/users/1/settings api_version=3 if_unmod=0 body={"k":{"value":1}} machine # [ 21.180319] zhost[897]: 2026-09-16T21:47:53.624331Z 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.02 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 21.206392] zhost[897]: 2026-09-16T21:47:53.650312Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/settings?settingKey=tagColors' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 17' machine # [ 21.230124] zhost[897]: 2026-09-16T21:47:53.674284Z 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 # [ 21.256708] zhost[897]: 2026-09-16T21:47:53.700686Z 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 # [ 21.281328] zhost[897]: 2026-09-16T21:47:53.725399Z INFO zhost: request method=GET uri=/users/1/deleted?since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/deleted?since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.settings | index("tagColors")', in 0.02 seconds) (finished: subtest: settings round-trip through write, read and delete, in 0.21 seconds) subtest: a gzip-compressed write body is decoded machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 21.309806] zhost[897]: 2026-09-16T21:47:53.753756Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: printf '%s' '[{"key":"GZIP2223","itemType":"book","title":"zipped"}]' | gzip | curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 18' -H 'Content-Encoding: gzip' --data-binary @- | jq -e .successful machine # [ 21.336085] zhost[897]: 2026-09-16T21:47:53.780203Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=18 body=[{"key":"GZIP2223","itemType":"book","title":"zipped"}] machine: (finished: must succeed: printf '%s' '[{"key":"GZIP2223","itemType":"book","title":"zipped"}]' | gzip | curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 18' -H 'Content-Encoding: gzip' --data-binary @- | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=GZIP2223&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.title == "zipped"' machine # [ 21.367344] zhost[897]: 2026-09-16T21:47:53.811392Z 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.09 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 # [ 21.397467] zhost[897]: 2026-09-16T21:47:53.841452Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 19' -d '[{"key":"GZIP2223","itemType":"book","title":"patched"}]' | jq -e '.successful."0".data.title == "patched"' machine # [ 21.423272] zhost[897]: 2026-09-16T21:47:53.867195Z INFO zhost: request method=PATCH uri=/users/1/items api_version=3 if_unmod=19 body=[{"key":"GZIP2223","itemType":"book","title":"patched"}] machine: (finished: must succeed: curl -sf -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 19' -d '[{"key":"GZIP2223","itemType":"book","title":"patched"}]' | jq -e '.successful."0".data.title == "patched"', in 0.03 seconds) machine: must succeed: curl -s -o /dev/null -w '%{http_code}' -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"X","itemType":"book"}]' machine # [ 21.451448] zhost[897]: 2026-09-16T21:47:53.895550Z INFO zhost: request method=PATCH uri=/users/1/items api_version=3 if_unmod=0 body=[{"key":"X","itemType":"book"}] machine: (finished: must succeed: curl -s -o /dev/null -w '%{http_code}' -X PATCH http://localhost:8189/users/1/items -H 'Zotero-API-Key: readonlytoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 0' -d '[{"key":"X","itemType":"book"}]', in 0.02 seconds) (finished: subtest: PATCH updates items and is gated by the read-only key, in 0.08 seconds) subtest: PATCH merges: a partial update keeps unspecified fields machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 21.478837] zhost[897]: 2026-09-16T21:47:53.922881Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 20' -d '[{"key":"MERGEIT2","itemType":"book","title":"orig","tags":[{"tag":"keep"}]}]' | jq -e .successful machine # [ 21.504292] zhost[897]: 2026-09-16T21:47:53.948235Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=20 body=[{"key":"MERGEIT2","itemType":"book","title":"orig","tags":[{"tag":"keep"}]}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 20' -d '[{"key":"MERGEIT2","itemType":"book","title":"orig","tags":[{"tag":"keep"}]}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 21.537558] zhost[897]: 2026-09-16T21:47:53.981629Z 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 # [ 21.561508] zhost[897]: 2026-09-16T21:47:54.005695Z 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 # [ 21.589153] zhost[897]: 2026-09-16T21:47:54.033289Z INFO zhost: request method=GET uri=/users/1/items?itemKey=MERGEIT2&format=json api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf 'http://localhost:8189/users/1/items?itemKey=MERGEIT2&format=json' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | jq -e '.[0].data.title=="new" and .[0].data.itemType=="book" and .[0].data.tags[0].tag=="keep"', in 0.02 seconds) (finished: subtest: PATCH merges: a partial update keeps unspecified fields, in 0.14 seconds) subtest: POST also merges: a partial upload keeps unspecified fields machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 21.617875] zhost[897]: 2026-09-16T21:47:54.061831Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 22' -d '[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}]' | jq -e .successful machine # [ 21.643194] zhost[897]: 2026-09-16T21:47:54.087234Z INFO zhost: request method=POST uri=/users/1/items api_version=3 if_unmod=22 body=[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}] machine: (finished: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 22' -d '[{"key":"PMERGEAT","itemType":"attachment","linkMode":"imported_file","filename":"f.pdf","contentType":"application/pdf"}]' | jq -e .successful, in 0.03 seconds) machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 21.677049] zhost[897]: 2026-09-16T21:47:54.120997Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X POST http://localhost:8189/users/1/items -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 23' -d '[{"key":"PMERGEAT","lastRead":1700000000,"tags":[]}]' machine # [ 21.701222] zhost[897]: 2026-09-16T21:47:54.144937Z 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 # [ 21.729246] zhost[897]: 2026-09-16T21:47:54.173109Z 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.14 seconds) subtest: deletes are recorded in the deletion log machine: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2 machine # [ 21.757929] zhost[897]: 2026-09-16T21:47:54.201980Z INFO zhost: request method=GET uri=/users/1/items?format=versions&since=0 api_version=3 if_unmod=- body= machine: (finished: must succeed: curl -sf -D - -o /dev/null 'http://localhost:8189/users/1/items?format=versions&since=0' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' | grep -i last-modified-version | tr -d '\r' | cut -d' ' -f2, in 0.03 seconds) machine: must succeed: curl -sf -X DELETE 'http://localhost:8189/users/1/items?itemKey=ITEM2223' -H 'Zotero-API-Key: testtoken' -H 'Zotero-API-Version: 3' -H 'If-Unmodified-Since-Version: 24' machine # [ 21.781789] zhost[897]: 2026-09-16T21:47:54.225790Z 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 # [ 21.809151] zhost[897]: 2026-09-16T21:47:54.252954Z 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.02 seconds) (finished: subtest: deletes are recorded in the deletion log, in 0.08 seconds) (finished: run the VM test script, in 22.72 seconds) test script finished in 22.77s cleanup kill QemuMachine (pid 45) machine # qemu-system-x86_64: terminating on signal 15 from pid 39 (/nix/store/d64q19q1xjdwfhqx6czvrjgrhq0n3lcc-python3-3.14.7/bin/python3.14) machine # [2026-09-16T21:47:55Z INFO virtiofsd] Client disconnected, shutting down machine # [2026-09-16T21:47:55Z INFO virtiofsd] Client disconnected, shutting down machine # [2026-09-16T21:47:55Z INFO virtiofsd] Client disconnected, shutting down (finished: cleanup, in 0.15 seconds)