nixbot

builds

succeeded vm-test-run-nextcloud-rhwpviewer checks.x86_64-linux.nextcloud · build #21 · raw

1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)4Test will time out and terminate in 3600.0 seconds5run the VM test script6additionally exposed symbols:7 machine,8 vlan1,9 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_ssh10machine: starting vm11machine # Disk image does not exist, creating the virtualisation disk image...12machine: QEMU running (pid 45)13machine # Formatting '/build/vm-state-machine/tmp.H6njz6JFY9', fmt=raw size=107374182414machine # mke2fs 1.47.4 (6-Mar-2025)15machine # Discarding device blocks: 0/262144 done16machine # Creating filesystem with 262144 4k blocks and 65536 inodes17machine # Filesystem UUID: b85a8fa7-a92b-43a2-82ba-9cb035a83ce518machine # Superblock backups stored on blocks:19machine # 32768, 98304, 163840, 22937620machine # 21machine # Allocating group tables: 0/8 done22machine # Writing inode tables: 0/8 done23machine # Creating journal (8192 blocks): done24machine # Writing superblocks and filesystem accounting information: 0/8 done25machine # 26machine # Virtualisation disk image created.27machine: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success28machine: waiting for the VM to finish booting29machine # SeaBIOS (version rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org)30machine # 31machine # 32machine # iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+3EFD1920+3EF31920 CA0033machine # Press Ctrl-B to configure iPXE (PCI 00:03.0)...34machine # 35machine # 36machine # 37machine # 38machine # iPXE (http://ipxe.org) 00:09.0 CB00 PCI2.10 PnP PMM 3EFD1920 3EF31920 CB0039machine # Press Ctrl-B to configure iPXE (PCI 00:09.0)...40machine # 41machine # 42machine # Booting from ROM...43machine # Probing EDD (edd=off to disable)... o[ 0.000000] Linux version 6.18.44 (nixbld@localhost) (gcc (GCC) 15.3.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Sun Aug 9 18:25:30 UTC 202644machine # [ 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/cmwycmr1idljdklppmpavyqz4xibcj8f-nixos-system-machine-test/init regInfo=/nix/store/88j28vwa20vwfk83aa2g139ffr1iyqc7-closure-info/registration console=ttyS0,115200n8 console=tty045machine # [ 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.46machine # [ 0.000000] BIOS-provided physical RAM map:47machine # [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable48machine # [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved49machine # [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved50machine # [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffdafff] usable51machine # [ 0.000000] BIOS-e820: [mem 0x000000003ffdb000-0x000000003fffffff] reserved52machine # [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved53machine # [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved54machine # [ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved55machine # [ 0.000000] NX (Execute Disable) protection: active56machine # [ 0.000000] APIC: Static calls initialized57machine # [ 0.000000] SMBIOS 2.8 present.58machine # [ 0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/201459machine # [ 0.000000] DMI: Memory slots populated: 1/160machine # [ 0.000000] Hypervisor detected: KVM61machine # [ 0.000000] last_pfn = 0x3ffdb max_arch_pfn = 0x40000000062machine # [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d0063machine # [ 0.000000] kvm-clock: using sched offset of 414946895 cycles64machine # [ 0.000001] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns65machine # [ 0.000004] tsc: Detected 3792.874 MHz processor66machine # [ 0.000668] last_pfn = 0x3ffdb max_arch_pfn = 0x40000000067machine # [ 0.000692] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs68machine # [ 0.000694] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT69machine # [ 0.002308] found SMP MP-table at [mem 0x000f5470-0x000f547f]70machine # [ 0.002318] Using GB pages for direct mapping71machine # [ 0.002409] RAMDISK: [mem 0x3e34e000-0x3ffcffff]72machine # [ 0.002415] ACPI: Early table checksum verification disabled73machine # [ 0.002418] ACPI: RSDP 0x00000000000F5290 000014 (v00 BOCHS )74machine # [ 0.002421] ACPI: RSDT 0x000000003FFE23CC 000034 (v01 BOCHS BXPC 00000001 BXPC 00000001)75machine # [ 0.002425] ACPI: FACP 0x000000003FFE2280 000074 (v01 BOCHS BXPC 00000001 BXPC 00000001)76machine # [ 0.002430] ACPI: DSDT 0x000000003FFE0040 002240 (v01 BOCHS BXPC 00000001 BXPC 00000001)77machine # [ 0.002432] ACPI: FACS 0x000000003FFE0000 00004078machine # [ 0.002433] ACPI: APIC 0x000000003FFE22F4 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001)79machine # [ 0.002435] ACPI: HPET 0x000000003FFE236C 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)80machine # [ 0.002436] ACPI: WAET 0x000000003FFE23A4 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)81machine # [ 0.002437] ACPI: Reserving FACP table memory at [mem 0x3ffe2280-0x3ffe22f3]82machine # [ 0.002438] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe227f]83machine # [ 0.002438] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]84machine # [ 0.002439] ACPI: Reserving APIC table memory at [mem 0x3ffe22f4-0x3ffe236b]85machine # [ 0.002439] ACPI: Reserving HPET table memory at [mem 0x3ffe236c-0x3ffe23a3]86machine # [ 0.002440] ACPI: Reserving WAET table memory at [mem 0x3ffe23a4-0x3ffe23cb]87machine # [ 0.002837] No NUMA configuration found88machine # [ 0.002838] Faking a node at [mem 0x0000000000000000-0x000000003ffdafff]89machine # [ 0.002841] NODE_DATA(0) allocated [mem 0x3ffd5780-0x3ffdacff]90machine # [ 0.002916] Zone ranges:91machine # [ 0.002916] DMA [mem 0x0000000000001000-0x0000000000ffffff]92machine # [ 0.002917] DMA32 [mem 0x0000000001000000-0x000000003ffdafff]93machine # [ 0.002918] Normal empty94machine # [ 0.002919] Device empty95machine # [ 0.002919] Movable zone start for each node96machine # [ 0.002920] Early memory node ranges97machine # [ 0.002920] node 0: [mem 0x0000000000001000-0x000000000009efff]98machine # [ 0.002921] node 0: [mem 0x0000000000100000-0x000000003ffdafff]99machine # [ 0.002922] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffdafff]100machine # [ 0.002939] On node 0, zone DMA: 1 pages in unavailable ranges101machine # [ 0.003151] On node 0, zone DMA: 97 pages in unavailable ranges102machine # [ 0.020339] On node 0, zone DMA32: 37 pages in unavailable ranges103machine # [ 0.021362] ACPI: PM-Timer IO Port: 0x608104machine # [ 0.021374] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])105machine # [ 0.021403] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23106machine # [ 0.021405] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)107machine # [ 0.021407] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)108machine # [ 0.021408] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)109machine # [ 0.021409] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)110machine # [ 0.021410] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)111machine # [ 0.021412] ACPI: Using ACPI (MADT) for SMP configuration information112machine # [ 0.021413] ACPI: HPET id: 0x8086a201 base: 0xfed00000113machine # [ 0.021417] TSC deadline timer available114machine # [ 0.021422] CPU topo: Max. logical packages: 1115machine # [ 0.021423] CPU topo: Max. logical dies: 1116machine # [ 0.021423] CPU topo: Max. dies per package: 1117machine # [ 0.021427] CPU topo: Max. threads per core: 1118machine # [ 0.021428] CPU topo: Num. cores per package: 1119machine # [ 0.021428] CPU topo: Num. threads per package: 1120machine # [ 0.021429] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs121machine # [ 0.021447] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()122machine # [ 0.021488] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]123machine # [ 0.021489] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]124machine # [ 0.021491] [mem 0x40000000-0xfeffbfff] available for PCI devices125machine # [ 0.021492] Booting paravirtualized kernel on KVM126machine # [ 0.021495] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns127machine # [ 0.026024] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1128machine # [ 0.028813] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152129machine # [ 0.028876] kvm-guest: PV spinlocks disabled, single CPU130machine # [ 0.028879] 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/cmwycmr1idljdklppmpavyqz4xibcj8f-nixos-system-machine-test/init regInfo=/nix/store/88j28vwa20vwfk83aa2g139ffr1iyqc7-closure-info/registration console=ttyS0,115200n8 console=tty0131machine # [ 0.029038] Unknown kernel command line parameters "regInfo=/nix/store/88j28vwa20vwfk83aa2g139ffr1iyqc7-closure-info/registration", will be passed to user space.132machine # [ 0.029062] random: crng init done133machine # [ 0.029063] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes134machine # [ 0.030554] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)135machine # [ 0.030572] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)136machine # [ 0.030608] Fallback order for Node 0: 0137machine # [ 0.030611] Built 1 zonelists, mobility grouping on. Total pages: 262009138machine # [ 0.030612] Policy zone: DMA32139machine # [ 0.032981] mem auto-init: stack:all(zero), heap alloc:on, heap free:off140machine # [ 0.035855] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1141machine # [ 0.037858] allocated 2097152 bytes of page_ext142machine # [ 0.047127] ftrace: allocating 48717 entries in 192 pages143machine # [ 0.047129] ftrace: allocated 192 pages with 2 groups144machine # [ 0.047812] Dynamic Preempt: lazy145machine # [ 0.047919] rcu: Preemptible hierarchical RCU implementation.146machine # [ 0.047920] rcu: RCU event tracing is enabled.147machine # [ 0.047920] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1.148machine # [ 0.047922] Trampoline variant of Tasks RCU enabled.149machine # [ 0.047922] Rude variant of Tasks RCU enabled.150machine # [ 0.047922] Tracing variant of Tasks RCU enabled.151machine # [ 0.047923] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.152machine # [ 0.047924] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1153machine # [ 0.047936] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.154machine # [ 0.047938] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.155machine # [ 0.047938] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.156machine # [ 0.051708] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16157machine # [ 0.051940] rcu: srcu_init: Setting srcu_struct sizes based on contention.158machine # [ 0.051946] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns159machine # [ 0.052020] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)160machine # [ 0.057774] Console: colour VGA+ 80x25161machine # [ 0.057777] printk: legacy console [tty0] enabled162machine # [ 0.090845] printk: legacy console [ttyS0] enabled163machine # [ 0.238449] ACPI: Core revision 20250807164machine # [ 0.239579] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns165machine # [ 0.241601] APIC: Switch to symmetric I/O mode setup166machine # [ 0.242826] x2apic enabled167machine # [ 0.243701] APIC: Switched APIC routing to: physical x2apic168machine # [ 0.245712] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1169machine # [ 0.246999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns170machine # [ 0.249175] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874)171machine # [ 0.250244] x86/cpu: User Mode Instruction Prevention (UMIP) activated172machine # [ 0.251284] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127173machine # [ 0.253173] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0174machine # [ 0.254176] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto175machine # [ 0.255174] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl176machine # [ 0.257174] Spectre V2 : Mitigation: Retpolines177machine # [ 0.258173] Speculative Return Stack Overflow: Mitigation: Safe RET178machine # [ 0.259173] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization179machine # [ 0.261173] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT180machine # [ 0.263173] Spectre V2 : Enabling Restricted Speculation for firmware calls181machine # [ 0.264174] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier182machine # [ 0.266174] active return thunk: srso_alias_return_thunk183machine # [ 0.267188] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'184machine # [ 0.269173] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'185machine # [ 0.270173] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'186machine # [ 0.271173] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'187machine # [ 0.272182] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers'188machine # [ 0.273174] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)'189machine # [ 0.275175] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256190machine # [ 0.276174] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8191machine # [ 0.277174] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16192machine # [ 0.278173] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24193machine # [ 0.280173] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format.194machine # [ 0.311539] Freeing SMP alternatives memory: 44K195machine # [ 0.312175] pid_max: default: 32768 minimum: 301196machine # [ 0.313245] LSM: initializing lsm=capability,landlock,yama,bpf,ima197machine # [ 0.315239] landlock: Up and running.198machine # [ 0.316097] Yama: becoming mindful.199machine # [ 0.316993] LSM support for eBPF active200machine # [ 0.317941] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)201machine # [ 0.319204] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)202machine # [ 0.321480] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2)203machine # [ 0.322612] Performance Events: Fam17h+ core perfctr, AMD PMU driver.204machine # [ 0.323181] ... version: 0205machine # [ 0.324165] ... bit width: 48206machine # [ 0.324963] ... generic counters: 6207machine # [ 0.325952] ... generic bitmap: 000000000000003f208machine # [ 0.327175] ... fixed-purpose counters: 0209machine # [ 0.328168] ... fixed-purpose bitmap: 0000000000000000210machine # [ 0.329174] ... value mask: 0000ffffffffffff211machine # [ 0.330175] ... max period: 00007fffffffffff212machine # [ 0.331175] ... global_ctrl mask: 000000000000003f213machine # [ 0.332255] signal: max sigframe size: 3376214machine # [ 0.333254] rcu: Hierarchical SRCU implementation.215machine # [ 0.334179] rcu: Max phase no-delay instances is 400.216machine # [ 0.338948] smp: Bringing up secondary CPUs ...217machine # [ 0.339979] smp: Brought up 1 node, 1 CPU218machine # [ 0.340878] smpboot: Total of 1 processors activated (7585.74 BogoMIPS)219machine # [ 0.341321] Memory: 942936K/1048036K available (17211K kernel code, 2726K rwdata, 13580K rodata, 3644K init, 2988K bss, 97696K reserved, 0K cma-reserved)220machine # [ 0.342359] devtmpfs: initialized221machine # [ 0.343400] x86/mm: Memory block size: 128MB222machine # [ 0.345002] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear)223machine # [ 0.346211] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).224machine # [ 0.347264] pinctrl core: initialized pinctrl subsystem225machine # [ 0.348392] PM: RTC time: 21:49:20, date: 2026-08-20226machine # [ 0.351399] NET: Registered PF_NETLINK/PF_ROUTE protocol family227machine # [ 0.352486] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations228machine # [ 0.353197] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations229machine # [ 0.354304] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations230machine # [ 0.355186] audit: initializing netlink subsys (disabled)231machine # [ 0.356460] thermal_sys: Registered thermal governor 'fair_share'232machine # [ 0.356462] thermal_sys: Registered thermal governor 'bang_bang'233machine # [ 0.357177] thermal_sys: Registered thermal governor 'step_wise'234machine # [ 0.358180] audit: type=2000 audit(1787262561.287:1): state=initialized audit_enabled=0 res=1235machine # [ 0.360183] thermal_sys: Registered thermal governor 'user_space'236machine # [ 0.360186] thermal_sys: Registered thermal governor 'power_allocator'237machine # [ 0.361202] cpuidle: using governor menu238machine # [ 0.364552] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5239machine # [ 0.365594] PCI: Using configuration type 1 for base access240machine # [ 0.366178] PCI: Using configuration type 1 for extended access241machine # [ 0.367460] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.242machine # [ 0.372646] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages243machine # [ 0.373178] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page244machine # [ 0.374180] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages245machine # [ 0.381175] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page246machine # [ 0.388481] ACPI: Added _OSI(Module Device)247machine # [ 0.389176] ACPI: Added _OSI(Processor Device)248machine # [ 0.393929] ACPI: Added _OSI(Processor Aggregator Device)249machine # [ 0.395943] ACPI: 1 ACPI AML tables successfully acquired and loaded250machine # [ 0.401862] ACPI: Interpreter enabled251machine # [ 0.402192] ACPI: PM: (supports S0 S3 S4 S5)252machine # [ 0.403175] ACPI: Using IOAPIC for interrupt routing253machine # [ 0.406190] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug254machine # [ 0.407176] PCI: Using E820 reservations for host bridge windows255machine # [ 0.410303] ACPI: Enabled 2 GPEs in block 00 to 0F256machine # [ 0.416586] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])257machine # [ 0.417181] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]258machine # [ 0.418466] acpiphp: Slot [3] registered259machine # [ 0.419220] acpiphp: Slot [4] registered260machine # [ 0.420146] acpiphp: Slot [5] registered261machine # [ 0.420892] acpiphp: Slot [6] registered262machine # [ 0.421203] acpiphp: Slot [7] registered263machine # [ 0.422165] acpiphp: Slot [8] registered264machine # [ 0.422927] acpiphp: Slot [9] registered265machine # [ 0.423203] acpiphp: Slot [10] registered266machine # [ 0.424175] acpiphp: Slot [11] registered267machine # [ 0.425150] acpiphp: Slot [12] registered268machine # [ 0.425927] acpiphp: Slot [13] registered269machine # [ 0.426214] acpiphp: Slot [14] registered270machine # [ 0.427180] acpiphp: Slot [15] registered271machine # [ 0.428153] acpiphp: Slot [16] registered272machine # [ 0.428940] acpiphp: Slot [17] registered273machine # [ 0.429230] acpiphp: Slot [18] registered274machine # [ 0.430202] acpiphp: Slot [19] registered275machine # [ 0.431177] acpiphp: Slot [20] registered276machine # [ 0.432144] acpiphp: Slot [21] registered277machine # [ 0.432934] acpiphp: Slot [22] registered278machine # [ 0.433213] acpiphp: Slot [23] registered279machine # [ 0.434158] acpiphp: Slot [24] registered280machine # [ 0.434951] acpiphp: Slot [25] registered281machine # [ 0.435206] acpiphp: Slot [26] registered282machine # [ 0.436180] acpiphp: Slot [27] registered283machine # [ 0.437144] acpiphp: Slot [28] registered284machine # [ 0.437930] acpiphp: Slot [29] registered285machine # [ 0.438203] acpiphp: Slot [30] registered286machine # [ 0.439182] acpiphp: Slot [31] registered287machine # [ 0.440185] PCI host bridge to bus 0000:00288machine # [ 0.441149] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]289machine # [ 0.442175] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]290machine # [ 0.443175] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]291machine # [ 0.444175] pci_bus 0000:00: root bus resource [mem 0x40000000-0xfebfffff window]292machine # [ 0.445175] pci_bus 0000:00: root bus resource [mem 0x100000000-0x17fffffff window]293machine # [ 0.446176] pci_bus 0000:00: root bus resource [bus 00-ff]294machine # [ 0.447454] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000 conventional PCI endpoint295machine # [ 0.448909] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100 conventional PCI endpoint296machine # [ 0.450883] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180 conventional PCI endpoint297machine # [ 0.453227] pci 0000:00:01.1: BAR 4 [io 0xc1e0-0xc1ef]298machine # [ 0.454228] pci 0000:00:01.1: BAR 0 [io 0x01f0-0x01f7]: legacy IDE quirk299machine # [ 0.455175] pci 0000:00:01.1: BAR 1 [io 0x03f6]: legacy IDE quirk300machine # [ 0.456175] pci 0000:00:01.1: BAR 2 [io 0x0170-0x0177]: legacy IDE quirk301machine # [ 0.457175] pci 0000:00:01.1: BAR 3 [io 0x0376]: legacy IDE quirk302machine # [ 0.458432] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300 conventional PCI endpoint303machine # [ 0.460237] pci 0000:00:01.2: BAR 4 [io 0xc100-0xc11f]304machine # [ 0.462175] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000 conventional PCI endpoint305machine # [ 0.463681] pci 0000:00:01.3: quirk: [io 0x0600-0x063f] claimed by PIIX4 ACPI306machine # [ 0.464187] pci 0000:00:01.3: quirk: [io 0x0700-0x070f] claimed by PIIX4 SMB307machine # [ 0.465511] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint308machine # [ 0.468246] pci 0000:00:02.0: BAR 0 [mem 0xfd000000-0xfdffffff pref]309machine # [ 0.469198] pci 0000:00:02.0: BAR 2 [mem 0xfebd0000-0xfebd0fff]310machine # [ 0.470219] pci 0000:00:02.0: ROM [mem 0xfebc0000-0xfebcffff pref]311machine # [ 0.471350] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]312machine # [ 0.472963] pci 0000:00:03.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint313machine # [ 0.475998] pci 0000:00:03.0: BAR 0 [io 0xc120-0xc13f]314machine # [ 0.477125] pci 0000:00:03.0: BAR 1 [mem 0xfebd1000-0xfebd1fff]315machine # [ 0.478218] pci 0000:00:03.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref]316machine # [ 0.479187] pci 0000:00:03.0: ROM [mem 0xfeb40000-0xfeb7ffff pref]317machine # [ 0.482335] pci 0000:00:04.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint318machine # [ 0.484187] pci 0000:00:04.0: BAR 0 [io 0xc140-0xc15f]319machine # [ 0.485187] pci 0000:00:04.0: BAR 1 [mem 0xfebd2000-0xfebd2fff]320machine # [ 0.486218] pci 0000:00:04.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref]321machine # [ 0.489247] pci 0000:00:05.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint322machine # [ 0.491186] pci 0000:00:05.0: BAR 0 [io 0xc080-0xc0bf]323machine # [ 0.492187] pci 0000:00:05.0: BAR 1 [mem 0xfebd3000-0xfebd3fff]324machine # [ 0.493218] pci 0000:00:05.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref]325machine # [ 0.495886] pci 0000:00:06.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint326machine # [ 0.498186] pci 0000:00:06.0: BAR 0 [io 0xc160-0xc17f]327machine # [ 0.499187] pci 0000:00:06.0: BAR 1 [mem 0xfebd4000-0xfebd4fff]328machine # [ 0.500218] pci 0000:00:06.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref]329machine # [ 0.503811] pci 0000:00:07.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint330machine # [ 0.505949] pci 0000:00:07.0: BAR 0 [io 0xc180-0xc19f]331machine # [ 0.507122] pci 0000:00:07.0: BAR 1 [mem 0xfebd5000-0xfebd5fff]332machine # [ 0.508217] pci 0000:00:07.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref]333machine # [ 0.510844] pci 0000:00:08.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint334machine # [ 0.513175] pci 0000:00:08.0: BAR 0 [io 0xc000-0xc07f]335machine # [ 0.514187] pci 0000:00:08.0: BAR 1 [mem 0xfebd6000-0xfebd6fff]336machine # [ 0.515219] pci 0000:00:08.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref]337machine # [ 0.517811] pci 0000:00:09.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint338machine # [ 0.519187] pci 0000:00:09.0: BAR 0 [io 0xc1a0-0xc1bf]339machine # [ 0.520187] pci 0000:00:09.0: BAR 1 [mem 0xfebd7000-0xfebd7fff]340machine # [ 0.521218] pci 0000:00:09.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref]341machine # [ 0.522187] pci 0000:00:09.0: ROM [mem 0xfeb80000-0xfebbffff pref]342machine # [ 0.524834] pci 0000:00:0a.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint343machine # [ 0.526196] pci 0000:00:0a.0: BAR 1 [mem 0xfebd8000-0xfebd8fff]344machine # [ 0.527218] pci 0000:00:0a.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref]345machine # [ 0.529837] pci 0000:00:0b.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint346machine # [ 0.531186] pci 0000:00:0b.0: BAR 0 [io 0xc0c0-0xc0ff]347machine # [ 0.532238] pci 0000:00:0b.0: BAR 1 [mem 0xfebd9000-0xfebd9fff]348machine # [ 0.533255] pci 0000:00:0b.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref]349machine # [ 0.535979] pci 0000:00:0c.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint350machine # [ 0.538186] pci 0000:00:0c.0: BAR 0 [io 0xc1c0-0xc1df]351machine # [ 0.539187] pci 0000:00:0c.0: BAR 1 [mem 0xfebda000-0xfebdafff]352machine # [ 0.540217] pci 0000:00:0c.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref]353machine # [ 0.546915] ACPI: PCI: Interrupt link LNKA configured for IRQ 10354machine # [ 0.547338] ACPI: PCI: Interrupt link LNKB configured for IRQ 10355machine # [ 0.548326] ACPI: PCI: Interrupt link LNKC configured for IRQ 11356machine # [ 0.549327] ACPI: PCI: Interrupt link LNKD configured for IRQ 11357machine # [ 0.550262] ACPI: PCI: Interrupt link LNKS configured for IRQ 9358machine # [ 0.551994] iommu: Default domain type: Translated359machine # [ 0.553042] iommu: DMA domain TLB invalidation policy: lazy mode360machine # [ 0.554391] ACPI: bus type USB registered361machine # [ 0.555216] usbcore: registered new interface driver usbfs362machine # [ 0.556199] usbcore: registered new interface driver hub363machine # [ 0.557187] usbcore: registered new device driver usb364machine # [ 0.558873] NetLabel: Initializing365machine # [ 0.559180] NetLabel: domain hash size = 128366machine # [ 0.560175] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO367machine # [ 0.561246] NetLabel: unlabeled traffic allowed by default368machine # [ 0.562191] PCI: Using ACPI for IRQ routing369machine # [ 0.563891] pci 0000:00:02.0: vgaarb: setting as boot VGA device370machine # [ 0.564171] pci 0000:00:02.0: vgaarb: bridge control possible371machine # [ 0.564171] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none372machine # [ 0.564178] vgaarb: loaded373machine # [ 0.565292] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0374machine # [ 0.566175] hpet0: 3 comparators, 64-bit 100.000000 MHz counter375machine # [ 0.571264] clocksource: Switched to clocksource kvm-clock376machine # [ 0.575763] VFS: Disk quotas dquot_6.6.0377machine # [ 0.576840] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)378machine # [ 0.578579] pnp: PnP ACPI init379machine # [ 0.579968] pnp: PnP ACPI: found 6 devices380machine # [ 0.587616] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns381machine # [ 0.589569] clocksource: Switched to clocksource acpi_pm382machine # [ 0.590842] NET: Registered PF_INET protocol family383machine # [ 0.592158] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)384machine # [ 0.607960] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)385machine # [ 0.609993] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)386machine # [ 0.611808] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)387machine # [ 0.613577] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)388machine # [ 0.615213] TCP: Hash tables configured (established 8192 bind 8192)389machine # [ 0.616726] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear)390machine # [ 0.618447] UDP hash table entries: 512 (order: 3, 32768 bytes, linear)391machine # [ 0.619959] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear)392machine # [ 0.621606] NET: Registered PF_UNIX/PF_LOCAL protocol family393machine # [ 0.622906] NET: Registered PF_XDP protocol family394machine # [ 0.624047] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]395machine # [ 0.625475] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]396machine # [ 0.626858] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]397machine # [ 0.628398] pci_bus 0000:00: resource 7 [mem 0x40000000-0xfebfffff window]398machine # [ 0.629901] pci_bus 0000:00: resource 8 [mem 0x100000000-0x17fffffff window]399machine # [ 0.631522] pci 0000:00:01.0: PIIX3: Enabling Passive Release400machine # [ 0.632846] pci 0000:00:00.0: Limiting direct PCI/PCI transfers401machine # [ 0.635575] ACPI: \_SB_.LNKD: Enabled at IRQ 11402machine # [ 0.638393] PCI: CLS 0 bytes, default 64403machine # [ 0.639501] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns404machine # [ 0.641741] Trying to unpack rootfs image as initramfs...405machine # [ 0.681770] Initialise system trusted keyrings406machine # [ 0.685300] workingset: timestamp_bits=40 max_order=18 bucket_order=0407machine # [ 0.705864] Key type asymmetric registered408machine # [ 0.706870] Asymmetric key parser 'x509' registered409machine # [ 0.709306] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)410machine # [ 0.714300] io scheduler mq-deadline registered411machine # [ 0.715370] io scheduler kyber registered412machine # [ 0.718773] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled413machine # [ 0.722549] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A414machine # [ 0.729317] Linux agpgart interface v0.103415machine # [ 0.730373] ACPI: bus type drm_connector registered416machine # [ 0.733637] usbcore: registered new interface driver usbserial_generic417machine # [ 0.735093] usbserial: USB Serial support registered for generic418machine # [ 0.739342] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled419machine # [ 0.741150] drop_monitor: Initializing network drop monitor service420machine # [ 0.746382] NET: Registered PF_INET6 protocol family421machine # [ 0.747929] Segment Routing with IPv6422machine # [ 0.750293] In-situ OAM (IOAM) with IPv6423machine # [ 0.753490] IPI shorthand broadcast: enabled424machine # [ 0.761609] sched_clock: Marking stable (569024287, 192225428)->(884337713, -123087998)425machine # [ 0.765333] registered taskstats version 1426machine # [ 0.766571] Loading compiled-in X.509 certificates427machine # [ 0.785269] Demotion targets for Node 0: null428machine # [ 0.788311] Key type .fscrypt registered429machine # [ 0.789269] Key type fscrypt-provisioning registered430machine # [ 0.792367] ima: No TPM chip found, activating TPM-bypass!431machine # [ 0.793620] ima: Allocated hash algorithm: sha1432machine # [ 0.796296] ima: No architecture policies found433machine # [ 0.799268] PM: Magic number: 6:532:854434machine # [ 0.801083] RAS: Correctable Errors collector initialized.435machine # [ 0.811746] clk: Disabling unused clocks436machine # [ 0.814271] PM: genpd: Disabling unused power domains437machine # [ 0.938532] Freeing initrd memory: 29192K438machine # [ 0.941669] Freeing unused decrypted memory: 2028K439machine # [ 0.944294] Freeing unused kernel image (initmem) memory: 3644K440machine # [ 0.945734] Write protecting the kernel read-only data: 32768k441machine # [ 0.947885] Freeing unused kernel image (text/rodata gap) memory: 1220K442machine # [ 0.949770] Freeing unused kernel image (rodata/data gap) memory: 756K443machine # [ 0.991210] x86/mm: Checked W+X mappings: passed, no W+X pages found.444machine # [ 0.992728] Run /init as init process445machine # [ 1.001775] systemd[1]: Inserted module 'autofs4'446machine # [ 1.015794] fuse: init (API version 7.45)447machine # [ 1.022011] ACPI: \_SB_.LNKC: Enabled at IRQ 10448machine # [ 1.029005] ACPI: \_SB_.LNKA: Enabled at IRQ 10449machine # [ 1.032673] ACPI: \_SB_.LNKB: Enabled at IRQ 11450machine # [ 1.064726] systemd[1]: Successfully made /usr/ read-only.451machine # [ 1.401432] systemd[1]: systemd 261.1 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)452machine # [ 1.410559] systemd[1]: Detected virtualization kvm.453machine # [ 1.411887] systemd[1]: Detected architecture x86-64.454machine # [ 1.413152] systemd[1]: Running in initrd.455machine # [ 1.414472] systemd[1]: Initializing machine ID from random generator.456machine # [ 1.416012] systemd[1]: Hostname set to <machine>.457machine # [ 1.600611] systemd[1]: bpf-restrict-fs: LSM BPF program attached458machine # [ 1.636576] systemd[1]: Queued start job for default target Initrd Default Target.459machine # [ 1.640554] systemd[1]: Created slice Slice /system/modprobe.460machine # [ 1.642091] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.461machine # [ 1.643978] systemd[1]: Expecting device /dev/disk/by-label/nixos...462machine # [ 1.645565] systemd[1]: Reached target Path Units.463machine # [ 1.646752] systemd[1]: Reached target Slice Units.464machine # [ 1.647958] systemd[1]: Reached target Swaps.465machine # [ 1.649067] systemd[1]: Reached target Timer Units.466machine # [ 1.650393] systemd[1]: Listening on D-Bus System Message Bus Socket.467machine # [ 1.651996] systemd[1]: Listening on Journal Socket (/dev/log).468machine # [ 1.653570] systemd[1]: Listening on Journal Sockets.469machine # [ 1.654912] systemd[1]: Listening on udev Control Socket.470machine # [ 1.656350] systemd[1]: Listening on udev Kernel Socket.471machine # [ 1.657640] systemd[1]: Reached target Socket Units.472machine # [ 1.659698] systemd[1]: Starting Create List of Static Device Nodes...473machine # [ 1.664306] systemd[1]: Starting Load Kernel Module 9pnet_virtio...474machine # [ 1.672298] systemd[1]: Starting Load Kernel Module configfs...475machine # [ 1.685708] systemd[1]: Starting Journal Service...476machine # [ 1.696403] systemd[1]: Starting Load Kernel Modules...477machine # [ 1.702319] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os478machine # [ 1.706454] netfs: FS-Cache loaded479machine # [ 1.714460] systemd[1]: Starting Coldplug All udev Devices...480machine # [ 1.724867] 9pnet: Installing 9P2000 support481machine # [ 1.736695] systemd[1]: Finished Create List of Static Device Nodes.482machine # [ 1.742351] systemd-journald[67]: Collecting audit messages is disabled.483machine # [ 1.757010] systemd[1]: modprobe@configfs.service: Deactivated successfully.484machine # [ 1.763741] systemd[1]: Finished Load Kernel Module configfs.485machine # [ 1.768108] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.486machine # [ 1.772669] systemd[1]: modprobe@9pnet_virtio.service: Deactivated successfully.487machine # [ 1.776726] systemd[1]: Finished Load Kernel Module 9pnet_virtio.488machine # [ 1.779400] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev489machine # [ 1.782135] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config490machine # [ 1.794303] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...491machine # [ 1.811417] systemd[1]: Finished Load Kernel Modules.492machine # [ 1.821725] systemd[1]: Starting Apply Kernel Variables...493machine # [ 1.835418] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.494machine # [ 1.847412] systemd[1]: Starting Create Static Device Nodes in /dev...495machine # [ 1.863688] systemd[1]: Finished Apply Kernel Variables.496machine # [ 1.876352] systemd[1]: Finished Create Static Device Nodes in /dev.497machine # [ 1.881542] systemd[1]: Reached target Preparation for Local File Systems.498machine # [ 1.887329] systemd[1]: Reached target Local File Systems.499machine # [ 1.894421] systemd[1]: Starting Rule-based Manager for Device Events and Files...500machine # [ 1.739287] systemd-modules-load[68]: Inserted module 'dm_mod'[ 1.932943] systemd[1]: Started Journal Service.501machine # 502machine # [ 1.744157] systemd-modules-load[68]: Inserted module 'virtio_balloon'503machine # [ 1.745711] systemd-modules-load[68]: Inserted module 'virtio_gpu'504machine # [ 1.764099] systemd[1]: Starting Create System Files and Directories...505machine # [ 1.766482] systemd-udevd[75]: Using default interface naming scheme 'v261'.506machine # [ 1.791943] systemd[1]: Finished Create System Files and Directories.507machine # [ 1.804083] systemd[1]: Started Rule-based Manager for Device Events and Files.508machine # [ 1.823171] systemd[1]: Finished Coldplug All udev Devices.509machine # [ 1.825804] systemd[1]: Reached target System Initialization.510machine # [ 1.826948] systemd[1]: Reached target Basic System.511machine # [ 2.217690] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12512machine # [ 2.246657] serio: i8042 KBD port at 0x60,0x64 irq 1513machine # [ 2.262627] serio: i8042 AUX port at 0x60,0x64 irq 12514machine # [ 2.285898] virtio_blk virtio5: 1/0/0 default/read/poll queues515machine # [ 2.307367] SCSI subsystem initialized516machine # [ 2.309148] virtio_blk virtio5: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)517machine # [ 2.322061] uhci_hcd 0000:00:01.2: UHCI Host Controller518machine # [ 2.323031] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1519machine # [ 2.347994] uhci_hcd 0000:00:01.2: detected 2 ports520machine # [ 2.349728] uhci_hcd 0000:00:01.2: irq 11, io port 0x0000c100521machine # [ 2.168824] (udev-worker)[93]: Network interface NamePolicy= disabled on kernel command line.522machine # [ 2.170912] systemd[1]: Starting Virtual Console Setup...523machine # [ 2.180185] (udev-worker)[89]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.524machine # [ 2.185152] (udev-worker)[89]: Network interface NamePolicy= disabled on kernel command line.525machine # [ 2.385337] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18526machine # [ 2.386750] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1527machine # [ 2.392465] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0528machine # [ 2.210154] systemd-vconsole-setup[99]: Configuration of first virtual console was skipped, ignoring remaining ones.529machine # [ 2.212896] systemd[1]: Finished Virtual Console Setup.530machine # [ 2.419132] usb usb1: Product: UHCI Host Controller531machine # [ 2.420039] usb usb1: Manufacturer: Linux 6.18.44 uhci_hcd532machine # [ 2.424505] usb usb1: SerialNumber: 0000:00:01.2533machine # [ 2.428523] hub 1-0:1.0: USB hub found534machine # [ 2.434262] hub 1-0:1.0: 2 ports detected535machine # [ 2.242873] systemd[1]: Found device /dev/disk/by-label/nixos.536machine # [ 2.245088] systemd[1]: Reached target Initrd Root Device.537machine # [ 2.248355] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos...538machine # [ 2.447530] scsi host0: ata_piix539machine # [ 2.453400] scsi host1: ata_piix540machine # [ 2.454113] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc1e0 irq 14 lpm-pol 0541machine # [ 2.467288] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc1e8 irq 15 lpm-pol 0542machine # [ 2.277340] systemd-fsck[111]: nixos: clean, 12/65536 files, 13019/262144 blocks543machine # [ 2.291688] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos.544machine # [ 2.628934] ata2: found unknown device (class 0)545machine # [ 2.631117] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100546machine # [ 2.635623] scsi 1:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5547machine # [ 2.662144] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray548machine # [ 2.668250] usb 1-1: new full-speed USB device number 2 using uhci_hcd549machine # [ 2.673647] cdrom: Uniform CD-ROM driver Revision: 3.20550machine # [ 2.539615] systemd[1]: Mounting /sysroot...551machine # [ 2.819056] EXT4-fs (vda): mounted filesystem b85a8fa7-a92b-43a2-82ba-9cb035a83ce5 r/w with ordered data mode. Quota mode: none.552machine # [ 2.631238] systemd[1]: Mounted /sysroot.553machine # [ 2.632252] systemd[1]: Reached target Initrd Root File System.554machine # [ 2.635077] systemd[1]: Mounting /sysroot/nix/.ro-store...555machine # [ 2.637612] systemd[1]: Mounting /sysroot/nix/.rw-store...556machine # [ 2.643152] systemd[1]: Mounting /sysroot/run...557machine # [ 2.837029] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00558machine # [ 2.838497] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10559machine # [ 2.842632] usb 1-1: Product: QEMU USB Tablet560machine # [ 2.844224] usb 1-1: Manufacturer: QEMU561machine # [ 2.844930] usb 1-1: SerialNumber: 28754-0000:00:01.2-1562machine # [ 2.655371] systemd[1]: Mounting /sysroot/tmp/shared...563machine # [ 2.673176] systemd[1]: Mounting /sysroot/tmp/xchg...564machine # [ 2.876844] hid: raw HID events driver (C) Jiri Kosina565machine # [ 2.687126] systemd[1]: Starting Mountpoints Configured in the Real Root...566machine # [ 2.884898] 9p: Installing v9fs 9p2000 file system support567machine # [ 2.898841] usbcore: registered new interface driver usbhid568machine # [ 2.902665] usbhid: USB HID core driver569machine # [ 2.910240] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input2570machine # [ 2.722083] systemd[1]: Mounted /sysroot/nix/.ro-store.571machine # [ 2.723208] systemd[1]: Mounted /sysroot/nix/.rw-store.572machine # [ 2.724270] systemd[1]: Mounted /sysroot/run.573machine # [ 2.920543] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0574machine # [ 2.737733] systemd-sysroot-fstab-check[132]: /sysroot should be mounted in the initrd, will request daemon-reload.575machine # [ 2.741491] systemd[1]: Mounted /sysroot/tmp/shared.576machine # [ 2.742954] systemd[1]: Mounted /sysroot/tmp/xchg.577machine # [ 2.752082] systemd[1]: Starting rw-sysroot-nix-store.service...578machine # [ 2.753316] systemd[1]: Reload requested from client PID 132 ('systemd-sysroot') (unit initrd-parse-etc.service)...579machine # [ 2.755290] systemd[1]: Reloading...580machine # [ 2.826739] systemd[1]: Reloading finished in 75 ms.581machine # [ 2.836432] systemd-sysroot-fstab-check[132]: Requesting initrd-fs.target/start/replace...582machine # [ 2.839506] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.583machine # [ 2.841574] systemd[1]: Finished rw-sysroot-nix-store.service.584machine # [ 2.844431] systemd-sysroot-fstab-check[132]: Requesting swap.target/start/replace...585machine # [ 2.848937] systemd[1]: initrd-parse-etc.service: Deactivated successfully.586machine # [ 2.850835] systemd[1]: Finished Mountpoints Configured in the Real Root.587machine # [ 2.852308] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies.588machine # [ 2.854970] systemd[1]: Starting rw-sysroot-nix-store.service...589machine # [ 2.863969] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.590machine # [ 2.865965] systemd[1]: Finished rw-sysroot-nix-store.service.591machine # [ 3.540747] systemd[1]: Mounting /sysroot/nix/store...592machine # [ 3.561230] systemd[1]: Mounted /sysroot/nix/store.593machine # [ 3.562869] systemd[1]: Reached target Initrd File Systems.594machine # [ 3.565045] systemd[1]: Starting Find NixOS closure...595machine # [ 3.568468] systemd[1]: Starting Create Volatile Files and Directories in the Real Root...596machine # [ 3.585818] systemd[1]: Finished Create Volatile Files and Directories in the Real Root.597machine # [ 3.588715] systemd[1]: sysroot-run-credentials-systemd\x2dtmpfiles\x2dsetup\x2dsysroot.service.mount: Deactivated successfully.598machine # [ 3.596278] systemd[1]: Finished Find NixOS closure.599machine # [ 3.598253] systemd[1]: Reached target Initrd Default Target.600machine # [ 3.599931] systemd[1]: Starting Cleaning Up and Shutting Down Daemons...601machine # [ 3.615287] systemd[1]: Stopped target Initrd Default Target.602machine # [ 3.616484] systemd[1]: Stopped target Basic System.603machine # [ 3.617522] systemd[1]: Stopped target Initrd Root Device.604machine # [ 3.618623] systemd[1]: Stopped target Path Units.605machine # [ 3.619646] systemd[1]: systemd-ask-password-console.path: Deactivated successfully.606machine # [ 3.621181] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.607machine # [ 3.623167] systemd[1]: Stopped target Slice Units.608machine # [ 3.625316] systemd[1]: Stopped target Socket Units.609machine # [ 3.626348] systemd[1]: Stopped target System Initialization.610machine # [ 3.627499] systemd[1]: Stopped target Swaps.611machine # [ 3.628437] systemd[1]: Stopped target Timer Units.612machine # [ 3.630042] systemd[1]: dbus.socket: Deactivated successfully.613machine # [ 3.631382] systemd[1]: Closed D-Bus System Message Bus Socket.614machine # [ 3.633173] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully.615machine # [ 3.635169] systemd[1]: Stopped Find NixOS closure.616machine # [ 3.636197] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio617machine # [ 3.638639] systemd[1]: Starting rw-sysroot-nix-store.service...618machine # [ 3.640171] systemd[1]: systemd-sysctl.service: Deactivated successfully.619machine # [ 3.641787] systemd[1]: Stopped Apply Kernel Variables.620machine # [ 3.643181] systemd[1]: systemd-modules-load.service: Deactivated successfully.621machine # [ 3.644807] systemd[1]: Stopped Load Kernel Modules.622machine # [ 3.646257] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully.623machine # [ 3.648174] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root.624machine # [ 3.649686] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.625machine # [ 3.652149] systemd[1]: Stopped Create System Files and Directories.626machine # [ 3.653545] systemd[1]: Stopped target Local File Systems.627machine # [ 3.655193] systemd[1]: Stopped target Preparation for Local File Systems.628machine # [ 3.656904] systemd[1]: systemd-udev-trigger.service: Deactivated successfully.629machine # [ 3.659181] systemd[1]: Stopped Coldplug All udev Devices.630machine # [ 3.660318] systemd[1]: Stopping Rule-based Manager for Device Events and Files...631machine # [ 3.662614] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.632machine # [ 3.664485] systemd[1]: Stopped Virtual Console Setup.633machine # [ 3.670959] systemd[1]: initrd-cleanup.service: Deactivated successfully.634machine # [ 3.675737] systemd[1]: Finished Cleaning Up and Shutting Down Daemons.635machine # [ 3.679145] systemd[1]: systemd-udevd.service: Deactivated successfully.636machine # [ 3.682312] systemd[1]: Stopped Rule-based Manager for Device Events and Files.637machine # [ 3.683685] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.638machine # [ 3.686077] systemd[1]: Finished rw-sysroot-nix-store.service.639machine # [ 3.688655] systemd[1]: systemd-udevd-control.socket: Deactivated successfully.640machine # [ 3.690497] systemd[1]: Closed udev Control Socket.641machine # [ 3.692355] systemd[1]: Starting Cleanup udev Database...642machine # [ 3.694193] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.643machine # [ 3.695651] systemd[1]: Stopped Create Static Device Nodes in /dev.644machine # [ 3.696902] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully.645machine # [ 3.699195] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully.646machine # [ 3.700572] systemd[1]: kmod-static-nodes.service: Deactivated successfully.647machine # [ 3.701893] systemd[1]: Stopped Create List of Static Device Nodes.648machine # [ 3.715406] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully.649machine # [ 3.717598] systemd[1]: Finished Cleanup udev Database.650machine # [ 3.719443] systemd[1]: Reached target Switch Root.651machine # [ 3.721383] systemd[1]: Starting NixOS Activation...652machine # [ 3.837600] initrd-nixos-activation-start[178]: booting system configuration /nix/store/cmwycmr1idljdklppmpavyqz4xibcj8f-nixos-system-machine-test653machine # [ 3.884313] initrd-nixos-activation-start[178]: running activation script...654machine # [ 4.188941] initrd-nixos-activation-start[201]: setting up /etc...655machine # [ 4.390954] systemd[1]: initrd-nixos-activation.service: Deactivated successfully.656machine # [ 4.393129] systemd[1]: Finished NixOS Activation.657machine # [ 4.395355] systemd[1]: Starting Switch Root...658machine # [ 4.407241] systemd[1]: Switching root.659machine # [ 4.729624] systemd-journald[67]: Received SIGTERM from PID 1 (systemd).660machine # [ 4.837709] NET: Registered PF_VSOCK protocol family661machine # [ 5.203289] systemd[1]: systemd 261.1 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)662machine # [ 5.210336] systemd[1]: Detected virtualization kvm.663machine # [ 5.211590] systemd[1]: Detected architecture x86-64.664machine # [ 5.212776] systemd[1]: Detected first boot.665machine # [ 5.215753] systemd[1]: Initializing machine ID from random generator.666machine # [ 5.441679] systemd[1]: bpf-restrict-fs: LSM BPF program attached667machine # [ 5.532049] systemd[1]: Applying preset policy.668machine # [ 5.885985] systemd[1]: Populated /etc with preset unit settings.669machine # [ 6.224715] systemd[1]: initrd-switch-root.service: Deactivated successfully.670machine # [ 6.226569] systemd[1]: Stopped initrd-switch-root.service.671machine # [ 6.229405] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.672machine # [ 6.231785] systemd[1]: Created slice Slice /system/getty.673machine # [ 6.233420] systemd[1]: Created slice PHP FastCGI Process Manager Slice.674machine # [ 6.235109] systemd[1]: Created slice User and Session Slice.675machine # [ 6.236301] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.676machine # [ 6.237798] systemd[1]: Started Forward Password Requests to Wall Directory Watch.677machine # [ 6.239205] systemd[1]: Expecting device /dev/hvc0...678machine # [ 6.240105] systemd[1]: Expecting device /dev/ttyS0...679machine # [ 6.241100] systemd[1]: Reached target Local Encrypted Volumes.680machine # [ 6.242199] systemd[1]: Stopped target initrd-fs.target.681machine # [ 6.243183] systemd[1]: Stopped target initrd-root-fs.target.682machine # [ 6.244235] systemd[1]: Stopped target initrd-switch-root.target.683machine # [ 6.245356] systemd[1]: Reached target Virtual Machines and Containers.684machine # [ 6.246573] systemd[1]: Reached target Path Units.685machine # [ 6.247521] systemd[1]: Reached target Remote File Systems.686machine # [ 6.248564] systemd[1]: Reached target Slice Units.687machine # [ 6.249529] systemd[1]: Reached target Swaps.688machine # [ 6.252178] systemd[1]: Listening on Query the User Interactively for a Password.689machine # [ 6.255436] systemd[1]: Listening on Process Core Dump Socket.690machine # [ 6.257952] systemd[1]: Listening on Credential Encryption/Decryption.691machine # [ 6.260621] systemd[1]: Listening on Factory Reset Management.692machine # [ 6.261806] systemd[1]: Listening on Hostname Service Socket.693machine # [ 6.265410] systemd[1]: Starting Journal Log Access Socket...694machine # [ 6.266934] systemd[1]: Listening on Journal Audit Socket.695machine # [ 6.269734] systemd[1]: Listening on Console Output Muting Service Socket.696machine # [ 6.271459] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.697machine # [ 6.273019] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os698machine # [ 6.274714] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki699machine # [ 6.281006] systemd[1]: Listening on Disk Repartitioning Service Socket.700machine # [ 6.282372] systemd[1]: Listening on udev Control Socket.701machine # [ 6.283942] systemd[1]: Listening on udev Varlink Socket.702machine # [ 6.288460] systemd[1]: Mounting Huge Pages File System...703machine # [ 6.293875] systemd[1]: Mounting POSIX Message Queue File System...704machine # [ 6.299728] systemd[1]: Mounting Kernel Debug File System...705machine # [ 6.305212] systemd[1]: Mounting Kernel Trace File System...706machine # [ 6.310395] systemd[1]: Starting Create List of Static Device Nodes...707machine # [ 6.315330] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio708machine # [ 6.323763] systemd[1]: Starting Load Kernel Module configfs...709machine # [ 6.325556] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm710machine # [ 6.327567] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore711machine # [ 6.329702] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse712machine # [ 6.353033] systemd[1]: Mounting FUSE Control File System...713machine # [ 6.357723] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67714machine # [ 6.370383] systemd[1]: Starting Journal Service...715machine # [ 6.377198] systemd[1]: Starting Load Kernel Modules...716machine # [ 6.386462] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...717machine # [ 6.394680] systemd[1]: Starting Remount Root and Kernel File Systems...718machine # [ 6.400648] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os719machine # [ 6.427044] systemd[1]: Starting Coldplug All udev Devices...720machine # [ 6.431997] systemd-journald[271]: Collecting audit messages is enabled.721machine # [ 6.458764] loop: module loaded722machine # [ 6.460067] systemd[1]: Listening on Journal Log Access Socket.723machine # [ 6.470855] systemd[1]: Mounted Huge Pages File System.724machine # [ 6.479692] systemd[1]: Mounted POSIX Message Queue File System.725machine # [ 6.488626] systemd[1]: Mounted Kernel Debug File System.726machine # [ 6.498238] EXT4-fs (vda): re-mounted b85a8fa7-a92b-43a2-82ba-9cb035a83ce5.727machine # [ 6.502538] systemd[1]: Mounted Kernel Trace File System.728machine # [ 6.315119] systemd[1]: Queued start job for default target Multi-User System.729machine # [ 6.509781] systemd[1]: Started Journal Service.730machine # [ 6.318593] systemd[1]: systemd-journald.service: Deactivated successfully.731machine # [ 6.321663] systemd-modules-load[272]: Inserted module 'loop'732machine # [ 6.332103] systemd-modules-load[272]: Inserted module 'tls'733machine # [ 6.333502] systemd[1]: Finished Create List of Static Device Nodes.734machine # [ 6.337328] systemd[1]: modprobe@configfs.service: Deactivated successfully.735machine # [ 6.343317] systemd[1]: Finished Load Kernel Module configfs.736machine # [ 6.344513] systemd[1]: Mounted FUSE Control File System.737machine # [ 6.349119] systemd[1]: Finished Load Kernel Modules.738machine # [ 6.350211] systemd[1]: Finished Remount Root and Kernel File Systems.739machine # [ 6.368089] systemd[1]: Listening on Disk Image Download Service Socket.740machine # [ 6.372751] systemd-oomd[274]: No swap; memory pressure usage will be degraded741machine # [ 6.377123] systemd[1]: Mounting Kernel Configuration File System...742machine # [ 6.381720] systemd[1]: Starting Firewall...743machine # [ 6.389086] systemd[1]: Starting Flush Journal to Persistent Storage...744machine # [ 6.390451] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore745machine # [ 6.402961] systemd[1]: Starting Load/Save OS Random Seed...746machine # [ 6.411940] systemd[1]: Starting Apply Kernel Variables...747machine # [ 6.435694] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...748machine # [ 6.437363] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os749machine # [ 6.439554] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.750machine # [ 6.647331] systemd-journald[271]: Received client request to flush runtime journal.751machine # [ 6.688438] systemd[1]: Mounted Kernel Configuration File System.752machine # [ 6.689809] systemd[1]: Finished Load/Save OS Random Seed.753machine # [ 6.693280] systemd[1]: Reached target First Boot Complete.754machine # [ 6.698984] systemd[1]: Finished Apply Kernel Variables.755machine # [ 6.700486] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.756machine # [ 6.705287] systemd[1]: Starting Create Static Device Nodes in /dev...757machine # [ 6.707691] systemd[1]: Finished Create Static Device Nodes in /dev.758machine # [ 6.711224] systemd[1]: Reached target Preparation for Local File Systems.759machine # [ 6.712516] systemd[1]: Starting Rule-based Manager for Device Events and Files...760machine # [ 6.713915] systemd[1]: Finished Flush Journal to Persistent Storage.761machine # [ 6.756327] systemd-udevd[310]: Using default interface naming scheme 'v261'.762machine # [ 6.766464] systemd[1]: Finished Coldplug All udev Devices.763machine # [ 6.849126] systemd[1]: Started Rule-based Manager for Device Events and Files.764machine # [ 7.031937] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse765machine # [ 7.039088] systemd[1]: Mounting /run/wrappers...766machine # [ 7.072306] systemd[1]: Mounted /run/wrappers.767machine # [ 7.073318] systemd[1]: Reached target Local File Systems.768machine # [ 7.077321] systemd[1]: Listening on Boot Loader Control Service Socket.769machine # [ 7.081917] systemd[1]: Starting register-nix-paths.service...770machine # [ 7.092298] systemd[1]: Starting Create SUID/SGID Wrappers...771machine # [ 7.093771] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.772machine # [ 7.110338] systemd[1]: Starting Save Transient machine-id to Disk...773machine # [ 7.122330] systemd[1]: Starting Create System Files and Directories...774machine # [ 7.209454] systemd[1]: etc-machine\x2did.mount: Deactivated successfully.775machine # [ 7.217263] systemd[1]: Finished Save Transient machine-id to Disk.776machine # [ 7.260604] systemd[1]: Finished Create System Files and Directories.777machine # [ 7.275179] systemd[1]: Starting Rebuild Journal Catalog...778machine # [ 7.282551] systemd[1]: Starting Record System Boot/Shutdown in UTMP...779machine # [ 7.310081] systemd[1]: Condition check resulted in /dev/hvc0 being skipped.780machine # [ 7.371714] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped.781machine # [ 7.383725] systemd[1]: Finished Record System Boot/Shutdown in UTMP.782machine # [ 7.427254] systemd[1]: Finished Rebuild Journal Catalog.783machine # [ 7.440295] systemd[1]: Starting Update is Completed...784machine # [ 7.449321] (udev-worker)[365]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.785machine # [ 7.464459] (udev-worker)[365]: Network interface NamePolicy= disabled on kernel command line.786machine # [ 7.471763] (udev-worker)[360]: Network interface NamePolicy= disabled on kernel command line.787machine # [ 7.511913] systemd[1]: Finished Update is Completed.788machine # [ 7.584746] systemd[1]: Finished Firewall.789machine # [ 7.686209] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.790machine # [ 7.690083] systemd[1]: Finished Create SUID/SGID Wrappers.791machine # [ 7.695335] systemd[1]: Condition check resulted in Virtio network device being skipped.792machine # [ 7.697478] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore793machine # [ 7.703907] systemd[1]: Starting Create SUID/SGID Wrappers...794machine # [ 7.705113] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.795machine # [ 7.707870] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67796machine # [ 7.711265] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore797machine # [ 7.714179] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os798machine # [ 7.717103] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os799machine # [ 8.130494] mousedev: PS/2 mouse device common for all mice800machine # [ 8.146829] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3801machine # [ 8.185843] ACPI: button: Power Button [PWRF]802machine # [ 8.221176] rtc_cmos 00:05: RTC can wake from S4803machine # [ 8.034270] systemd[1]: Finished register-nix-paths.service.804machine # [ 8.251195] rtc_cmos 00:05: registered as rtc0805machine # [ 8.254790] Floppy drive(s): fd0 is 2.88M AMI BIOS806machine # [ 8.257834] parport_pc 00:03: reported by Plug and Play ACPI807machine # [ 8.259577] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]808machine # [ 8.263585] rtc_cmos 00:05: setting system clock to 2026-08-20T21:49:28 UTC (1787262568)809machine # [ 8.284365] systemd-journald[271]: Time jumped backwards, rotating.810machine # [ 8.294611] FDC 0 is a S82078B811machine # [ 8.153975] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.812machine # [ 8.156792] systemd[1]: Finished Create SUID/SGID Wrappers.813machine # [ 8.158514] systemd[1]: Reached target System Initialization.814machine # [ 8.162380] systemd[1]: Started Discard unused filesystem blocks once a week.815machine # [ 8.164253] systemd[1]: Started Daily Cleanup of Temporary Directories.816machine # [ 8.168118] systemd[1]: Listening on D-Bus System Message Bus Socket.817machine # [ 8.169800] systemd[1]: Listening on Nix Daemon Socket.818machine # [ 8.172129] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.819machine # [ 8.174218] systemd[1]: Reached target Socket Units.820machine # [ 8.176306] systemd[1]: Reached target Basic System.821machine # [ 8.179206] systemd[1]: Started backdoor.service.822machine # [ 8.185099] systemd[1]: Starting Import lastlog data into lastlog2 database...823machine # [ 8.380361] bochs-drm 0000:00:02.0: vgaarb: deactivate vga console824machine # [ 8.195173] systemd[1]: Starting nextcloud-setup.service...825machine # [ 8.392387] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0826machine # [ 8.208915] systemd[1]: Starting Name Service Cache Daemon (nsncd)...827machine # [ 8.220561] systemd[1]: Starting Post-Boot Actions...828machine # [ 8.242292] systemd[1]: Started Reset console on configuration changes.829machine # [ 8.262417] systemd[1]: Starting resolvconf update...830machine # connecting to host...831machine: Guest shell says: b'Spawning backdoor root shell...\n'832machine: connected to guest root shell833machine: (connecting took 9.06 seconds)834machine: (finished: waiting for the VM to finish booting, in 9.06 seconds)835machine # [ 8.360225] systemd[1]: Finished Post-Boot Actions.836machine # [ 8.381512] systemd[1]: Starting D-Bus System Message Bus...837machine # [ 8.408297] nsncd[559]: Aug 20 21:49:28.831 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"838machine # [ 8.410979] systemd[1]: Started Name Service Cache Daemon (nsncd).839machine # [ 8.422651] systemd[1]: Finished Import lastlog data into lastlog2 database.840machine # [ 8.424054] systemd[1]: Reached target Host and Network Name Lookups.841machine # [ 8.425394] systemd[1]: Reached target User and Group Name Lookups.842machine # [ 8.445087] systemd[1]: Starting User Login Management...843machine: (finished: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success, in 9.22 seconds)844machine: waiting for unit phpfpm-nextcloud.service845machine # [ 8.584421] systemd[1]: Stopped target Host and Network Name Lookups.846machine # [ 8.585719] systemd[1]: Stopping Host and Network Name Lookups...847machine # [ 8.586886] systemd[1]: Stopped target User and Group Name Lookups.848machine # [ 8.487441] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD849machine # [ 8.592262] systemd[1]: Stopping User and Group Name Lookups...850machine # [ 8.593739] systemd[1]: Stopping Name Service Cache Daemon (nsncd)...851machine # [ 8.603306] systemd[1]: nscd.service: Deactivated successfully.852machine # [ 8.606413] systemd[1]: Stopped Name Service Cache Daemon (nsncd).853machine # [ 8.633720] dbus-broker-launch[578]: Looking up NSS user entry for 'systemd-timesync'...854machine # [ 8.637453] systemd[1]: Starting Name Service Cache Daemon (nsncd)...855machine # [ 8.644676] dbus-broker-launch[578]: NSS returned no entry for 'systemd-timesync'856machine # [ 8.646279] dbus-broker-launch[578]: Invalid user-name in /nix/store/sajmj7mpxx0s3phrn6mf33a2sakplr3j-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"857machine # [ 8.559622] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:0a.0/virtio7/input/input4858machine # [ 8.606013] rtc_cmos 00:05: alarms up to one day, y3k, 242 bytes nvram, hpet irqs859machine # [ 8.685732] systemd[1]: Started D-Bus System Message Bus.860machine # [ 8.736600] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6861machine # [ 8.736905] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5862machine # [ 8.780477] Console: switching to colour dummy device 80x25863machine # [ 8.991673] [drm] Found bochs VGA, ID 0xb0c5.864machine # [ 8.991678] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.865machine # [ 8.723902] nsncd[651]: Aug 20 21:49:29.149 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"866machine # [ 8.806074] dbus-broker-launch[578]: Ready867machine # [ 8.810441] systemd[1]: Started Name Service Cache Daemon (nsncd).868machine # [ 8.813377] systemd[1]: Finished resolvconf update.869machine # [ 8.817615] systemd[1]: Reached target Preparation for Network.870machine # [ 8.820148] systemd[1]: Reached target Host and Network Name Lookups.871machine # [ 8.824542] systemd[1]: Reached target User and Group Name Lookups.872machine # [ 8.825742] systemd[1]: Starting DHCP Client...873machine # [ 8.826772] systemd[1]: Starting Address configuration of eth1...874machine # [ 8.829970] systemd[1]: Starting Extra networking commands....875machine # [ 8.833269] systemd-logind[594]: New seat seat0.876machine # [ 9.029308] bochs-drm 0000:00:02.0: [drm] Registered 1 planes with drm panic877machine # [ 8.838433] systemd[1]: Starting Virtual Console Setup...878machine # [ 8.839535] systemd[1]: Started User Login Management.879machine # [ 9.046288] [drm] Initialized bochs-drm 1.0.0 for 0000:00:02.0 on minor 0880machine # [ 8.860191] systemd[1]: Starting linger-users.service...881machine # [ 8.931734] network-addresses-eth1-start[675]: adding address 192.168.1.1/24... done882machine # [ 8.949227] network-addresses-eth1-start[675]: adding address 2001:db8:1::1/64... done883machine # [ 8.961938] systemd[1]: linger-users.service: Deactivated successfully.884machine # [ 8.965486] systemd[1]: Finished linger-users.service.885machine # [ 8.981799] systemd[1]: Finished Address configuration of eth1.886machine # [ 9.077316] systemd-logind[594]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)887machine # [ 9.109636] systemd[1]: Finished Extra networking commands..888machine # [ 9.115123] systemd[1]: Reached target Network.889machine # [ 9.127754] systemd[1]: Starting Nginx Web Server...890machine # [ 9.136088] systemd-logind[594]: Watching system buttons on /dev/input/event2 (Power Button)891machine # [ 9.144640] systemd[1]: Starting Redis Server - redis-nextcloud...892machine # [ 9.164059] systemd[1]: Starting Permit User Sessions...893machine # [ 9.187620] dhcpcd[708]: dhcpcd-10.3.2 starting894machine # [ 9.206340] dhcpcd[748]: dev: loaded udev895machine # [ 9.247972] systemd[1]: Finished Permit User Sessions.896machine # [ 9.431681] 8021q: 802.1Q VLAN Support v1.8897machine # [ 9.431695] 8021q: adding VLAN 0 to HW filter on device eth1898machine # [ 9.478772] Console: switching to colour frame buffer device 160x50899machine # [ 9.493648] ppdev: user-space parallel port driver900machine # [ 9.614809] bochs-drm 0000:00:02.0: [drm] fb0: bochs-drmdrmfb frame buffer device901machine # [ 9.355843] systemd-vconsole-setup[677]: Configuration of first virtual console was skipped, ignoring remaining ones.902machine # [ 9.430840] systemd[1]: Started Getty on tty1.903machine # [ 9.433734] systemd[1]: Reached target Login Prompts.904machine # [ 9.445081] systemd[1]: Finished Virtual Console Setup.905machine # [ 9.495343] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.906machine # [ 9.499265] systemd[1]: Stopped Virtual Console Setup.907machine # [ 9.501564] systemd[1]: Stopping Virtual Console Setup...908machine # [ 9.707103] cfg80211: Loading compiled-in X.509 certificates for regulatory database909machine # [ 9.520615] systemd-logind[594]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard)910machine # [ 9.522246] systemd[1]: Starting Virtual Console Setup...911machine # [ 9.526892] nginx-pre-start[761]: nginx: the configuration file /nix/store/qkpcdrq581wgggbriikbcwic79sknglw-nginx.conf syntax is ok912machine # [ 9.530201] nginx-pre-start[761]: nginx: configuration file /nix/store/qkpcdrq581wgggbriikbcwic79sknglw-nginx.conf test is successful913machine # [ 9.549103] systemd[1]: Started Nginx Web Server.914machine # [ 9.746671] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'915machine # [ 9.750325] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'916machine # [ 9.756680] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2917machine # [ 9.757815] cfg80211: failed to load regulatory.db918machine # [ 9.866341] 8021q: adding VLAN 0 to HW filter on device eth0919machine # [ 9.679495] dhcpcd[748]: eth0: waiting for carrier920machine # [ 9.681094] dhcpcd[748]: eth0: carrier acquired921machine # [ 9.707350] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.922machine # [ 9.710939] dhcpcd[748]: DUID 00:01:00:01:32:1a:32:ea:52:54:00:12:34:56923machine # [ 9.713312] dhcpcd[748]: eth0: IAID 00:12:34:56924machine # [ 9.716487] dhcpcd[748]: eth0: adding address fe80::5054:ff:fe12:3456925machine # [ 9.740284] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.926machine # [ 9.745714] systemd[1]: Stopped Virtual Console Setup.927machine # [ 9.765314] systemd[1]: Starting Virtual Console Setup...928machine # [ 9.878241] redis-server[765]: Supervised by systemd. Please make sure you set appropriate values for TimeoutStartSec and TimeoutStopSec in your service unit.929machine # [ 9.881777] redis-server[765]: oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo930machine # [ 9.884349] redis-server[765]: Redis version=8.8.1, bits=64, commit=00000000, modified=0, pid=765, just started931machine # [ 9.887538] redis-server[765]: Configuration loaded932machine # [ 9.888687] redis[765]: monotonic clock: POSIX clock_gettime933machine # [ 9.895208] redis[765]: Running mode=standalone, port=0.934machine # [ 9.900075] redis[765]: Server initialized935machine # [ 9.903155] redis[765]: Ready to accept connections unix936machine # [ 9.904350] redis[765]: WARNING: Redis does not require authentication. Redis will accept connections from any local client.937machine # [ 9.908897] systemd[1]: Started Redis Server - redis-nextcloud.938machine # [ 10.157227] kvm_amd: TSC scaling supported939machine # [ 10.157776] kvm_amd: Nested Virtualization enabled940machine # [ 10.158830] kvm_amd: Nested Paging enabled941machine # [ 10.159952] kvm_amd: LBR virtualization supported942machine # [ 10.161760] kvm_amd: Virtual VMLOAD VMSAVE supported943machine # [ 10.163680] kvm_amd: Virtual GIF supported944machine # [ 10.222929] EDAC MC: Ver: 3.0.0945machine # [ 10.069404] systemd-vconsole-setup[792]: Configuration of first virtual console was skipped, ignoring remaining ones.946machine # [ 10.074358] systemd[1]: Finished Virtual Console Setup.947machine # [ 11.088635] dhcpcd[748]: eth0: soliciting a DHCP lease948machine # [ 11.295647] NET: Registered PF_PACKET protocol family949machine # [ 11.108600] dhcpcd[748]: eth0: offered 10.0.2.15 from 10.0.2.2950machine # [ 11.110190] dhcpcd[748]: eth0: probing address 10.0.2.15/24951machine # [ 12.060321] dhcpcd[748]: eth0: soliciting an IPv6 router952machine # [ 12.062112] dhcpcd[748]: eth0: Router Advertisement from fe80::2953machine # [ 12.063758] dhcpcd[748]: eth0: adding address fec0::5054:ff:fe12:3456/64954machine # [ 12.065424] dhcpcd[748]: eth0: adding route to fec0::/64955machine # [ 12.066699] dhcpcd[748]: eth0: adding default route via fe80::2956machine # [ 15.583598] dhcpcd[748]: eth0: leased 10.0.2.15 for 86400 seconds957machine # [ 15.586256] dhcpcd[748]: eth0: adding route to 10.0.2.0/24958machine # [ 15.587288] dhcpcd[748]: eth0: adding default route via 10.0.2.2959machine # [ 15.691280] systemd[1]: Started DHCP Client.960machine # [ 19.726725] nextcloud-setup-start[566]: Nextcloud was successfully installed961machine # [ 20.717697] nextcloud-setup-start[961]: No upgrade required.962machine # [ 20.718883] nextcloud-setup-start[961]: Note: This command triggers the upgrade actions associated with a new version. The new version's updated source files must be deployed in advance.963machine # [ 20.721489] nextcloud-setup-start[961]: See the upgrade documentation: https://docs.nextcloud.com/server/33/go.php?to=admin-update for more information.964machine # [ 21.453622] nextcloud-setup-start[973]: System config value trusted_domains deleted965machine # [ 22.282109] nextcloud-setup-start[980]: rhwpviewer 0.1.0 enabled966machine # [ 23.061298] nextcloud-setup-start[988]: System config value trusted_domains => 0 set to string localhost967machine # [ 23.085911] systemd[1]: nextcloud-setup.service: Deactivated successfully.968machine # [ 23.088202] systemd[1]: Finished nextcloud-setup.service.969machine # [ 23.089935] systemd[1]: nextcloud-setup.service: Consumed 5.543s CPU time over 14.892s wall clock time, 150M memory peak, 12.7M written to disk.970machine # [ 23.094505] systemd[1]: Started nextcloud-cron.timer.971machine # [ 23.096200] systemd[1]: Reached target Timer Units.972machine # [ 23.099375] systemd[1]: Starting nextcloud-update-db.service...973machine # [ 23.103711] systemd[1]: Starting PHP FastCGI Process Manager service for pool nextcloud...974machine # [ 23.314690] php-fpm[1003]: [20-Aug-2026 21:49:43] NOTICE: systemd watchdog configured to 7.5sec975machine # [ 23.325642] php-fpm[1003]: [NOTICE] fpm is running, pid 1003976machine # [ 23.358619] php-fpm[1003]: [NOTICE] ready to handle connections977machine # [ 23.361223] php-fpm[1003]: [NOTICE] systemd monitor interval set to 7500ms978machine # [ 23.363362] systemd[1]: Started PHP FastCGI Process Manager service for pool nextcloud.979machine # [ 23.366300] systemd[1]: Reached target PHP FastCGI Process manager pools target.980machine # [ 23.368897] systemd[1]: Reached target Multi-User System.981machine # [ 23.380218] php[1002]: Cannot write into "config" directory!982machine # [ 23.381291] php[1002]: This can usually be fixed by giving the web server write access to the config directory.983machine # [ 23.382996] php[1002]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.984machine # [ 23.386054] php[1002]: See https://docs.nextcloud.com/server/33/go.php?to=admin-config985machine # [ 23.423076] systemd[1]: Started nextcloud-update-db.service.986machine # [ 23.424224] systemd[1]: Startup finished in 803ms (kernel) + 3.803s (initrd) + 18.815s (userspace) = 23.422s.987machine: (finished: waiting for unit phpfpm-nextcloud.service, in 15.14 seconds)988machine: waiting for unit nginx.service989machine: (finished: waiting for unit nginx.service, in 0.05 seconds)990machine: waiting for TCP port 80 on localhost991machine # Connection to localhost (127.0.0.1) 80 port [tcp/http] succeeded!992machine: (finished: waiting for TCP port 80 on localhost, in 0.05 seconds)993machine: waiting for success: curl --fail --silent --show-error http://localhost/status.php994machine: (finished: waiting for success: curl --fail --silent --show-error http://localhost/status.php, in 0.56 seconds)995machine: must succeed: nextcloud-occ app:list --enabled996machine # [ 24.353780] sudo[1036]: root : TTY=hvc0 ; PWD=/nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps ; USER=nextcloud ; COMMAND=/nix/store/97d5ygrvqj55f4nx1x34wfdcc7qn11c0-coreutils-9.11/bin/env NEXTCLOUD_CONFIG_DIR=/var/lib/nextcloud/config /nix/store/kmxnm94pfpxxkb2rhzb4k25kzrsxz6sy-php-with-extensions-8.4.24/bin/php occ app:list --enabled997machine # [ 24.370870] sudo[1036]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)998machine # [ 24.404842] nextcloud-update-db-start[1019]: Done.999machine # [ 25.322098] sudo[1036]: pam_unix(sudo:session): session closed for user nextcloud1000machine: (finished: must succeed: nextcloud-occ app:list --enabled, in 1.04 seconds)1001machine: must succeed: nextcloud-occ app:getpath rhwpviewer1002machine # [ 25.365942] sudo[1046]: root : TTY=hvc0 ; PWD=/nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps ; USER=nextcloud ; COMMAND=/nix/store/97d5ygrvqj55f4nx1x34wfdcc7qn11c0-coreutils-9.11/bin/env NEXTCLOUD_CONFIG_DIR=/var/lib/nextcloud/config /nix/store/kmxnm94pfpxxkb2rhzb4k25kzrsxz6sy-php-with-extensions-8.4.24/bin/php occ app:getpath rhwpviewer1003machine # [ 25.383335] sudo[1046]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1004machine # [ 26.325264] sudo[1046]: pam_unix(sudo:session): session closed for user nextcloud1005machine: (finished: must succeed: nextcloud-occ app:getpath rhwpviewer, in 1.00 seconds)1006machine: must succeed: test -x /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/bin/rhwp1007machine: (finished: must succeed: test -x /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/bin/rhwp, in 0.02 seconds)1008machine: must succeed: /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null1009machine: (finished: must succeed: /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null, in 0.03 seconds)1010machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/appinfo/routes.php1011machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/appinfo/routes.php, in 0.01 seconds)1012machine: must succeed: grep -q 'RHWP Studio' /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/appinfo/info.xml1013machine: (finished: must succeed: grep -q 'RHWP Studio' /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/appinfo/info.xml, in 0.02 seconds)1014machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php1015machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php, in 0.01 seconds)1016machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php1017machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php, in 0.01 seconds)1018machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php1019machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php, in 0.01 seconds)1020machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php1021machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php, in 0.02 seconds)1022machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php1023machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php, in 0.01 seconds)1024machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php1025machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php, in 0.02 seconds)1026machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php1027machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php, in 0.02 seconds)1028machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php1029machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php, in 0.02 seconds)1030machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/templates/index.php1031machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/templates/index.php, in 0.02 seconds)1032machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/js/index.html1033machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/js/index.html, in 0.02 seconds)1034machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/js/viewer.js1035machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/js/viewer.js, in 0.02 seconds)1036machine: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/js/files-action.js1037machine # [ 26.602791] nextcloud-update-db-start[1054]: Done.1038machine: (finished: must succeed: test -f /nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps/nix-apps/rhwpviewer/js/files-action.js, in 0.02 seconds)1039machine: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root1040machine # [ 26.638663] systemd[1]: nextcloud-update-db.service: Deactivated successfully.1041machine # [ 26.640831] systemd[1]: nextcloud-update-db.service: Consumed 1.257s CPU time over 3.540s wall clock time, 51.7M memory peak.1042machine # [ 26.651165] sudo[1108]: root : TTY=hvc0 ; PWD=/nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps ; USER=nextcloud ; ENV=OC_PASS=CorrectHorseBatteryStaple42! ; COMMAND=/nix/store/97d5ygrvqj55f4nx1x34wfdcc7qn11c0-coreutils-9.11/bin/env NEXTCLOUD_CONFIG_DIR=/var/lib/nextcloud/config /nix/store/kmxnm94pfpxxkb2rhzb4k25kzrsxz6sy-php-with-extensions-8.4.24/bin/php occ user:resetpassword --password-from-env root1043machine # [ 26.664937] sudo[1108]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1044machine # [ 27.442975] Nextcloud[1114]: {"reqId":"db6cBG3kCscyvzpvQm0A","level":2,"time":"2026-08-20T21:49:47+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"occ","message":"dns_get_record(): A temporary server error occurred. at /nix/store/y56b8acdybrjzrrnnwfl3qs3410mbyzq-nextcloud-33.0.7/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"--","version":"33.0.7.1","occ_command":["occ","user:resetpassword"],"data":{"app":"PHP"}}1045machine # [ 27.450063] Nextcloud[1114]: {"reqId":"db6cBG3kCscyvzpvQm0A","level":2,"time":"2026-08-20T21:49:47+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"occ","message":"dns_get_record(): A temporary server error occurred. at /nix/store/y56b8acdybrjzrrnnwfl3qs3410mbyzq-nextcloud-33.0.7/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"--","version":"33.0.7.1","occ_command":["occ","user:resetpassword"],"data":{"app":"PHP"}}1046machine # [ 27.456849] Nextcloud[1114]: {"reqId":"db6cBG3kCscyvzpvQm0A","level":2,"time":"2026-08-20T21:49:47+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"occ","message":"dns_get_record(): A temporary server error occurred. at /nix/store/y56b8acdybrjzrrnnwfl3qs3410mbyzq-nextcloud-33.0.7/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"--","version":"33.0.7.1","occ_command":["occ","user:resetpassword"],"data":{"app":"PHP"}}1047machine # [ 27.463595] Nextcloud[1114]: {"reqId":"db6cBG3kCscyvzpvQm0A","level":2,"time":"2026-08-20T21:49:47+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"occ","message":"dns_get_record(): A temporary server error occurred. at /nix/store/y56b8acdybrjzrrnnwfl3qs3410mbyzq-nextcloud-33.0.7/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"--","version":"33.0.7.1","occ_command":["occ","user:resetpassword"],"data":{"app":"PHP"}}1048machine # [ 27.739318] sudo[1108]: pam_unix(sudo:session): session closed for user nextcloud1049machine: (finished: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root, in 1.14 seconds)1050machine: must succeed: 1051install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1052install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1053install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1054install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1055nextcloud-occ files:scan root10561057machine # [ 27.806552] sudo[1116]: root : TTY=hvc0 ; PWD=/nix/store/0m739bzi6pz9wwvyxdkbj8fhsifsna8v-nextcloud-33.0.7-with-apps ; USER=nextcloud ; COMMAND=/nix/store/97d5ygrvqj55f4nx1x34wfdcc7qn11c0-coreutils-9.11/bin/env NEXTCLOUD_CONFIG_DIR=/var/lib/nextcloud/config /nix/store/kmxnm94pfpxxkb2rhzb4k25kzrsxz6sy-php-with-extensions-8.4.24/bin/php occ files:scan root1058machine # [ 27.819552] sudo[1116]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1059machine # [ 28.700860] sudo[1116]: pam_unix(sudo:session): session closed for user nextcloud1060machine: (finished: must succeed: 1061install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1062install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1063install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1064install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1065nextcloud-occ files:scan root1066, in 0.96 seconds)1067machine: must succeed: 1068python3 - <<'PY'1069import base641070import http.cookiejar1071import json1072import re1073import urllib.error1074import urllib.parse1075import urllib.request1076import xml.etree.ElementTree as ET10771078base = "http://localhost"1079password = "CorrectHorseBatteryStaple42!"1080sample_filename = "한글 제목 샘플.hwp"1081sample_hwpx_filename = "한글 제목 샘플.hwpx"1082sample_dirname = "rhwpviewer-sample-dir"1083cookies = http.cookiejar.CookieJar()1084opener = urllib.request.build_opener(1085 urllib.request.HTTPCookieProcessor(cookies)1086)10871088def get_file_id(filename):1089 body = (1090 '<?xml version="1.0" encoding="utf-8" ?>\n'1091 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1092 ' <d:prop><oc:fileid /></d:prop>\n'1093 '</d:propfind>\n'1094 ).encode()1095 credentials = base64.b64encode(f"root:{password}".encode()).decode()1096 request = urllib.request.Request(1097 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1098 data=body,1099 headers={1100 "Authorization": "Basic " + credentials,1101 "Content-Type": "application/xml",1102 "Depth": "0",1103 },1104 method="PROPFIND",1105 )1106 response = urllib.request.urlopen(request)1107 assert response.status == 207, response.status1108 xml = response.read()1109 root = ET.fromstring(xml)1110 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1111 assert file_id is not None, xml.decode("utf-8", "replace")1112 file_id = file_id.strip()1113 assert file_id.isdigit(), file_id1114 return file_id11151116login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1117match = re.search(r'data-requesttoken="([^"]+)"', login_html)1118assert match, login_html[:1000]1119token = match.group(1)11201121data = urllib.parse.urlencode({1122 "user": "root",1123 "password": password,1124 "requesttoken": token,1125 "timezone": "UTC",1126 "timezone_offset": "0",1127}).encode()11281129request = urllib.request.Request(1130 base + "/login",1131 data=data,1132 headers={1133 "Origin": base,1134 "Content-Type": "application/x-www-form-urlencoded",1135 },1136)1137opener.open(request)11381139response = opener.open(base + "/apps/rhwpviewer/")1140assert response.status == 200, response.status1141html = response.read().decode("utf-8", "replace")1142assert "rhwpviewer-root" in html, html[:1000]1143assert "viewer.js" in html, html[:1000]1144assert "Viewer route is ready" in html, html[:1000]11451146response = opener.open(base + "/apps/files/")1147assert response.status == 200, response.status1148html = response.read().decode("utf-8", "replace")1149assert "files-action.js" in html, html[:1000]1150action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1151assert action_script, html[:1000]1152action_response = opener.open(base + action_script.group(1))1153action_js = action_response.read().decode("utf-8", "replace")1154assert "Open in RHWP Studio" in action_js, action_js[:1000]1155assert "Edit with RHWP" not in action_js, action_js[:1000]1156assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1157assert "default" in action_js, action_js[:1000]11581159def check_editor(filename):1160 file_id = get_file_id(filename)1161 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1162 assert response.status == 200, response.status1163 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1164 decoded_editor_url = urllib.parse.unquote(response.geturl())1165 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1166 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1167 assert "한글" not in decoded_editor_url, decoded_editor_url1168 studio_html = response.read().decode("utf-8", "replace")11691170 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1171 assert content_response.status == 200, content_response.status1172 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1173 content = content_response.read()1174 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]11751176 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1177 assert "rhwp-studio" in studio_html, studio_html[:1000]1178 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1179 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1180 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1181 assert token_match, studio_html[:1000]1182 save_request = urllib.request.Request(1183 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1184 data=content,1185 headers={1186 "Content-Type": "application/octet-stream",1187 "requesttoken": token_match.group(1),1188 },1189 method="PUT",1190 )1191 save_response = opener.open(save_request)1192 assert save_response.status == 200, save_response.status1193 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1194 assert save_payload["status"] == "ok", save_payload1195 assert save_payload["fileId"] == int(file_id), save_payload1196 assert save_payload["bytes"] == len(content), save_payload1197 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1198 assert saved_content == content, len(saved_content)1199 # theme-init.js: nonced and moved off the document root onto the app1200 # subpath, so it loads under Nextcloud and passes the CSP.1201 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1202 theme_match = re.search(1203 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1204 )1205 assert theme_match, studio_html[:1000]1206 assert "nonce=" in theme_match.group(1), theme_match.group(0)1207 # The app bundle is the ES module script; check it specifically rather1208 # than the first <script src> (which is now theme-init.js).1209 module_match = re.search(1210 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1211 )1212 assert module_match, studio_html[:1000]1213 assert "nonce=" in module_match.group(1), module_match.group(0)1214 script_src = module_match.group(2)1215 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1216 assert 'src="/assets/' not in studio_html, studio_html[:1000]1217 assert 'href="/assets/' not in studio_html, studio_html[:1000]1218 assert "registerSW.js" not in studio_html, studio_html[:1000]1219 # Catch-all guards so a future RHWP Studio <head> change fails loudly1220 # and points at exactly what studioHtml() must handle, rather than1221 # tripping an indirect assertion. (1) no root-absolute asset ref may1222 # survive un-rewritten off the app subpath; (2) every <script src>1223 # must carry the CSP nonce.1224 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1225 assert stray is None, stray.group(0) if stray else studio_html[:1000]1226 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1227 assert "nonce=" in tag, tag12281229 asset_response = opener.open(base + script_src)1230 assert asset_response.status == 200, asset_response.status1231 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1232 asset_js = asset_response.read().decode("utf-8", "replace")1233 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1234 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1235 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1236 return file_id12371238def check_svg_export(filename):1239 file_id = get_file_id(filename)1240 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1241 assert response.status == 200, response.status1242 html = response.read().decode("utf-8", "replace")1243 assert "rhwpviewer-root" in html, html[:1000]1244 assert "rhwpviewer-pages" in html, html[:1000]1245 assert "viewer.js" in html, html[:1000]1246 assert f'data-file-id="{file_id}"' in html, html[:1000]1247 assert file_id in html, html[:1000]1248 assert filename in html, html[:1000]12491250 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1251 assert response.status == 200, response.status1252 payload = json.loads(response.read().decode("utf-8", "replace"))1253 assert payload["fileId"] == int(file_id), payload1254 assert payload["fileName"] == filename, payload1255 assert payload["status"] == "ok", payload1256 assert payload["kind"] == "svg", payload1257 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1258 first_page = payload["pages"][0]1259 assert first_page["index"] == 0, payload1260 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1261 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1262 assert first_page["url"].endswith(".svg"), payload1263 assert filename not in first_page["url"], payload1264 assert "한글" not in first_page["url"], payload12651266 page_response = opener.open(base + first_page["url"])1267 assert page_response.status == 200, page_response.status1268 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1269 svg = page_response.read().decode("utf-8", "replace")1270 assert "<svg" in svg[:1000], svg[:1000]1271 return file_id12721273file_id = check_svg_export(sample_filename)1274check_svg_export(sample_hwpx_filename)1275check_editor(sample_filename)1276check_editor(sample_hwpx_filename)12771278directory_id = get_file_id(sample_dirname)1279try:1280 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1281 raise AssertionError("directory fileId unexpectedly succeeded")1282except urllib.error.HTTPError as error:1283 assert error.code == 404, error.code12841285try:1286 opener.open(base + "/apps/rhwpviewer/view/999999999")1287 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1288except urllib.error.HTTPError as error:1289 assert error.code == 404, error.code12901291try:1292 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1293 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1294except urllib.error.HTTPError as error:1295 assert error.code == 404, error.code12961297try:1298 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1299 raise AssertionError("bogus page unexpectedly succeeded")1300except urllib.error.HTTPError as error:1301 assert error.code == 404, error.code1302PY13031304machine: (finished: must succeed: 1305python3 - <<'PY'1306import base641307import http.cookiejar1308import json1309import re1310import urllib.error1311import urllib.parse1312import urllib.request1313import xml.etree.ElementTree as ET13141315base = "http://localhost"1316password = "CorrectHorseBatteryStaple42!"1317sample_filename = "한글 제목 샘플.hwp"1318sample_hwpx_filename = "한글 제목 샘플.hwpx"1319sample_dirname = "rhwpviewer-sample-dir"1320cookies = http.cookiejar.CookieJar()1321opener = urllib.request.build_opener(1322 urllib.request.HTTPCookieProcessor(cookies)1323)13241325def get_file_id(filename):1326 body = (1327 '<?xml version="1.0" encoding="utf-8" ?>\n'1328 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1329 ' <d:prop><oc:fileid /></d:prop>\n'1330 '</d:propfind>\n'1331 ).encode()1332 credentials = base64.b64encode(f"root:{password}".encode()).decode()1333 request = urllib.request.Request(1334 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1335 data=body,1336 headers={1337 "Authorization": "Basic " + credentials,1338 "Content-Type": "application/xml",1339 "Depth": "0",1340 },1341 method="PROPFIND",1342 )1343 response = urllib.request.urlopen(request)1344 assert response.status == 207, response.status1345 xml = response.read()1346 root = ET.fromstring(xml)1347 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1348 assert file_id is not None, xml.decode("utf-8", "replace")1349 file_id = file_id.strip()1350 assert file_id.isdigit(), file_id1351 return file_id13521353login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1354match = re.search(r'data-requesttoken="([^"]+)"', login_html)1355assert match, login_html[:1000]1356token = match.group(1)13571358data = urllib.parse.urlencode({1359 "user": "root",1360 "password": password,1361 "requesttoken": token,1362 "timezone": "UTC",1363 "timezone_offset": "0",1364}).encode()13651366request = urllib.request.Request(1367 base + "/login",1368 data=data,1369 headers={1370 "Origin": base,1371 "Content-Type": "application/x-www-form-urlencoded",1372 },1373)1374opener.open(request)13751376response = opener.open(base + "/apps/rhwpviewer/")1377assert response.status == 200, response.status1378html = response.read().decode("utf-8", "replace")1379assert "rhwpviewer-root" in html, html[:1000]1380assert "viewer.js" in html, html[:1000]1381assert "Viewer route is ready" in html, html[:1000]13821383response = opener.open(base + "/apps/files/")1384assert response.status == 200, response.status1385html = response.read().decode("utf-8", "replace")1386assert "files-action.js" in html, html[:1000]1387action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1388assert action_script, html[:1000]1389action_response = opener.open(base + action_script.group(1))1390action_js = action_response.read().decode("utf-8", "replace")1391assert "Open in RHWP Studio" in action_js, action_js[:1000]1392assert "Edit with RHWP" not in action_js, action_js[:1000]1393assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1394assert "default" in action_js, action_js[:1000]13951396def check_editor(filename):1397 file_id = get_file_id(filename)1398 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1399 assert response.status == 200, response.status1400 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1401 decoded_editor_url = urllib.parse.unquote(response.geturl())1402 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1403 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1404 assert "한글" not in decoded_editor_url, decoded_editor_url1405 studio_html = response.read().decode("utf-8", "replace")14061407 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1408 assert content_response.status == 200, content_response.status1409 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1410 content = content_response.read()1411 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]14121413 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1414 assert "rhwp-studio" in studio_html, studio_html[:1000]1415 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1416 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1417 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1418 assert token_match, studio_html[:1000]1419 save_request = urllib.request.Request(1420 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1421 data=content,1422 headers={1423 "Content-Type": "application/octet-stream",1424 "requesttoken": token_match.group(1),1425 },1426 method="PUT",1427 )1428 save_response = opener.open(save_request)1429 assert save_response.status == 200, save_response.status1430 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1431 assert save_payload["status"] == "ok", save_payload1432 assert save_payload["fileId"] == int(file_id), save_payload1433 assert save_payload["bytes"] == len(content), save_payload1434 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1435 assert saved_content == content, len(saved_content)1436 # theme-init.js: nonced and moved off the document root onto the app1437 # subpath, so it loads under Nextcloud and passes the CSP.1438 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1439 theme_match = re.search(1440 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1441 )1442 assert theme_match, studio_html[:1000]1443 assert "nonce=" in theme_match.group(1), theme_match.group(0)1444 # The app bundle is the ES module script; check it specifically rather1445 # than the first <script src> (which is now theme-init.js).1446 module_match = re.search(1447 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1448 )1449 assert module_match, studio_html[:1000]1450 assert "nonce=" in module_match.group(1), module_match.group(0)1451 script_src = module_match.group(2)1452 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1453 assert 'src="/assets/' not in studio_html, studio_html[:1000]1454 assert 'href="/assets/' not in studio_html, studio_html[:1000]1455 assert "registerSW.js" not in studio_html, studio_html[:1000]1456 # Catch-all guards so a future RHWP Studio <head> change fails loudly1457 # and points at exactly what studioHtml() must handle, rather than1458 # tripping an indirect assertion. (1) no root-absolute asset ref may1459 # survive un-rewritten off the app subpath; (2) every <script src>1460 # must carry the CSP nonce.1461 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1462 assert stray is None, stray.group(0) if stray else studio_html[:1000]1463 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1464 assert "nonce=" in tag, tag14651466 asset_response = opener.open(base + script_src)1467 assert asset_response.status == 200, asset_response.status1468 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1469 asset_js = asset_response.read().decode("utf-8", "replace")1470 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1471 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1472 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1473 return file_id14741475def check_svg_export(filename):1476 file_id = get_file_id(filename)1477 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1478 assert response.status == 200, response.status1479 html = response.read().decode("utf-8", "replace")1480 assert "rhwpviewer-root" in html, html[:1000]1481 assert "rhwpviewer-pages" in html, html[:1000]1482 assert "viewer.js" in html, html[:1000]1483 assert f'data-file-id="{file_id}"' in html, html[:1000]1484 assert file_id in html, html[:1000]1485 assert filename in html, html[:1000]14861487 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1488 assert response.status == 200, response.status1489 payload = json.loads(response.read().decode("utf-8", "replace"))1490 assert payload["fileId"] == int(file_id), payload1491 assert payload["fileName"] == filename, payload1492 assert payload["status"] == "ok", payload1493 assert payload["kind"] == "svg", payload1494 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1495 first_page = payload["pages"][0]1496 assert first_page["index"] == 0, payload1497 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1498 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1499 assert first_page["url"].endswith(".svg"), payload1500 assert filename not in first_page["url"], payload1501 assert "한글" not in first_page["url"], payload15021503 page_response = opener.open(base + first_page["url"])1504 assert page_response.status == 200, page_response.status1505 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1506 svg = page_response.read().decode("utf-8", "replace")1507 assert "<svg" in svg[:1000], svg[:1000]1508 return file_id15091510file_id = check_svg_export(sample_filename)1511check_svg_export(sample_hwpx_filename)1512check_editor(sample_filename)1513check_editor(sample_hwpx_filename)15141515directory_id = get_file_id(sample_dirname)1516try:1517 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1518 raise AssertionError("directory fileId unexpectedly succeeded")1519except urllib.error.HTTPError as error:1520 assert error.code == 404, error.code15211522try:1523 opener.open(base + "/apps/rhwpviewer/view/999999999")1524 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1525except urllib.error.HTTPError as error:1526 assert error.code == 404, error.code15271528try:1529 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1530 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1531except urllib.error.HTTPError as error:1532 assert error.code == 404, error.code15331534try:1535 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1536 raise AssertionError("bogus page unexpectedly succeeded")1537except urllib.error.HTTPError as error:1538 assert error.code == 404, error.code1539PY1540, in 7.63 seconds)1541(finished: run the VM test script, in 37.21 seconds)1542test script finished in 37.26s1543cleanup1544kill QemuMachine (pid 45)1545machine # qemu-system-x86_64: terminating on signal 15 from pid 39 (/nix/store/3n4qphl9s728sz8frmpqqrv9b1m87g68-python3-3.14.7/bin/python3.14)1546(finished: cleanup, in 0.17 seconds)