nixbot

builds

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

1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)4Test will time out and terminate in 3600.0 seconds5run the VM test script6additionally exposed symbols:7 machine,8 vlan1,9 start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh10machine: starting vm11machine # Disk image does not exist, creating the virtualisation disk image...12machine: QEMU running (pid 45)13machine # Formatting '/build/vm-state-machine/tmp.KrdhWcG9Hr', fmt=raw size=107374182414machine: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success15machine # mke2fs 1.47.4 (6-Mar-2025)16machine: waiting for the VM to finish booting17machine # Discarding device blocks: 0/262144 done18machine # Creating filesystem with 262144 4k blocks and 65536 inodes19machine # Filesystem UUID: 93bc59f8-8493-44ca-a108-725331dc727220machine # 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.48 (nixbld@localhost) (gcc (GCC) 15.3.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Fri Aug 28 06:22:54 UTC 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/vl3icg2r2apckvgl97z8gqv03f9j947i-nixos-system-machine-test/init regInfo=/nix/store/ww1zmzb7sfcw0nqnl41rwmqmfxlqqp2x-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.000000] kvm-clock: using sched offset of 455855849 cycles67machine # [ 0.000001] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns68machine # [ 0.000003] tsc: Detected 3792.874 MHz processor69machine # [ 0.000663] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000070machine # [ 0.000686] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs71machine # [ 0.000688] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT72machine # [ 0.002220] found SMP MP-table at [mem 0x000f5450-0x000f545f]73machine # [ 0.002228] Using GB pages for direct mapping74machine # [ 0.002327] RAMDISK: [mem 0x3e36a000-0x3ffcffff]75machine # [ 0.002332] ACPI: Early table checksum verification disabled76machine # [ 0.002334] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS )77machine # [ 0.002337] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)78machine # [ 0.002340] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001)79machine # [ 0.002345] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001)80machine # [ 0.002347] ACPI: FACS 0x000000003FFE0000 00004081machine # [ 0.002348] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001)82machine # [ 0.002349] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)83machine # [ 0.002351] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)84machine # [ 0.002352] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)85machine # [ 0.002353] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d]86machine # [ 0.002354] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219]87machine # [ 0.002355] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]88machine # [ 0.002355] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385]89machine # [ 0.002355] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd]90machine # [ 0.002356] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9]91machine # [ 0.002356] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421]92machine # [ 0.002731] No NUMA configuration found93machine # [ 0.002732] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff]94machine # [ 0.002734] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff]95machine # [ 0.002812] Zone ranges:96machine # [ 0.002812] DMA [mem 0x0000000000001000-0x0000000000ffffff]97machine # [ 0.002814] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff]98machine # [ 0.002815] Normal empty99machine # [ 0.002815] Device empty100machine # [ 0.002816] Movable zone start for each node101machine # [ 0.002816] Early memory node ranges102machine # [ 0.002816] node 0: [mem 0x0000000000001000-0x000000000009efff]103machine # [ 0.002817] node 0: [mem 0x0000000000100000-0x000000003ffd7fff]104machine # [ 0.002818] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff]105machine # [ 0.002854] On node 0, zone DMA: 1 pages in unavailable ranges106machine # [ 0.003073] On node 0, zone DMA: 97 pages in unavailable ranges107machine # [ 0.017679] On node 0, zone DMA32: 40 pages in unavailable ranges108machine # [ 0.018543] ACPI: PM-Timer IO Port: 0x608109machine # [ 0.018551] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])110machine # [ 0.018569] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23111machine # [ 0.018571] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)112machine # [ 0.018572] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)113machine # [ 0.018573] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)114machine # [ 0.018574] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)115machine # [ 0.018574] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)116machine # [ 0.018576] ACPI: Using ACPI (MADT) for SMP configuration information117machine # [ 0.018577] ACPI: HPET id: 0x8086a201 base: 0xfed00000118machine # [ 0.018579] TSC deadline timer available119machine # [ 0.018583] CPU topo: Max. logical packages: 1120machine # [ 0.018583] CPU topo: Max. logical dies: 1121machine # [ 0.018583] CPU topo: Max. dies per package: 1122machine # [ 0.018587] CPU topo: Max. threads per core: 1123machine # [ 0.018587] CPU topo: Num. cores per package: 1124machine # [ 0.018587] CPU topo: Num. threads per package: 1125machine # [ 0.018588] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs126machine # [ 0.018598] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()127machine # [ 0.018622] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]128machine # [ 0.018624] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]129machine # [ 0.018625] [mem 0x40000000-0xafffffff] available for PCI devices130machine # [ 0.018626] Booting paravirtualized kernel on KVM131machine # [ 0.018627] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns132machine # [ 0.022334] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1133machine # [ 0.024077] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152134machine # [ 0.024111] kvm-guest: PV spinlocks disabled, single CPU135machine # [ 0.024112] 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/vl3icg2r2apckvgl97z8gqv03f9j947i-nixos-system-machine-test/init regInfo=/nix/store/ww1zmzb7sfcw0nqnl41rwmqmfxlqqp2x-closure-info/registration console=ttyS0,115200n8 console=tty0136machine # [ 0.024184] Unknown kernel command line parameters "regInfo=/nix/store/ww1zmzb7sfcw0nqnl41rwmqmfxlqqp2x-closure-info/registration", will be passed to user space.137machine # [ 0.024201] random: crng init done138machine # [ 0.024202] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes139machine # [ 0.025055] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)140machine # [ 0.025070] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)141machine # [ 0.025092] Fallback order for Node 0: 0142machine # [ 0.025094] Built 1 zonelists, mobility grouping on. Total pages: 262006143machine # [ 0.025094] Policy zone: DMA32144machine # [ 0.027044] mem auto-init: stack:all(zero), heap alloc:on, heap free:off145machine # [ 0.029470] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1146machine # [ 0.031441] allocated 2097152 bytes of page_ext147machine # [ 0.040070] ftrace: allocating 48733 entries in 192 pages148machine # [ 0.040071] ftrace: allocated 192 pages with 2 groups149machine # [ 0.040731] Dynamic Preempt: lazy150machine # [ 0.040870] rcu: Preemptible hierarchical RCU implementation.151machine # [ 0.040870] rcu: RCU event tracing is enabled.152machine # [ 0.040871] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1.153machine # [ 0.040871] Trampoline variant of Tasks RCU enabled.154machine # [ 0.040872] Rude variant of Tasks RCU enabled.155machine # [ 0.040872] Tracing variant of Tasks RCU enabled.156machine # [ 0.040873] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.157machine # [ 0.040873] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1158machine # [ 0.040890] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.159machine # [ 0.040891] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.160machine # [ 0.040892] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.161machine # [ 0.044609] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16162machine # [ 0.044834] rcu: srcu_init: Setting srcu_struct sizes based on contention.163machine # [ 0.044838] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns164machine # [ 0.044917] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)165machine # [ 0.050488] Console: colour VGA+ 80x25166machine # [ 0.050490] printk: legacy console [tty0] enabled167machine # [ 0.083249] printk: legacy console [ttyS0] enabled168machine # [ 0.231806] ACPI: Core revision 20250807169machine # [ 0.232947] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns170machine # [ 0.235056] APIC: Switch to symmetric I/O mode setup171machine # [ 0.236363] x2apic enabled172machine # [ 0.237245] APIC: Switched APIC routing to: physical x2apic173machine # [ 0.239320] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1174machine # [ 0.240676] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns175machine # [ 0.242958] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874)176machine # [ 0.245027] x86/cpu: User Mode Instruction Prevention (UMIP) activated177machine # [ 0.247074] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127178machine # [ 0.247958] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0179machine # [ 0.248961] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto180machine # [ 0.249958] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl181machine # [ 0.250958] Spectre V2 : Mitigation: Retpolines182machine # [ 0.251958] Speculative Return Stack Overflow: Mitigation: Safe RET183machine # [ 0.252958] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization184machine # [ 0.254958] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT185machine # [ 0.255958] Spectre V2 : Enabling Restricted Speculation for firmware calls186machine # [ 0.256959] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier187machine # [ 0.258959] active return thunk: srso_alias_return_thunk188machine # [ 0.260972] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'189machine # [ 0.261958] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'190machine # [ 0.263958] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'191machine # [ 0.264958] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'192machine # [ 0.265958] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers'193machine # [ 0.266958] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)'194machine # [ 0.268959] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256195machine # [ 0.270958] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8196machine # [ 0.271958] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16197machine # [ 0.272958] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24198machine # [ 0.273958] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format.199machine # [ 0.301642] Freeing SMP alternatives memory: 44K200machine # [ 0.301959] pid_max: default: 32768 minimum: 301201machine # [ 0.303007] LSM: initializing lsm=capability,landlock,yama,bpf,ima202machine # [ 0.305050] landlock: Up and running.203machine # [ 0.305966] Yama: becoming mindful.204machine # [ 0.307162] LSM support for eBPF active205machine # [ 0.308053] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)206machine # [ 0.308977] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)207machine # [ 0.312469] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2)208machine # [ 0.313369] Performance Events: Fam17h+ core perfctr, AMD PMU driver.209machine # [ 0.313971] ... version: 0210machine # [ 0.314960] ... bit width: 48211machine # [ 0.315960] ... generic counters: 6212machine # [ 0.316952] ... generic bitmap: 000000000000003f213machine # [ 0.317960] ... fixed-purpose counters: 0214machine # [ 0.318952] ... fixed-purpose bitmap: 0000000000000000215machine # [ 0.319960] ... value mask: 0000ffffffffffff216machine # [ 0.320960] ... max period: 00007fffffffffff217machine # [ 0.321960] ... global_ctrl mask: 000000000000003f218machine # [ 0.323044] signal: max sigframe size: 3376219machine # [ 0.324024] rcu: Hierarchical SRCU implementation.220machine # [ 0.324963] rcu: Max phase no-delay instances is 400.221machine # [ 0.329583] smp: Bringing up secondary CPUs ...222machine # [ 0.329971] smp: Brought up 1 node, 1 CPU223machine # [ 0.330901] smpboot: Total of 1 processors activated (7585.74 BogoMIPS)224machine # [ 0.332155] Memory: 943012K/1048024K available (17215K kernel code, 2726K rwdata, 13580K rodata, 3644K init, 2988K bss, 97584K reserved, 0K cma-reserved)225machine # [ 0.333127] devtmpfs: initialized226machine # [ 0.334100] x86/mm: Memory block size: 128MB227machine # [ 0.335774] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear)228machine # [ 0.336987] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).229machine # [ 0.338031] pinctrl core: initialized pinctrl subsystem230machine # [ 0.339260] PM: RTC time: 21:45:56, date: 2026-09-10231machine # [ 0.342173] NET: Registered PF_NETLINK/PF_ROUTE protocol family232machine # [ 0.343309] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations233machine # [ 0.343985] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations234machine # [ 0.345076] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations235machine # [ 0.345966] audit: initializing netlink subsys (disabled)236machine # [ 0.347145] thermal_sys: Registered thermal governor 'fair_share'237machine # [ 0.347147] thermal_sys: Registered thermal governor 'bang_bang'238machine # [ 0.347961] thermal_sys: Registered thermal governor 'step_wise'239machine # [ 0.348963] audit: type=2000 audit(1789076757.033:1): state=initialized audit_enabled=0 res=1240machine # [ 0.350962] thermal_sys: Registered thermal governor 'user_space'241machine # [ 0.350963] thermal_sys: Registered thermal governor 'power_allocator'242machine # [ 0.351973] cpuidle: using governor menu243machine # [ 0.354790] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5244machine # [ 0.356194] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff]245machine # [ 0.356961] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry246machine # [ 0.357969] PCI: Using configuration type 1 for base access247machine # [ 0.359149] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.248machine # [ 0.364213] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages249machine # [ 0.364960] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page250machine # [ 0.369959] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages251machine # [ 0.370960] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page252machine # [ 0.381311] ACPI: Added _OSI(Module Device)253machine # [ 0.381960] ACPI: Added _OSI(Processor Device)254machine # [ 0.385959] ACPI: Added _OSI(Processor Aggregator Device)255machine # [ 0.391369] ACPI: 1 ACPI AML tables successfully acquired and loaded256machine # [ 0.394891] ACPI: Interpreter enabled257machine # [ 0.395632] ACPI: PM: (supports S0 S3 S4 S5)258machine # [ 0.395960] ACPI: Using IOAPIC for interrupt routing259machine # [ 0.398990] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug260machine # [ 0.399960] PCI: Using E820 reservations for host bridge windows261machine # [ 0.402183] ACPI: Enabled 2 GPEs in block 00 to 3F262machine # [ 0.406848] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])263machine # [ 0.407964] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]264machine # [ 0.409031] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR]265machine # [ 0.410078] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability]266machine # [ 0.411405] PCI host bridge to bus 0000:00267machine # [ 0.411965] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]268machine # [ 0.412961] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]269machine # [ 0.413960] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]270machine # [ 0.414960] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window]271machine # [ 0.415960] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]272machine # [ 0.416960] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window]273machine # [ 0.417961] pci_bus 0000:00: root bus resource [bus 00-ff]274machine # [ 0.419063] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint275machine # [ 0.420651] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint276machine # [ 0.424024] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref]277machine # [ 0.424982] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff]278machine # [ 0.426003] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref]279machine # [ 0.427236] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]280machine # [ 0.428820] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint281machine # [ 0.430982] pci 0000:00:02.0: BAR 0 [io 0xc140-0xc15f]282machine # [ 0.431972] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff]283machine # [ 0.433003] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref]284machine # [ 0.433972] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref]285machine # [ 0.436053] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint286machine # [ 0.437971] pci 0000:00:03.0: BAR 0 [io 0xc160-0xc17f]287machine # [ 0.438972] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff]288machine # [ 0.440003] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref]289machine # [ 0.441919] pci 0000:00:04.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint290machine # [ 0.443982] pci 0000:00:04.0: BAR 0 [io 0xc080-0xc0bf]291machine # [ 0.444972] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff]292machine # [ 0.446003] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref]293machine # [ 0.447934] pci 0000:00:05.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint294machine # [ 0.451233] pci 0000:00:05.0: BAR 0 [io 0xc180-0xc19f]295machine # [ 0.451972] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff]296machine # [ 0.453004] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref]297machine # [ 0.454925] pci 0000:00:06.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint298machine # [ 0.456971] pci 0000:00:06.0: BAR 0 [io 0xc1a0-0xc1bf]299machine # [ 0.457972] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff]300machine # [ 0.459003] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref]301machine # [ 0.460927] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint302machine # [ 0.462989] pci 0000:00:07.0: BAR 0 [io 0xc000-0xc07f]303machine # [ 0.463989] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff]304machine # [ 0.465004] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref]305machine # [ 0.466971] pci 0000:00:08.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint306machine # [ 0.468971] pci 0000:00:08.0: BAR 0 [io 0xc1c0-0xc1df]307machine # [ 0.469972] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff]308machine # [ 0.471003] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref]309machine # [ 0.471972] pci 0000:00:08.0: ROM [mem 0xfeb80000-0xfebbffff pref]310machine # [ 0.473911] pci 0000:00:09.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint311machine # [ 0.475842] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff]312machine # [ 0.477003] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref]313machine # [ 0.478897] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint314machine # [ 0.481396] pci 0000:00:0a.0: BAR 0 [io 0xc0c0-0xc0ff]315machine # [ 0.481972] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff]316machine # [ 0.483014] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref]317machine # [ 0.484925] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint318machine # [ 0.486971] pci 0000:00:0b.0: BAR 0 [io 0xc1e0-0xc1ff]319machine # [ 0.487972] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff]320machine # [ 0.489003] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref]321machine # [ 0.490982] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint322machine # [ 0.492667] pci 0000:00:1d.0: BAR 4 [io 0xc200-0xc21f]323machine # [ 0.493255] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint324machine # [ 0.495652] pci 0000:00:1d.1: BAR 4 [io 0xc220-0xc23f]325machine # [ 0.496240] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint326machine # [ 0.497648] pci 0000:00:1d.2: BAR 4 [io 0xc240-0xc25f]327machine # [ 0.498282] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint328machine # [ 0.499691] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff]329machine # [ 0.500320] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint330machine # [ 0.501504] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO331machine # [ 0.502333] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint332machine # [ 0.503843] pci 0000:00:1f.2: BAR 4 [io 0xc260-0xc27f]333machine # [ 0.504919] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff]334machine # [ 0.506492] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint335machine # [ 0.507631] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f]336machine # [ 0.512904] ACPI: PCI: Interrupt link LNKA configured for IRQ 10337machine # [ 0.514090] ACPI: PCI: Interrupt link LNKB configured for IRQ 10338machine # [ 0.515091] ACPI: PCI: Interrupt link LNKC configured for IRQ 11339machine # [ 0.516089] ACPI: PCI: Interrupt link LNKD configured for IRQ 11340machine # [ 0.517090] ACPI: PCI: Interrupt link LNKE configured for IRQ 10341machine # [ 0.518088] ACPI: PCI: Interrupt link LNKF configured for IRQ 10342machine # [ 0.519092] ACPI: PCI: Interrupt link LNKG configured for IRQ 11343machine # [ 0.520091] ACPI: PCI: Interrupt link LNKH configured for IRQ 11344machine # [ 0.521012] ACPI: PCI: Interrupt link GSIA configured for IRQ 16345machine # [ 0.521975] ACPI: PCI: Interrupt link GSIB configured for IRQ 17346machine # [ 0.522978] ACPI: PCI: Interrupt link GSIC configured for IRQ 18347machine # [ 0.523974] ACPI: PCI: Interrupt link GSID configured for IRQ 19348machine # [ 0.524974] ACPI: PCI: Interrupt link GSIE configured for IRQ 20349machine # [ 0.525997] ACPI: PCI: Interrupt link GSIF configured for IRQ 21350machine # [ 0.527006] ACPI: PCI: Interrupt link GSIG configured for IRQ 22351machine # [ 0.527978] ACPI: PCI: Interrupt link GSIH configured for IRQ 23352machine # [ 0.529792] iommu: Default domain type: Translated353machine # [ 0.530837] iommu: DMA domain TLB invalidation policy: lazy mode354machine # [ 0.532163] ACPI: bus type USB registered355machine # [ 0.533025] usbcore: registered new interface driver usbfs356machine # [ 0.533974] usbcore: registered new interface driver hub357machine # [ 0.534984] usbcore: registered new device driver usb358machine # [ 0.536643] NetLabel: Initializing359machine # [ 0.536964] NetLabel: domain hash size = 128360machine # [ 0.537960] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO361machine # [ 0.538993] NetLabel: unlabeled traffic allowed by default362machine # [ 0.539969] PCI: Using ACPI for IRQ routing363machine # [ 0.624766] pci 0000:00:01.0: vgaarb: setting as boot VGA device364machine # [ 0.624956] pci 0000:00:01.0: vgaarb: bridge control possible365machine # [ 0.624956] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none366machine # [ 0.624962] vgaarb: loaded367machine # [ 0.625817] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0368machine # [ 0.626839] hpet0: 3 comparators, 64-bit 100.000000 MHz counter369machine # [ 0.632062] clocksource: Switched to clocksource kvm-clock370machine # [ 0.633894] VFS: Disk quotas dquot_6.6.0371machine # [ 0.636329] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)372machine # [ 0.638002] pnp: PnP ACPI init373machine # [ 0.638968] ACPI: IRQ 4 override to edge(!), high(!)374machine # [ 0.640257] system 00:05: [mem 0xb0000000-0xbfffffff window] has been reserved375machine # [ 0.642272] pnp: PnP ACPI: found 6 devices376machine # [ 0.649912] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns377machine # [ 0.651870] clocksource: Switched to clocksource acpi_pm378machine # [ 0.653201] NET: Registered PF_INET protocol family379machine # [ 0.654498] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)380machine # [ 0.669399] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)381machine # [ 0.671371] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)382machine # [ 0.673154] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)383machine # [ 0.674922] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)384machine # [ 0.676616] TCP: Hash tables configured (established 8192 bind 8192)385machine # [ 0.678099] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear)386machine # [ 0.679869] UDP hash table entries: 512 (order: 3, 32768 bytes, linear)387machine # [ 0.681412] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear)388machine # [ 0.683014] NET: Registered PF_UNIX/PF_LOCAL protocol family389machine # [ 0.684368] NET: Registered PF_XDP protocol family390machine # [ 0.685506] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]391machine # [ 0.686919] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]392machine # [ 0.688334] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]393machine # [ 0.689864] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window]394machine # [ 0.691373] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window]395machine # [ 0.692889] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window]396machine # [ 0.695101] ACPI: \_SB_.GSIA: Enabled at IRQ 16397machine # [ 0.697389] ACPI: \_SB_.GSIB: Enabled at IRQ 17398machine # [ 0.699545] ACPI: \_SB_.GSIC: Enabled at IRQ 18399machine # [ 0.701847] ACPI: \_SB_.GSID: Enabled at IRQ 19400machine # [ 0.703741] PCI: CLS 0 bytes, default 64401machine # [ 0.704888] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns402machine # [ 0.707314] Trying to unpack rootfs image as initramfs...403machine # [ 0.747728] Initialise system trusted keyrings404machine # [ 0.751200] workingset: timestamp_bits=40 max_order=18 bucket_order=0405machine # [ 0.769555] Key type asymmetric registered406machine # [ 0.770558] Asymmetric key parser 'x509' registered407machine # [ 0.774188] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)408machine # [ 0.778237] io scheduler mq-deadline registered409machine # [ 0.781163] io scheduler kyber registered410machine # [ 0.784580] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled411machine # [ 0.788333] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A412machine # [ 0.794069] Linux agpgart interface v0.103413machine # [ 0.797170] ACPI: bus type drm_connector registered414machine # [ 0.798721] usbcore: registered new interface driver usbserial_generic415machine # [ 0.800190] usbserial: USB Serial support registered for generic416machine # [ 0.804160] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled417machine # [ 0.805981] drop_monitor: Initializing network drop monitor service418machine # [ 0.811284] NET: Registered PF_INET6 protocol family419machine # [ 0.812855] Segment Routing with IPv6420machine # [ 0.816170] In-situ OAM (IOAM) with IPv6421machine # [ 0.819282] IPI shorthand broadcast: enabled422machine # [ 0.825503] sched_clock: Marking stable (632024782, 193117891)->(934649578, -109506905)423machine # [ 0.832229] registered taskstats version 1424machine # [ 0.833414] Loading compiled-in X.509 certificates425machine # [ 0.849007] Demotion targets for Node 0: null426machine # [ 0.852195] Key type .fscrypt registered427machine # [ 0.853158] Key type fscrypt-provisioning registered428machine # [ 0.856245] ima: No TPM chip found, activating TPM-bypass!429machine # [ 0.857504] ima: Allocated hash algorithm: sha1430machine # [ 0.862172] ima: No architecture policies found431machine # [ 0.863413] PM: Magic number: 10:235:803432machine # [ 0.865106] RAS: Correctable Errors collector initialized.433machine # [ 0.875516] clk: Disabling unused clocks434machine # [ 0.878164] PM: genpd: Disabling unused power domains435machine # [ 0.999693] Freeing initrd memory: 29080K436machine # [ 1.002811] Freeing unused decrypted memory: 2028K437machine # [ 1.005442] Freeing unused kernel image (initmem) memory: 3644K438machine # [ 1.006866] Write protecting the kernel read-only data: 32768k439machine # [ 1.008947] Freeing unused kernel image (text/rodata gap) memory: 1216K440machine # [ 1.010810] Freeing unused kernel image (rodata/data gap) memory: 756K441machine # [ 1.052044] x86/mm: Checked W+X mappings: passed, no W+X pages found.442machine # [ 1.053532] Run /init as init process443machine # [ 1.062284] systemd[1]: Inserted module 'autofs4'444machine # [ 1.076510] fuse: init (API version 7.45)445machine # [ 1.081797] ACPI: \_SB_.GSIG: Enabled at IRQ 22446machine # [ 1.084676] ACPI: \_SB_.GSIH: Enabled at IRQ 23447machine # [ 1.088350] ACPI: \_SB_.GSIE: Enabled at IRQ 20448machine # [ 1.091223] ACPI: \_SB_.GSIF: Enabled at IRQ 21449machine # [ 1.119258] systemd[1]: Successfully made /usr/ read-only.450machine # [ 1.455567] 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.463793] systemd[1]: Detected virtualization kvm.452machine # [ 1.465272] systemd[1]: Detected architecture x86-64.453machine # [ 1.466777] systemd[1]: Running in initrd.454machine # [ 1.468328] systemd[1]: Initializing machine ID from random generator.455machine # [ 1.469995] systemd[1]: Hostname set to <machine>.456machine # [ 1.656599] systemd[1]: bpf-restrict-fs: LSM BPF program attached457machine # [ 1.691989] systemd[1]: Queued start job for default target Initrd Default Target.458machine # [ 1.696620] systemd[1]: Created slice Slice /system/modprobe.459machine # [ 1.698195] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.460machine # [ 1.700082] systemd[1]: Expecting device /dev/disk/by-label/nixos...461machine # [ 1.701619] systemd[1]: Reached target Path Units.462machine # [ 1.702827] systemd[1]: Reached target Slice Units.463machine # [ 1.704045] systemd[1]: Reached target Swaps.464machine # [ 1.705193] systemd[1]: Reached target Timer Units.465machine # [ 1.706573] systemd[1]: Listening on D-Bus System Message Bus Socket.466machine # [ 1.708294] systemd[1]: Listening on Journal Socket (/dev/log).467machine # [ 1.709866] systemd[1]: Listening on Journal Sockets.468machine # [ 1.711262] systemd[1]: Listening on udev Control Socket.469machine # [ 1.712639] systemd[1]: Listening on udev Kernel Socket.470machine # [ 1.713958] systemd[1]: Reached target Socket Units.471machine # [ 1.715989] systemd[1]: Starting Create List of Static Device Nodes...472machine # [ 1.720691] systemd[1]: Starting Load Kernel Module 9pnet_virtio...473machine # [ 1.727650] systemd[1]: Starting Load Kernel Module configfs...474machine # [ 1.739833] systemd[1]: Starting Journal Service...475machine # [ 1.751198] systemd[1]: Starting Load Kernel Modules...476machine # [ 1.759096] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os477machine # [ 1.772584] netfs: FS-Cache loaded478machine # [ 1.777190] 9pnet: Installing 9P2000 support479machine # [ 1.794293] systemd[1]: Starting Coldplug All udev Devices...480machine # [ 1.804359] systemd-journald[67]: Collecting audit messages is disabled.481machine # [ 1.812201] systemd[1]: Finished Create List of Static Device Nodes.482machine # [ 1.815401] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.483machine # [ 1.818828] systemd[1]: modprobe@9pnet_virtio.service: Deactivated successfully.484machine # [ 1.827193] systemd[1]: Finished Load Kernel Module 9pnet_virtio.485machine # [ 1.829219] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev486machine # [ 1.834491] systemd[1]: modprobe@configfs.service: Deactivated successfully.487machine # [ 1.842634] systemd[1]: Finished Load Kernel Module configfs.488machine # [ 1.850431] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config489machine # [ 1.861312] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...490machine # [ 1.875308] systemd[1]: Finished Load Kernel Modules.491machine # [ 1.884298] systemd[1]: Starting Apply Kernel Variables...492machine # [ 1.899564] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.493machine # [ 1.911289] systemd[1]: Starting Create Static Device Nodes in /dev...494machine # [ 1.924563] systemd[1]: Finished Apply Kernel Variables.495machine # [ 1.937839] systemd[1]: Finished Create Static Device Nodes in /dev.496machine # [ 1.943424] systemd[1]: Reached target Preparation for Local File Systems.497machine # [ 1.949216] systemd[1]: Reached target Local File Systems.498machine # [ 1.955292] systemd[1]: Starting Rule-based Manager for Device Events and Files...499machine # [ 1.765564] systemd-modules-load[68]: Inserted module 'dm_mod'500machine # [ 1.768499] systemd-modules-load[68]: Inserted module 'virtio_balloon'501machine # [ 1.770381] systemd-modules-load[68]: Inserted module 'virtio_gpu'502machine # [ 1.969520] systemd[1]: Started Journal Service.503machine # [ 1.795090] systemd[1]: Starting Create System Files and Directories...504machine # [ 1.817206] systemd[1]: Finished Create System Files and Directories.505machine # [ 1.821233] systemd-udevd[75]: Using default interface naming scheme 'v261'.506machine # [ 1.849146] systemd[1]: Started Rule-based Manager for Device Events and Files.507machine # [ 1.875988] systemd[1]: Finished Coldplug All udev Devices.508machine # [ 1.877268] systemd[1]: Reached target System Initialization.509machine # [ 1.878433] systemd[1]: Reached target Basic System.510machine # [ 2.286268] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12511machine # [ 2.299664] virtio_blk virtio5: 1/0/0 default/read/poll queues512machine # [ 2.307926] serio: i8042 KBD port at 0x60,0x64 irq 1513machine # [ 2.308862] serio: i8042 AUX port at 0x60,0x64 irq 12514machine # [ 2.328047] virtio_blk virtio5: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)515machine # [ 2.333675] uhci_hcd 0000:00:1d.0: UHCI Host Controller516machine # [ 2.348889] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1517machine # [ 2.356884] uhci_hcd 0000:00:1d.0: detected 2 ports518machine # [ 2.358180] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c200519machine # [ 2.362990] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18520machine # [ 2.369160] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1521machine # [ 2.374061] SCSI subsystem initialized522machine # [ 2.377244] usb usb1: Product: UHCI Host Controller523machine # [ 2.379349] usb usb1: Manufacturer: Linux 6.18.48 uhci_hcd524machine # [ 2.383530] usb usb1: SerialNumber: 0000:00:1d.0525machine # [ 2.386854] hub 1-0:1.0: USB hub found526machine # [ 2.389141] hub 1-0:1.0: 2 ports detected527machine # [ 2.393296] ehci-pci 0000:00:1d.7: EHCI Host Controller528machine # [ 2.394303] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 2529machine # [ 2.396322] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000530machine # [ 2.403150] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00531machine # [ 2.405418] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18532machine # [ 2.406830] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1533machine # [ 2.411128] usb usb2: Product: EHCI Host Controller534machine # [ 2.411999] usb usb2: Manufacturer: Linux 6.18.48 ehci_hcd535machine # [ 2.414581] usb usb2: SerialNumber: 0000:00:1d.7536machine # [ 2.417616] hub 2-0:1.0: USB hub found537machine # [ 2.419350] hub 2-0:1.0: 6 ports detected538machine # [ 2.230075] systemd[1]: Starting Virtual Console Setup...539machine # [ 2.444203] hub 1-0:1.0: USB hub found540machine # [ 2.445082] hub 1-0:1.0: 2 ports detected541machine # [ 2.448135] uhci_hcd 0000:00:1d.1: UHCI Host Controller542machine # [ 2.449065] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3543machine # [ 2.260332] systemd-vconsole-setup[99]: Configuration of first virtual console was skipped, ignoring remaining ones.544machine # [ 2.265564] systemd[1]: Finished Virtual Console Setup.545machine # [ 2.461723] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0546machine # [ 2.272301] (udev-worker)[90]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.547machine # [ 2.282071] (udev-worker)[90]: Network interface NamePolicy= disabled on kernel command line.548machine # [ 2.286900] (udev-worker)[92]: Network interface NamePolicy= disabled on kernel command line.549machine # [ 2.485262] uhci_hcd 0000:00:1d.1: detected 2 ports550machine # [ 2.493318] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c220551machine # [ 2.503199] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18552machine # [ 2.504635] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1553machine # [ 2.323648] systemd[1]: Found device /dev/disk/by-label/nixos.554machine # [ 2.517934] usb usb3: Product: UHCI Host Controller555machine # [ 2.518882] usb usb3: Manufacturer: Linux 6.18.48 uhci_hcd556machine # [ 2.328055] systemd[1]: Reached target Initrd Root Device.557machine # [ 2.330077] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos...558machine # [ 2.528159] usb usb3: SerialNumber: 0000:00:1d.1559machine # [ 2.529607] hub 3-0:1.0: USB hub found560machine # [ 2.534139] hub 3-0:1.0: 2 ports detected561machine # [ 2.355538] systemd-fsck[107]: nixos: clean, 12/65536 files, 13019/262144 blocks562machine # [ 2.552429] uhci_hcd 0000:00:1d.2: UHCI Host Controller563machine # [ 2.553369] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4564machine # [ 2.367550] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos.565machine # [ 2.562518] uhci_hcd 0000:00:1d.2: detected 2 ports566machine # [ 2.564240] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c240567machine # [ 2.566608] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode568machine # [ 2.568666] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18569machine # [ 2.570125] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1570machine # [ 2.571694] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f)571machine # [ 2.573247] usb usb4: Product: UHCI Host Controller572machine # [ 2.574336] ahci 0000:00:1f.2: flags: 64bit ncq only573machine # [ 2.575596] usb usb4: Manufacturer: Linux 6.18.48 uhci_hcd574machine # [ 2.579334] usb usb4: SerialNumber: 0000:00:1d.2575machine # [ 2.580981] scsi host0: ahci576machine # [ 2.581975] scsi host1: ahci577machine # [ 2.583817] scsi host2: ahci578machine # [ 2.587192] scsi host3: ahci579machine # [ 2.588437] hub 4-0:1.0: USB hub found580machine # [ 2.589258] scsi host4: ahci581machine # [ 2.591129] hub 4-0:1.0: 2 ports detected582machine # [ 2.592428] scsi host5: ahci583machine # [ 2.594916] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 44 lpm-pol 1584machine # [ 2.598179] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 44 lpm-pol 1585machine # [ 2.609807] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 44 lpm-pol 1586machine # [ 2.616217] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 44 lpm-pol 1587machine # [ 2.624889] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 44 lpm-pol 1588machine # [ 2.631345] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 44 lpm-pol 1589machine # [ 2.662214] usb 2-1: new high-speed USB device number 2 using ehci-pci590machine # [ 2.792320] usb 2-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00591machine # [ 2.794347] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10592machine # [ 2.796517] usb 2-1: Product: QEMU USB Tablet593machine # [ 2.797910] usb 2-1: Manufacturer: QEMU594machine # [ 2.799201] usb 2-1: SerialNumber: 28754-0000:00:1d.7-1595machine # [ 2.616155] systemd[1]: Mounting /sysroot...596machine # [ 2.816168] hid: raw HID events driver (C) Jiri Kosina597machine # [ 2.949744] ata4: SATA link down (SStatus 0 SControl 300)598machine # [ 2.951253] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)599machine # [ 2.952714] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100600machine # [ 2.954342] ata3.00: applying bridge limits601machine # [ 2.955553] ata3.00: configured for UDMA/100602machine # [ 2.956903] ata2: SATA link down (SStatus 0 SControl 300)603machine # [ 2.958486] ata1: SATA link down (SStatus 0 SControl 300)604machine # [ 2.960046] ata5: SATA link down (SStatus 0 SControl 300)605machine # [ 2.961539] ata6: SATA link down (SStatus 0 SControl 300)606machine # [ 2.963528] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5607machine # [ 3.013803] usbcore: registered new interface driver usbhid608machine # [ 3.019534] usbhid: USB HID core driver609machine # [ 3.037541] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/0003:0627:0001.0001/input/input2610machine # [ 3.043436] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:1d.7-1/input0611machine # [ 3.049284] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray612machine # [ 3.052453] EXT4-fs (vda): mounted filesystem 93bc59f8-8493-44ca-a108-725331dc7272 r/w with ordered data mode. Quota mode: none.613machine # [ 2.865143] systemd[1]: Mounted /sysroot.614machine # [ 2.868239] systemd[1]: Reached target Initrd Root File System.615machine # [ 2.871621] systemd[1]: Starting Mountpoints Configured in the Real Root...616machine # [ 3.067120] cdrom: Uniform CD-ROM driver Revision: 3.20617machine # [ 2.887620] systemd-sysroot-fstab-check[141]: /sysroot should be mounted in the initrd, will request daemon-reload.618machine # [ 2.892506] systemd[1]: Reload requested from client PID 141 ('systemd-sysroot') (unit initrd-parse-etc.service)...619machine # [ 2.894496] systemd[1]: Reloading...620machine # [ 2.971829] systemd[1]: Reloading finished in 79 ms.621machine # [ 2.980981] systemd-sysroot-fstab-check[141]: Requesting initrd-fs.target/start/replace...622machine # [ 2.986203] systemd-sysroot-fstab-check[141]: Requesting swap.target/start/replace...623machine # [ 2.989727] systemd[1]: initrd-parse-etc.service: Deactivated successfully.624machine # [ 2.991657] systemd[1]: Finished Mountpoints Configured in the Real Root.625machine # [ 2.993184] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies.626machine # [ 2.996174] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio627machine # [ 3.616814] systemd[1]: Mounting /sysroot/nix/.ro-store...628machine # [ 3.620210] systemd[1]: Mounting /sysroot/nix/.rw-store...629machine # [ 3.625183] systemd[1]: Mounting /sysroot/run...630machine # [ 3.630145] systemd[1]: Mounting /sysroot/tmp/shared...631machine # [ 3.633146] systemd[1]: Mounting /sysroot/tmp/xchg...632machine # [ 3.846650] 9p: Installing v9fs 9p2000 file system support633machine # [ 3.660745] systemd[1]: Mounted /sysroot/nix/.rw-store.634machine # [ 3.664848] systemd[1]: Mounted /sysroot/nix/.ro-store.635machine # [ 3.669351] systemd[1]: Mounted /sysroot/run.636machine # [ 3.670585] systemd[1]: Mounted /sysroot/tmp/shared.637machine # [ 3.671837] systemd[1]: Mounted /sysroot/tmp/xchg.638machine # [ 3.676900] systemd[1]: Starting rw-sysroot-nix-store.service...639machine # [ 3.687073] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.640machine # [ 3.689154] systemd[1]: Finished rw-sysroot-nix-store.service.641machine # [ 4.616377] systemd[1]: Mounting /sysroot/nix/store...642machine # [ 4.640278] systemd[1]: Mounted /sysroot/nix/store.643machine # [ 4.642426] systemd[1]: Reached target Initrd File Systems.644machine # [ 4.645089] systemd[1]: Starting Find NixOS closure...645machine # [ 4.647328] systemd[1]: Starting Create Volatile Files and Directories in the Real Root...646machine # [ 4.665548] systemd[1]: Finished Create Volatile Files and Directories in the Real Root.647machine # [ 4.669114] systemd[1]: sysroot-run-credentials-systemd\x2dtmpfiles\x2dsetup\x2dsysroot.service.mount: Deactivated successfully.648machine # [ 4.675614] systemd[1]: Finished Find NixOS closure.649machine # [ 4.677209] systemd[1]: Reached target Initrd Default Target.650machine # [ 4.679167] systemd[1]: Starting Cleaning Up and Shutting Down Daemons...651machine # [ 4.691748] systemd[1]: Stopped target Initrd Default Target.652machine # [ 4.693520] systemd[1]: Stopped target Basic System.653machine # [ 4.695108] systemd[1]: Stopped target Initrd Root Device.654machine # [ 4.697147] systemd[1]: Stopped target Path Units.655machine # [ 4.698164] systemd[1]: systemd-ask-password-console.path: Deactivated successfully.656machine # [ 4.699715] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.657machine # [ 4.701205] systemd[1]: Stopped target Slice Units.658machine # [ 4.702551] systemd[1]: Stopped target Socket Units.659machine # [ 4.704129] systemd[1]: Stopped target System Initialization.660machine # [ 4.705703] systemd[1]: Stopped target Swaps.661machine # [ 4.707155] systemd[1]: Stopped target Timer Units.662machine # [ 4.708948] systemd[1]: dbus.socket: Deactivated successfully.663machine # [ 4.710162] systemd[1]: Closed D-Bus System Message Bus Socket.664machine # [ 4.711354] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully.665machine # [ 4.713187] systemd[1]: Stopped Find NixOS closure.666machine # [ 4.715162] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio667machine # [ 4.717207] systemd[1]: Starting rw-sysroot-nix-store.service...668machine # [ 4.718387] systemd[1]: systemd-sysctl.service: Deactivated successfully.669machine # [ 4.719860] systemd[1]: Stopped Apply Kernel Variables.670machine # [ 4.721169] systemd[1]: systemd-modules-load.service: Deactivated successfully.671machine # [ 4.722734] systemd[1]: Stopped Load Kernel Modules.672machine # [ 4.724245] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully.673machine # [ 4.726820] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root.674machine # [ 4.728280] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.675machine # [ 4.729823] systemd[1]: Stopped Create System Files and Directories.676machine # [ 4.733164] systemd[1]: Stopped target Local File Systems.677machine # [ 4.734347] systemd[1]: Stopped target Preparation for Local File Systems.678machine # [ 4.735770] systemd[1]: systemd-udev-trigger.service: Deactivated successfully.679machine # [ 4.739167] systemd[1]: Stopped Coldplug All udev Devices.680machine # [ 4.740274] systemd[1]: Stopping Rule-based Manager for Device Events and Files...681machine # [ 4.743320] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.682machine # [ 4.746307] systemd[1]: Stopped Virtual Console Setup.683machine # [ 4.752613] systemd[1]: initrd-cleanup.service: Deactivated successfully.684machine # [ 4.755205] systemd[1]: Finished Cleaning Up and Shutting Down Daemons.685machine # [ 4.757344] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.686machine # [ 4.760270] systemd[1]: Finished rw-sysroot-nix-store.service.687machine # [ 4.761492] systemd[1]: systemd-udevd.service: Deactivated successfully.688machine # [ 4.762883] systemd[1]: Stopped Rule-based Manager for Device Events and Files.689machine # [ 4.766046] systemd[1]: systemd-udevd-control.socket: Deactivated successfully.690machine # [ 4.767750] systemd[1]: Closed udev Control Socket.691machine # [ 4.769657] systemd[1]: Starting Cleanup udev Database...692machine # [ 4.771088] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.693machine # [ 4.772540] systemd[1]: Stopped Create Static Device Nodes in /dev.694machine # [ 4.774174] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully.695machine # [ 4.776162] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully.696machine # [ 4.777520] systemd[1]: kmod-static-nodes.service: Deactivated successfully.697machine # [ 4.778849] systemd[1]: Stopped Create List of Static Device Nodes.698machine # [ 4.791912] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully.699machine # [ 4.794168] systemd[1]: Finished Cleanup udev Database.700machine # [ 4.796197] systemd[1]: Reached target Switch Root.701machine # [ 4.797776] systemd[1]: Starting NixOS Activation...702machine # [ 4.894827] initrd-nixos-activation-start[194]: booting system configuration /nix/store/vl3icg2r2apckvgl97z8gqv03f9j947i-nixos-system-machine-test703machine # [ 4.932735] initrd-nixos-activation-start[194]: running activation script...704machine # [ 5.196544] initrd-nixos-activation-start[217]: setting up /etc...705machine # [ 5.367427] systemd[1]: initrd-nixos-activation.service: Deactivated successfully.706machine # [ 5.369539] systemd[1]: Finished NixOS Activation.707machine # [ 5.371868] systemd[1]: Starting Switch Root...708machine # [ 5.383490] systemd[1]: Switching root.709machine # [ 5.706631] systemd-journald[67]: Received SIGTERM from PID 1 (systemd).710machine # [ 5.815806] NET: Registered PF_VSOCK protocol family711machine # [ 6.184145] 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)712machine # [ 6.189626] systemd[1]: Detected virtualization kvm.713machine # [ 6.190559] systemd[1]: Detected architecture x86-64.714machine # [ 6.191609] systemd[1]: Detected first boot.715machine # [ 6.194572] systemd[1]: Initializing machine ID from random generator.716machine # [ 6.418709] systemd[1]: bpf-restrict-fs: LSM BPF program attached717machine # [ 6.512417] systemd[1]: Applying preset policy.718machine # [ 6.855507] systemd[1]: Populated /etc with preset unit settings.719machine # [ 7.189976] systemd[1]: initrd-switch-root.service: Deactivated successfully.720machine # [ 7.191788] systemd[1]: Stopped initrd-switch-root.service.721machine # [ 7.194646] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.722machine # [ 7.196967] systemd[1]: Created slice Slice /system/getty.723machine # [ 7.198594] systemd[1]: Created slice PHP FastCGI Process Manager Slice.724machine # [ 7.200365] systemd[1]: Created slice User and Session Slice.725machine # [ 7.201524] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.726machine # [ 7.203065] systemd[1]: Started Forward Password Requests to Wall Directory Watch.727machine # [ 7.204420] systemd[1]: Expecting device /dev/hvc0...728machine # [ 7.205344] systemd[1]: Expecting device /dev/ttyS0...729machine # [ 7.206329] systemd[1]: Reached target Local Encrypted Volumes.730machine # [ 7.217250] systemd[1]: Stopped target initrd-fs.target.731machine # [ 7.218227] systemd[1]: Stopped target initrd-root-fs.target.732machine # [ 7.219275] systemd[1]: Stopped target initrd-switch-root.target.733machine # [ 7.220386] systemd[1]: Reached target Virtual Machines and Containers.734machine # [ 7.221599] systemd[1]: Reached target Path Units.735machine # [ 7.222553] systemd[1]: Reached target Remote File Systems.736machine # [ 7.223612] systemd[1]: Reached target Slice Units.737machine # [ 7.224570] systemd[1]: Reached target Swaps.738machine # [ 7.226967] systemd[1]: Listening on Query the User Interactively for a Password.739machine # [ 7.230214] systemd[1]: Listening on Process Core Dump Socket.740machine # [ 7.232682] systemd[1]: Listening on Credential Encryption/Decryption.741machine # [ 7.235220] systemd[1]: Listening on Factory Reset Management.742machine # [ 7.236407] systemd[1]: Listening on Hostname Service Socket.743machine # [ 7.239697] systemd[1]: Starting Journal Log Access Socket...744machine # [ 7.241320] systemd[1]: Listening on Journal Audit Socket.745machine # [ 7.244318] systemd[1]: Listening on Console Output Muting Service Socket.746machine # [ 7.245697] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.747machine # [ 7.247380] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os748machine # [ 7.249060] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki749machine # [ 7.255938] systemd[1]: Listening on Disk Repartitioning Service Socket.750machine # [ 7.257274] systemd[1]: Listening on udev Control Socket.751machine # [ 7.258401] systemd[1]: Listening on udev Varlink Socket.752machine # [ 7.261501] systemd[1]: Mounting Huge Pages File System...753machine # [ 7.266263] systemd[1]: Mounting POSIX Message Queue File System...754machine # [ 7.272481] systemd[1]: Mounting Kernel Debug File System...755machine # [ 7.278212] systemd[1]: Mounting Kernel Trace File System...756machine # [ 7.283799] systemd[1]: Starting Create List of Static Device Nodes...757machine # [ 7.288096] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio758machine # [ 7.306366] systemd[1]: Starting Load Kernel Module configfs...759machine # [ 7.310681] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm760machine # [ 7.318239] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore761machine # [ 7.320756] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse762machine # [ 7.333425] systemd[1]: Mounting FUSE Control File System...763machine # [ 7.334791] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67764machine # [ 7.344625] systemd[1]: Starting Journal Service...765machine # [ 7.351988] systemd[1]: Starting Load Kernel Modules...766machine # [ 7.360897] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...767machine # [ 7.374206] systemd[1]: Starting Remount Root and Kernel File Systems...768machine # [ 7.384499] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os769machine # [ 7.399111] systemd-journald[287]: Collecting audit messages is enabled.770machine # [ 7.403314] systemd[1]: Starting Coldplug All udev Devices...771machine # [ 7.419363] loop: module loaded772machine # [ 7.429570] systemd[1]: Listening on Journal Log Access Socket.773machine # [ 7.437402] systemd[1]: Mounted Huge Pages File System.774machine # [ 7.443144] systemd[1]: Mounted POSIX Message Queue File System.775machine # [ 7.446047] EXT4-fs (vda): re-mounted 93bc59f8-8493-44ca-a108-725331dc7272.776machine # [ 7.256483] systemd[1]: Queued start job for default target Multi-User System.777machine # [ 7.263184] systemd[1]: systemd-journald.service: Deactivated successfully.778machine # [ 7.457440] systemd[1]: Started Journal Service.779machine # [ 7.266708] systemd-modules-load[288]: Inserted module 'loop'780machine # [ 7.271418] systemd-modules-load[288]: Inserted module 'tls'781machine # [ 7.272921] systemd[1]: Mounted Kernel Debug File System.782machine # [ 7.276111] systemd[1]: Mounted Kernel Trace File System.783machine # [ 7.281153] systemd[1]: Finished Create List of Static Device Nodes.784machine # [ 7.284356] systemd[1]: modprobe@configfs.service: Deactivated successfully.785machine # [ 7.288581] systemd[1]: Finished Load Kernel Module configfs.786machine # [ 7.289774] systemd[1]: Mounted FUSE Control File System.787machine # [ 7.293112] systemd[1]: Finished Load Kernel Modules.788machine # [ 7.294680] systemd[1]: Finished Remount Root and Kernel File Systems.789machine # [ 7.316147] systemd[1]: Listening on Disk Image Download Service Socket.790machine # [ 7.319807] systemd[1]: Mounting Kernel Configuration File System...791machine # [ 7.329120] systemd[1]: Starting Firewall...792machine # [ 7.331477] systemd-oomd[289]: No swap; memory pressure usage will be degraded793machine # [ 7.337314] systemd[1]: Starting Flush Journal to Persistent Storage...794machine # [ 7.342310] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore795machine # [ 7.356260] systemd[1]: Starting Load/Save OS Random Seed...796machine # [ 7.361155] systemd[1]: Starting Apply Kernel Variables...797machine # [ 7.378105] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...798machine # [ 7.380219] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os799machine # [ 7.587079] systemd-journald[287]: Received client request to flush runtime journal.800machine # [ 7.620161] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.801machine # [ 7.621675] systemd[1]: Mounted Kernel Configuration File System.802machine # [ 7.624785] systemd[1]: Finished Load/Save OS Random Seed.803machine # [ 7.628662] systemd[1]: Reached target First Boot Complete.804machine # [ 7.630381] systemd[1]: Finished Apply Kernel Variables.805machine # [ 7.632784] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.806machine # [ 7.636437] systemd[1]: Starting Create Static Device Nodes in /dev...807machine # [ 7.640122] systemd[1]: Finished Create Static Device Nodes in /dev.808machine # [ 7.641413] systemd[1]: Reached target Preparation for Local File Systems.809machine # [ 7.643549] systemd[1]: Starting Rule-based Manager for Device Events and Files...810machine # [ 7.647175] systemd[1]: Finished Flush Journal to Persistent Storage.811machine # [ 7.704390] systemd-udevd[325]: Using default interface naming scheme 'v261'.812machine # [ 7.728372] systemd[1]: Finished Coldplug All udev Devices.813machine # [ 7.796335] systemd[1]: Started Rule-based Manager for Device Events and Files.814machine # [ 7.967752] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse815machine # [ 8.001358] systemd[1]: Mounting /run/wrappers...816machine # [ 8.038426] systemd[1]: Mounted /run/wrappers.817machine # [ 8.040047] systemd[1]: Reached target Local File Systems.818machine # [ 8.044289] systemd[1]: Listening on Boot Loader Control Service Socket.819machine # [ 8.050047] systemd[1]: Starting register-nix-paths.service...820machine # [ 8.053789] systemd[1]: Starting Create SUID/SGID Wrappers...821machine # [ 8.056188] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.822machine # [ 8.064707] systemd[1]: Starting Save Transient machine-id to Disk...823machine # [ 8.079993] systemd[1]: Starting Create System Files and Directories...824machine # [ 8.134205] systemd[1]: Condition check resulted in /dev/hvc0 being skipped.825machine # [ 8.178285] systemd[1]: etc-machine\x2did.mount: Deactivated successfully.826machine # [ 8.188657] systemd[1]: Finished Save Transient machine-id to Disk.827machine # [ 8.225441] systemd[1]: Finished Create System Files and Directories.828machine # [ 8.237839] systemd[1]: Starting Rebuild Journal Catalog...829machine # [ 8.247118] systemd[1]: Starting Record System Boot/Shutdown in UTMP...830machine # [ 8.249506] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped.831machine # [ 8.272622] (udev-worker)[376]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.832machine # [ 8.279275] (udev-worker)[376]: Network interface NamePolicy= disabled on kernel command line.833machine # [ 8.294519] (udev-worker)[370]: Network interface NamePolicy= disabled on kernel command line.834machine # [ 8.338866] systemd[1]: Finished Record System Boot/Shutdown in UTMP.835machine # [ 8.377112] systemd[1]: Finished Rebuild Journal Catalog.836machine # [ 8.392869] systemd[1]: Starting Update is Completed...837machine # [ 8.447190] systemd[1]: Finished Update is Completed.838machine # [ 8.477707] systemd[1]: Finished Firewall.839machine # [ 8.516840] systemd[1]: Condition check resulted in Virtio network device being skipped.840machine # [ 8.518425] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore841machine # [ 8.520406] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.842machine # [ 8.524513] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67843machine # [ 8.528482] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore844machine # [ 8.531418] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os845machine # [ 8.534201] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os846machine # [ 8.624933] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.847machine # [ 8.628630] systemd[1]: Finished Create SUID/SGID Wrappers.848machine # [ 8.914618] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3849machine # [ 8.918526] mousedev: PS/2 mouse device common for all mice850machine # [ 8.924665] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console851machine # [ 8.939633] ACPI: button: Power Button [PWRF]852machine # [ 8.995360] rtc_cmos 00:04: RTC can wake from S4853machine # [ 9.028677] rtc_cmos 00:04: registered as rtc0854machine # [ 9.028777] rtc_cmos 00:04: setting system clock to 2026-09-10T21:46:05 UTC (1789076765)855machine # [ 9.028884] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs856machine # [ 9.029230] systemd-journald[287]: Time jumped backwards, rotating.857machine # [ 8.929268] systemd[1]: Finished register-nix-paths.service.858machine # [ 8.932455] systemd[1]: Reached target System Initialization.859machine # [ 8.933854] systemd[1]: Started Discard unused filesystem blocks once a week.860machine # [ 8.935836] systemd[1]: Started Daily Cleanup of Temporary Directories.861machine # [ 8.937829] systemd[1]: Listening on D-Bus System Message Bus Socket.862machine # [ 8.940234] systemd[1]: Listening on Nix Daemon Socket.863machine # [ 8.943215] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.864machine # [ 8.944958] systemd[1]: Reached target Socket Units.865machine # [ 9.034273] parport_pc 00:02: reported by Plug and Play ACPI866machine # [ 9.034365] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]867machine # [ 8.947753] systemd[1]: Reached target Basic System.868machine # [ 8.948874] systemd[1]: Started backdoor.service.869machine # [ 8.952905] systemd[1]: Starting Import lastlog data into lastlog2 database...870machine # [ 8.961756] systemd[1]: Starting nextcloud-setup.service...871machine # [ 8.976183] systemd[1]: Starting Name Service Cache Daemon (nsncd)...872machine # [ 8.991985] systemd[1]: Starting Post-Boot Actions...873machine # [ 9.047821] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:09.0/virtio7/input/input4874machine # [ 9.055712] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized875machine # [ 9.008299] systemd[1]: Started Reset console on configuration changes.876machine # [ 9.027161] systemd[1]: Starting resolvconf update...877machine # connecting to host...878machine: Guest shell says: b'Spawning backdoor root shell...\n'879machine: connected to guest root shell880machine: (connecting took 9.83 seconds)881machine: (finished: waiting for the VM to finish booting, in 9.83 seconds)882machine # [ 9.104800] systemd[1]: Starting D-Bus System Message Bus...883machine # [ 9.061081] Console: switching to colour dummy device 80x25884machine # [ 9.181268] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt885machine # [ 9.112823] systemd[1]: Finished Post-Boot Actions.886machine # [ 9.116309] nsncd[516]: Sep 10 21:46:05.778 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"887machine # [ 9.127472] systemd[1]: Started Name Service Cache Daemon (nsncd).888machine # [ 9.149672] systemd[1]: Finished Import lastlog data into lastlog2 database.889machine # [ 9.161127] systemd[1]: Reached target Host and Network Name Lookups.890machine # [ 9.163706] systemd[1]: Reached target User and Group Name Lookups.891machine # [ 9.182288] systemd[1]: Starting User Login Management...892machine # [ 9.181381] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD893machine # [ 9.360471] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6894machine: (finished: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success, in 10.00 seconds)895machine: waiting for unit phpfpm-nextcloud.service896machine # [ 9.361108] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5897machine # [ 9.442920] [drm] Found bochs VGA, ID 0xb0c5.898machine # [ 9.442922] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.899machine # [ 9.265534] dbus-broker-launch[531]: Looking up NSS user entry for 'systemd-timesync'...900machine # [ 9.284883] dbus-broker-launch[531]: NSS returned no entry for 'systemd-timesync'901machine # [ 9.288109] dbus-broker-launch[531]: Invalid user-name in /nix/store/7n9k8p19070pj377232j3z8q3f7qgs41-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"902machine # [ 9.495225] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic903machine # [ 9.535164] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0904machine # [ 9.344234] systemd[1]: Started D-Bus System Message Bus.905machine # [ 9.357219] systemd[1]: Stopped target Host and Network Name Lookups.906machine # [ 9.359720] systemd[1]: Stopping Host and Network Name Lookups...907machine # [ 9.362420] systemd[1]: Stopped target User and Group Name Lookups.908machine # [ 9.366171] systemd[1]: Stopping User and Group Name Lookups...909machine # [ 9.368899] systemd[1]: Stopping Name Service Cache Daemon (nsncd)...910machine # [ 9.371355] systemd[1]: nscd.service: Deactivated successfully.911machine # [ 9.374805] dbus-broker-launch[531]: Ready912machine # [ 9.378241] systemd[1]: Stopped Name Service Cache Daemon (nsncd).913machine # [ 9.416511] systemd-logind[552]: New seat seat0.914machine # [ 9.418921] systemd[1]: Starting Name Service Cache Daemon (nsncd)...915machine # [ 9.426525] systemd[1]: Started User Login Management.916machine # [ 9.459433] systemd[1]: Starting linger-users.service...917machine # [ 9.470195] systemd[1]: Starting Virtual Console Setup...918machine # [ 9.508409] systemd[1]: Finished resolvconf update.919machine # [ 9.511691] nsncd[608]: Sep 10 21:46:06.175 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"920machine # [ 9.517317] systemd[1]: Started Name Service Cache Daemon (nsncd).921machine # [ 9.522772] systemd[1]: Reached target Preparation for Network.922machine # [ 9.526818] systemd[1]: Reached target Host and Network Name Lookups.923machine # [ 9.528909] systemd[1]: Reached target User and Group Name Lookups.924machine # [ 9.542422] systemd[1]: Starting DHCP Client...925machine # [ 9.889803] Console: switching to colour frame buffer device 160x50926machine # [ 9.964454] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device927machine # [ 9.547900] systemd[1]: Starting Address configuration of eth1...928machine # [ 9.779118] systemd[1]: Starting Extra networking commands....929machine # [ 9.784891] network-addresses-eth1-start[634]: adding address 192.168.1.1/24... done930machine # [ 9.787175] network-addresses-eth1-start[634]: adding address 2001:db8:1::1/64... done931machine # [ 9.790313] systemd[1]: linger-users.service: Deactivated successfully.932machine # [ 9.985145] ppdev: user-space parallel port driver933machine # [ 9.796407] systemd[1]: Finished linger-users.service.934machine # [ 9.801253] systemd-logind[552]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)935machine # [ 9.803963] systemd-logind[552]: Watching system buttons on /dev/input/event2 (Power Button)936machine # [ 9.807281] systemd[1]: Finished Address configuration of eth1.937machine # [ 9.809698] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.938machine # [ 9.812504] systemd[1]: Stopped Virtual Console Setup.939machine # [ 9.822288] systemd[1]: Starting Virtual Console Setup...940machine # [ 9.844466] systemd[1]: Finished Extra networking commands..941machine # [ 9.850676] dhcpcd[644]: dhcpcd-10.3.2 starting942machine # [ 9.855841] systemd[1]: Reached target Network.943machine # [ 9.866671] dhcpcd[704]: dev: loaded udev944machine # [ 9.867799] systemd[1]: Starting Nginx Web Server...945machine # [ 9.882785] systemd[1]: Starting Redis Server - redis-nextcloud...946machine # [ 9.891530] systemd[1]: Starting Permit User Sessions...947machine # [ 10.107926] 8021q: 802.1Q VLAN Support v1.8948machine # [ 10.109588] 8021q: adding VLAN 0 to HW filter on device eth1949machine # [ 10.150664] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660)950machine # [ 9.992359] systemd-logind[552]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard)951machine # [ 10.005694] systemd[1]: Finished Permit User Sessions.952machine # [ 10.025356] systemd[1]: Started Getty on tty1.953machine # [ 10.028955] systemd[1]: Reached target Login Prompts.954machine # [ 10.233008] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0)955machine # [ 10.489171] cfg80211: Loading compiled-in X.509 certificates for regulatory database956machine # [ 10.526248] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'957machine # [ 10.527132] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'958machine # [ 10.537550] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2959machine # [ 10.538727] cfg80211: failed to load regulatory.db960machine # [ 10.367950] systemd-vconsole-setup[700]: Configuration of first virtual console was skipped, ignoring remaining ones.961machine # [ 10.385224] nginx-pre-start[723]: nginx: the configuration file /nix/store/lx6vhh9rm8403mh1zj8vx2xw5ndwk6ic-nginx.conf syntax is ok962machine # [ 10.388256] nginx-pre-start[723]: nginx: configuration file /nix/store/lx6vhh9rm8403mh1zj8vx2xw5ndwk6ic-nginx.conf test is successful963machine # [ 10.395443] systemd[1]: Finished Virtual Console Setup.964machine # [ 10.409411] redis-server[722]: Supervised by systemd. Please make sure you set appropriate values for TimeoutStartSec and TimeoutStopSec in your service unit.965machine # [ 10.415113] redis-server[722]: oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo966machine # [ 10.417936] redis-server[722]: Redis version=8.10.1, bits=64, commit=00000000, modified=0, pid=722, just started967machine # [ 10.422171] redis-server[722]: Configuration loaded968machine # [ 10.424918] systemd[1]: Started Nginx Web Server.969machine # [ 10.427574] redis[722]: monotonic clock: POSIX clock_gettime970machine # [ 10.450564] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.971machine # [ 10.452295] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.972machine # [ 10.453842] systemd[1]: Stopped Virtual Console Setup.973machine # [ 10.458280] systemd[1]: Stopping Virtual Console Setup...974machine # [ 10.459374] redis[722]: Running mode=standalone, port=0.975machine # [ 10.466243] redis[722]: Server initialized976machine # [ 10.470736] redis[722]: Ready to accept connections unix977machine # [ 10.473457] redis[722]: WARNING: Redis does not require authentication. Redis will accept connections from any local client.978machine # [ 10.484385] systemd[1]: Starting Virtual Console Setup...979machine # [ 10.489811] systemd[1]: Started Redis Server - redis-nextcloud.980machine # [ 10.692990] 8021q: adding VLAN 0 to HW filter on device eth0981machine # [ 10.501247] dhcpcd[704]: eth0: waiting for carrier982machine # [ 10.507433] dhcpcd[704]: eth0: carrier acquired983machine # [ 10.530758] dhcpcd[704]: DUID 00:01:00:01:32:35:e1:9f:52:54:00:12:34:56984machine # [ 10.532127] dhcpcd[704]: eth0: IAID 00:12:34:56985machine # [ 10.534406] dhcpcd[704]: eth0: adding address fe80::5054:ff:fe12:3456986machine # [ 10.605361] dhcpcd[704]: eth0: soliciting a DHCP lease987machine # [ 10.822114] NET: Registered PF_PACKET protocol family988machine # [ 10.641630] dhcpcd[704]: eth0: offered 10.0.2.15 from 10.0.2.2989machine # [ 10.644603] dhcpcd[704]: eth0: probing address 10.0.2.15/24990machine # [ 10.857523] kvm_amd: TSC scaling supported991machine # [ 10.858226] kvm_amd: Nested Virtualization enabled992machine # [ 10.858891] kvm_amd: Nested Paging enabled993machine # [ 10.860094] kvm_amd: LBR virtualization supported994machine # [ 10.860765] kvm_amd: Virtual VMLOAD VMSAVE supported995machine # [ 10.862156] kvm_amd: Virtual GIF supported996machine # [ 10.924911] EDAC MC: Ver: 3.0.0997machine # [ 10.813970] systemd-vconsole-setup[749]: Configuration of first virtual console was skipped, ignoring remaining ones.998machine # [ 10.818655] systemd[1]: Finished Virtual Console Setup.999machine # [ 12.818615] dhcpcd[704]: eth0: soliciting an IPv6 router1000machine # [ 12.820277] dhcpcd[704]: eth0: Router Advertisement from fe80::21001machine # [ 12.822170] dhcpcd[704]: eth0: adding address fec0::5054:ff:fe12:3456/641002machine # [ 12.823427] dhcpcd[704]: eth0: adding route to fec0::/641003machine # [ 12.824558] dhcpcd[704]: eth0: adding default route via fe80::21004machine # [ 15.870187] dhcpcd[704]: eth0: leased 10.0.2.15 for 86400 seconds1005machine # [ 15.872619] dhcpcd[704]: eth0: adding route to 10.0.2.0/241006machine # [ 15.874455] dhcpcd[704]: eth0: adding default route via 10.0.2.21007machine # [ 15.991492] systemd[1]: Started DHCP Client.1008machine # [ 21.255522] nextcloud-setup-start[522]: Nextcloud was successfully installed1009machine # [ 22.334169] nextcloud-setup-start[919]: No upgrade required.1010machine # [ 22.337083] nextcloud-setup-start[919]: Note: This command triggers the upgrade actions associated with a new version. The new version's updated source files must be deployed in advance.1011machine # [ 22.339754] nextcloud-setup-start[919]: See the upgrade documentation: https://docs.nextcloud.com/server/33/go.php?to=admin-update for more information.1012machine # [ 23.180246] nextcloud-setup-start[932]: System config value trusted_domains deleted1013machine # [ 24.109125] nextcloud-setup-start[941]: rhwpviewer 0.1.0 enabled1014machine # [ 24.948597] nextcloud-setup-start[953]: System config value trusted_domains => 0 set to string localhost1015machine # [ 24.974402] systemd[1]: nextcloud-setup.service: Deactivated successfully.1016machine # [ 24.976444] systemd[1]: Finished nextcloud-setup.service.1017machine # [ 24.978185] systemd[1]: nextcloud-setup.service: Consumed 5.483s CPU time over 16.014s wall clock time, 149.6M memory peak, 12.7M written to disk.1018machine # [ 24.982733] systemd[1]: Started nextcloud-cron.timer.1019machine # [ 24.984283] systemd[1]: Reached target Timer Units.1020machine # [ 24.987384] systemd[1]: Starting nextcloud-update-db.service...1021machine # [ 24.992252] systemd[1]: Starting PHP FastCGI Process Manager service for pool nextcloud...1022machine # [ 25.223536] php-fpm[967]: [10-Sep-2026 21:46:21] NOTICE: systemd watchdog configured to 7.5sec1023machine # [ 25.232340] php-fpm[967]: [NOTICE] fpm is running, pid 9671024machine # [ 25.263832] php-fpm[967]: [NOTICE] ready to handle connections1025machine # [ 25.268545] systemd[1]: Started PHP FastCGI Process Manager service for pool nextcloud.1026machine # [ 25.270275] php-fpm[967]: [NOTICE] systemd monitor interval set to 7500ms1027machine # [ 25.272893] systemd[1]: Reached target PHP FastCGI Process manager pools target.1028machine # [ 25.274589] systemd[1]: Reached target Multi-User System.1029machine # [ 25.287254] php[966]: Cannot write into "config" directory!1030machine # [ 25.288375] php[966]: This can usually be fixed by giving the web server write access to the config directory.1031machine # [ 25.290275] php[966]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.1032machine # [ 25.293080] php[966]: See https://docs.nextcloud.com/server/33/go.php?to=admin-config1033machine # [ 25.333389] systemd[1]: Started nextcloud-update-db.service.1034machine # [ 25.334942] systemd[1]: Startup finished in 863ms (kernel) + 4.715s (initrd) + 19.755s (userspace) = 25.334s.1035machine: (finished: waiting for unit phpfpm-nextcloud.service, in 16.31 seconds)1036machine: waiting for unit nginx.service1037machine: (finished: waiting for unit nginx.service, in 0.04 seconds)1038machine: waiting for TCP port 80 on localhost1039machine # Connection to localhost (127.0.0.1) 80 port [tcp/http] succeeded!1040machine: (finished: waiting for TCP port 80 on localhost, in 0.05 seconds)1041machine: waiting for success: curl --fail --silent --show-error http://localhost/status.php1042machine: (finished: waiting for success: curl --fail --silent --show-error http://localhost/status.php, in 0.52 seconds)1043machine: must succeed: nextcloud-occ app:list --enabled1044machine # [ 26.230838] sudo[1000]: root : TTY=hvc0 ; PWD=/nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-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 --enabled1045machine # [ 26.247789] sudo[1000]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1046machine # [ 26.282962] nextcloud-update-db-start[983]: Done.1047machine # [ 27.240671] sudo[1000]: pam_unix(sudo:session): session closed for user nextcloud1048machine: (finished: must succeed: nextcloud-occ app:list --enabled, in 1.07 seconds)1049machine: must succeed: nextcloud-occ app:getpath rhwpviewer1050machine # [ 27.284246] sudo[1011]: root : TTY=hvc0 ; PWD=/nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-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 rhwpviewer1051machine # [ 27.303297] sudo[1011]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1052machine # [ 28.278237] sudo[1011]: pam_unix(sudo:session): session closed for user nextcloud1053machine: (finished: must succeed: nextcloud-occ app:getpath rhwpviewer, in 1.04 seconds)1054machine: must succeed: test -x /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp1055machine: (finished: must succeed: test -x /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp, in 0.02 seconds)1056machine: must succeed: /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null1057machine: (finished: must succeed: /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null, in 0.04 seconds)1058machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php1059machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php, in 0.01 seconds)1060machine: must succeed: grep -q 'RHWP Studio' /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml1061machine: (finished: must succeed: grep -q 'RHWP Studio' /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml, in 0.02 seconds)1062machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php1063machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php, in 0.01 seconds)1064machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php1065machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php, in 0.01 seconds)1066machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php1067machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php, in 0.02 seconds)1068machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php1069machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php, in 0.01 seconds)1070machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php1071machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php, in 0.01 seconds)1072machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php1073machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php, in 0.02 seconds)1074machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php1075machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php, in 0.02 seconds)1076machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php1077machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php, in 0.02 seconds)1078machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php1079machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php, in 0.02 seconds)1080machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html1081machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html, in 0.02 seconds)1082machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js1083machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js, in 0.02 seconds)1084machine: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js1085machine # [ 28.550837] nextcloud-update-db-start[1019]: Done.1086machine: (finished: must succeed: test -f /nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js, in 0.02 seconds)1087machine: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root1088machine # [ 28.584851] systemd[1]: nextcloud-update-db.service: Deactivated successfully.1089machine # [ 28.587460] systemd[1]: nextcloud-update-db.service: Consumed 1.228s CPU time over 3.598s wall clock time, 51.8M memory peak.1090machine # [ 28.604865] sudo[1072]: root : TTY=hvc0 ; PWD=/nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-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 root1091machine # [ 28.619394] sudo[1072]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1092machine # [ 29.430991] Nextcloud[1078]: {"reqId":"gMsRgmoS19Mn2Gcyr9C6","level":2,"time":"2026-09-10T21:46:26+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 # [ 29.438464] Nextcloud[1078]: {"reqId":"gMsRgmoS19Mn2Gcyr9C6","level":2,"time":"2026-09-10T21:46:26+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 # [ 29.445379] Nextcloud[1078]: {"reqId":"gMsRgmoS19Mn2Gcyr9C6","level":2,"time":"2026-09-10T21:46:26+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 # [ 29.452065] Nextcloud[1078]: {"reqId":"gMsRgmoS19Mn2Gcyr9C6","level":2,"time":"2026-09-10T21:46:26+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"}}1096machine # [ 29.758968] sudo[1072]: pam_unix(sudo:session): session closed for user nextcloud1097machine: (finished: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root, in 1.20 seconds)1098machine: must succeed: 1099install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1100install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1101install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1102install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1103nextcloud-occ files:scan root11041105machine # [ 29.832402] sudo[1081]: root : TTY=hvc0 ; PWD=/nix/store/hvfap98f69ilmwznv7ww3x6b6k6m2rm4-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 root1106machine # [ 29.846390] sudo[1081]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1107machine # [ 30.700922] sudo[1081]: pam_unix(sudo:session): session closed for user nextcloud1108machine: (finished: must succeed: 1109install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1110install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1111install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1112install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1113nextcloud-occ files:scan root1114, in 0.94 seconds)1115machine: must succeed: 1116python3 - <<'PY'1117import base641118import http.cookiejar1119import json1120import re1121import urllib.error1122import urllib.parse1123import urllib.request1124import xml.etree.ElementTree as ET11251126base = "http://localhost"1127password = "CorrectHorseBatteryStaple42!"1128sample_filename = "한글 제목 샘플.hwp"1129sample_hwpx_filename = "한글 제목 샘플.hwpx"1130sample_dirname = "rhwpviewer-sample-dir"1131cookies = http.cookiejar.CookieJar()1132opener = urllib.request.build_opener(1133 urllib.request.HTTPCookieProcessor(cookies)1134)11351136def get_file_id(filename):1137 body = (1138 '<?xml version="1.0" encoding="utf-8" ?>\n'1139 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1140 ' <d:prop><oc:fileid /></d:prop>\n'1141 '</d:propfind>\n'1142 ).encode()1143 credentials = base64.b64encode(f"root:{password}".encode()).decode()1144 request = urllib.request.Request(1145 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1146 data=body,1147 headers={1148 "Authorization": "Basic " + credentials,1149 "Content-Type": "application/xml",1150 "Depth": "0",1151 },1152 method="PROPFIND",1153 )1154 response = urllib.request.urlopen(request)1155 assert response.status == 207, response.status1156 xml = response.read()1157 root = ET.fromstring(xml)1158 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1159 assert file_id is not None, xml.decode("utf-8", "replace")1160 file_id = file_id.strip()1161 assert file_id.isdigit(), file_id1162 return file_id11631164login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1165match = re.search(r'data-requesttoken="([^"]+)"', login_html)1166assert match, login_html[:1000]1167token = match.group(1)11681169data = urllib.parse.urlencode({1170 "user": "root",1171 "password": password,1172 "requesttoken": token,1173 "timezone": "UTC",1174 "timezone_offset": "0",1175}).encode()11761177request = urllib.request.Request(1178 base + "/login",1179 data=data,1180 headers={1181 "Origin": base,1182 "Content-Type": "application/x-www-form-urlencoded",1183 },1184)1185opener.open(request)11861187response = opener.open(base + "/apps/rhwpviewer/")1188assert response.status == 200, response.status1189html = response.read().decode("utf-8", "replace")1190assert "rhwpviewer-root" in html, html[:1000]1191assert "viewer.js" in html, html[:1000]1192assert "Viewer route is ready" in html, html[:1000]11931194response = opener.open(base + "/apps/files/")1195assert response.status == 200, response.status1196html = response.read().decode("utf-8", "replace")1197assert "files-action.js" in html, html[:1000]1198action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1199assert action_script, html[:1000]1200action_response = opener.open(base + action_script.group(1))1201action_js = action_response.read().decode("utf-8", "replace")1202assert "Open in RHWP Studio" in action_js, action_js[:1000]1203assert "Edit with RHWP" not in action_js, action_js[:1000]1204assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1205assert "default" in action_js, action_js[:1000]12061207def check_editor(filename):1208 file_id = get_file_id(filename)1209 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1210 assert response.status == 200, response.status1211 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1212 decoded_editor_url = urllib.parse.unquote(response.geturl())1213 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1214 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1215 assert "한글" not in decoded_editor_url, decoded_editor_url1216 studio_html = response.read().decode("utf-8", "replace")12171218 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1219 assert content_response.status == 200, content_response.status1220 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1221 content = content_response.read()1222 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]12231224 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1225 assert "rhwp-studio" in studio_html, studio_html[:1000]1226 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1227 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1228 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1229 assert token_match, studio_html[:1000]1230 save_request = urllib.request.Request(1231 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1232 data=content,1233 headers={1234 "Content-Type": "application/octet-stream",1235 "requesttoken": token_match.group(1),1236 },1237 method="PUT",1238 )1239 save_response = opener.open(save_request)1240 assert save_response.status == 200, save_response.status1241 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1242 assert save_payload["status"] == "ok", save_payload1243 assert save_payload["fileId"] == int(file_id), save_payload1244 assert save_payload["bytes"] == len(content), save_payload1245 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1246 assert saved_content == content, len(saved_content)1247 # theme-init.js: nonced and moved off the document root onto the app1248 # subpath, so it loads under Nextcloud and passes the CSP.1249 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1250 theme_match = re.search(1251 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1252 )1253 assert theme_match, studio_html[:1000]1254 assert "nonce=" in theme_match.group(1), theme_match.group(0)1255 # The app bundle is the ES module script; check it specifically rather1256 # than the first <script src> (which is now theme-init.js).1257 module_match = re.search(1258 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1259 )1260 assert module_match, studio_html[:1000]1261 assert "nonce=" in module_match.group(1), module_match.group(0)1262 script_src = module_match.group(2)1263 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1264 assert 'src="/assets/' not in studio_html, studio_html[:1000]1265 assert 'href="/assets/' not in studio_html, studio_html[:1000]1266 assert "registerSW.js" not in studio_html, studio_html[:1000]1267 # Catch-all guards so a future RHWP Studio <head> change fails loudly1268 # and points at exactly what studioHtml() must handle, rather than1269 # tripping an indirect assertion. (1) no root-absolute asset ref may1270 # survive un-rewritten off the app subpath; (2) every <script src>1271 # must carry the CSP nonce.1272 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1273 assert stray is None, stray.group(0) if stray else studio_html[:1000]1274 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1275 assert "nonce=" in tag, tag12761277 asset_response = opener.open(base + script_src)1278 assert asset_response.status == 200, asset_response.status1279 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1280 asset_js = asset_response.read().decode("utf-8", "replace")1281 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1282 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1283 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1284 return file_id12851286def check_svg_export(filename):1287 file_id = get_file_id(filename)1288 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1289 assert response.status == 200, response.status1290 html = response.read().decode("utf-8", "replace")1291 assert "rhwpviewer-root" in html, html[:1000]1292 assert "rhwpviewer-pages" in html, html[:1000]1293 assert "viewer.js" in html, html[:1000]1294 assert f'data-file-id="{file_id}"' in html, html[:1000]1295 assert file_id in html, html[:1000]1296 assert filename in html, html[:1000]12971298 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1299 assert response.status == 200, response.status1300 payload = json.loads(response.read().decode("utf-8", "replace"))1301 assert payload["fileId"] == int(file_id), payload1302 assert payload["fileName"] == filename, payload1303 assert payload["status"] == "ok", payload1304 assert payload["kind"] == "svg", payload1305 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1306 first_page = payload["pages"][0]1307 assert first_page["index"] == 0, payload1308 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1309 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1310 assert first_page["url"].endswith(".svg"), payload1311 assert filename not in first_page["url"], payload1312 assert "한글" not in first_page["url"], payload13131314 page_response = opener.open(base + first_page["url"])1315 assert page_response.status == 200, page_response.status1316 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1317 svg = page_response.read().decode("utf-8", "replace")1318 assert "<svg" in svg[:1000], svg[:1000]1319 return file_id13201321file_id = check_svg_export(sample_filename)1322check_svg_export(sample_hwpx_filename)1323check_editor(sample_filename)1324check_editor(sample_hwpx_filename)13251326directory_id = get_file_id(sample_dirname)1327try:1328 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1329 raise AssertionError("directory fileId unexpectedly succeeded")1330except urllib.error.HTTPError as error:1331 assert error.code == 404, error.code13321333try:1334 opener.open(base + "/apps/rhwpviewer/view/999999999")1335 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1336except urllib.error.HTTPError as error:1337 assert error.code == 404, error.code13381339try:1340 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1341 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1342except urllib.error.HTTPError as error:1343 assert error.code == 404, error.code13441345try:1346 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1347 raise AssertionError("bogus page unexpectedly succeeded")1348except urllib.error.HTTPError as error:1349 assert error.code == 404, error.code1350PY13511352machine: (finished: must succeed: 1353python3 - <<'PY'1354import base641355import http.cookiejar1356import json1357import re1358import urllib.error1359import urllib.parse1360import urllib.request1361import xml.etree.ElementTree as ET13621363base = "http://localhost"1364password = "CorrectHorseBatteryStaple42!"1365sample_filename = "한글 제목 샘플.hwp"1366sample_hwpx_filename = "한글 제목 샘플.hwpx"1367sample_dirname = "rhwpviewer-sample-dir"1368cookies = http.cookiejar.CookieJar()1369opener = urllib.request.build_opener(1370 urllib.request.HTTPCookieProcessor(cookies)1371)13721373def get_file_id(filename):1374 body = (1375 '<?xml version="1.0" encoding="utf-8" ?>\n'1376 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1377 ' <d:prop><oc:fileid /></d:prop>\n'1378 '</d:propfind>\n'1379 ).encode()1380 credentials = base64.b64encode(f"root:{password}".encode()).decode()1381 request = urllib.request.Request(1382 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1383 data=body,1384 headers={1385 "Authorization": "Basic " + credentials,1386 "Content-Type": "application/xml",1387 "Depth": "0",1388 },1389 method="PROPFIND",1390 )1391 response = urllib.request.urlopen(request)1392 assert response.status == 207, response.status1393 xml = response.read()1394 root = ET.fromstring(xml)1395 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1396 assert file_id is not None, xml.decode("utf-8", "replace")1397 file_id = file_id.strip()1398 assert file_id.isdigit(), file_id1399 return file_id14001401login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1402match = re.search(r'data-requesttoken="([^"]+)"', login_html)1403assert match, login_html[:1000]1404token = match.group(1)14051406data = urllib.parse.urlencode({1407 "user": "root",1408 "password": password,1409 "requesttoken": token,1410 "timezone": "UTC",1411 "timezone_offset": "0",1412}).encode()14131414request = urllib.request.Request(1415 base + "/login",1416 data=data,1417 headers={1418 "Origin": base,1419 "Content-Type": "application/x-www-form-urlencoded",1420 },1421)1422opener.open(request)14231424response = opener.open(base + "/apps/rhwpviewer/")1425assert response.status == 200, response.status1426html = response.read().decode("utf-8", "replace")1427assert "rhwpviewer-root" in html, html[:1000]1428assert "viewer.js" in html, html[:1000]1429assert "Viewer route is ready" in html, html[:1000]14301431response = opener.open(base + "/apps/files/")1432assert response.status == 200, response.status1433html = response.read().decode("utf-8", "replace")1434assert "files-action.js" in html, html[:1000]1435action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1436assert action_script, html[:1000]1437action_response = opener.open(base + action_script.group(1))1438action_js = action_response.read().decode("utf-8", "replace")1439assert "Open in RHWP Studio" in action_js, action_js[:1000]1440assert "Edit with RHWP" not in action_js, action_js[:1000]1441assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1442assert "default" in action_js, action_js[:1000]14431444def check_editor(filename):1445 file_id = get_file_id(filename)1446 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1447 assert response.status == 200, response.status1448 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1449 decoded_editor_url = urllib.parse.unquote(response.geturl())1450 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1451 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1452 assert "한글" not in decoded_editor_url, decoded_editor_url1453 studio_html = response.read().decode("utf-8", "replace")14541455 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1456 assert content_response.status == 200, content_response.status1457 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1458 content = content_response.read()1459 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]14601461 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1462 assert "rhwp-studio" in studio_html, studio_html[:1000]1463 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1464 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1465 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1466 assert token_match, studio_html[:1000]1467 save_request = urllib.request.Request(1468 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1469 data=content,1470 headers={1471 "Content-Type": "application/octet-stream",1472 "requesttoken": token_match.group(1),1473 },1474 method="PUT",1475 )1476 save_response = opener.open(save_request)1477 assert save_response.status == 200, save_response.status1478 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1479 assert save_payload["status"] == "ok", save_payload1480 assert save_payload["fileId"] == int(file_id), save_payload1481 assert save_payload["bytes"] == len(content), save_payload1482 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1483 assert saved_content == content, len(saved_content)1484 # theme-init.js: nonced and moved off the document root onto the app1485 # subpath, so it loads under Nextcloud and passes the CSP.1486 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1487 theme_match = re.search(1488 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1489 )1490 assert theme_match, studio_html[:1000]1491 assert "nonce=" in theme_match.group(1), theme_match.group(0)1492 # The app bundle is the ES module script; check it specifically rather1493 # than the first <script src> (which is now theme-init.js).1494 module_match = re.search(1495 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1496 )1497 assert module_match, studio_html[:1000]1498 assert "nonce=" in module_match.group(1), module_match.group(0)1499 script_src = module_match.group(2)1500 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1501 assert 'src="/assets/' not in studio_html, studio_html[:1000]1502 assert 'href="/assets/' not in studio_html, studio_html[:1000]1503 assert "registerSW.js" not in studio_html, studio_html[:1000]1504 # Catch-all guards so a future RHWP Studio <head> change fails loudly1505 # and points at exactly what studioHtml() must handle, rather than1506 # tripping an indirect assertion. (1) no root-absolute asset ref may1507 # survive un-rewritten off the app subpath; (2) every <script src>1508 # must carry the CSP nonce.1509 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1510 assert stray is None, stray.group(0) if stray else studio_html[:1000]1511 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1512 assert "nonce=" in tag, tag15131514 asset_response = opener.open(base + script_src)1515 assert asset_response.status == 200, asset_response.status1516 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1517 asset_js = asset_response.read().decode("utf-8", "replace")1518 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1519 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1520 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1521 return file_id15221523def check_svg_export(filename):1524 file_id = get_file_id(filename)1525 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1526 assert response.status == 200, response.status1527 html = response.read().decode("utf-8", "replace")1528 assert "rhwpviewer-root" in html, html[:1000]1529 assert "rhwpviewer-pages" in html, html[:1000]1530 assert "viewer.js" in html, html[:1000]1531 assert f'data-file-id="{file_id}"' in html, html[:1000]1532 assert file_id in html, html[:1000]1533 assert filename in html, html[:1000]15341535 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1536 assert response.status == 200, response.status1537 payload = json.loads(response.read().decode("utf-8", "replace"))1538 assert payload["fileId"] == int(file_id), payload1539 assert payload["fileName"] == filename, payload1540 assert payload["status"] == "ok", payload1541 assert payload["kind"] == "svg", payload1542 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1543 first_page = payload["pages"][0]1544 assert first_page["index"] == 0, payload1545 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1546 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1547 assert first_page["url"].endswith(".svg"), payload1548 assert filename not in first_page["url"], payload1549 assert "한글" not in first_page["url"], payload15501551 page_response = opener.open(base + first_page["url"])1552 assert page_response.status == 200, page_response.status1553 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1554 svg = page_response.read().decode("utf-8", "replace")1555 assert "<svg" in svg[:1000], svg[:1000]1556 return file_id15571558file_id = check_svg_export(sample_filename)1559check_svg_export(sample_hwpx_filename)1560check_editor(sample_filename)1561check_editor(sample_hwpx_filename)15621563directory_id = get_file_id(sample_dirname)1564try:1565 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1566 raise AssertionError("directory fileId unexpectedly succeeded")1567except urllib.error.HTTPError as error:1568 assert error.code == 404, error.code15691570try:1571 opener.open(base + "/apps/rhwpviewer/view/999999999")1572 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1573except urllib.error.HTTPError as error:1574 assert error.code == 404, error.code15751576try:1577 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1578 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1579except urllib.error.HTTPError as error:1580 assert error.code == 404, error.code15811582try:1583 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1584 raise AssertionError("bogus page unexpectedly succeeded")1585except urllib.error.HTTPError as error:1586 assert error.code == 404, error.code1587PY1588, in 7.64 seconds)1589(finished: run the VM test script, in 39.26 seconds)1590test script finished in 39.30s1591cleanup1592kill QemuMachine (pid 45)1593machine # qemu-system-x86_64: terminating on signal 15 from pid 39 (/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/bin/python3.14)1594(finished: cleanup, in 0.18 seconds)