nixbot

builds

succeeded vm-test-run-nextcloud-rhwpviewer checks.x86_64-linux.nextcloud · build #33 · 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: QEMU running (pid 45)12machine # Disk image does not exist, creating the virtualisation disk image...13machine: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success14machine # Formatting '/build/vm-state-machine/tmp.KCwG2l4Mdh', fmt=raw size=107374182415machine: waiting for the VM to finish booting16machine # mke2fs 1.47.4 (6-Mar-2025)17machine # Discarding device blocks: 0/262144 done18machine # Creating filesystem with 262144 4k blocks and 65536 inodes19machine # Filesystem UUID: e1c8dcb3-2aa0-4897-9e4f-c3e81a04268120machine # Superblock backups stored on blocks:21machine # 32768, 98304, 163840, 22937622machine # 23machine # Allocating group tables: 0/8 done24machine # Writing inode tables: 0/8 done25machine # Creating journal (8192 blocks): done26machine # Writing superblocks and filesystem accounting information: 0/8 done27machine # 28machine # Virtualisation disk image created.29machine # SeaBIOS (version rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org)30machine # 31machine # 32machine # iPXE (http://ipxe.org) 00:02.0 CA00 PCI2.10 PnP PMM+3EFCC730+3EF2C730 CA0033machine # Press Ctrl-B to configure iPXE (PCI 00:02.0)...34machine # 35machine # 36machine # 37machine # 38machine # iPXE (http://ipxe.org) 00:08.0 CB00 PCI2.10 PnP PMM 3EFCC730 3EF2C730 CB0039machine # Press Ctrl-B to configure iPXE (PCI 00:08.0)...40machine # 41machine # 42machine # Booting from ROM...43machine # Probing EDD (edd=off to disable)... ok44machine # [ 0.000000] Linux version 6.18.49 (nixbld@localhost) (gcc (GCC) 15.3.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Wed Sep 2 12:31:51 UTC 202645machine # [ 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/lb579dqnw638qn8v4dfqa36p7zmwc832-nixos-system-machine-test/init regInfo=/nix/store/1ga7jkvh1p5z33g18f6lx9ni7j889r3r-closure-info/registration console=ttyS0,115200n8 console=tty046machine # [ 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.47machine # [ 0.000000] BIOS-provided physical RAM map:48machine # [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable49machine # [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved50machine # [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved51machine # [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffd7fff] usable52machine # [ 0.000000] BIOS-e820: [mem 0x000000003ffd8000-0x000000003fffffff] reserved53machine # [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved54machine # [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved55machine # [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved56machine # [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved57machine # [ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved58machine # [ 0.000000] NX (Execute Disable) protection: active59machine # [ 0.000000] APIC: Static calls initialized60machine # [ 0.000000] SMBIOS 2.8 present.61machine # [ 0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/201462machine # [ 0.000000] DMI: Memory slots populated: 1/163machine # [ 0.000000] Hypervisor detected: KVM64machine # [ 0.000000] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000065machine # [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d0066machine # [ 0.000001] kvm-clock: using sched offset of 472852122 cycles67machine # [ 0.000003] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns68machine # [ 0.000006] tsc: Detected 3792.874 MHz processor69machine # [ 0.000857] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000070machine # [ 0.000886] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs71machine # [ 0.000889] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT72machine # [ 0.002525] found SMP MP-table at [mem 0x000f5450-0x000f545f]73machine # [ 0.002537] Using GB pages for direct mapping74machine # [ 0.002578] RAMDISK: [mem 0x3e36b000-0x3ffcffff]75machine # [ 0.002585] ACPI: Early table checksum verification disabled76machine # [ 0.002588] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS )77machine # [ 0.002592] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)78machine # [ 0.002596] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001)79machine # [ 0.002602] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001)80machine # [ 0.002603] ACPI: FACS 0x000000003FFE0000 00004081machine # [ 0.002605] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001)82machine # [ 0.002606] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)83machine # [ 0.002607] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)84machine # [ 0.002609] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)85machine # [ 0.002610] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d]86machine # [ 0.002611] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219]87machine # [ 0.002611] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]88machine # [ 0.002612] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385]89machine # [ 0.002612] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd]90machine # [ 0.002613] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9]91machine # [ 0.002613] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421]92machine # [ 0.002999] No NUMA configuration found93machine # [ 0.003001] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff]94machine # [ 0.003003] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff]95machine # [ 0.003077] Zone ranges:96machine # [ 0.003078] DMA [mem 0x0000000000001000-0x0000000000ffffff]97machine # [ 0.003079] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff]98machine # [ 0.003080] Normal empty99machine # [ 0.003081] Device empty100machine # [ 0.003081] Movable zone start for each node101machine # [ 0.003082] Early memory node ranges102machine # [ 0.003082] node 0: [mem 0x0000000000001000-0x000000000009efff]103machine # [ 0.003083] node 0: [mem 0x0000000000100000-0x000000003ffd7fff]104machine # [ 0.003084] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff]105machine # [ 0.003101] On node 0, zone DMA: 1 pages in unavailable ranges106machine # [ 0.003310] On node 0, zone DMA: 97 pages in unavailable ranges107machine # [ 0.017644] On node 0, zone DMA32: 40 pages in unavailable ranges108machine # [ 0.018546] ACPI: PM-Timer IO Port: 0x608109machine # [ 0.018559] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])110machine # [ 0.018590] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23111machine # [ 0.018594] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)112machine # [ 0.018596] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)113machine # [ 0.018598] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)114machine # [ 0.018599] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)115machine # [ 0.018600] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)116machine # [ 0.018604] ACPI: Using ACPI (MADT) for SMP configuration information117machine # [ 0.018605] ACPI: HPET id: 0x8086a201 base: 0xfed00000118machine # [ 0.018610] TSC deadline timer available119machine # [ 0.018615] CPU topo: Max. logical packages: 1120machine # [ 0.018617] CPU topo: Max. logical dies: 1121machine # [ 0.018617] CPU topo: Max. dies per package: 1122machine # [ 0.018621] CPU topo: Max. threads per core: 1123machine # [ 0.018622] CPU topo: Num. cores per package: 1124machine # [ 0.018623] CPU topo: Num. threads per package: 1125machine # [ 0.018623] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs126machine # [ 0.018644] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()127machine # [ 0.018680] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]128machine # [ 0.018682] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]129machine # [ 0.018684] [mem 0x40000000-0xafffffff] available for PCI devices130machine # [ 0.018685] Booting paravirtualized kernel on KVM131machine # [ 0.018689] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns132machine # [ 0.022623] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1133machine # [ 0.024306] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152134machine # [ 0.024345] kvm-guest: PV spinlocks disabled, single CPU135machine # [ 0.024347] 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/lb579dqnw638qn8v4dfqa36p7zmwc832-nixos-system-machine-test/init regInfo=/nix/store/1ga7jkvh1p5z33g18f6lx9ni7j889r3r-closure-info/registration console=ttyS0,115200n8 console=tty0136machine # [ 0.024435] Unknown kernel command line parameters "regInfo=/nix/store/1ga7jkvh1p5z33g18f6lx9ni7j889r3r-closure-info/registration", will be passed to user space.137machine # [ 0.024454] random: crng init done138machine # [ 0.024454] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes139machine # [ 0.025272] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)140machine # [ 0.025302] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)141machine # [ 0.025333] Fallback order for Node 0: 0142machine # [ 0.025335] Built 1 zonelists, mobility grouping on. Total pages: 262006143machine # [ 0.025336] Policy zone: DMA32144machine # [ 0.027218] mem auto-init: stack:all(zero), heap alloc:on, heap free:off145machine # [ 0.030723] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1146machine # [ 0.032781] allocated 2097152 bytes of page_ext147machine # [ 0.042166] ftrace: allocating 48732 entries in 192 pages148machine # [ 0.042169] ftrace: allocated 192 pages with 2 groups149machine # [ 0.042883] Dynamic Preempt: lazy150machine # [ 0.043020] rcu: Preemptible hierarchical RCU implementation.151machine # [ 0.043021] rcu: RCU event tracing is enabled.152machine # [ 0.043021] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1.153machine # [ 0.043023] Trampoline variant of Tasks RCU enabled.154machine # [ 0.043023] Rude variant of Tasks RCU enabled.155machine # [ 0.043023] Tracing variant of Tasks RCU enabled.156machine # [ 0.043024] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.157machine # [ 0.043025] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1158machine # [ 0.043033] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.159machine # [ 0.043035] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.160machine # [ 0.043035] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.161machine # [ 0.046817] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16162machine # [ 0.047050] rcu: srcu_init: Setting srcu_struct sizes based on contention.163machine # [ 0.047056] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns164machine # [ 0.047148] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)165machine # [ 0.053265] Console: colour VGA+ 80x25166machine # [ 0.053270] printk: legacy console [tty0] enabled167machine # [ 0.088243] printk: legacy console [ttyS0] enabled168machine # [ 0.256483] ACPI: Core revision 20250807169machine # [ 0.257646] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns170machine # [ 0.259744] APIC: Switch to symmetric I/O mode setup171machine # [ 0.261006] x2apic enabled172machine # [ 0.261902] APIC: Switched APIC routing to: physical x2apic173machine # [ 0.263986] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1174machine # [ 0.265332] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns175machine # [ 0.267605] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874)176machine # [ 0.269675] x86/cpu: User Mode Instruction Prevention (UMIP) activated177machine # [ 0.271709] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127178machine # [ 0.272603] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0179machine # [ 0.273607] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto180machine # [ 0.274604] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl181machine # [ 0.276607] Spectre V2 : Mitigation: Retpolines182machine # [ 0.278605] Speculative Return Stack Overflow: Mitigation: Safe RET183machine # [ 0.279604] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization184machine # [ 0.281604] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT185machine # [ 0.282604] Spectre V2 : Enabling Restricted Speculation for firmware calls186machine # [ 0.284617] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier187machine # [ 0.286605] active return thunk: srso_alias_return_thunk188machine # [ 0.287623] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'189machine # [ 0.289604] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'190machine # [ 0.291604] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'191machine # [ 0.292603] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'192machine # [ 0.293603] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers'193machine # [ 0.295603] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)'194machine # [ 0.296604] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256195machine # [ 0.297603] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8196machine # [ 0.299603] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16197machine # [ 0.300603] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24198machine # [ 0.301603] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format.199machine # [ 0.335629] Freeing SMP alternatives memory: 44K200machine # [ 0.336607] pid_max: default: 32768 minimum: 301201machine # [ 0.337681] LSM: initializing lsm=capability,landlock,yama,bpf,ima202machine # [ 0.338711] landlock: Up and running.203machine # [ 0.339604] Yama: becoming mindful.204machine # [ 0.340835] LSM support for eBPF active205machine # [ 0.341717] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)206machine # [ 0.343623] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)207machine # [ 0.345490] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2)208machine # [ 0.346015] Performance Events: Fam17h+ core perfctr, AMD PMU driver.209machine # [ 0.346607] ... version: 0210machine # [ 0.347578] ... bit width: 48211machine # [ 0.348483] ... generic counters: 6212machine # [ 0.349610] ... generic bitmap: 000000000000003f213machine # [ 0.350605] ... fixed-purpose counters: 0214machine # [ 0.351605] ... fixed-purpose bitmap: 0000000000000000215machine # [ 0.352605] ... value mask: 0000ffffffffffff216machine # [ 0.353605] ... max period: 00007fffffffffff217machine # [ 0.354605] ... global_ctrl mask: 000000000000003f218machine # [ 0.355735] signal: max sigframe size: 3376219machine # [ 0.356713] rcu: Hierarchical SRCU implementation.220machine # [ 0.357613] rcu: Max phase no-delay instances is 400.221machine # [ 0.362629] smp: Bringing up secondary CPUs ...222machine # [ 0.363618] smp: Brought up 1 node, 1 CPU223machine # [ 0.364522] smpboot: Total of 1 processors activated (7585.74 BogoMIPS)224machine # [ 0.365751] Memory: 943252K/1048024K available (17215K kernel code, 2726K rwdata, 13584K rodata, 3644K init, 2988K bss, 97580K reserved, 0K cma-reserved)225machine # [ 0.366858] devtmpfs: initialized226machine # [ 0.367831] x86/mm: Memory block size: 128MB227machine # [ 0.369600] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear)228machine # [ 0.370628] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).229machine # [ 0.371700] pinctrl core: initialized pinctrl subsystem230machine # [ 0.372919] PM: RTC time: 12:14:36, date: 2026-09-21231machine # [ 0.376464] NET: Registered PF_NETLINK/PF_ROUTE protocol family232machine # [ 0.377993] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations233machine # [ 0.378637] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations234machine # [ 0.379720] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations235machine # [ 0.380616] audit: initializing netlink subsys (disabled)236machine # [ 0.381849] thermal_sys: Registered thermal governor 'fair_share'237machine # [ 0.381851] thermal_sys: Registered thermal governor 'bang_bang'238machine # [ 0.382608] audit: type=2000 audit(1789992877.279:1): state=initialized audit_enabled=0 res=1239machine # [ 0.384607] thermal_sys: Registered thermal governor 'step_wise'240machine # [ 0.384609] thermal_sys: Registered thermal governor 'user_space'241machine # [ 0.385605] thermal_sys: Registered thermal governor 'power_allocator'242machine # [ 0.386624] cpuidle: using governor menu243machine # [ 0.389428] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5244machine # [ 0.390904] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff]245machine # [ 0.391607] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry246machine # [ 0.392618] PCI: Using configuration type 1 for base access247machine # [ 0.393798] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.248machine # [ 0.400863] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages249machine # [ 0.401605] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page250machine # [ 0.406604] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages251machine # [ 0.407606] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page252machine # [ 0.417932] ACPI: Added _OSI(Module Device)253machine # [ 0.418605] ACPI: Added _OSI(Processor Device)254machine # [ 0.421611] ACPI: Added _OSI(Processor Aggregator Device)255machine # [ 0.427006] ACPI: 1 ACPI AML tables successfully acquired and loaded256machine # [ 0.430592] ACPI: Interpreter enabled257machine # [ 0.431268] ACPI: PM: (supports S0 S3 S4 S5)258machine # [ 0.431605] ACPI: Using IOAPIC for interrupt routing259machine # [ 0.434638] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug260machine # [ 0.435605] PCI: Using E820 reservations for host bridge windows261machine # [ 0.437044] ACPI: Enabled 2 GPEs in block 00 to 3F262machine # [ 0.441575] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])263machine # [ 0.442610] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]264machine # [ 0.443678] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR]265machine # [ 0.444724] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability]266machine # [ 0.446071] PCI host bridge to bus 0000:00267machine # [ 0.446610] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]268machine # [ 0.447606] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]269machine # [ 0.448606] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]270machine # [ 0.449606] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window]271machine # [ 0.450605] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]272machine # [ 0.451605] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window]273machine # [ 0.452606] pci_bus 0000:00: root bus resource [bus 00-ff]274machine # [ 0.453711] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint275machine # [ 0.455353] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint276machine # [ 0.458649] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref]277machine # [ 0.459627] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff]278machine # [ 0.460647] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref]279machine # [ 0.461912] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]280machine # [ 0.463688] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint281machine # [ 0.465617] pci 0000:00:02.0: BAR 0 [io 0xc140-0xc15f]282machine # [ 0.466617] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff]283machine # [ 0.467648] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref]284machine # [ 0.468617] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref]285machine # [ 0.470758] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint286machine # [ 0.473229] pci 0000:00:03.0: BAR 0 [io 0xc160-0xc17f]287machine # [ 0.473617] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff]288machine # [ 0.474648] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref]289machine # [ 0.476585] pci 0000:00:04.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint290machine # [ 0.478616] pci 0000:00:04.0: BAR 0 [io 0xc080-0xc0bf]291machine # [ 0.479617] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff]292machine # [ 0.480648] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref]293machine # [ 0.482605] pci 0000:00:05.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint294machine # [ 0.486061] pci 0000:00:05.0: BAR 0 [io 0xc180-0xc19f]295machine # [ 0.486626] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff]296machine # [ 0.487695] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref]297machine # [ 0.489831] pci 0000:00:06.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint298machine # [ 0.492349] pci 0000:00:06.0: BAR 0 [io 0xc1a0-0xc1bf]299machine # [ 0.493623] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff]300machine # [ 0.494659] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref]301machine # [ 0.496646] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint302machine # [ 0.499605] pci 0000:00:07.0: BAR 0 [io 0xc000-0xc07f]303machine # [ 0.500617] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff]304machine # [ 0.501647] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref]305machine # [ 0.503606] pci 0000:00:08.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint306machine # [ 0.505616] pci 0000:00:08.0: BAR 0 [io 0xc1c0-0xc1df]307machine # [ 0.506617] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff]308machine # [ 0.507655] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref]309machine # [ 0.508619] pci 0000:00:08.0: ROM [mem 0xfeb80000-0xfebbffff pref]310machine # [ 0.510717] pci 0000:00:09.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint311machine # [ 0.512634] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff]312machine # [ 0.513659] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref]313machine # [ 0.515826] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint314machine # [ 0.518154] pci 0000:00:0a.0: BAR 0 [io 0xc0c0-0xc0ff]315machine # [ 0.518621] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff]316machine # [ 0.519666] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref]317machine # [ 0.521578] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint318machine # [ 0.523617] pci 0000:00:0b.0: BAR 0 [io 0xc1e0-0xc1ff]319machine # [ 0.524617] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff]320machine # [ 0.525648] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref]321machine # [ 0.527842] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint322machine # [ 0.529324] pci 0000:00:1d.0: BAR 4 [io 0xc200-0xc21f]323machine # [ 0.529914] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint324machine # [ 0.532348] pci 0000:00:1d.1: BAR 4 [io 0xc220-0xc23f]325machine # [ 0.532914] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint326machine # [ 0.534499] pci 0000:00:1d.2: BAR 4 [io 0xc240-0xc25f]327machine # [ 0.535899] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint328machine # [ 0.537279] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff]329machine # [ 0.537949] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint330machine # [ 0.539130] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO331machine # [ 0.540070] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint332machine # [ 0.541589] pci 0000:00:1f.2: BAR 4 [io 0xc260-0xc27f]333machine # [ 0.542538] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff]334machine # [ 0.544135] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint335machine # [ 0.545345] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f]336machine # [ 0.551744] ACPI: PCI: Interrupt link LNKA configured for IRQ 10337machine # [ 0.552769] ACPI: PCI: Interrupt link LNKB configured for IRQ 10338machine # [ 0.553771] ACPI: PCI: Interrupt link LNKC configured for IRQ 11339machine # [ 0.554748] ACPI: PCI: Interrupt link LNKD configured for IRQ 11340machine # [ 0.555739] ACPI: PCI: Interrupt link LNKE configured for IRQ 10341machine # [ 0.556734] ACPI: PCI: Interrupt link LNKF configured for IRQ 10342machine # [ 0.557737] ACPI: PCI: Interrupt link LNKG configured for IRQ 11343machine # [ 0.558788] ACPI: PCI: Interrupt link LNKH configured for IRQ 11344machine # [ 0.559717] ACPI: PCI: Interrupt link GSIA configured for IRQ 16345machine # [ 0.560621] ACPI: PCI: Interrupt link GSIB configured for IRQ 17346machine # [ 0.561623] ACPI: PCI: Interrupt link GSIC configured for IRQ 18347machine # [ 0.562620] ACPI: PCI: Interrupt link GSID configured for IRQ 19348machine # [ 0.563631] ACPI: PCI: Interrupt link GSIE configured for IRQ 20349machine # [ 0.564620] ACPI: PCI: Interrupt link GSIF configured for IRQ 21350machine # [ 0.565620] ACPI: PCI: Interrupt link GSIG configured for IRQ 22351machine # [ 0.566625] ACPI: PCI: Interrupt link GSIH configured for IRQ 23352machine # [ 0.568554] iommu: Default domain type: Translated353machine # [ 0.569462] iommu: DMA domain TLB invalidation policy: lazy mode354machine # [ 0.570831] ACPI: bus type USB registered355machine # [ 0.571665] usbcore: registered new interface driver usbfs356machine # [ 0.572624] usbcore: registered new interface driver hub357machine # [ 0.573639] usbcore: registered new device driver usb358machine # [ 0.575319] NetLabel: Initializing359machine # [ 0.575610] NetLabel: domain hash size = 128360machine # [ 0.576605] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO361machine # [ 0.577643] NetLabel: unlabeled traffic allowed by default362machine # [ 0.578617] PCI: Using ACPI for IRQ routing363machine # [ 0.666063] pci 0000:00:01.0: vgaarb: setting as boot VGA device364machine # [ 0.666601] pci 0000:00:01.0: vgaarb: bridge control possible365machine # [ 0.666601] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none366machine # [ 0.666610] vgaarb: loaded367machine # [ 0.667468] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0368machine # [ 0.668464] hpet0: 3 comparators, 64-bit 100.000000 MHz counter369machine # [ 0.671692] clocksource: Switched to clocksource kvm-clock370machine # [ 0.675076] VFS: Disk quotas dquot_6.6.0371machine # [ 0.676023] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)372machine # [ 0.677720] pnp: PnP ACPI init373machine # [ 0.678715] ACPI: IRQ 4 override to edge(!), high(!)374machine # [ 0.679975] system 00:05: [mem 0xb0000000-0xbfffffff window] has been reserved375machine # [ 0.681961] pnp: PnP ACPI: found 6 devices376machine # [ 0.690182] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns377machine # [ 0.692408] clocksource: Switched to clocksource acpi_pm378machine # [ 0.693927] NET: Registered PF_INET protocol family379machine # [ 0.695415] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)380machine # [ 0.711304] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)381machine # [ 0.713331] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)382machine # [ 0.715083] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)383machine # [ 0.716804] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)384machine # [ 0.718425] TCP: Hash tables configured (established 8192 bind 8192)385machine # [ 0.719925] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear)386machine # [ 0.721600] UDP hash table entries: 512 (order: 3, 32768 bytes, linear)387machine # [ 0.723067] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear)388machine # [ 0.724662] NET: Registered PF_UNIX/PF_LOCAL protocol family389machine # [ 0.725950] NET: Registered PF_XDP protocol family390machine # [ 0.727088] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]391machine # [ 0.728448] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]392machine # [ 0.729834] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]393machine # [ 0.731324] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window]394machine # [ 0.732849] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window]395machine # [ 0.734338] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window]396machine # [ 0.736645] ACPI: \_SB_.GSIA: Enabled at IRQ 16397machine # [ 0.738904] ACPI: \_SB_.GSIB: Enabled at IRQ 17398machine # [ 0.741241] ACPI: \_SB_.GSIC: Enabled at IRQ 18399machine # [ 0.743971] ACPI: \_SB_.GSID: Enabled at IRQ 19400machine # [ 0.746310] PCI: CLS 0 bytes, default 64401machine # [ 0.747876] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns402machine # [ 0.750956] Trying to unpack rootfs image as initramfs...403machine # [ 0.798445] Initialise system trusted keyrings404machine # [ 0.801822] workingset: timestamp_bits=40 max_order=18 bucket_order=0405machine # [ 0.827905] Key type asymmetric registered406machine # [ 0.831594] Asymmetric key parser 'x509' registered407machine # [ 0.832844] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)408machine # [ 0.839789] io scheduler mq-deadline registered409machine # [ 0.844649] io scheduler kyber registered410machine # [ 0.848741] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled411machine # [ 0.850427] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A412machine # [ 0.855885] Linux agpgart interface v0.103413machine # [ 0.856904] ACPI: bus type drm_connector registered414machine # [ 0.859973] usbcore: registered new interface driver usbserial_generic415machine # [ 0.861745] usbserial: USB Serial support registered for generic416machine # [ 0.866612] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled417machine # [ 0.868849] drop_monitor: Initializing network drop monitor service418machine # [ 0.875800] NET: Registered PF_INET6 protocol family419machine # [ 0.880925] Segment Routing with IPv6420machine # [ 0.884606] In-situ OAM (IOAM) with IPv6421machine # [ 0.886050] IPI shorthand broadcast: enabled422machine # [ 0.894221] sched_clock: Marking stable (678023664, 215545410)->(1013872216, -120303142)423machine # [ 0.899856] registered taskstats version 1424machine # [ 0.901171] Loading compiled-in X.509 certificates425machine # [ 0.919597] Demotion targets for Node 0: null426machine # [ 0.920915] Key type .fscrypt registered427machine # [ 0.924584] Key type fscrypt-provisioning registered428machine # [ 0.928632] ima: No TPM chip found, activating TPM-bypass!429machine # [ 0.930440] ima: Allocated hash algorithm: sha1430machine # [ 0.932614] ima: No architecture policies found431machine # [ 0.935590] PM: Magic number: 10:38:229432machine # [ 0.937430] RAS: Correctable Errors collector initialized.433machine # [ 0.948048] clk: Disabling unused clocks434machine # [ 0.950591] PM: genpd: Disabling unused power domains435machine # [ 1.096511] Freeing initrd memory: 29076K436machine # [ 1.100442] Freeing unused decrypted memory: 2028K437machine # [ 1.103814] Freeing unused kernel image (initmem) memory: 3644K438machine # [ 1.105669] Write protecting the kernel read-only data: 32768k439machine # [ 1.107841] Freeing unused kernel image (text/rodata gap) memory: 1216K440machine # [ 1.109688] Freeing unused kernel image (rodata/data gap) memory: 752K441machine # [ 1.151035] x86/mm: Checked W+X mappings: passed, no W+X pages found.442machine # [ 1.152496] Run /init as init process443machine # [ 1.161761] systemd[1]: Inserted module 'autofs4'444machine # [ 1.176322] fuse: init (API version 7.45)445machine # [ 1.181775] ACPI: \_SB_.GSIG: Enabled at IRQ 22446machine # [ 1.184941] ACPI: \_SB_.GSIH: Enabled at IRQ 23447machine # [ 1.189811] ACPI: \_SB_.GSIE: Enabled at IRQ 20448machine # [ 1.193281] ACPI: \_SB_.GSIF: Enabled at IRQ 21449machine # [ 1.222311] systemd[1]: Successfully made /usr/ read-only.450machine # [ 1.558923] systemd[1]: systemd 261.2 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE)451machine # [ 1.566781] systemd[1]: Detected virtualization kvm.452machine # [ 1.568087] systemd[1]: Detected architecture x86-64.453machine # [ 1.569352] systemd[1]: Running in initrd.454machine # [ 1.570761] systemd[1]: Initializing machine ID from random generator.455machine # [ 1.572301] systemd[1]: Hostname set to <machine>.456machine # [ 1.771427] systemd[1]: bpf-restrict-fs: LSM BPF program attached457machine # [ 1.813312] systemd[1]: Queued start job for default target Initrd Default Target.458machine # [ 1.817959] systemd[1]: Created slice Slice /system/modprobe.459machine # [ 1.819653] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.460machine # [ 1.821657] systemd[1]: Expecting device /dev/disk/by-label/nixos...461machine # [ 1.823271] systemd[1]: Reached target Path Units.462machine # [ 1.824584] systemd[1]: Reached target Slice Units.463machine # [ 1.825915] systemd[1]: Reached target Swaps.464machine # [ 1.827117] systemd[1]: Reached target Timer Units.465machine # [ 1.828522] systemd[1]: Listening on D-Bus System Message Bus Socket.466machine # [ 1.830300] systemd[1]: Listening on Journal Socket (/dev/log).467machine # [ 1.831999] systemd[1]: Listening on Journal Sockets.468machine # [ 1.833452] systemd[1]: Listening on udev Control Socket.469machine # [ 1.835174] systemd[1]: Listening on udev Kernel Socket.470machine # [ 1.836793] systemd[1]: Reached target Socket Units.471machine # [ 1.839445] systemd[1]: Starting Create List of Static Device Nodes...472machine # [ 1.844507] systemd[1]: Starting Load Kernel Module 9pnet_virtio...473machine # [ 1.853905] systemd[1]: Starting Load Kernel Module configfs...474machine # [ 1.863780] systemd[1]: Starting Journal Service...475machine # [ 1.880649] systemd[1]: Starting Load Kernel Modules...476machine # [ 1.889092] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os477machine # [ 1.908089] netfs: FS-Cache loaded478machine # [ 1.918816] 9pnet: Installing 9P2000 support479machine # [ 1.927296] systemd[1]: Starting Coldplug All udev Devices...480machine # [ 1.936846] systemd-journald[67]: Collecting audit messages is disabled.481machine # [ 1.945733] systemd[1]: Finished Create List of Static Device Nodes.482machine # [ 1.955291] systemd[1]: modprobe@9pnet_virtio.service: Deactivated successfully.483machine # [ 1.965106] systemd[1]: Finished Load Kernel Module 9pnet_virtio.484machine # [ 1.970256] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.485machine # [ 1.976047] systemd[1]: modprobe@configfs.service: Deactivated successfully.486machine # [ 1.981093] systemd[1]: Finished Load Kernel Module configfs.487machine # [ 1.986736] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev488machine # [ 1.990009] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config489machine # [ 2.006634] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...490machine # [ 2.025658] systemd[1]: Finished Load Kernel Modules.491machine # [ 2.035874] systemd[1]: Starting Apply Kernel Variables...492machine # [ 2.050697] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.493machine # [ 2.060904] systemd[1]: Starting Create Static Device Nodes in /dev...494machine # [ 2.082704] systemd[1]: Finished Apply Kernel Variables.495machine # [ 2.098323] systemd[1]: Finished Create Static Device Nodes in /dev.496machine # [ 2.103831] systemd[1]: Reached target Preparation for Local File Systems.497machine # [ 1.892462] systemd-modules-load[68]: Inserted module 'dm_mod'[ 2.110649] systemd[1]: Reached target Local File Systems.498machine # 499machine # [ 1.896415] systemd-modules-load[68]: Inserted module 'virtio_balloon'500machine # [ 1.897931] systemd-modules-load[68]: Inserted module 'virtio_gpu'501machine # [ 2.117750] systemd[1]: Starting Rule-based Manager for Device Events and Files...502machine # [ 2.124743] systemd[1]: Started Journal Service.503machine # [ 1.930514] systemd[1]: Starting Create System Files and Directories...504machine # [ 1.957918] systemd[1]: Finished Create System Files and Directories.505machine # [ 1.962256] systemd-udevd[75]: Using default interface naming scheme 'v261'.506machine # [ 1.991141] systemd[1]: Started Rule-based Manager for Device Events and Files.507machine # [ 2.013207] systemd[1]: Finished Coldplug All udev Devices.508machine # [ 2.015100] systemd[1]: Reached target System Initialization.509machine # [ 2.016322] systemd[1]: Reached target Basic System.510machine # [ 2.471871] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12511machine # [ 2.488067] virtio_blk virtio5: 1/0/0 default/read/poll queues512machine # [ 2.498754] serio: i8042 KBD port at 0x60,0x64 irq 1513machine # [ 2.499659] serio: i8042 AUX port at 0x60,0x64 irq 12514machine # [ 2.511732] virtio_blk virtio5: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)515machine # [ 2.524461] ehci-pci 0000:00:1d.7: EHCI Host Controller516machine # [ 2.525430] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1517machine # [ 2.527692] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000518machine # [ 2.535662] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00519machine # [ 2.537396] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18520machine # [ 2.540976] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1521machine # [ 2.543978] usb usb1: Product: EHCI Host Controller522machine # [ 2.545835] usb usb1: Manufacturer: Linux 6.18.49 ehci_hcd523machine # [ 2.547968] usb usb1: SerialNumber: 0000:00:1d.7524machine # [ 2.550491] hub 1-0:1.0: USB hub found525machine # [ 2.552032] hub 1-0:1.0: 6 ports detected526machine # [ 2.555571] uhci_hcd 0000:00:1d.0: UHCI Host Controller527machine # [ 2.556467] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2528machine # [ 2.574155] uhci_hcd 0000:00:1d.0: detected 2 ports529machine # [ 2.580700] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c200530machine # [ 2.592788] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18531machine # [ 2.594389] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1532machine # [ 2.599250] SCSI subsystem initialized533machine # [ 2.619273] usb usb2: Product: UHCI Host Controller534machine # [ 2.409450] systemd[1]: Starting Virtual Console Setup...535machine # [ 2.414776] (udev-worker)[91]: Network interface NamePolicy= disabled on kernel command line.536machine # [ 2.637745] usb usb2: Manufacturer: Linux 6.18.49 uhci_hcd537machine # [ 2.639067] usb usb2: SerialNumber: 0000:00:1d.0538machine # [ 2.644277] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0539machine # [ 2.452326] (udev-worker)[95]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.540machine # [ 2.455243] (udev-worker)[95]: Network interface NamePolicy= disabled on kernel command line.541machine # [ 2.459547] systemd-vconsole-setup[99]: Configuration of first virtual console was skipped, ignoring remaining ones.542machine # [ 2.462995] systemd[1]: Finished Virtual Console Setup.543machine # [ 2.686461] hub 2-0:1.0: USB hub found544machine # [ 2.689149] hub 2-0:1.0: 2 ports detected545machine # [ 2.699412] uhci_hcd 0000:00:1d.1: UHCI Host Controller546machine # [ 2.700454] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3547machine # [ 2.506387] systemd[1]: Found device /dev/disk/by-label/nixos.548machine # [ 2.723589] uhci_hcd 0000:00:1d.1: detected 2 ports549machine # [ 2.724725] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c220550machine # [ 2.511160] systemd[1]: Reached target Initrd Root Device.551machine # [ 2.515082] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos...552machine # [ 2.736278] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18553machine # [ 2.743560] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1554machine # [ 2.748562] usb usb3: Product: UHCI Host Controller555machine # [ 2.762642] usb usb3: Manufacturer: Linux 6.18.49 uhci_hcd556machine # [ 2.550456] systemd-fsck[108]: nixos: clean, 12/65536 files, 13019/262144 blocks557machine # [ 2.768718] usb usb3: SerialNumber: 0000:00:1d.1558machine # [ 2.772770] hub 3-0:1.0: USB hub found559machine # [ 2.774635] hub 3-0:1.0: 2 ports detected560machine # [ 2.777123] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode561machine # [ 2.780576] uhci_hcd 0000:00:1d.2: UHCI Host Controller562machine # [ 2.782013] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f)563machine # [ 2.783379] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4564machine # [ 2.784754] uhci_hcd 0000:00:1d.2: detected 2 ports565machine # [ 2.572909] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos.566machine # [ 2.790462] ahci 0000:00:1f.2: flags: 64bit ncq only567machine # [ 2.791652] usb 1-1: new high-speed USB device number 2 using ehci-pci568machine # [ 2.795708] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c240569machine # [ 2.800654] scsi host0: ahci570machine # [ 2.802326] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18571machine # [ 2.805063] scsi host1: ahci572machine # [ 2.806099] scsi host2: ahci573machine # [ 2.808814] scsi host3: ahci574machine # [ 2.809885] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1575machine # [ 2.811185] usb usb4: Product: UHCI Host Controller576machine # [ 2.815269] scsi host4: ahci577machine # [ 2.817846] scsi host5: ahci578machine # [ 2.818843] usb usb4: Manufacturer: Linux 6.18.49 uhci_hcd579machine # [ 2.821618] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 44 lpm-pol 1580machine # [ 2.825129] usb usb4: SerialNumber: 0000:00:1d.2581machine # [ 2.827178] hub 4-0:1.0: USB hub found582machine # [ 2.828613] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 44 lpm-pol 1583machine # [ 2.830133] hub 4-0:1.0: 2 ports detected584machine # [ 2.836258] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 44 lpm-pol 1585machine # [ 2.846470] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 44 lpm-pol 1586machine # [ 2.854425] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 44 lpm-pol 1587machine # [ 2.861991] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 44 lpm-pol 1588machine # [ 2.922776] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00589machine # [ 2.924727] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10590machine # [ 2.926976] usb 1-1: Product: QEMU USB Tablet591machine # [ 2.928343] usb 1-1: Manufacturer: QEMU592machine # [ 2.929565] usb 1-1: SerialNumber: 28754-0000:00:1d.7-1593machine # [ 2.731218] systemd[1]: Mounting /sysroot...594machine # [ 2.953705] hid: raw HID events driver (C) Jiri Kosina595machine # [ 3.174271] ata6: SATA link down (SStatus 0 SControl 300)596machine # [ 3.175992] ata5: SATA link down (SStatus 0 SControl 300)597machine # [ 3.177480] ata4: SATA link down (SStatus 0 SControl 300)598machine # [ 3.178951] ata1: SATA link down (SStatus 0 SControl 300)599machine # [ 3.180583] ata2: SATA link down (SStatus 0 SControl 300)600machine # [ 3.181752] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)601machine # [ 3.182895] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100602machine # [ 3.184132] ata3.00: applying bridge limits603machine # [ 3.185112] ata3.00: configured for UDMA/100604machine # [ 3.186473] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5605machine # [ 3.244782] usbcore: registered new interface driver usbhid606machine # [ 3.245815] usbhid: USB HID core driver607machine # [ 3.268711] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input2608machine # [ 3.272833] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:1d.7-1/input0609machine # [ 3.278387] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray610machine # [ 3.281465] EXT4-fs (vda): mounted filesystem e1c8dcb3-2aa0-4897-9e4f-c3e81a042681 r/w with ordered data mode. Quota mode: none.611machine # [ 3.071822] systemd[1]: Mounted /sysroot.612machine # [ 3.075086] systemd[1]: Reached target Initrd Root File System.613machine # [ 3.078269] systemd[1]: Starting Mountpoints Configured in the Real Root...614machine # [ 3.295692] cdrom: Uniform CD-ROM driver Revision: 3.20615machine # [ 3.096981] systemd-sysroot-fstab-check[139]: /sysroot should be mounted in the initrd, will request daemon-reload.616machine # [ 3.103085] systemd[1]: Reload requested from client PID 139 ('systemd-sysroot') (unit initrd-parse-etc.service)...617machine # [ 3.105148] systemd[1]: Reloading...618machine # [ 3.185359] systemd[1]: Reloading finished in 82 ms.619machine # [ 3.195450] systemd-sysroot-fstab-check[139]: Requesting initrd-fs.target/start/replace...620machine # [ 3.200448] systemd-sysroot-fstab-check[139]: Requesting swap.target/start/replace...621machine # [ 3.204319] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio622machine # [ 3.206695] systemd[1]: initrd-parse-etc.service: Deactivated successfully.623machine # [ 3.208568] systemd[1]: Finished Mountpoints Configured in the Real Root.624machine # [ 3.210122] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies.625machine # [ 3.729313] systemd[1]: Mounting /sysroot/nix/.ro-store...626machine # [ 3.733951] systemd[1]: Mounting /sysroot/nix/.rw-store...627machine # [ 3.739110] systemd[1]: Mounting /sysroot/run...628machine # [ 3.744361] systemd[1]: Mounting /sysroot/tmp/shared...629machine # [ 3.750191] systemd[1]: Mounting /sysroot/tmp/xchg...630machine # [ 3.991045] 9p: Installing v9fs 9p2000 file system support631machine # [ 3.780391] systemd[1]: Mounted /sysroot/nix/.rw-store.632machine # [ 3.782079] systemd[1]: Mounted /sysroot/run.633machine # [ 3.788635] systemd[1]: Mounted /sysroot/nix/.ro-store.634machine # [ 3.793830] systemd[1]: Mounted /sysroot/tmp/shared.635machine # [ 3.796317] systemd[1]: Mounted /sysroot/tmp/xchg.636machine # [ 3.800060] systemd[1]: Starting rw-sysroot-nix-store.service...637machine # [ 3.812526] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.638machine # [ 3.815092] systemd[1]: Finished rw-sysroot-nix-store.service.639machine # [ 4.729469] systemd[1]: Mounting /sysroot/nix/store...640machine # [ 4.747541] systemd[1]: Mounted /sysroot/nix/store.641machine # [ 4.750092] systemd[1]: Reached target Initrd File Systems.642machine # [ 4.751439] systemd[1]: Starting Find NixOS closure...643machine # [ 4.754682] systemd[1]: Starting Create Volatile Files and Directories in the Real Root...644machine # [ 4.772268] systemd[1]: Finished Create Volatile Files and Directories in the Real Root.645machine # [ 4.776742] systemd[1]: sysroot-run-credentials-systemd\x2dtmpfiles\x2dsetup\x2dsysroot.service.mount: Deactivated successfully.646machine # [ 4.784115] systemd[1]: Finished Find NixOS closure.647machine # [ 4.785707] systemd[1]: Reached target Initrd Default Target.648machine # [ 4.787969] systemd[1]: Starting Cleaning Up and Shutting Down Daemons...649machine # [ 4.803264] systemd[1]: Stopped target Initrd Default Target.650machine # [ 4.804925] systemd[1]: Stopped target Basic System.651machine # [ 4.807398] systemd[1]: Stopped target Initrd Root Device.652machine # [ 4.809616] systemd[1]: Stopped target Path Units.653machine # [ 4.811206] systemd[1]: systemd-ask-password-console.path: Deactivated successfully.654machine # [ 4.813177] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.655machine # [ 4.815211] systemd[1]: Stopped target Slice Units.656machine # [ 4.817224] systemd[1]: Stopped target Socket Units.657machine # [ 4.820451] systemd[1]: Stopped target System Initialization.658machine # [ 4.822513] systemd[1]: Stopped target Swaps.659machine # [ 4.824645] systemd[1]: Stopped target Timer Units.660machine # [ 4.827212] systemd[1]: dbus.socket: Deactivated successfully.661machine # [ 4.828603] systemd[1]: Closed D-Bus System Message Bus Socket.662machine # [ 4.829898] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully.663machine # [ 4.831382] systemd[1]: Stopped Find NixOS closure.664machine # [ 4.832713] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio665machine # [ 4.836472] systemd[1]: Starting rw-sysroot-nix-store.service...666machine # [ 4.838439] systemd[1]: systemd-sysctl.service: Deactivated successfully.667machine # [ 4.841190] systemd[1]: Stopped Apply Kernel Variables.668machine # [ 4.842476] systemd[1]: systemd-modules-load.service: Deactivated successfully.669machine # [ 4.843880] systemd[1]: Stopped Load Kernel Modules.670machine # [ 4.844912] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully.671machine # [ 4.847138] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root.672machine # [ 4.848591] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.673machine # [ 4.849941] systemd[1]: Stopped Create System Files and Directories.674machine # [ 4.851243] systemd[1]: Stopped target Local File Systems.675machine # [ 4.852794] systemd[1]: Stopped target Preparation for Local File Systems.676machine # [ 4.855176] systemd[1]: systemd-udev-trigger.service: Deactivated successfully.677machine # [ 4.856527] systemd[1]: Stopped Coldplug All udev Devices.678machine # [ 4.858206] systemd[1]: Stopping Rule-based Manager for Device Events and Files...679machine # [ 4.861090] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.680machine # [ 4.862742] systemd[1]: Stopped Virtual Console Setup.681machine # [ 4.872880] systemd[1]: initrd-cleanup.service: Deactivated successfully.682machine # [ 4.877737] systemd[1]: Finished Cleaning Up and Shutting Down Daemons.683machine # [ 4.882229] systemd[1]: systemd-udevd.service: Deactivated successfully.684machine # [ 4.884220] systemd[1]: Stopped Rule-based Manager for Device Events and Files.685machine # [ 4.886201] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.686machine # [ 4.888159] systemd[1]: Finished rw-sysroot-nix-store.service.687machine # [ 4.890310] systemd[1]: systemd-udevd-control.socket: Deactivated successfully.688machine # [ 4.891761] systemd[1]: Closed udev Control Socket.689machine # [ 4.893689] systemd[1]: Starting Cleanup udev Database...690machine # [ 4.895173] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.691machine # [ 4.896620] systemd[1]: Stopped Create Static Device Nodes in /dev.692machine # [ 4.898179] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully.693machine # [ 4.900140] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully.694machine # [ 4.901495] systemd[1]: kmod-static-nodes.service: Deactivated successfully.695machine # [ 4.903156] systemd[1]: Stopped Create List of Static Device Nodes.696machine # [ 4.918769] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully.697machine # [ 4.921084] systemd[1]: Finished Cleanup udev Database.698machine # [ 4.922204] systemd[1]: Reached target Switch Root.699machine # [ 4.923821] systemd[1]: Starting NixOS Activation...700machine # [ 5.036782] initrd-nixos-activation-start[192]: booting system configuration /nix/store/lb579dqnw638qn8v4dfqa36p7zmwc832-nixos-system-machine-test701machine # [ 5.079727] initrd-nixos-activation-start[192]: running activation script...702machine # [ 5.402781] initrd-nixos-activation-start[215]: setting up /etc...703machine # [ 5.603877] systemd[1]: initrd-nixos-activation.service: Deactivated successfully.704machine # [ 5.606209] systemd[1]: Finished NixOS Activation.705machine # [ 5.608211] systemd[1]: Starting Switch Root...706machine # [ 5.620802] systemd[1]: Switching root.707machine # [ 5.964936] systemd-journald[67]: Received SIGTERM from PID 1 (systemd).708machine # [ 6.090638] NET: Registered PF_VSOCK protocol family709machine # [ 6.460808] systemd[1]: systemd 261.2 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE)710machine # [ 6.466600] systemd[1]: Detected virtualization kvm.711machine # [ 6.467592] systemd[1]: Detected architecture x86-64.712machine # [ 6.468617] systemd[1]: Detected first boot.713machine # [ 6.472144] systemd[1]: Initializing machine ID from random generator.714machine # [ 6.716518] systemd[1]: bpf-restrict-fs: LSM BPF program attached715machine # [ 6.835368] systemd[1]: Applying preset policy.716machine # [ 7.210358] systemd[1]: Populated /etc with preset unit settings.717machine # [ 7.573961] systemd[1]: initrd-switch-root.service: Deactivated successfully.718machine # [ 7.575763] systemd[1]: Stopped initrd-switch-root.service.719machine # [ 7.578715] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.720machine # [ 7.581105] systemd[1]: Created slice Slice /system/getty.721machine # [ 7.582729] systemd[1]: Created slice PHP FastCGI Process Manager Slice.722machine # [ 7.584423] systemd[1]: Created slice User and Session Slice.723machine # [ 7.585627] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.724machine # [ 7.587120] systemd[1]: Started Forward Password Requests to Wall Directory Watch.725machine # [ 7.588497] systemd[1]: Expecting device /dev/hvc0...726machine # [ 7.589386] systemd[1]: Expecting device /dev/ttyS0...727machine # [ 7.590359] systemd[1]: Reached target Local Encrypted Volumes.728machine # [ 7.591415] systemd[1]: Stopped target initrd-fs.target.729machine # [ 7.592386] systemd[1]: Stopped target initrd-root-fs.target.730machine # [ 7.603227] systemd[1]: Stopped target initrd-switch-root.target.731machine # [ 7.604335] systemd[1]: Reached target Virtual Machines and Containers.732machine # [ 7.605559] systemd[1]: Reached target Path Units.733machine # [ 7.606509] systemd[1]: Reached target Remote File Systems.734machine # [ 7.607570] systemd[1]: Reached target Slice Units.735machine # [ 7.608545] systemd[1]: Reached target Swaps.736machine # [ 7.611218] systemd[1]: Listening on Query the User Interactively for a Password.737machine # [ 7.614528] systemd[1]: Listening on Process Core Dump Socket.738machine # [ 7.617143] systemd[1]: Listening on Credential Encryption/Decryption.739machine # [ 7.619667] systemd[1]: Listening on Factory Reset Management.740machine # [ 7.620833] systemd[1]: Listening on Hostname Service Socket.741machine # [ 7.624185] systemd[1]: Starting Journal Log Access Socket...742machine # [ 7.625809] systemd[1]: Listening on Journal Audit Socket.743machine # [ 7.628448] systemd[1]: Listening on Console Output Muting Service Socket.744machine # [ 7.629954] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.745machine # [ 7.631873] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os746machine # [ 7.633528] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki747machine # [ 7.639955] systemd[1]: Listening on Disk Repartitioning Service Socket.748machine # [ 7.641266] systemd[1]: Listening on udev Control Socket.749machine # [ 7.642413] systemd[1]: Listening on udev Varlink Socket.750machine # [ 7.645759] systemd[1]: Mounting Huge Pages File System...751machine # [ 7.649939] systemd[1]: Mounting POSIX Message Queue File System...752machine # [ 7.656436] systemd[1]: Mounting Kernel Debug File System...753machine # [ 7.661431] systemd[1]: Mounting Kernel Trace File System...754machine # [ 7.669602] systemd[1]: Starting Create List of Static Device Nodes...755machine # [ 7.674232] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio756machine # [ 7.684846] systemd[1]: Starting Load Kernel Module configfs...757machine # [ 7.695353] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm758machine # [ 7.702832] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore759machine # [ 7.704747] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse760machine # [ 7.720166] systemd[1]: Mounting FUSE Control File System...761machine # [ 7.722777] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67762machine # [ 7.734434] systemd[1]: Starting Journal Service...763machine # [ 7.741611] systemd[1]: Starting Load Kernel Modules...764machine # [ 7.751048] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...765machine # [ 7.765576] systemd[1]: Starting Remount Root and Kernel File Systems...766machine # [ 7.775950] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os767machine # [ 7.789169] systemd[1]: Starting Coldplug All udev Devices...768machine # [ 7.806230] loop: module loaded769machine # [ 7.808248] systemd-journald[285]: Collecting audit messages is enabled.770machine # [ 7.811241] systemd[1]: Listening on Journal Log Access Socket.771machine # [ 7.823559] systemd[1]: Mounted Huge Pages File System.772machine # [ 7.832709] systemd[1]: Mounted POSIX Message Queue File System.773machine # [ 7.837156] systemd[1]: Mounted Kernel Debug File System.774machine # [ 7.843280] systemd[1]: Mounted Kernel Trace File System.775machine # [ 7.846515] EXT4-fs (vda): re-mounted e1c8dcb3-2aa0-4897-9e4f-c3e81a042681.776machine # [ 7.851533] systemd[1]: Finished Create List of Static Device Nodes.777machine # [ 7.857719] systemd[1]: Started Journal Service.778machine # [ 7.643249] systemd[1]: Queued start job for default target Multi-User System.779machine # [ 7.646150] systemd[1]: systemd-journald.service: Deactivated successfully.780machine # [ 7.650282] systemd-modules-load[286]: Inserted module 'loop'781machine # [ 7.654086] systemd-modules-load[286]: Inserted module 'tls'782machine # [ 7.657283] systemd[1]: modprobe@configfs.service: Deactivated successfully.783machine # [ 7.660404] systemd[1]: Finished Load Kernel Module configfs.784machine # [ 7.665173] systemd[1]: Mounted FUSE Control File System.785machine # [ 7.667390] systemd[1]: Finished Load Kernel Modules.786machine # [ 7.674081] systemd[1]: Finished Remount Root and Kernel File Systems.787machine # [ 7.690325] systemd-oomd[287]: No swap; memory pressure usage will be degraded788machine # [ 7.694335] systemd[1]: Listening on Disk Image Download Service Socket.789machine # [ 7.700570] systemd[1]: Mounting Kernel Configuration File System...790machine # [ 7.710085] systemd[1]: Starting Firewall...791machine # [ 7.716952] systemd[1]: Starting Flush Journal to Persistent Storage...792machine # [ 7.718276] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore793machine # [ 7.726156] systemd[1]: Starting Load/Save OS Random Seed...794machine # [ 7.737611] systemd[1]: Starting Apply Kernel Variables...795machine # [ 7.756969] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...796machine # [ 7.760926] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os797machine # [ 7.768695] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.798machine # [ 8.016096] systemd-journald[285]: Received client request to flush runtime journal.799machine # [ 8.041283] systemd[1]: Mounted Kernel Configuration File System.800machine # [ 8.045709] systemd[1]: Finished Load/Save OS Random Seed.801machine # [ 8.049646] systemd[1]: Reached target First Boot Complete.802machine # [ 8.052673] systemd[1]: Finished Apply Kernel Variables.803machine # [ 8.054935] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.804machine # [ 8.058249] systemd[1]: Starting Create Static Device Nodes in /dev...805machine # [ 8.059929] systemd[1]: Finished Create Static Device Nodes in /dev.806machine # [ 8.062725] systemd[1]: Reached target Preparation for Local File Systems.807machine # [ 8.065116] systemd[1]: Starting Rule-based Manager for Device Events and Files...808machine # [ 8.066568] systemd[1]: Finished Flush Journal to Persistent Storage.809machine # [ 8.093178] systemd[1]: Finished Coldplug All udev Devices.810machine # [ 8.096197] systemd-udevd[324]: Using default interface naming scheme 'v261'.811machine # [ 8.181395] systemd[1]: Started Rule-based Manager for Device Events and Files.812machine # [ 8.355067] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse813machine # [ 8.369774] systemd[1]: Mounting /run/wrappers...814machine # [ 8.402880] systemd[1]: Mounted /run/wrappers.815machine # [ 8.403955] systemd[1]: Reached target Local File Systems.816machine # [ 8.411076] systemd[1]: Listening on Boot Loader Control Service Socket.817machine # [ 8.416674] systemd[1]: Starting register-nix-paths.service...818machine # [ 8.420183] systemd[1]: Starting Create SUID/SGID Wrappers...819machine # [ 8.422394] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.820machine # [ 8.432938] systemd[1]: Starting Save Transient machine-id to Disk...821machine # [ 8.449929] systemd[1]: Starting Create System Files and Directories...822machine # [ 8.546230] systemd[1]: etc-machine\x2did.mount: Deactivated successfully.823machine # [ 8.553486] systemd[1]: Finished Save Transient machine-id to Disk.824machine # [ 8.559894] systemd[1]: Condition check resulted in /dev/hvc0 being skipped.825machine # [ 8.591832] systemd[1]: Finished Create System Files and Directories.826machine # [ 8.607162] systemd[1]: Starting Rebuild Journal Catalog...827machine # [ 8.612368] systemd[1]: Starting Record System Boot/Shutdown in UTMP...828machine # [ 8.643891] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped.829machine # [ 8.714403] systemd[1]: Finished Record System Boot/Shutdown in UTMP.830machine # [ 8.721343] (udev-worker)[372]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.831machine # [ 8.725692] (udev-worker)[372]: Network interface NamePolicy= disabled on kernel command line.832machine # [ 8.729914] (udev-worker)[371]: Network interface NamePolicy= disabled on kernel command line.833machine # [ 8.761347] systemd[1]: Finished Rebuild Journal Catalog.834machine # [ 8.771380] systemd[1]: Starting Update is Completed...835machine # [ 8.832466] systemd[1]: Finished Update is Completed.836machine # [ 8.891936] systemd[1]: Finished Firewall.837machine # [ 8.959155] systemd[1]: Condition check resulted in Virtio network device being skipped.838machine # [ 8.962115] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore839machine # [ 8.966116] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.840machine # [ 8.968179] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67841machine # [ 8.972975] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore842machine # [ 8.976488] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os843machine # [ 8.979812] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os844machine # [ 9.037132] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.845machine # [ 9.040497] systemd[1]: Finished Create SUID/SGID Wrappers.846machine # [ 9.347098] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3847machine # [ 9.353080] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console848machine # [ 9.366208] mousedev: PS/2 mouse device common for all mice849machine # [ 9.369919] ACPI: button: Power Button [PWRF]850machine # [ 9.452805] rtc_cmos 00:04: RTC can wake from S4851machine # [ 9.469723] rtc_cmos 00:04: registered as rtc0852machine # [ 9.469826] rtc_cmos 00:04: setting system clock to 2026-09-21T12:14:46 UTC (1789992886)853machine # [ 9.302246] systemd[1]: Finished register-nix-paths.service.854machine # [ 9.469923] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs855machine # [ 9.481856] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:09.0/virtio7/input/input4856machine # [ 9.306938] systemd[1]: Reached target System Initialization.857machine # [ 9.309108] systemd[1]: Started Discard unused filesystem blocks once a week.858machine # [ 9.310527] systemd[1]: Started Daily Cleanup of Temporary Directories.859machine # [ 9.311962] systemd[1]: Listening on D-Bus System Message Bus Socket.860machine # [ 9.314217] systemd[1]: Listening on Nix Daemon Socket.861machine # [ 9.315401] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.862machine # [ 9.317708] systemd[1]: Reached target Socket Units.863machine # [ 9.318921] systemd[1]: Reached target Basic System.864machine # [ 9.321085] systemd[1]: Started backdoor.service.865machine # [ 9.326865] systemd[1]: Starting Import lastlog data into lastlog2 database...866machine # [ 9.337084] systemd[1]: Starting nextcloud-setup.service...867machine # [ 9.347667] systemd[1]: Starting Name Service Cache Daemon (nsncd)...868machine # [ 9.360439] systemd[1]: Starting Post-Boot Actions...869machine # [ 9.483313] parport_pc 00:02: reported by Plug and Play ACPI870machine # [ 9.483409] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]871machine # [ 9.374238] systemd[1]: Started Reset console on configuration changes.872machine # [ 9.409811] systemd[1]: Starting resolvconf update...873machine # connecting to host...874machine: Guest shell says: b'Spawning backdoor root shell...\n'875machine: connected to guest root shell876machine: (connecting took 10.28 seconds)877machine: (finished: waiting for the VM to finish booting, in 10.28 seconds)878machine # [ 9.490783] Console: switching to colour dummy device 80x25879machine # [ 9.492667] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized880machine # [ 9.507302] nsncd[513]: Sep 21 12:14:46.748 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"881machine # [ 9.514364] systemd[1]: Finished Post-Boot Actions.882machine # [ 9.517695] systemd[1]: Started Name Service Cache Daemon (nsncd).883machine # [ 9.522658] systemd[1]: Reached target Host and Network Name Lookups.884machine # [ 9.528763] systemd[1]: Reached target User and Group Name Lookups.885machine # [ 9.541224] systemd[1]: Starting D-Bus System Message Bus...886machine # [ 9.574245] systemd[1]: Starting User Login Management...887machine # [ 9.742023] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt888machine # [ 9.742137] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD889machine # [ 9.794311] [drm] Found bochs VGA, ID 0xb0c5.890machine # [ 9.794313] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.891machine # [ 9.586690] systemd[1]: Finished Import lastlog data into lastlog2 database.892machine: (finished: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success, in 10.47 seconds)893machine: waiting for unit phpfpm-nextcloud.service894machine # [ 9.881769] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic895machine # [ 9.715398] dbus-broker-launch[540]: Looking up NSS user entry for 'systemd-timesync'...896machine # [ 9.934232] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0897machine # [ 9.942026] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6898machine # [ 9.950960] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5899machine # [ 9.778693] systemd-logind[545]: New seat seat0.900machine # [ 9.783894] dbus-broker-launch[540]: NSS returned no entry for 'systemd-timesync'901machine # [ 9.787095] dbus-broker-launch[540]: Invalid user-name in /nix/store/irrq8199x5l0s9vgmb1rd3g8hzyca7lw-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"902machine # [ 9.791658] systemd[1]: Started User Login Management.903machine # [ 9.798606] systemd[1]: Stopped target Host and Network Name Lookups.904machine # [ 9.799862] systemd[1]: Stopping Host and Network Name Lookups...905machine # [ 9.801046] systemd[1]: Stopped target User and Group Name Lookups.906machine # [ 9.802242] systemd[1]: Stopping User and Group Name Lookups...907machine # [ 9.809863] systemd[1]: Starting linger-users.service...908machine # [ 9.813899] systemd[1]: Stopping Name Service Cache Daemon (nsncd)...909machine # [ 9.819103] systemd[1]: nscd.service: Deactivated successfully.910machine # [ 9.831910] systemd[1]: Stopped Name Service Cache Daemon (nsncd).911machine # [ 9.845821] systemd[1]: Started D-Bus System Message Bus.912machine # [ 9.881569] systemd[1]: Starting Name Service Cache Daemon (nsncd)...913machine # [ 9.889556] dbus-broker-launch[540]: Ready914machine # [ 9.914157] systemd[1]: linger-users.service: Deactivated successfully.915machine # [ 9.922318] systemd[1]: Finished linger-users.service.916machine # [ 9.959295] systemd[1]: Started Name Service Cache Daemon (nsncd).917machine # [ 9.962853] nsncd[604]: Sep 21 12:14:47.207 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"918machine # [ 9.968815] systemd[1]: Reached target Host and Network Name Lookups.919machine # [ 9.972119] systemd[1]: Reached target User and Group Name Lookups.920machine # [ 9.978472] systemd[1]: Finished resolvconf update.921machine # [ 9.982813] systemd[1]: Reached target Preparation for Network.922machine # [ 9.991290] systemd[1]: Starting DHCP Client...923machine # [ 10.000219] systemd[1]: Starting Address configuration of eth1...924machine # [ 10.010701] systemd[1]: Starting Extra networking commands....925machine # [ 10.067568] systemd[1]: Starting Virtual Console Setup...926machine # [ 10.286197] Console: switching to colour frame buffer device 160x50927machine # [ 10.387080] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device928machine # [ 10.147417] network-addresses-eth1-start[631]: adding address 192.168.1.1/24... done929machine # [ 10.181803] network-addresses-eth1-start[631]: adding address 2001:db8:1::1/64... done930machine # [ 10.183601] systemd-logind[545]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)931machine # [ 10.189413] systemd-logind[545]: Watching system buttons on /dev/input/event2 (Power Button)932machine # [ 10.200434] systemd[1]: Finished Address configuration of eth1.933machine # [ 10.212550] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.934machine # [ 10.214961] systemd[1]: Stopped Virtual Console Setup.935machine # [ 10.241370] systemd[1]: Starting Virtual Console Setup...936machine # [ 10.318114] systemd[1]: Finished Extra networking commands..937machine # [ 10.319378] systemd[1]: Reached target Network.938machine # [ 10.331928] systemd[1]: Starting Nginx Web Server...939machine # [ 10.357275] systemd[1]: Starting Redis Server - redis-nextcloud...940machine # [ 10.380356] systemd[1]: Starting Permit User Sessions...941machine # [ 10.652039] ppdev: user-space parallel port driver942machine # [ 10.440849] dhcpcd[650]: dhcpcd-10.3.2 starting943machine # [ 10.462723] dhcpcd[708]: dev: loaded udev944machine # [ 10.494498] systemd[1]: Finished Permit User Sessions.945machine # [ 10.728339] 8021q: 802.1Q VLAN Support v1.8946machine # [ 10.515412] systemd[1]: Started Getty on tty1.947machine # [ 10.519146] systemd[1]: Reached target Login Prompts.948machine # [ 10.739478] 8021q: adding VLAN 0 to HW filter on device eth1949machine # [ 10.585991] systemd-logind[545]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard)950machine # [ 10.836328] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660)951machine # [ 10.941464] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0)952machine # [ 10.815158] systemd-vconsole-setup[682]: Configuration of first virtual console was skipped, ignoring remaining ones.953machine # [ 10.826555] nginx-pre-start[721]: nginx: the configuration file /nix/store/h2x76i8ijjani0zg2h7mialimmsq7bz0-nginx.conf syntax is ok954machine # [ 10.832143] nginx-pre-start[721]: nginx: configuration file /nix/store/h2x76i8ijjani0zg2h7mialimmsq7bz0-nginx.conf test is successful955machine # [ 10.837192] systemd[1]: Finished Virtual Console Setup.956machine # [ 10.852860] systemd[1]: Started Nginx Web Server.957machine # [ 11.093569] cfg80211: Loading compiled-in X.509 certificates for regulatory database958machine # [ 10.901581] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.959machine # [ 11.135085] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'960machine # [ 11.139766] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'961machine # [ 10.930094] redis-server[720]: Supervised by systemd. Please make sure you set appropriate values for TimeoutStartSec and TimeoutStopSec in your service unit.962machine # [ 11.150157] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2963machine # [ 11.151319] cfg80211: failed to load regulatory.db964machine # [ 10.936650] redis-server[720]: oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo965machine # [ 10.940915] redis-server[720]: Redis version=8.10.1, bits=64, commit=00000000, modified=0, pid=720, just started966machine # [ 10.945210] redis-server[720]: Configuration loaded967machine # [ 10.948313] redis[720]: monotonic clock: POSIX clock_gettime968machine # [ 10.956324] redis[720]: Running mode=standalone, port=0.969machine # [ 10.966839] redis[720]: Server initialized970machine # [ 10.972982] redis[720]: Ready to accept connections unix971machine # [ 10.976174] redis[720]: WARNING: Redis does not require authentication. Redis will accept connections from any local client.972machine # [ 10.980168] systemd[1]: Started Redis Server - redis-nextcloud.973machine # [ 11.013856] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.974machine # [ 11.018183] systemd[1]: Stopped Virtual Console Setup.975machine # [ 11.020082] systemd[1]: Stopping Virtual Console Setup...976machine # [ 11.029741] systemd[1]: Starting Virtual Console Setup...977machine # [ 11.304569] 8021q: adding VLAN 0 to HW filter on device eth0978machine # [ 11.097705] dhcpcd[708]: eth0: waiting for carrier979machine # [ 11.098753] dhcpcd[708]: libudev: received NULL device980machine # [ 11.100182] dhcpcd[708]: libudev: received NULL device981machine # [ 11.103373] dhcpcd[708]: eth0: carrier acquired982machine # [ 11.119793] dhcpcd[708]: DUID 00:01:00:01:32:43:dc:38:52:54:00:12:34:56983machine # [ 11.121111] dhcpcd[708]: eth0: IAID 00:12:34:56984machine # [ 11.122068] dhcpcd[708]: eth0: adding address fe80::5054:ff:fe12:3456985machine # [ 11.391309] kvm_amd: TSC scaling supported986machine # [ 11.392052] kvm_amd: Nested Virtualization enabled987machine # [ 11.393488] kvm_amd: Nested Paging enabled988machine # [ 11.394066] kvm_amd: LBR virtualization supported989machine # [ 11.395032] kvm_amd: Virtual VMLOAD VMSAVE supported990machine # [ 11.396926] kvm_amd: Virtual GIF supported991machine # [ 11.448348] EDAC MC: Ver: 3.0.0992machine # [ 11.356588] systemd-vconsole-setup[778]: Configuration of first virtual console was skipped, ignoring remaining ones.993machine # [ 11.361785] systemd[1]: Finished Virtual Console Setup.994machine # [ 11.589696] dhcpcd[708]: eth0: soliciting a DHCP lease995machine # [ 11.819449] NET: Registered PF_PACKET protocol family996machine # [ 11.608563] dhcpcd[708]: eth0: offered 10.0.2.15 from 10.0.2.2997machine # [ 11.610181] dhcpcd[708]: eth0: probing address 10.0.2.15/24998machine # [ 13.514756] dhcpcd[708]: eth0: soliciting an IPv6 router999machine # [ 13.516319] dhcpcd[708]: eth0: Router Advertisement from fe80::21000machine # [ 13.518137] dhcpcd[708]: eth0: adding address fec0::5054:ff:fe12:3456/641001machine # [ 13.519738] dhcpcd[708]: eth0: adding route to fec0::/641002machine # [ 13.521101] dhcpcd[708]: eth0: adding default route via fe80::21003machine # [ 16.314767] dhcpcd[708]: eth0: leased 10.0.2.15 for 86400 seconds1004machine # [ 16.316336] dhcpcd[708]: eth0: adding route to 10.0.2.0/241005machine # [ 16.317949] dhcpcd[708]: eth0: adding default route via 10.0.2.21006machine # [ 16.438701] systemd[1]: Started DHCP Client.1007machine # [ 21.912229] nextcloud-setup-start[519]: Nextcloud was successfully installed1008machine # [ 22.947244] nextcloud-setup-start[956]: No upgrade required.1009machine # [ 22.948382] nextcloud-setup-start[956]: Note: This command triggers the upgrade actions associated with a new version. The new version's updated source files must be deployed in advance.1010machine # [ 22.950950] nextcloud-setup-start[956]: See the upgrade documentation: https://docs.nextcloud.com/server/33/go.php?to=admin-update for more information.1011machine # [ 23.744197] nextcloud-setup-start[968]: System config value trusted_domains deleted1012machine # [ 24.707350] nextcloud-setup-start[972]: rhwpviewer 0.1.0 enabled1013machine # [ 25.658940] nextcloud-setup-start[984]: System config value trusted_domains => 0 set to string localhost1014machine # [ 25.688823] systemd[1]: nextcloud-setup.service: Deactivated successfully.1015machine # [ 25.690852] systemd[1]: Finished nextcloud-setup.service.1016machine # [ 25.692821] systemd[1]: nextcloud-setup.service: Consumed 5.997s CPU time over 16.354s wall clock time, 149.7M memory peak, 12.7M written to disk.1017machine # [ 25.700193] systemd[1]: Started nextcloud-cron.timer.1018machine # [ 25.702426] systemd[1]: Reached target Timer Units.1019machine # [ 25.707108] systemd[1]: Starting nextcloud-update-db.service...1020machine # [ 25.711743] systemd[1]: Starting PHP FastCGI Process Manager service for pool nextcloud...1021machine # [ 25.976887] php-fpm[998]: [21-Sep-2026 12:15:03] NOTICE: systemd watchdog configured to 7.5sec1022machine # [ 25.983156] php-fpm[998]: [NOTICE] fpm is running, pid 9981023machine # [ 26.022101] php[997]: Cannot write into "config" directory!1024machine # [ 26.023628] php[997]: This can usually be fixed by giving the web server write access to the config directory.1025machine # [ 26.026216] php[997]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.1026machine # [ 26.028323] php[997]: See https://docs.nextcloud.com/server/33/go.php?to=admin-config1027machine # [ 26.039876] php-fpm[998]: [NOTICE] ready to handle connections1028machine # [ 26.044205] php-fpm[998]: [NOTICE] systemd monitor interval set to 7500ms1029machine # [ 26.045750] systemd[1]: Started PHP FastCGI Process Manager service for pool nextcloud.1030machine # [ 26.049527] systemd[1]: Reached target PHP FastCGI Process manager pools target.1031machine # [ 26.051770] systemd[1]: Reached target Multi-User System.1032machine: (finished: waiting for unit phpfpm-nextcloud.service, in 16.43 seconds)1033machine: waiting for unit nginx.service1034machine # [ 26.099761] systemd[1]: Started nextcloud-update-db.service.1035machine # [ 26.101256] systemd[1]: Startup finished in 940ms (kernel) + 4.885s (initrd) + 20.275s (userspace) = 26.100s.1036machine: (finished: waiting for unit nginx.service, in 0.05 seconds)1037machine: waiting for TCP port 80 on localhost1038machine # Connection to localhost (127.0.0.1) 80 port [tcp/http] succeeded!1039machine: (finished: waiting for TCP port 80 on localhost, in 0.06 seconds)1040machine: waiting for success: curl --fail --silent --show-error http://localhost/status.php1041machine: (finished: waiting for success: curl --fail --silent --show-error http://localhost/status.php, in 0.58 seconds)1042machine: must succeed: nextcloud-occ app:list --enabled1043machine # [ 26.838512] sudo[1031]: root : TTY=hvc0 ; PWD=/nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps ; USER=nextcloud ; COMMAND=/nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/env NEXTCLOUD_CONFIG_DIR=/var/lib/nextcloud/config /nix/store/zjxi330n500dxbrpryikfqvx8amn2140-php-with-extensions-8.4.25/bin/php occ app:list --enabled1044machine # [ 26.856898] sudo[1031]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1045machine # [ 27.173215] nextcloud-update-db-start[1022]: Done.1046machine # [ 27.913594] sudo[1031]: pam_unix(sudo:session): session closed for user nextcloud1047machine: (finished: must succeed: nextcloud-occ app:list --enabled, in 1.14 seconds)1048machine: must succeed: nextcloud-occ app:getpath rhwpviewer1049machine # [ 27.961803] sudo[1042]: root : TTY=hvc0 ; PWD=/nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps ; USER=nextcloud ; COMMAND=/nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/env NEXTCLOUD_CONFIG_DIR=/var/lib/nextcloud/config /nix/store/zjxi330n500dxbrpryikfqvx8amn2140-php-with-extensions-8.4.25/bin/php occ app:getpath rhwpviewer1050machine # [ 27.980673] sudo[1042]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1051machine # [ 29.004503] sudo[1042]: pam_unix(sudo:session): session closed for user nextcloud1052machine: (finished: must succeed: nextcloud-occ app:getpath rhwpviewer, in 1.09 seconds)1053machine: must succeed: test -x /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp1054machine: (finished: must succeed: test -x /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp, in 0.02 seconds)1055machine: must succeed: /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null1056machine: (finished: must succeed: /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null, in 0.05 seconds)1057machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php1058machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php, in 0.01 seconds)1059machine: must succeed: grep -q 'RHWP Studio' /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml1060machine: (finished: must succeed: grep -q 'RHWP Studio' /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml, in 0.02 seconds)1061machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php1062machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php, in 0.02 seconds)1063machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php1064machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php, in 0.01 seconds)1065machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php1066machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php, in 0.01 seconds)1067machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php1068machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php, in 0.02 seconds)1069machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php1070machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php, in 0.02 seconds)1071machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php1072machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php, in 0.02 seconds)1073machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php1074machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php, in 0.01 seconds)1075machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php1076machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php, in 0.01 seconds)1077machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php1078machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php, in 0.01 seconds)1079machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html1080machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html, in 0.02 seconds)1081machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js1082machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js, in 0.02 seconds)1083machine: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js1084machine: (finished: must succeed: test -f /nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js, in 0.02 seconds)1085machine: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root1086machine # [ 29.344917] sudo[1101]: root : TTY=hvc0 ; PWD=/nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps ; USER=nextcloud ; ENV=OC_PASS=CorrectHorseBatteryStaple42! ; COMMAND=/nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/env NEXTCLOUD_CONFIG_DIR=/var/lib/nextcloud/config /nix/store/zjxi330n500dxbrpryikfqvx8amn2140-php-with-extensions-8.4.25/bin/php occ user:resetpassword --password-from-env root1087machine # [ 29.362413] sudo[1101]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1088machine # [ 29.592805] nextcloud-update-db-start[1050]: Done.1089machine # [ 29.632266] systemd[1]: nextcloud-update-db.service: Deactivated successfully.1090machine # [ 29.634798] systemd[1]: nextcloud-update-db.service: Consumed 1.387s CPU time over 3.924s wall clock time, 51.7M memory peak.1091machine # [ 30.344397] Nextcloud[1106]: {"reqId":"uko1YYJeXPHIS7l3oF4R","level":2,"time":"2026-09-21T12:15:07+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"occ","message":"dns_get_record(): A temporary server error occurred. at /nix/store/pjcahl3zqmak84m3946s00f0fmwlvsgj-nextcloud-33.0.8/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"--","version":"33.0.8.2","occ_command":["occ","user:resetpassword"],"data":{"app":"PHP"}}1092machine # [ 30.351294] Nextcloud[1106]: {"reqId":"uko1YYJeXPHIS7l3oF4R","level":2,"time":"2026-09-21T12:15:07+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"occ","message":"dns_get_record(): A temporary server error occurred. at /nix/store/pjcahl3zqmak84m3946s00f0fmwlvsgj-nextcloud-33.0.8/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"--","version":"33.0.8.2","occ_command":["occ","user:resetpassword"],"data":{"app":"PHP"}}1093machine # [ 30.358212] Nextcloud[1106]: {"reqId":"uko1YYJeXPHIS7l3oF4R","level":2,"time":"2026-09-21T12:15:07+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"occ","message":"dns_get_record(): A temporary server error occurred. at /nix/store/pjcahl3zqmak84m3946s00f0fmwlvsgj-nextcloud-33.0.8/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"--","version":"33.0.8.2","occ_command":["occ","user:resetpassword"],"data":{"app":"PHP"}}1094machine # [ 30.365069] Nextcloud[1106]: {"reqId":"uko1YYJeXPHIS7l3oF4R","level":2,"time":"2026-09-21T12:15:07+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","scriptName":"occ","message":"dns_get_record(): A temporary server error occurred. at /nix/store/pjcahl3zqmak84m3946s00f0fmwlvsgj-nextcloud-33.0.8/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"--","version":"33.0.8.2","occ_command":["occ","user:resetpassword"],"data":{"app":"PHP"}}1095machine # [ 30.697960] sudo[1101]: pam_unix(sudo:session): session closed for user nextcloud1096machine: (finished: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root, in 1.40 seconds)1097machine: must succeed: 1098install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1099install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1100install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1101install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1102nextcloud-occ files:scan root11031104machine # [ 30.776418] sudo[1112]: root : TTY=hvc0 ; PWD=/nix/store/w69rj2viawl4x348j5fzyz8l3zf49w94-nextcloud-33.0.8-with-apps ; USER=nextcloud ; COMMAND=/nix/store/3qgy8q2j64v2m9jy3a5jmssacbblhd4r-coreutils-9.11/bin/env NEXTCLOUD_CONFIG_DIR=/var/lib/nextcloud/config /nix/store/zjxi330n500dxbrpryikfqvx8amn2140-php-with-extensions-8.4.25/bin/php occ files:scan root1105machine # [ 30.790160] sudo[1112]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1106machine # [ 31.785580] sudo[1112]: pam_unix(sudo:session): session closed for user nextcloud1107machine: (finished: must succeed: 1108install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1109install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1110install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1111install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1112nextcloud-occ files:scan root1113, in 1.09 seconds)1114machine: must succeed: 1115python3 - <<'PY'1116import base641117import http.cookiejar1118import json1119import re1120import urllib.error1121import urllib.parse1122import urllib.request1123import xml.etree.ElementTree as ET11241125base = "http://localhost"1126password = "CorrectHorseBatteryStaple42!"1127sample_filename = "한글 제목 샘플.hwp"1128sample_hwpx_filename = "한글 제목 샘플.hwpx"1129sample_dirname = "rhwpviewer-sample-dir"1130cookies = http.cookiejar.CookieJar()1131opener = urllib.request.build_opener(1132 urllib.request.HTTPCookieProcessor(cookies)1133)11341135def get_file_id(filename):1136 body = (1137 '<?xml version="1.0" encoding="utf-8" ?>\n'1138 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1139 ' <d:prop><oc:fileid /></d:prop>\n'1140 '</d:propfind>\n'1141 ).encode()1142 credentials = base64.b64encode(f"root:{password}".encode()).decode()1143 request = urllib.request.Request(1144 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1145 data=body,1146 headers={1147 "Authorization": "Basic " + credentials,1148 "Content-Type": "application/xml",1149 "Depth": "0",1150 },1151 method="PROPFIND",1152 )1153 response = urllib.request.urlopen(request)1154 assert response.status == 207, response.status1155 xml = response.read()1156 root = ET.fromstring(xml)1157 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1158 assert file_id is not None, xml.decode("utf-8", "replace")1159 file_id = file_id.strip()1160 assert file_id.isdigit(), file_id1161 return file_id11621163login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1164match = re.search(r'data-requesttoken="([^"]+)"', login_html)1165assert match, login_html[:1000]1166token = match.group(1)11671168data = urllib.parse.urlencode({1169 "user": "root",1170 "password": password,1171 "requesttoken": token,1172 "timezone": "UTC",1173 "timezone_offset": "0",1174}).encode()11751176request = urllib.request.Request(1177 base + "/login",1178 data=data,1179 headers={1180 "Origin": base,1181 "Content-Type": "application/x-www-form-urlencoded",1182 },1183)1184opener.open(request)11851186response = opener.open(base + "/apps/rhwpviewer/")1187assert response.status == 200, response.status1188html = response.read().decode("utf-8", "replace")1189assert "rhwpviewer-root" in html, html[:1000]1190assert "viewer.js" in html, html[:1000]1191assert "Viewer route is ready" in html, html[:1000]11921193response = opener.open(base + "/apps/files/")1194assert response.status == 200, response.status1195html = response.read().decode("utf-8", "replace")1196assert "files-action.js" in html, html[:1000]1197action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1198assert action_script, html[:1000]1199action_response = opener.open(base + action_script.group(1))1200action_js = action_response.read().decode("utf-8", "replace")1201assert "Open in RHWP Studio" in action_js, action_js[:1000]1202assert "Edit with RHWP" not in action_js, action_js[:1000]1203assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1204assert "default" in action_js, action_js[:1000]12051206def check_editor(filename):1207 file_id = get_file_id(filename)1208 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1209 assert response.status == 200, response.status1210 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1211 decoded_editor_url = urllib.parse.unquote(response.geturl())1212 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1213 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1214 assert "한글" not in decoded_editor_url, decoded_editor_url1215 studio_html = response.read().decode("utf-8", "replace")12161217 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1218 assert content_response.status == 200, content_response.status1219 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1220 content = content_response.read()1221 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]12221223 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1224 assert "rhwp-studio" in studio_html, studio_html[:1000]1225 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1226 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1227 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1228 assert token_match, studio_html[:1000]1229 save_request = urllib.request.Request(1230 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1231 data=content,1232 headers={1233 "Content-Type": "application/octet-stream",1234 "requesttoken": token_match.group(1),1235 },1236 method="PUT",1237 )1238 save_response = opener.open(save_request)1239 assert save_response.status == 200, save_response.status1240 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1241 assert save_payload["status"] == "ok", save_payload1242 assert save_payload["fileId"] == int(file_id), save_payload1243 assert save_payload["bytes"] == len(content), save_payload1244 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1245 assert saved_content == content, len(saved_content)1246 # theme-init.js: nonced and moved off the document root onto the app1247 # subpath, so it loads under Nextcloud and passes the CSP.1248 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1249 theme_match = re.search(1250 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1251 )1252 assert theme_match, studio_html[:1000]1253 assert "nonce=" in theme_match.group(1), theme_match.group(0)1254 # The app bundle is the ES module script; check it specifically rather1255 # than the first <script src> (which is now theme-init.js).1256 module_match = re.search(1257 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1258 )1259 assert module_match, studio_html[:1000]1260 assert "nonce=" in module_match.group(1), module_match.group(0)1261 script_src = module_match.group(2)1262 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1263 assert 'src="/assets/' not in studio_html, studio_html[:1000]1264 assert 'href="/assets/' not in studio_html, studio_html[:1000]1265 assert "registerSW.js" not in studio_html, studio_html[:1000]1266 # Catch-all guards so a future RHWP Studio <head> change fails loudly1267 # and points at exactly what studioHtml() must handle, rather than1268 # tripping an indirect assertion. (1) no root-absolute asset ref may1269 # survive un-rewritten off the app subpath; (2) every <script src>1270 # must carry the CSP nonce.1271 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1272 assert stray is None, stray.group(0) if stray else studio_html[:1000]1273 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1274 assert "nonce=" in tag, tag12751276 asset_response = opener.open(base + script_src)1277 assert asset_response.status == 200, asset_response.status1278 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1279 asset_js = asset_response.read().decode("utf-8", "replace")1280 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1281 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1282 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1283 return file_id12841285def check_svg_export(filename):1286 file_id = get_file_id(filename)1287 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1288 assert response.status == 200, response.status1289 html = response.read().decode("utf-8", "replace")1290 assert "rhwpviewer-root" in html, html[:1000]1291 assert "rhwpviewer-pages" in html, html[:1000]1292 assert "viewer.js" in html, html[:1000]1293 assert f'data-file-id="{file_id}"' in html, html[:1000]1294 assert file_id in html, html[:1000]1295 assert filename in html, html[:1000]12961297 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1298 assert response.status == 200, response.status1299 payload = json.loads(response.read().decode("utf-8", "replace"))1300 assert payload["fileId"] == int(file_id), payload1301 assert payload["fileName"] == filename, payload1302 assert payload["status"] == "ok", payload1303 assert payload["kind"] == "svg", payload1304 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1305 first_page = payload["pages"][0]1306 assert first_page["index"] == 0, payload1307 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1308 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1309 assert first_page["url"].endswith(".svg"), payload1310 assert filename not in first_page["url"], payload1311 assert "한글" not in first_page["url"], payload13121313 page_response = opener.open(base + first_page["url"])1314 assert page_response.status == 200, page_response.status1315 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1316 svg = page_response.read().decode("utf-8", "replace")1317 assert "<svg" in svg[:1000], svg[:1000]1318 return file_id13191320file_id = check_svg_export(sample_filename)1321check_svg_export(sample_hwpx_filename)1322check_editor(sample_filename)1323check_editor(sample_hwpx_filename)13241325directory_id = get_file_id(sample_dirname)1326try:1327 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1328 raise AssertionError("directory fileId unexpectedly succeeded")1329except urllib.error.HTTPError as error:1330 assert error.code == 404, error.code13311332try:1333 opener.open(base + "/apps/rhwpviewer/view/999999999")1334 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1335except urllib.error.HTTPError as error:1336 assert error.code == 404, error.code13371338try:1339 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1340 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1341except urllib.error.HTTPError as error:1342 assert error.code == 404, error.code13431344try:1345 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1346 raise AssertionError("bogus page unexpectedly succeeded")1347except urllib.error.HTTPError as error:1348 assert error.code == 404, error.code1349PY13501351machine: (finished: must succeed: 1352python3 - <<'PY'1353import base641354import http.cookiejar1355import json1356import re1357import urllib.error1358import urllib.parse1359import urllib.request1360import xml.etree.ElementTree as ET13611362base = "http://localhost"1363password = "CorrectHorseBatteryStaple42!"1364sample_filename = "한글 제목 샘플.hwp"1365sample_hwpx_filename = "한글 제목 샘플.hwpx"1366sample_dirname = "rhwpviewer-sample-dir"1367cookies = http.cookiejar.CookieJar()1368opener = urllib.request.build_opener(1369 urllib.request.HTTPCookieProcessor(cookies)1370)13711372def get_file_id(filename):1373 body = (1374 '<?xml version="1.0" encoding="utf-8" ?>\n'1375 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1376 ' <d:prop><oc:fileid /></d:prop>\n'1377 '</d:propfind>\n'1378 ).encode()1379 credentials = base64.b64encode(f"root:{password}".encode()).decode()1380 request = urllib.request.Request(1381 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1382 data=body,1383 headers={1384 "Authorization": "Basic " + credentials,1385 "Content-Type": "application/xml",1386 "Depth": "0",1387 },1388 method="PROPFIND",1389 )1390 response = urllib.request.urlopen(request)1391 assert response.status == 207, response.status1392 xml = response.read()1393 root = ET.fromstring(xml)1394 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1395 assert file_id is not None, xml.decode("utf-8", "replace")1396 file_id = file_id.strip()1397 assert file_id.isdigit(), file_id1398 return file_id13991400login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1401match = re.search(r'data-requesttoken="([^"]+)"', login_html)1402assert match, login_html[:1000]1403token = match.group(1)14041405data = urllib.parse.urlencode({1406 "user": "root",1407 "password": password,1408 "requesttoken": token,1409 "timezone": "UTC",1410 "timezone_offset": "0",1411}).encode()14121413request = urllib.request.Request(1414 base + "/login",1415 data=data,1416 headers={1417 "Origin": base,1418 "Content-Type": "application/x-www-form-urlencoded",1419 },1420)1421opener.open(request)14221423response = opener.open(base + "/apps/rhwpviewer/")1424assert response.status == 200, response.status1425html = response.read().decode("utf-8", "replace")1426assert "rhwpviewer-root" in html, html[:1000]1427assert "viewer.js" in html, html[:1000]1428assert "Viewer route is ready" in html, html[:1000]14291430response = opener.open(base + "/apps/files/")1431assert response.status == 200, response.status1432html = response.read().decode("utf-8", "replace")1433assert "files-action.js" in html, html[:1000]1434action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1435assert action_script, html[:1000]1436action_response = opener.open(base + action_script.group(1))1437action_js = action_response.read().decode("utf-8", "replace")1438assert "Open in RHWP Studio" in action_js, action_js[:1000]1439assert "Edit with RHWP" not in action_js, action_js[:1000]1440assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1441assert "default" in action_js, action_js[:1000]14421443def check_editor(filename):1444 file_id = get_file_id(filename)1445 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1446 assert response.status == 200, response.status1447 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1448 decoded_editor_url = urllib.parse.unquote(response.geturl())1449 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1450 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1451 assert "한글" not in decoded_editor_url, decoded_editor_url1452 studio_html = response.read().decode("utf-8", "replace")14531454 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1455 assert content_response.status == 200, content_response.status1456 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1457 content = content_response.read()1458 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]14591460 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1461 assert "rhwp-studio" in studio_html, studio_html[:1000]1462 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1463 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1464 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1465 assert token_match, studio_html[:1000]1466 save_request = urllib.request.Request(1467 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1468 data=content,1469 headers={1470 "Content-Type": "application/octet-stream",1471 "requesttoken": token_match.group(1),1472 },1473 method="PUT",1474 )1475 save_response = opener.open(save_request)1476 assert save_response.status == 200, save_response.status1477 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1478 assert save_payload["status"] == "ok", save_payload1479 assert save_payload["fileId"] == int(file_id), save_payload1480 assert save_payload["bytes"] == len(content), save_payload1481 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1482 assert saved_content == content, len(saved_content)1483 # theme-init.js: nonced and moved off the document root onto the app1484 # subpath, so it loads under Nextcloud and passes the CSP.1485 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1486 theme_match = re.search(1487 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1488 )1489 assert theme_match, studio_html[:1000]1490 assert "nonce=" in theme_match.group(1), theme_match.group(0)1491 # The app bundle is the ES module script; check it specifically rather1492 # than the first <script src> (which is now theme-init.js).1493 module_match = re.search(1494 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1495 )1496 assert module_match, studio_html[:1000]1497 assert "nonce=" in module_match.group(1), module_match.group(0)1498 script_src = module_match.group(2)1499 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1500 assert 'src="/assets/' not in studio_html, studio_html[:1000]1501 assert 'href="/assets/' not in studio_html, studio_html[:1000]1502 assert "registerSW.js" not in studio_html, studio_html[:1000]1503 # Catch-all guards so a future RHWP Studio <head> change fails loudly1504 # and points at exactly what studioHtml() must handle, rather than1505 # tripping an indirect assertion. (1) no root-absolute asset ref may1506 # survive un-rewritten off the app subpath; (2) every <script src>1507 # must carry the CSP nonce.1508 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1509 assert stray is None, stray.group(0) if stray else studio_html[:1000]1510 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1511 assert "nonce=" in tag, tag15121513 asset_response = opener.open(base + script_src)1514 assert asset_response.status == 200, asset_response.status1515 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1516 asset_js = asset_response.read().decode("utf-8", "replace")1517 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1518 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1519 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1520 return file_id15211522def check_svg_export(filename):1523 file_id = get_file_id(filename)1524 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1525 assert response.status == 200, response.status1526 html = response.read().decode("utf-8", "replace")1527 assert "rhwpviewer-root" in html, html[:1000]1528 assert "rhwpviewer-pages" in html, html[:1000]1529 assert "viewer.js" in html, html[:1000]1530 assert f'data-file-id="{file_id}"' in html, html[:1000]1531 assert file_id in html, html[:1000]1532 assert filename in html, html[:1000]15331534 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1535 assert response.status == 200, response.status1536 payload = json.loads(response.read().decode("utf-8", "replace"))1537 assert payload["fileId"] == int(file_id), payload1538 assert payload["fileName"] == filename, payload1539 assert payload["status"] == "ok", payload1540 assert payload["kind"] == "svg", payload1541 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1542 first_page = payload["pages"][0]1543 assert first_page["index"] == 0, payload1544 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1545 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1546 assert first_page["url"].endswith(".svg"), payload1547 assert filename not in first_page["url"], payload1548 assert "한글" not in first_page["url"], payload15491550 page_response = opener.open(base + first_page["url"])1551 assert page_response.status == 200, page_response.status1552 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1553 svg = page_response.read().decode("utf-8", "replace")1554 assert "<svg" in svg[:1000], svg[:1000]1555 return file_id15561557file_id = check_svg_export(sample_filename)1558check_svg_export(sample_hwpx_filename)1559check_editor(sample_filename)1560check_editor(sample_hwpx_filename)15611562directory_id = get_file_id(sample_dirname)1563try:1564 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1565 raise AssertionError("directory fileId unexpectedly succeeded")1566except urllib.error.HTTPError as error:1567 assert error.code == 404, error.code15681569try:1570 opener.open(base + "/apps/rhwpviewer/view/999999999")1571 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1572except urllib.error.HTTPError as error:1573 assert error.code == 404, error.code15741575try:1576 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1577 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1578except urllib.error.HTTPError as error:1579 assert error.code == 404, error.code15801581try:1582 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1583 raise AssertionError("bogus page unexpectedly succeeded")1584except urllib.error.HTTPError as error:1585 assert error.code == 404, error.code1586PY1587, in 8.81 seconds)1588(finished: run the VM test script, in 41.58 seconds)1589test script finished in 41.63s1590cleanup1591kill QemuMachine (pid 45)1592machine # qemu-system-x86_64: terminating on signal 15 from pid 39 (/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/bin/python3.14)1593(finished: cleanup, in 0.14 seconds)