vm-test-run-nextcloud-rhwpviewer
checks.x86_64-linux.nextcloud
· build #30
· 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 # Formatting '/build/vm-state-machine/tmp.H6v72O4YYi', fmt=raw size=107374182413machine # mke2fs 1.47.4 (6-Mar-2025)14machine # Discarding device blocks: 0/262144 done15machine # Creating filesystem with 262144 4k blocks and 65536 inodes16machine # Filesystem UUID: 78aba522-a94c-425e-920f-bccca7a8c0cc17machine # Superblock backups stored on blocks:18machine # 32768, 98304, 163840, 22937619machine: QEMU running (pid 45)20machine # 21machine # Allocating group tables: 0/8 done22machine # Writing inode tables: 0/8 done23machine # Creating journal (8192 blocks): done24machine: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success25machine # Writing superblocks and filesystem accounting information: 0/8 done26machine: waiting for the VM to finish booting27machine # 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)... ok[ 0.000000] Linux version 6.18.49 (nixbld@localhost) (gcc (GCC) 15.3.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Wed Sep 2 12:31:51 UTC 202644machine # [ 0.000000] Command line: console=ttyS0 console=tty0 panic=1 boot.panic_on_fail clocksource=acpi_pm root=fstab loglevel=7 net.ifnames=0 lsm=landlock,yama,bpf init=/nix/store/x05axic0vablfijaqp5axb9xnvjrng61-nixos-system-machine-test/init regInfo=/nix/store/7y0dz8pw8znjlf8fnw1xv9fikyj9pw77-closure-info/registration console=ttyS0,115200n8 console=tty045machine # [ 0.000000] x86 CPU feature dependency check failure: CPU0 has '18*32+31' enabled but '18*32+26' disabled. Kernel might be fine, but no guarantees.46machine # [ 0.000000] BIOS-provided physical RAM map:47machine # [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable48machine # [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved49machine # [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved50machine # [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffd7fff] usable51machine # [ 0.000000] BIOS-e820: [mem 0x000000003ffd8000-0x000000003fffffff] reserved52machine # [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved53machine # [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved54machine # [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved55machine # [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved56machine # [ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved57machine # [ 0.000000] NX (Execute Disable) protection: active58machine # [ 0.000000] APIC: Static calls initialized59machine # [ 0.000000] SMBIOS 2.8 present.60machine # [ 0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/201461machine # [ 0.000000] DMI: Memory slots populated: 1/162machine # [ 0.000000] Hypervisor detected: KVM63machine # [ 0.000000] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000064machine # [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d0065machine # [ 0.000000] kvm-clock: using sched offset of 430545873 cycles66machine # [ 0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns67machine # [ 0.000004] tsc: Detected 3792.874 MHz processor68machine # [ 0.000656] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000069machine # [ 0.000679] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs70machine # [ 0.000681] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT71machine # [ 0.002236] found SMP MP-table at [mem 0x000f5450-0x000f545f]72machine # [ 0.002245] Using GB pages for direct mapping73machine # [ 0.002309] RAMDISK: [mem 0x3e36b000-0x3ffcffff]74machine # [ 0.002314] ACPI: Early table checksum verification disabled75machine # [ 0.002316] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS )76machine # [ 0.002319] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)77machine # [ 0.002323] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001)78machine # [ 0.002328] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001)79machine # [ 0.002330] ACPI: FACS 0x000000003FFE0000 00004080machine # [ 0.002331] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001)81machine # [ 0.002333] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)82machine # [ 0.002334] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)83machine # [ 0.002336] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)84machine # [ 0.002337] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d]85machine # [ 0.002338] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219]86machine # [ 0.002338] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]87machine # [ 0.002338] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385]88machine # [ 0.002339] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd]89machine # [ 0.002339] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9]90machine # [ 0.002340] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421]91machine # [ 0.002715] No NUMA configuration found92machine # [ 0.002716] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff]93machine # [ 0.002719] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff]94machine # [ 0.002802] Zone ranges:95machine # [ 0.002802] DMA [mem 0x0000000000001000-0x0000000000ffffff]96machine # [ 0.002804] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff]97machine # [ 0.002804] Normal empty98machine # [ 0.002805] Device empty99machine # [ 0.002806] Movable zone start for each node100machine # [ 0.002806] Early memory node ranges101machine # [ 0.002806] node 0: [mem 0x0000000000001000-0x000000000009efff]102machine # [ 0.002807] node 0: [mem 0x0000000000100000-0x000000003ffd7fff]103machine # [ 0.002808] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff]104machine # [ 0.002825] On node 0, zone DMA: 1 pages in unavailable ranges105machine # [ 0.003039] On node 0, zone DMA: 97 pages in unavailable ranges106machine # [ 0.017476] On node 0, zone DMA32: 40 pages in unavailable ranges107machine # [ 0.018338] ACPI: PM-Timer IO Port: 0x608108machine # [ 0.018346] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])109machine # [ 0.018366] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23110machine # [ 0.018368] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)111machine # [ 0.018369] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)112machine # [ 0.018370] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)113machine # [ 0.018370] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)114machine # [ 0.018371] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)115machine # [ 0.018373] ACPI: Using ACPI (MADT) for SMP configuration information116machine # [ 0.018374] ACPI: HPET id: 0x8086a201 base: 0xfed00000117machine # [ 0.018376] TSC deadline timer available118machine # [ 0.018380] CPU topo: Max. logical packages: 1119machine # [ 0.018381] CPU topo: Max. logical dies: 1120machine # [ 0.018381] CPU topo: Max. dies per package: 1121machine # [ 0.018384] CPU topo: Max. threads per core: 1122machine # [ 0.018385] CPU topo: Num. cores per package: 1123machine # [ 0.018385] CPU topo: Num. threads per package: 1124machine # [ 0.018385] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs125machine # [ 0.018396] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()126machine # [ 0.018421] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]127machine # [ 0.018422] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]128machine # [ 0.018423] [mem 0x40000000-0xafffffff] available for PCI devices129machine # [ 0.018424] Booting paravirtualized kernel on KVM130machine # [ 0.018426] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns131machine # [ 0.022170] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1132machine # [ 0.023936] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152133machine # [ 0.023968] kvm-guest: PV spinlocks disabled, single CPU134machine # [ 0.023970] 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/x05axic0vablfijaqp5axb9xnvjrng61-nixos-system-machine-test/init regInfo=/nix/store/7y0dz8pw8znjlf8fnw1xv9fikyj9pw77-closure-info/registration console=ttyS0,115200n8 console=tty0135machine # [ 0.024044] Unknown kernel command line parameters "regInfo=/nix/store/7y0dz8pw8znjlf8fnw1xv9fikyj9pw77-closure-info/registration", will be passed to user space.136machine # [ 0.024062] random: crng init done137machine # [ 0.024062] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes138machine # [ 0.024930] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)139machine # [ 0.024942] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)140machine # [ 0.024965] Fallback order for Node 0: 0141machine # [ 0.024967] Built 1 zonelists, mobility grouping on. Total pages: 262006142machine # [ 0.024968] Policy zone: DMA32143machine # [ 0.026945] mem auto-init: stack:all(zero), heap alloc:on, heap free:off144machine # [ 0.029455] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1145machine # [ 0.031475] allocated 2097152 bytes of page_ext146machine # [ 0.040302] ftrace: allocating 48732 entries in 192 pages147machine # [ 0.040303] ftrace: allocated 192 pages with 2 groups148machine # [ 0.040994] Dynamic Preempt: lazy149machine # [ 0.041141] rcu: Preemptible hierarchical RCU implementation.150machine # [ 0.041142] rcu: RCU event tracing is enabled.151machine # [ 0.041142] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1.152machine # [ 0.041143] Trampoline variant of Tasks RCU enabled.153machine # [ 0.041144] Rude variant of Tasks RCU enabled.154machine # [ 0.041144] Tracing variant of Tasks RCU enabled.155machine # [ 0.041145] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.156machine # [ 0.041145] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1157machine # [ 0.041157] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.158machine # [ 0.041159] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.159machine # [ 0.041159] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.160machine # [ 0.044930] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16161machine # [ 0.045174] rcu: srcu_init: Setting srcu_struct sizes based on contention.162machine # [ 0.045179] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns163machine # [ 0.045262] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)164machine # [ 0.050852] Console: colour VGA+ 80x25165machine # [ 0.050855] printk: legacy console [tty0] enabled166machine # [ 0.083608] printk: legacy console [ttyS0] enabled167machine # [ 0.232384] ACPI: Core revision 20250807168machine # [ 0.233526] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns169machine # [ 0.235649] APIC: Switch to symmetric I/O mode setup170machine # [ 0.236960] x2apic enabled171machine # [ 0.237863] APIC: Switched APIC routing to: physical x2apic172machine # [ 0.239979] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1173machine # [ 0.241357] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns174machine # [ 0.243644] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874)175machine # [ 0.244716] x86/cpu: User Mode Instruction Prevention (UMIP) activated176machine # [ 0.246749] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127177machine # [ 0.247644] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0178machine # [ 0.249647] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto179machine # [ 0.250644] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl180machine # [ 0.251644] Spectre V2 : Mitigation: Retpolines181machine # [ 0.252644] Speculative Return Stack Overflow: Mitigation: Safe RET182machine # [ 0.253643] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization183machine # [ 0.255644] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT184machine # [ 0.257643] Spectre V2 : Enabling Restricted Speculation for firmware calls185machine # [ 0.258645] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier186machine # [ 0.259644] active return thunk: srso_alias_return_thunk187machine # [ 0.260659] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'188machine # [ 0.261643] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'189machine # [ 0.263643] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'190machine # [ 0.264643] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'191machine # [ 0.266643] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers'192machine # [ 0.267643] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)'193machine # [ 0.268644] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256194machine # [ 0.269643] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8195machine # [ 0.270643] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16196machine # [ 0.272643] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24197machine # [ 0.273643] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format.198machine # [ 0.303093] Freeing SMP alternatives memory: 44K199machine # [ 0.303644] pid_max: default: 32768 minimum: 301200machine # [ 0.304693] LSM: initializing lsm=capability,landlock,yama,bpf,ima201machine # [ 0.305735] landlock: Up and running.202machine # [ 0.306642] Yama: becoming mindful.203machine # [ 0.307681] LSM support for eBPF active204machine # [ 0.308676] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)205machine # [ 0.309663] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)206machine # [ 0.312923] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2)207machine # [ 0.314074] Performance Events: Fam17h+ core perfctr, AMD PMU driver.208machine # [ 0.314652] ... version: 0209machine # [ 0.315636] ... bit width: 48210machine # [ 0.316433] ... generic counters: 6211machine # [ 0.317422] ... generic bitmap: 000000000000003f212machine # [ 0.318645] ... fixed-purpose counters: 0213machine # [ 0.319634] ... fixed-purpose bitmap: 0000000000000000214machine # [ 0.320645] ... value mask: 0000ffffffffffff215machine # [ 0.321645] ... max period: 00007fffffffffff216machine # [ 0.322645] ... global_ctrl mask: 000000000000003f217machine # [ 0.323721] signal: max sigframe size: 3376218machine # [ 0.324719] rcu: Hierarchical SRCU implementation.219machine # [ 0.325649] rcu: Max phase no-delay instances is 400.220machine # [ 0.330297] smp: Bringing up secondary CPUs ...221machine # [ 0.330657] smp: Brought up 1 node, 1 CPU222machine # [ 0.331604] smpboot: Total of 1 processors activated (7585.74 BogoMIPS)223machine # [ 0.332765] Memory: 943220K/1048024K available (17215K kernel code, 2726K rwdata, 13584K rodata, 3644K init, 2988K bss, 97580K reserved, 0K cma-reserved)224machine # [ 0.333830] devtmpfs: initialized225machine # [ 0.334799] x86/mm: Memory block size: 128MB226machine # [ 0.336456] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear)227machine # [ 0.337672] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).228machine # [ 0.338720] pinctrl core: initialized pinctrl subsystem229machine # [ 0.339948] PM: RTC time: 21:45:56, date: 2026-09-10230machine # [ 0.342836] NET: Registered PF_NETLINK/PF_ROUTE protocol family231machine # [ 0.343969] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations232machine # [ 0.344665] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations233machine # [ 0.345765] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations234machine # [ 0.346653] audit: initializing netlink subsys (disabled)235machine # [ 0.347833] thermal_sys: Registered thermal governor 'fair_share'236machine # [ 0.347835] thermal_sys: Registered thermal governor 'bang_bang'237machine # [ 0.348645] thermal_sys: Registered thermal governor 'step_wise'238machine # [ 0.349649] audit: type=2000 audit(1789076756.961:1): state=initialized audit_enabled=0 res=1239machine # [ 0.351647] thermal_sys: Registered thermal governor 'user_space'240machine # [ 0.351649] thermal_sys: Registered thermal governor 'power_allocator'241machine # [ 0.352659] cpuidle: using governor menu242machine # [ 0.355491] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5243machine # [ 0.356873] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff]244machine # [ 0.357646] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry245machine # [ 0.358654] PCI: Using configuration type 1 for base access246machine # [ 0.359830] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.247machine # [ 0.364901] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages248machine # [ 0.365645] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page249machine # [ 0.370644] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages250machine # [ 0.371645] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page251machine # [ 0.382172] ACPI: Added _OSI(Module Device)252machine # [ 0.382646] ACPI: Added _OSI(Processor Device)253machine # [ 0.383646] ACPI: Added _OSI(Processor Aggregator Device)254machine # [ 0.392049] ACPI: 1 ACPI AML tables successfully acquired and loaded255machine # [ 0.396009] ACPI: Interpreter enabled256machine # [ 0.396660] ACPI: PM: (supports S0 S3 S4 S5)257machine # [ 0.399644] ACPI: Using IOAPIC for interrupt routing258machine # [ 0.400728] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug259machine # [ 0.402379] PCI: Using E820 reservations for host bridge windows260machine # [ 0.402794] ACPI: Enabled 2 GPEs in block 00 to 3F261machine # [ 0.407612] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])262machine # [ 0.408650] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]263machine # [ 0.409718] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR]264machine # [ 0.410772] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability]265machine # [ 0.412112] PCI host bridge to bus 0000:00266machine # [ 0.412651] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]267machine # [ 0.413646] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]268machine # [ 0.414646] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]269machine # [ 0.415646] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window]270machine # [ 0.416646] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]271machine # [ 0.417646] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window]272machine # [ 0.418645] pci_bus 0000:00: root bus resource [bus 00-ff]273machine # [ 0.419779] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint274machine # [ 0.421341] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint275machine # [ 0.424710] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref]276machine # [ 0.425669] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff]277machine # [ 0.426688] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref]278machine # [ 0.427935] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]279machine # [ 0.429668] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint280machine # [ 0.431672] pci 0000:00:02.0: BAR 0 [io 0xc140-0xc15f]281machine # [ 0.432658] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff]282machine # [ 0.433689] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref]283machine # [ 0.434658] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref]284machine # [ 0.437010] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint285machine # [ 0.438667] pci 0000:00:03.0: BAR 0 [io 0xc160-0xc17f]286machine # [ 0.439658] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff]287machine # [ 0.440689] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref]288machine # [ 0.442627] pci 0000:00:04.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint289machine # [ 0.444667] pci 0000:00:04.0: BAR 0 [io 0xc080-0xc0bf]290machine # [ 0.445658] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff]291machine # [ 0.446696] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref]292machine # [ 0.448606] pci 0000:00:05.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint293machine # [ 0.451656] pci 0000:00:05.0: BAR 0 [io 0xc180-0xc19f]294machine # [ 0.453662] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff]295machine # [ 0.454689] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref]296machine # [ 0.456611] pci 0000:00:06.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint297machine # [ 0.458656] pci 0000:00:06.0: BAR 0 [io 0xc1a0-0xc1bf]298machine # [ 0.459658] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff]299machine # [ 0.460688] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref]300machine # [ 0.462640] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint301machine # [ 0.465173] pci 0000:00:07.0: BAR 0 [io 0xc000-0xc07f]302machine # [ 0.465658] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff]303machine # [ 0.466689] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref]304machine # [ 0.468656] pci 0000:00:08.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint305machine # [ 0.470672] pci 0000:00:08.0: BAR 0 [io 0xc1c0-0xc1df]306machine # [ 0.471657] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff]307machine # [ 0.472687] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref]308machine # [ 0.473657] pci 0000:00:08.0: ROM [mem 0xfeb80000-0xfebbffff pref]309machine # [ 0.475591] pci 0000:00:09.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint310machine # [ 0.477666] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff]311machine # [ 0.478688] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref]312machine # [ 0.480604] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint313machine # [ 0.483659] pci 0000:00:0a.0: BAR 0 [io 0xc0c0-0xc0ff]314machine # [ 0.484657] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff]315machine # [ 0.485687] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref]316machine # [ 0.487604] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint317machine # [ 0.489662] pci 0000:00:0b.0: BAR 0 [io 0xc1e0-0xc1ff]318machine # [ 0.490657] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff]319machine # [ 0.491687] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref]320machine # [ 0.493638] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint321machine # [ 0.495471] pci 0000:00:1d.0: BAR 4 [io 0xc200-0xc21f]322machine # [ 0.496896] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint323machine # [ 0.499611] pci 0000:00:1d.1: BAR 4 [io 0xc220-0xc23f]324machine # [ 0.500889] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint325machine # [ 0.502422] pci 0000:00:1d.2: BAR 4 [io 0xc240-0xc25f]326machine # [ 0.503926] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint327machine # [ 0.505407] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff]328machine # [ 0.507448] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint329machine # [ 0.509180] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO330machine # [ 0.510010] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint331machine # [ 0.511697] pci 0000:00:1f.2: BAR 4 [io 0xc260-0xc27f]332machine # [ 0.512657] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff]333machine # [ 0.514152] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint334machine # [ 0.515454] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f]335machine # [ 0.521561] ACPI: PCI: Interrupt link LNKA configured for IRQ 10336machine # [ 0.522780] ACPI: PCI: Interrupt link LNKB configured for IRQ 10337machine # [ 0.523785] ACPI: PCI: Interrupt link LNKC configured for IRQ 11338machine # [ 0.524821] ACPI: PCI: Interrupt link LNKD configured for IRQ 11339machine # [ 0.525824] ACPI: PCI: Interrupt link LNKE configured for IRQ 10340machine # [ 0.526777] ACPI: PCI: Interrupt link LNKF configured for IRQ 10341machine # [ 0.527778] ACPI: PCI: Interrupt link LNKG configured for IRQ 11342machine # [ 0.528776] ACPI: PCI: Interrupt link LNKH configured for IRQ 11343machine # [ 0.529695] ACPI: PCI: Interrupt link GSIA configured for IRQ 16344machine # [ 0.530660] ACPI: PCI: Interrupt link GSIB configured for IRQ 17345machine # [ 0.531659] ACPI: PCI: Interrupt link GSIC configured for IRQ 18346machine # [ 0.532659] ACPI: PCI: Interrupt link GSID configured for IRQ 19347machine # [ 0.533662] ACPI: PCI: Interrupt link GSIE configured for IRQ 20348machine # [ 0.534664] ACPI: PCI: Interrupt link GSIF configured for IRQ 21349machine # [ 0.535665] ACPI: PCI: Interrupt link GSIG configured for IRQ 22350machine # [ 0.536660] ACPI: PCI: Interrupt link GSIH configured for IRQ 23351machine # [ 0.538520] iommu: Default domain type: Translated352machine # [ 0.539530] iommu: DMA domain TLB invalidation policy: lazy mode353machine # [ 0.540878] ACPI: bus type USB registered354machine # [ 0.541702] usbcore: registered new interface driver usbfs355machine # [ 0.542664] usbcore: registered new interface driver hub356machine # [ 0.543666] usbcore: registered new device driver usb357machine # [ 0.545300] NetLabel: Initializing358machine # [ 0.545650] NetLabel: domain hash size = 128359machine # [ 0.546645] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO360machine # [ 0.547683] NetLabel: unlabeled traffic allowed by default361machine # [ 0.548657] PCI: Using ACPI for IRQ routing362machine # [ 0.633577] pci 0000:00:01.0: vgaarb: setting as boot VGA device363machine # [ 0.633641] pci 0000:00:01.0: vgaarb: bridge control possible364machine # [ 0.633641] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none365machine # [ 0.633647] vgaarb: loaded366machine # [ 0.634512] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0367machine # [ 0.635518] hpet0: 3 comparators, 64-bit 100.000000 MHz counter368machine # [ 0.639707] clocksource: Switched to clocksource kvm-clock369machine # [ 0.643064] VFS: Disk quotas dquot_6.6.0370machine # [ 0.644025] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)371machine # [ 0.645699] pnp: PnP ACPI init372machine # [ 0.646663] ACPI: IRQ 4 override to edge(!), high(!)373machine # [ 0.647939] system 00:05: [mem 0xb0000000-0xbfffffff window] has been reserved374machine # [ 0.649929] pnp: PnP ACPI: found 6 devices375machine # [ 0.657575] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns376machine # [ 0.659535] clocksource: Switched to clocksource acpi_pm377machine # [ 0.660823] NET: Registered PF_INET protocol family378machine # [ 0.662121] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)379machine # [ 0.676588] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)380machine # [ 0.678591] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)381machine # [ 0.680354] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)382machine # [ 0.682136] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)383machine # [ 0.683794] TCP: Hash tables configured (established 8192 bind 8192)384machine # [ 0.685286] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear)385machine # [ 0.687038] UDP hash table entries: 512 (order: 3, 32768 bytes, linear)386machine # [ 0.688550] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear)387machine # [ 0.690156] NET: Registered PF_UNIX/PF_LOCAL protocol family388machine # [ 0.691502] NET: Registered PF_XDP protocol family389machine # [ 0.692646] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]390machine # [ 0.694039] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]391machine # [ 0.695432] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]392machine # [ 0.696976] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window]393machine # [ 0.698503] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window]394machine # [ 0.700022] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window]395machine # [ 0.702146] ACPI: \_SB_.GSIA: Enabled at IRQ 16396machine # [ 0.704360] ACPI: \_SB_.GSIB: Enabled at IRQ 17397machine # [ 0.706543] ACPI: \_SB_.GSIC: Enabled at IRQ 18398machine # [ 0.708697] ACPI: \_SB_.GSID: Enabled at IRQ 19399machine # [ 0.710590] PCI: CLS 0 bytes, default 64400machine # [ 0.711719] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns401machine # [ 0.714079] Trying to unpack rootfs image as initramfs...402machine # [ 0.754852] Initialise system trusted keyrings403machine # [ 0.758541] workingset: timestamp_bits=40 max_order=18 bucket_order=0404machine # [ 0.777327] Key type asymmetric registered405machine # [ 0.778332] Asymmetric key parser 'x509' registered406machine # [ 0.783533] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)407machine # [ 0.788537] io scheduler mq-deadline registered408machine # [ 0.789622] io scheduler kyber registered409machine # [ 0.792946] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled410machine # [ 0.796704] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A411machine # [ 0.802434] Linux agpgart interface v0.103412machine # [ 0.805525] ACPI: bus type drm_connector registered413machine # [ 0.807093] usbcore: registered new interface driver usbserial_generic414machine # [ 0.808580] usbserial: USB Serial support registered for generic415machine # [ 0.812506] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled416machine # [ 0.814320] drop_monitor: Initializing network drop monitor service417machine # [ 0.818619] NET: Registered PF_INET6 protocol family418machine # [ 0.822746] Segment Routing with IPv6419machine # [ 0.825515] In-situ OAM (IOAM) with IPv6420machine # [ 0.826792] IPI shorthand broadcast: enabled421machine # [ 0.834914] sched_clock: Marking stable (643024285, 191461866)->(943993808, -109507657)422machine # [ 0.840573] registered taskstats version 1423machine # [ 0.841775] Loading compiled-in X.509 certificates424machine # [ 0.859505] Demotion targets for Node 0: null425machine # [ 0.862542] Key type .fscrypt registered426machine # [ 0.863502] Key type fscrypt-provisioning registered427machine # [ 0.866602] ima: No TPM chip found, activating TPM-bypass!428machine # [ 0.867869] ima: Allocated hash algorithm: sha1429machine # [ 0.870527] ima: No architecture policies found430machine # [ 0.873505] PM: Magic number: 10:235:803431machine # [ 0.875243] RAS: Correctable Errors collector initialized.432machine # [ 0.885821] clk: Disabling unused clocks433machine # [ 0.888499] PM: genpd: Disabling unused power domains434machine # [ 1.006764] Freeing initrd memory: 29076K435machine # [ 1.009897] Freeing unused decrypted memory: 2028K436machine # [ 1.012547] Freeing unused kernel image (initmem) memory: 3644K437machine # [ 1.013967] Write protecting the kernel read-only data: 32768k438machine # [ 1.016082] Freeing unused kernel image (text/rodata gap) memory: 1216K439machine # [ 1.017923] Freeing unused kernel image (rodata/data gap) memory: 752K440machine # [ 1.059251] x86/mm: Checked W+X mappings: passed, no W+X pages found.441machine # [ 1.060744] Run /init as init process442machine # [ 1.069564] systemd[1]: Inserted module 'autofs4'443machine # [ 1.083942] fuse: init (API version 7.45)444machine # [ 1.089256] ACPI: \_SB_.GSIG: Enabled at IRQ 22445machine # [ 1.092152] ACPI: \_SB_.GSIH: Enabled at IRQ 23446machine # [ 1.095784] ACPI: \_SB_.GSIE: Enabled at IRQ 20447machine # [ 1.098574] ACPI: \_SB_.GSIF: Enabled at IRQ 21448machine # [ 1.129170] systemd[1]: Successfully made /usr/ read-only.449machine # [ 1.466555] 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)450machine # [ 1.475711] systemd[1]: Detected virtualization kvm.451machine # [ 1.477061] systemd[1]: Detected architecture x86-64.452machine # [ 1.478362] systemd[1]: Running in initrd.453machine # [ 1.479683] systemd[1]: Initializing machine ID from random generator.454machine # [ 1.481249] systemd[1]: Hostname set to <machine>.455machine # [ 1.665507] systemd[1]: bpf-restrict-fs: LSM BPF program attached456machine # [ 1.700266] systemd[1]: Queued start job for default target Initrd Default Target.457machine # [ 1.705309] systemd[1]: Created slice Slice /system/modprobe.458machine # [ 1.706901] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.459machine # [ 1.708760] systemd[1]: Expecting device /dev/disk/by-label/nixos...460machine # [ 1.710282] systemd[1]: Reached target Path Units.461machine # [ 1.711545] systemd[1]: Reached target Slice Units.462machine # [ 1.712762] systemd[1]: Reached target Swaps.463machine # [ 1.713880] systemd[1]: Reached target Timer Units.464machine # [ 1.715178] systemd[1]: Listening on D-Bus System Message Bus Socket.465machine # [ 1.716802] systemd[1]: Listening on Journal Socket (/dev/log).466machine # [ 1.718375] systemd[1]: Listening on Journal Sockets.467machine # [ 1.719754] systemd[1]: Listening on udev Control Socket.468machine # [ 1.721133] systemd[1]: Listening on udev Kernel Socket.469machine # [ 1.722510] systemd[1]: Reached target Socket Units.470machine # [ 1.724440] systemd[1]: Starting Create List of Static Device Nodes...471machine # [ 1.728949] systemd[1]: Starting Load Kernel Module 9pnet_virtio...472machine # [ 1.736286] systemd[1]: Starting Load Kernel Module configfs...473machine # [ 1.746138] systemd[1]: Starting Journal Service...474machine # [ 1.757417] systemd[1]: Starting Load Kernel Modules...475machine # [ 1.764555] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os476machine # [ 1.778816] netfs: FS-Cache loaded477machine # [ 1.783394] 9pnet: Installing 9P2000 support478machine # [ 1.798119] systemd[1]: Starting Coldplug All udev Devices...479machine # [ 1.803610] systemd-journald[67]: Collecting audit messages is disabled.480machine # [ 1.814637] systemd[1]: Finished Create List of Static Device Nodes.481machine # [ 1.823131] systemd[1]: modprobe@9pnet_virtio.service: Deactivated successfully.482machine # [ 1.832439] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.483machine # [ 1.835639] systemd[1]: Finished Load Kernel Module 9pnet_virtio.484machine # [ 1.841847] systemd[1]: modprobe@configfs.service: Deactivated successfully.485machine # [ 1.847995] systemd[1]: Finished Load Kernel Module configfs.486machine # [ 1.850667] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev487machine # [ 1.856042] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config488machine # [ 1.868543] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...489machine # [ 1.885647] systemd[1]: Finished Load Kernel Modules.490machine # [ 1.894682] systemd[1]: Starting Apply Kernel Variables...491machine # [ 1.909916] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.492machine # [ 1.921629] systemd[1]: Starting Create Static Device Nodes in /dev...493machine # [ 1.934644] systemd[1]: Finished Apply Kernel Variables.494machine # [ 1.948166] systemd[1]: Finished Create Static Device Nodes in /dev.495machine # [ 1.953842] systemd[1]: Reached target Preparation for Local File Systems.496machine # [ 1.959557] systemd[1]: Reached target Local File Systems.497machine # [ 1.773065] systemd-modules-load[68]: Inserted module 'dm_mod'498machine # [ 1.775374] systemd-modules-load[68]: Inserted module 'virtio_balloon'499machine # [ 1.968115] systemd[1]: Starting Rule-based Manager for Device Events and Files...500machine # [ 1.779355] systemd-modules-load[68]: Inserted module 'virtio_gpu'501machine # [ 1.977657] systemd[1]: Started Journal Service.502machine # [ 1.804248] systemd[1]: Starting Create System Files and Directories...503machine # [ 1.829239] systemd[1]: Finished Create System Files and Directories.504machine # [ 1.831748] systemd-udevd[75]: Using default interface naming scheme 'v261'.505machine # [ 1.859082] systemd[1]: Started Rule-based Manager for Device Events and Files.506machine # [ 1.885088] systemd[1]: Finished Coldplug All udev Devices.507machine # [ 1.886280] systemd[1]: Reached target System Initialization.508machine # [ 1.887461] systemd[1]: Reached target Basic System.509machine # [ 2.293723] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12510machine # [ 2.314247] virtio_blk virtio5: 1/0/0 default/read/poll queues511machine # [ 2.324298] serio: i8042 KBD port at 0x60,0x64 irq 1512machine # [ 2.325223] serio: i8042 AUX port at 0x60,0x64 irq 12513machine # [ 2.337746] virtio_blk virtio5: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)514machine # [ 2.340301] uhci_hcd 0000:00:1d.0: UHCI Host Controller515machine # [ 2.345293] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1516machine # [ 2.349934] uhci_hcd 0000:00:1d.0: detected 2 ports517machine # [ 2.351701] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c200518machine # [ 2.353251] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18519machine # [ 2.354862] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1520machine # [ 2.356313] usb usb1: Product: UHCI Host Controller521machine # [ 2.357320] usb usb1: Manufacturer: Linux 6.18.49 uhci_hcd522machine # [ 2.358420] usb usb1: SerialNumber: 0000:00:1d.0523machine # [ 2.359718] hub 1-0:1.0: USB hub found524machine # [ 2.360896] hub 1-0:1.0: 2 ports detected525machine # [ 2.362888] ehci-pci 0000:00:1d.7: EHCI Host Controller526machine # [ 2.363837] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 2527machine # [ 2.365880] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000528machine # [ 2.372522] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00529machine # [ 2.373867] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18530machine # [ 2.376115] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1531machine # [ 2.377694] usb usb2: Product: EHCI Host Controller532machine # [ 2.378736] usb usb2: Manufacturer: Linux 6.18.49 ehci_hcd533machine # [ 2.379807] usb usb2: SerialNumber: 0000:00:1d.7534machine # [ 2.381007] hub 2-0:1.0: USB hub found535machine # [ 2.382137] hub 2-0:1.0: 6 ports detected536machine # [ 2.404770] hub 1-0:1.0: USB hub found537machine # [ 2.405989] hub 1-0:1.0: 2 ports detected538machine # [ 2.411122] uhci_hcd 0000:00:1d.1: UHCI Host Controller539machine # [ 2.412324] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3540machine # [ 2.428845] uhci_hcd 0000:00:1d.1: detected 2 ports541machine # [ 2.436810] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c220542machine # [ 2.450134] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18543machine # [ 2.459286] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1544machine # [ 2.470101] usb usb3: Product: UHCI Host Controller545machine # [ 2.283631] systemd[1]: Starting Virtual Console Setup...546machine # [ 2.287884] (udev-worker)[95]: Network interface NamePolicy= disabled on kernel command line.547machine # [ 2.483323] SCSI subsystem initialized548machine # [ 2.488484] usb usb3: Manufacturer: Linux 6.18.49 uhci_hcd549machine # [ 2.301889] (udev-worker)[92]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.550machine # [ 2.497867] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0551machine # [ 2.309239] (udev-worker)[92]: Network interface NamePolicy= disabled on kernel command line.552machine # [ 2.511100] usb usb3: SerialNumber: 0000:00:1d.1553machine # [ 2.321501] systemd-vconsole-setup[99]: Configuration of first virtual console was skipped, ignoring remaining ones.554machine # [ 2.325809] systemd[1]: Finished Virtual Console Setup.555machine # [ 2.523514] hub 3-0:1.0: USB hub found556machine # [ 2.532229] hub 3-0:1.0: 2 ports detected557machine # [ 2.547663] uhci_hcd 0000:00:1d.2: UHCI Host Controller558machine # [ 2.548626] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4559machine # [ 2.558560] uhci_hcd 0000:00:1d.2: detected 2 ports560machine # [ 2.371825] systemd[1]: Found device /dev/disk/by-label/nixos.561machine # [ 2.373825] systemd[1]: Reached target Initrd Root Device.562machine # [ 2.375142] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos...563machine # [ 2.568188] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c240564machine # [ 2.571727] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18565machine # [ 2.575499] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1566machine # [ 2.577464] usb usb4: Product: UHCI Host Controller567machine # [ 2.578329] usb usb4: Manufacturer: Linux 6.18.49 uhci_hcd568machine # [ 2.586325] usb usb4: SerialNumber: 0000:00:1d.2569machine # [ 2.593090] hub 4-0:1.0: USB hub found570machine # [ 2.596922] hub 4-0:1.0: 2 ports detected571machine # [ 2.408376] systemd-fsck[108]: nixos: clean, 12/65536 files, 13019/262144 blocks572machine # [ 2.423752] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos.573machine # [ 2.621250] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode574machine # [ 2.622701] usb 2-1: new high-speed USB device number 2 using ehci-pci575machine # [ 2.634724] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f)576machine # [ 2.638651] ahci 0000:00:1f.2: flags: 64bit ncq only577machine # [ 2.648591] scsi host0: ahci578machine # [ 2.649780] scsi host1: ahci579machine # [ 2.653384] scsi host2: ahci580machine # [ 2.654809] scsi host3: ahci581machine # [ 2.659191] scsi host4: ahci582machine # [ 2.663292] scsi host5: ahci583machine # [ 2.664589] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 44 lpm-pol 1584machine # [ 2.666788] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 44 lpm-pol 1585machine # [ 2.668303] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 44 lpm-pol 1586machine # [ 2.669821] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 44 lpm-pol 1587machine # [ 2.671331] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 44 lpm-pol 1588machine # [ 2.672857] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 44 lpm-pol 1589machine # [ 2.751628] usb 2-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00590machine # [ 2.753656] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10591machine # [ 2.755832] usb 2-1: Product: QEMU USB Tablet592machine # [ 2.757291] usb 2-1: Manufacturer: QEMU593machine # [ 2.758586] usb 2-1: SerialNumber: 28754-0000:00:1d.7-1594machine # [ 2.775654] hid: raw HID events driver (C) Jiri Kosina595machine # [ 2.622482] systemd[1]: Mounting /sysroot...596machine # [ 2.988758] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)597machine # [ 2.990605] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100598machine # [ 2.992391] ata3.00: applying bridge limits599machine # [ 2.993938] ata2: SATA link down (SStatus 0 SControl 300)600machine # [ 2.995775] ata5: SATA link down (SStatus 0 SControl 300)601machine # [ 2.997580] ata1: SATA link down (SStatus 0 SControl 300)602machine # [ 2.999064] ata6: SATA link down (SStatus 0 SControl 300)603machine # [ 3.000645] ata4: SATA link down (SStatus 0 SControl 300)604machine # [ 3.001827] ata3.00: configured for UDMA/100605machine # [ 3.003183] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5606machine # [ 3.054153] usbcore: registered new interface driver usbhid607machine # [ 3.061453] usbhid: USB HID core driver608machine # [ 3.076264] 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/input2609machine # [ 3.083002] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:1d.7-1/input0610machine # [ 3.090750] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray611machine # [ 3.097670] EXT4-fs (vda): mounted filesystem 78aba522-a94c-425e-920f-bccca7a8c0cc r/w with ordered data mode. Quota mode: none.612machine # [ 2.913467] systemd[1]: Mounted /sysroot.613machine # [ 2.915244] systemd[1]: Reached target Initrd Root File System.614machine # [ 3.108726] cdrom: Uniform CD-ROM driver Revision: 3.20615machine # [ 2.919513] systemd[1]: Starting Mountpoints Configured in the Real Root...616machine # [ 2.935462] systemd-sysroot-fstab-check[140]: /sysroot should be mounted in the initrd, will request daemon-reload.617machine # [ 2.939085] systemd[1]: Reload requested from client PID 140 ('systemd-sysroot') (unit initrd-parse-etc.service)...618machine # [ 2.941117] systemd[1]: Reloading...619machine # [ 3.020170] systemd[1]: Reloading finished in 81 ms.620machine # [ 3.028628] systemd-sysroot-fstab-check[140]: Requesting initrd-fs.target/start/replace...621machine # [ 3.033248] systemd-sysroot-fstab-check[140]: Requesting swap.target/start/replace...622machine # [ 3.038068] systemd[1]: initrd-parse-etc.service: Deactivated successfully.623machine # [ 3.039938] systemd[1]: Finished Mountpoints Configured in the Real Root.624machine # [ 3.041364] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies.625machine # [ 3.043395] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio626machine # [ 3.623303] systemd[1]: Mounting /sysroot/nix/.ro-store...627machine # [ 3.627109] systemd[1]: Mounting /sysroot/nix/.rw-store...628machine # [ 3.632840] systemd[1]: Mounting /sysroot/run...629machine # [ 3.638083] systemd[1]: Mounting /sysroot/tmp/shared...630machine # [ 3.642969] systemd[1]: Mounting /sysroot/tmp/xchg...631machine # [ 3.665180] systemd[1]: Mounted /sysroot/nix/.rw-store.632machine # [ 3.666294] systemd[1]: Mounted /sysroot/run.633machine # [ 3.859496] 9p: Installing v9fs 9p2000 file system support634machine # [ 3.675963] systemd[1]: Starting rw-sysroot-nix-store.service...635machine # [ 3.680783] systemd[1]: Mounted /sysroot/nix/.ro-store.636machine # [ 3.682207] systemd[1]: Mounted /sysroot/tmp/shared.637machine # [ 3.685078] systemd[1]: Mounted /sysroot/tmp/xchg.638machine # [ 3.691203] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.639machine # [ 3.692740] systemd[1]: Finished rw-sysroot-nix-store.service.640machine # [ 3.696262] systemd[1]: Mounting /sysroot/nix/store...641machine # [ 3.713139] systemd[1]: Mounted /sysroot/nix/store.642machine # [ 3.714608] systemd[1]: Reached target Initrd File Systems.643machine # [ 3.717070] systemd[1]: Starting Find NixOS closure...644machine # [ 3.720269] systemd[1]: Starting Create Volatile Files and Directories in the Real Root...645machine # [ 3.737175] systemd[1]: Finished Create Volatile Files and Directories in the Real Root.646machine # [ 3.744663] systemd[1]: Finished Find NixOS closure.647machine # [ 3.746480] systemd[1]: Reached target Initrd Default Target.648machine # [ 3.748836] systemd[1]: Starting Cleaning Up and Shutting Down Daemons...649machine # [ 3.763122] systemd[1]: Stopped target Initrd Default Target.650machine # [ 3.764709] systemd[1]: Stopped target Basic System.651machine # [ 3.766258] systemd[1]: Stopped target Initrd Root Device.652machine # [ 3.767441] systemd[1]: Stopped target Path Units.653machine # [ 3.768698] systemd[1]: systemd-ask-password-console.path: Deactivated successfully.654machine # [ 3.770560] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.655machine # [ 3.772415] systemd[1]: Stopped target Slice Units.656machine # [ 3.774174] systemd[1]: Stopped target Socket Units.657machine # [ 3.775345] systemd[1]: Stopped target System Initialization.658machine # [ 3.776501] systemd[1]: Stopped target Swaps.659machine # [ 3.777870] systemd[1]: Stopped target Timer Units.660machine # [ 3.779674] systemd[1]: dbus.socket: Deactivated successfully.661machine # [ 3.780875] systemd[1]: Closed D-Bus System Message Bus Socket.662machine # [ 3.782172] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully.663machine # [ 3.784167] systemd[1]: Stopped Find NixOS closure.664machine # [ 3.785211] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio665machine # [ 3.787420] systemd[1]: Starting rw-sysroot-nix-store.service...666machine # [ 3.789172] systemd[1]: systemd-sysctl.service: Deactivated successfully.667machine # [ 3.790575] systemd[1]: Stopped Apply Kernel Variables.668machine # [ 3.793171] systemd[1]: systemd-modules-load.service: Deactivated successfully.669machine # [ 3.794539] systemd[1]: Stopped Load Kernel Modules.670machine # [ 3.795598] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully.671machine # [ 3.797109] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root.672machine # [ 3.798934] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.673machine # [ 3.800537] systemd[1]: Stopped Create System Files and Directories.674machine # [ 3.802161] systemd[1]: Stopped target Local File Systems.675machine # [ 3.804084] systemd[1]: Stopped target Preparation for Local File Systems.676machine # [ 3.805937] systemd[1]: systemd-udev-trigger.service: Deactivated successfully.677machine # [ 3.808511] systemd[1]: Stopped Coldplug All udev Devices.678machine # [ 3.809652] systemd[1]: Stopping Rule-based Manager for Device Events and Files...679machine # [ 3.811338] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.680machine # [ 3.813036] systemd[1]: Stopped Virtual Console Setup.681machine # [ 3.819078] systemd[1]: initrd-cleanup.service: Deactivated successfully.682machine # [ 3.825139] systemd[1]: Finished Cleaning Up and Shutting Down Daemons.683machine # [ 3.829162] systemd[1]: systemd-udevd.service: Deactivated successfully.684machine # [ 3.830693] systemd[1]: Stopped Rule-based Manager for Device Events and Files.685machine # [ 3.832699] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.686machine # [ 3.835128] systemd[1]: Finished rw-sysroot-nix-store.service.687machine # [ 3.837459] systemd[1]: systemd-udevd-control.socket: Deactivated successfully.688machine # [ 3.838966] systemd[1]: Closed udev Control Socket.689machine # [ 3.840826] systemd[1]: Starting Cleanup udev Database...690machine # [ 3.841968] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.691machine # [ 3.844252] systemd[1]: Stopped Create Static Device Nodes in /dev.692machine # [ 3.845614] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully.693machine # [ 3.847249] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully.694machine # [ 3.848964] systemd[1]: kmod-static-nodes.service: Deactivated successfully.695machine # [ 3.850326] systemd[1]: Stopped Create List of Static Device Nodes.696machine # [ 3.864369] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully.697machine # [ 3.866717] systemd[1]: Finished Cleanup udev Database.698machine # [ 3.868978] systemd[1]: Reached target Switch Root.699machine # [ 3.871509] systemd[1]: Starting NixOS Activation...700machine # [ 3.983806] initrd-nixos-activation-start[194]: booting system configuration /nix/store/x05axic0vablfijaqp5axb9xnvjrng61-nixos-system-machine-test701machine # [ 4.028184] initrd-nixos-activation-start[194]: running activation script...702machine # [ 4.309825] initrd-nixos-activation-start[217]: setting up /etc...703machine # [ 4.496102] systemd[1]: initrd-nixos-activation.service: Deactivated successfully.704machine # [ 4.498822] systemd[1]: Finished NixOS Activation.705machine # [ 4.502129] systemd[1]: Starting Switch Root...706machine # [ 4.513989] systemd[1]: Switching root.707machine # [ 4.835458] systemd-journald[67]: Received SIGTERM from PID 1 (systemd).708machine # [ 4.947152] NET: Registered PF_VSOCK protocol family709machine # [ 5.314208] systemd[1]: systemd 261.2 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE)710machine # [ 5.320332] systemd[1]: Detected virtualization kvm.711machine # [ 5.321519] systemd[1]: Detected architecture x86-64.712machine # [ 5.322721] systemd[1]: Detected first boot.713machine # [ 5.325821] systemd[1]: Initializing machine ID from random generator.714machine # [ 5.546321] systemd[1]: bpf-restrict-fs: LSM BPF program attached715machine # [ 5.642615] systemd[1]: Applying preset policy.716machine # [ 5.973404] systemd[1]: Populated /etc with preset unit settings.717machine # [ 6.301988] systemd[1]: initrd-switch-root.service: Deactivated successfully.718machine # [ 6.303763] systemd[1]: Stopped initrd-switch-root.service.719machine # [ 6.306579] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.720machine # [ 6.308968] systemd[1]: Created slice Slice /system/getty.721machine # [ 6.310595] systemd[1]: Created slice PHP FastCGI Process Manager Slice.722machine # [ 6.312288] systemd[1]: Created slice User and Session Slice.723machine # [ 6.313494] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.724machine # [ 6.314977] systemd[1]: Started Forward Password Requests to Wall Directory Watch.725machine # [ 6.316340] systemd[1]: Expecting device /dev/hvc0...726machine # [ 6.317281] systemd[1]: Expecting device /dev/ttyS0...727machine # [ 6.318272] systemd[1]: Reached target Local Encrypted Volumes.728machine # [ 6.329190] systemd[1]: Stopped target initrd-fs.target.729machine # [ 6.330182] systemd[1]: Stopped target initrd-root-fs.target.730machine # [ 6.331233] systemd[1]: Stopped target initrd-switch-root.target.731machine # [ 6.332395] systemd[1]: Reached target Virtual Machines and Containers.732machine # [ 6.333585] systemd[1]: Reached target Path Units.733machine # [ 6.334530] systemd[1]: Reached target Remote File Systems.734machine # [ 6.335580] systemd[1]: Reached target Slice Units.735machine # [ 6.336539] systemd[1]: Reached target Swaps.736machine # [ 6.338927] systemd[1]: Listening on Query the User Interactively for a Password.737machine # [ 6.341968] systemd[1]: Listening on Process Core Dump Socket.738machine # [ 6.344316] systemd[1]: Listening on Credential Encryption/Decryption.739machine # [ 6.346788] systemd[1]: Listening on Factory Reset Management.740machine # [ 6.347975] systemd[1]: Listening on Hostname Service Socket.741machine # [ 6.351119] systemd[1]: Starting Journal Log Access Socket...742machine # [ 6.352717] systemd[1]: Listening on Journal Audit Socket.743machine # [ 6.355702] systemd[1]: Listening on Console Output Muting Service Socket.744machine # [ 6.357078] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.745machine # [ 6.358712] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os746machine # [ 6.360390] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki747machine # [ 6.366655] systemd[1]: Listening on Disk Repartitioning Service Socket.748machine # [ 6.367964] systemd[1]: Listening on udev Control Socket.749machine # [ 6.369104] systemd[1]: Listening on udev Varlink Socket.750machine # [ 6.372029] systemd[1]: Mounting Huge Pages File System...751machine # [ 6.375465] systemd[1]: Mounting POSIX Message Queue File System...752machine # [ 6.380823] systemd[1]: Mounting Kernel Debug File System...753machine # [ 6.385918] systemd[1]: Mounting Kernel Trace File System...754machine # [ 6.391913] systemd[1]: Starting Create List of Static Device Nodes...755machine # [ 6.396203] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio756machine # [ 6.405255] systemd[1]: Starting Load Kernel Module configfs...757machine # [ 6.406614] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm758machine # [ 6.409459] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore759machine # [ 6.426772] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse760machine # [ 6.432552] systemd[1]: Mounting FUSE Control File System...761machine # [ 6.434127] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67762machine # [ 6.452919] systemd[1]: Starting Journal Service...763machine # [ 6.458626] systemd[1]: Starting Load Kernel Modules...764machine # [ 6.469153] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...765machine # [ 6.478899] systemd[1]: Starting Remount Root and Kernel File Systems...766machine # [ 6.484875] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os767machine # [ 6.505909] systemd[1]: Starting Coldplug All udev Devices...768machine # [ 6.509024] systemd-journald[287]: Collecting audit messages is enabled.769machine # [ 6.521117] loop: module loaded770machine # [ 6.530066] systemd[1]: Listening on Journal Log Access Socket.771machine # [ 6.539556] systemd[1]: Mounted Huge Pages File System.772machine # [ 6.543652] systemd[1]: Mounted POSIX Message Queue File System.773machine # [ 6.544766] EXT4-fs (vda): re-mounted 78aba522-a94c-425e-920f-bccca7a8c0cc.774machine # [ 6.548971] systemd[1]: Mounted Kernel Debug File System.775machine # [ 6.555879] systemd[1]: Mounted Kernel Trace File System.776machine # [ 6.369113] systemd[1]: Queued start job for default target Multi-User System.777machine # [ 6.562121] systemd[1]: Started Journal Service.778machine # [ 6.374338] systemd[1]: systemd-journald.service: Deactivated successfully.779machine # [ 6.376684] systemd-modules-load[288]: Inserted module 'loop'780machine # [ 6.379631] systemd-modules-load[288]: Inserted module 'tls'781machine # [ 6.384709] systemd[1]: Finished Create List of Static Device Nodes.782machine # [ 6.387321] systemd[1]: modprobe@configfs.service: Deactivated successfully.783machine # [ 6.390386] systemd[1]: Finished Load Kernel Module configfs.784machine # [ 6.394674] systemd[1]: Mounted FUSE Control File System.785machine # [ 6.397270] systemd[1]: Finished Load Kernel Modules.786machine # [ 6.400333] systemd[1]: Finished Remount Root and Kernel File Systems.787machine # [ 6.418037] systemd[1]: Listening on Disk Image Download Service Socket.788machine # [ 6.423815] systemd-oomd[290]: No swap; memory pressure usage will be degraded789machine # [ 6.426466] systemd[1]: Mounting Kernel Configuration File System...790machine # [ 6.431125] systemd[1]: Starting Firewall...791machine # [ 6.440076] systemd[1]: Starting Flush Journal to Persistent Storage...792machine # [ 6.441371] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore793machine # [ 6.451072] systemd[1]: Starting Load/Save OS Random Seed...794machine # [ 6.460245] systemd[1]: Starting Apply Kernel Variables...795machine # [ 6.476092] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...796machine # [ 6.477958] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os797machine # [ 6.479653] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.798machine # [ 6.691815] systemd-journald[287]: Received client request to flush runtime journal.799machine # [ 6.718698] systemd[1]: Mounted Kernel Configuration File System.800machine # [ 6.722853] systemd[1]: Finished Load/Save OS Random Seed.801machine # [ 6.726962] systemd[1]: Reached target First Boot Complete.802machine # [ 6.729726] systemd[1]: Finished Apply Kernel Variables.803machine # [ 6.731955] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.804machine # [ 6.735339] systemd[1]: Starting Create Static Device Nodes in /dev...805machine # [ 6.738454] systemd[1]: Finished Create Static Device Nodes in /dev.806machine # [ 6.740309] systemd[1]: Reached target Preparation for Local File Systems.807machine # [ 6.743520] systemd[1]: Starting Rule-based Manager for Device Events and Files...808machine # [ 6.745181] systemd[1]: Finished Flush Journal to Persistent Storage.809machine # [ 6.781395] systemd-udevd[326]: Using default interface naming scheme 'v261'.810machine # [ 6.813535] systemd[1]: Finished Coldplug All udev Devices.811machine # [ 6.871158] systemd[1]: Started Rule-based Manager for Device Events and Files.812machine # [ 7.037146] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse813machine # [ 7.116209] systemd[1]: Mounting /run/wrappers...814machine # [ 7.148411] systemd[1]: Condition check resulted in /dev/hvc0 being skipped.815machine # [ 7.154605] systemd[1]: Mounted /run/wrappers.816machine # [ 7.157611] systemd[1]: Reached target Local File Systems.817machine # [ 7.160407] systemd[1]: Listening on Boot Loader Control Service Socket.818machine # [ 7.166163] systemd[1]: Starting register-nix-paths.service...819machine # [ 7.172428] systemd[1]: Starting Create SUID/SGID Wrappers...820machine # [ 7.173797] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.821machine # [ 7.187796] systemd[1]: Starting Save Transient machine-id to Disk...822machine # [ 7.199859] systemd[1]: Starting Create System Files and Directories...823machine # [ 7.214891] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped.824machine # [ 7.280218] (udev-worker)[381]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.825machine # [ 7.284376] (udev-worker)[381]: Network interface NamePolicy= disabled on kernel command line.826machine # [ 7.291231] (udev-worker)[377]: Network interface NamePolicy= disabled on kernel command line.827machine # [ 7.319444] systemd[1]: etc-machine\x2did.mount: Deactivated successfully.828machine # [ 7.329747] systemd[1]: Finished Save Transient machine-id to Disk.829machine # [ 7.354278] systemd[1]: Finished Create System Files and Directories.830machine # [ 7.371616] systemd[1]: Starting Rebuild Journal Catalog...831machine # [ 7.382493] systemd[1]: Starting Record System Boot/Shutdown in UTMP...832machine # [ 7.462115] systemd[1]: Finished Record System Boot/Shutdown in UTMP.833machine # [ 7.495337] systemd[1]: Finished Firewall.834machine # [ 7.503489] systemd[1]: Finished Rebuild Journal Catalog.835machine # [ 7.510166] systemd[1]: Starting Update is Completed...836machine # [ 7.539180] systemd[1]: Condition check resulted in Virtio network device being skipped.837machine # [ 7.543962] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore838machine # [ 7.546120] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.839machine # [ 7.549677] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67840machine # [ 7.555123] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore841machine # [ 7.557239] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os842machine # [ 7.559585] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os843machine # [ 7.566486] systemd[1]: Finished Update is Completed.844machine # [ 7.717588] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.845machine # [ 7.721347] systemd[1]: Finished Create SUID/SGID Wrappers.846machine # [ 7.981223] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console847machine # [ 7.988169] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3848machine # [ 7.993866] mousedev: PS/2 mouse device common for all mice849machine # [ 8.012675] ACPI: button: Power Button [PWRF]850machine # [ 8.051515] rtc_cmos 00:04: RTC can wake from S4851machine # [ 8.069070] rtc_cmos 00:04: registered as rtc0852machine # [ 8.069177] rtc_cmos 00:04: setting system clock to 2026-09-10T21:46:04 UTC (1789076764)853machine # [ 8.069269] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs854machine # [ 8.069657] systemd-journald[287]: Time jumped backwards, rotating.855machine # [ 8.090027] parport_pc 00:02: reported by Plug and Play ACPI856machine # [ 8.090128] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]857machine # [ 8.097405] Console: switching to colour dummy device 80x25858machine # [ 8.105571] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:09.0/virtio7/input/input4859machine # [ 8.008747] systemd[1]: Finished register-nix-paths.service.860machine # [ 8.010844] systemd[1]: Reached target System Initialization.861machine # [ 8.013167] systemd[1]: Started Discard unused filesystem blocks once a week.862machine # [ 8.015112] systemd[1]: Started Daily Cleanup of Temporary Directories.863machine # [ 8.017278] systemd[1]: Listening on D-Bus System Message Bus Socket.864machine # [ 8.019796] systemd[1]: Listening on Nix Daemon Socket.865machine # [ 8.021583] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.866machine # [ 8.024668] systemd[1]: Reached target Socket Units.867machine # [ 8.142122] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized868machine # [ 8.210776] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt869machine # [ 8.027819] systemd[1]: Reached target Basic System.870machine # [ 8.029801] systemd[1]: Started backdoor.service.871machine # [ 8.034715] systemd[1]: Starting Import lastlog data into lastlog2 database...872machine # [ 8.041782] systemd[1]: Starting nextcloud-setup.service...873machine # [ 8.052170] systemd[1]: Starting Name Service Cache Daemon (nsncd)...874machine # [ 8.210883] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD875machine # [ 8.253272] [drm] Found bochs VGA, ID 0xb0c5.876machine # [ 8.253274] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.877machine # [ 8.069539] systemd[1]: Starting Post-Boot Actions...878machine # [ 8.088595] systemd[1]: Started Reset console on configuration changes.879machine # [ 8.115620] systemd[1]: Starting resolvconf update...880machine # [ 8.319573] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic881machine # connecting to host...882machine: Guest shell says: b'Spawning backdoor root shell...\n'883machine # [ 8.367899] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0884machine: connected to guest root shell885machine: (connecting took 8.92 seconds)886machine: (finished: waiting for the VM to finish booting, in 8.92 seconds)887machine # [ 8.191815] nsncd[516]: Sep 10 21:46:04.812 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"888machine # [ 8.206139] systemd[1]: Started Name Service Cache Daemon (nsncd).889machine # [ 8.210699] systemd[1]: Finished Post-Boot Actions.890machine # [ 8.410139] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6891machine # [ 8.223342] systemd[1]: Reached target Host and Network Name Lookups.892machine # [ 8.417779] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5893machine # [ 8.233541] systemd[1]: Reached target User and Group Name Lookups.894machine # [ 8.245871] systemd[1]: Starting D-Bus System Message Bus...895machine # [ 8.274134] systemd[1]: Starting User Login Management...896machine # [ 8.281215] systemd[1]: Finished Import lastlog data into lastlog2 database.897machine: (finished: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success, in 9.09 seconds)898machine: waiting for unit phpfpm-nextcloud.service899machine # [ 8.407935] dbus-broker-launch[546]: Looking up NSS user entry for 'systemd-timesync'...900machine # [ 8.436418] dbus-broker-launch[546]: NSS returned no entry for 'systemd-timesync'901machine # [ 8.439157] dbus-broker-launch[546]: Invalid user-name in /nix/store/8lb37q8jknkpmx7dbhxczlzhs47m4jix-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"902machine # [ 8.474045] systemd[1]: Started D-Bus System Message Bus.903machine # [ 8.781036] Console: switching to colour frame buffer device 160x50904machine # [ 8.847592] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device905machine # [ 8.488801] systemd[1]: Stopped target Host and Network Name Lookups.906machine # [ 8.665847] systemd[1]: Stopping Host and Network Name Lookups...907machine # [ 8.673137] systemd[1]: Stopped target User and Group Name Lookups.908machine # [ 8.674840] systemd[1]: Stopping User and Group Name Lookups...909machine # [ 8.680605] systemd[1]: Stopping Name Service Cache Daemon (nsncd)...910machine # [ 8.685941] nsncd[608]: Sep 10 21:46:05.250 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"911machine # [ 8.690694] systemd[1]: nscd.service: Deactivated successfully.912machine # [ 8.691900] systemd[1]: Stopped Name Service Cache Daemon (nsncd).913machine # [ 8.697237] dbus-broker-launch[546]: Ready914machine # [ 8.698185] systemd[1]: Starting Name Service Cache Daemon (nsncd)...915machine # [ 8.700492] systemd[1]: Starting Virtual Console Setup...916machine # [ 8.702120] systemd[1]: Finished resolvconf update.917machine # [ 8.703172] systemd[1]: Reached target Preparation for Network.918machine # [ 8.705425] systemd[1]: Starting DHCP Client...919machine # [ 8.708280] systemd[1]: Starting Address configuration of eth1...920machine # [ 8.712115] systemd[1]: Starting Extra networking commands....921machine # [ 8.715648] systemd[1]: Started Name Service Cache Daemon (nsncd).922machine # [ 8.718521] systemd[1]: Reached target Host and Network Name Lookups.923machine # [ 8.721522] systemd[1]: Reached target User and Group Name Lookups.924machine # [ 8.726747] systemd-logind[550]: New seat seat0.925machine # [ 8.729359] systemd[1]: Started User Login Management.926machine # [ 8.732247] systemd-logind[550]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)927machine # [ 8.734980] systemd-logind[550]: Watching system buttons on /dev/input/event2 (Power Button)928machine # [ 8.737808] systemd[1]: Starting linger-users.service...929machine # [ 8.741536] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.930machine # [ 8.746470] systemd[1]: Stopped Virtual Console Setup.931machine # [ 8.788894] systemd[1]: Starting Virtual Console Setup...932machine # [ 8.799703] network-addresses-eth1-start[634]: adding address 192.168.1.1/24... done933machine # [ 8.819939] network-addresses-eth1-start[634]: adding address 2001:db8:1::1/64... done934machine # [ 8.826312] systemd[1]: linger-users.service: Deactivated successfully.935machine # [ 8.831798] systemd[1]: Finished linger-users.service.936machine # [ 8.856095] systemd[1]: Finished Address configuration of eth1.937machine # [ 9.096438] ppdev: user-space parallel port driver938machine # [ 9.163927] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660)939machine # [ 8.987197] systemd[1]: Finished Extra networking commands..940machine # [ 8.991897] systemd[1]: Reached target Network.941machine # [ 9.004445] systemd[1]: Starting Nginx Web Server...942machine # [ 9.005970] systemd-logind[550]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard)943machine # [ 9.021842] systemd[1]: Starting Redis Server - redis-nextcloud...944machine # [ 9.045680] systemd[1]: Starting Permit User Sessions...945machine # [ 9.245234] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0)946machine # [ 9.068163] dhcpcd[671]: dhcpcd-10.3.2 starting947machine # [ 9.081345] dhcpcd[711]: dev: loaded udev948machine # [ 9.314782] 8021q: 802.1Q VLAN Support v1.8949machine # [ 9.323377] 8021q: adding VLAN 0 to HW filter on device eth1950machine # [ 9.147139] systemd[1]: Finished Permit User Sessions.951machine # [ 9.166287] systemd[1]: Started Getty on tty1.952machine # [ 9.168709] systemd[1]: Reached target Login Prompts.953machine # [ 9.222098] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.954machine # [ 9.227864] systemd[1]: Stopped Virtual Console Setup.955machine # [ 9.265884] systemd[1]: Starting Virtual Console Setup...956machine # [ 9.355351] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.957machine # [ 9.454547] nginx-pre-start[726]: nginx: the configuration file /nix/store/xywmv27xqjfg80pgfzajnx7xv2pynw7l-nginx.conf syntax is ok958machine # [ 9.457652] nginx-pre-start[726]: nginx: configuration file /nix/store/xywmv27xqjfg80pgfzajnx7xv2pynw7l-nginx.conf test is successful959machine # [ 9.477241] systemd[1]: Started Nginx Web Server.960machine # [ 9.685035] cfg80211: Loading compiled-in X.509 certificates for regulatory database961machine # [ 9.715261] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'962machine # [ 9.724477] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'963machine # [ 9.730064] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2964machine # [ 9.731232] cfg80211: failed to load regulatory.db965machine # [ 9.598693] redis-server[725]: Supervised by systemd. Please make sure you set appropriate values for TimeoutStartSec and TimeoutStopSec in your service unit.966machine # [ 9.604582] redis-server[725]: oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo967machine # [ 9.608400] redis-server[725]: Redis version=8.10.1, bits=64, commit=00000000, modified=0, pid=725, just started968machine # [ 9.611177] redis-server[725]: Configuration loaded969machine # [ 9.615152] redis[725]: monotonic clock: POSIX clock_gettime970machine # [ 9.631930] redis[725]: Running mode=standalone, port=0.971machine # [ 9.646502] redis[725]: Server initialized972machine # [ 9.648865] redis[725]: Ready to accept connections unix[ 9.841589] kvm_amd: TSC scaling supported973machine # [ 9.842156] kvm_amd: Nested Virtualization enabled974machine # 975machine # [ 9.652532] redis[725]: WARNING: Redis does not require authentication. Redis will accept connections from any local client.976machine # [ 9.658096] systemd[1]: Started Redis Server - redis-nextcloud.977machine # [ 9.854835] kvm_amd: Nested Paging enabled978machine # [ 9.858100] kvm_amd: LBR virtualization supported979machine # [ 9.861354] kvm_amd: Virtual VMLOAD VMSAVE supported980machine # [ 9.862114] kvm_amd: Virtual GIF supported981machine # [ 9.879385] 8021q: adding VLAN 0 to HW filter on device eth0982machine # [ 9.693192] dhcpcd[711]: eth0: waiting for carrier983machine # [ 9.695993] dhcpcd[711]: libudev: received NULL device984machine # [ 9.698458] dhcpcd[711]: libudev: received NULL device985machine # [ 9.702394] dhcpcd[711]: eth0: carrier acquired986machine # [ 9.720773] dhcpcd[711]: DUID 00:01:00:01:32:35:e1:9e:52:54:00:12:34:56987machine # [ 9.722400] dhcpcd[711]: eth0: IAID 00:12:34:56988machine # [ 9.724555] dhcpcd[711]: eth0: adding address fe80::5054:ff:fe12:3456989machine # [ 9.730990] systemd-vconsole-setup[728]: Configuration of first virtual console was skipped, ignoring remaining ones.990machine # [ 9.738510] systemd[1]: Finished Virtual Console Setup.991machine # [ 9.960866] EDAC MC: Ver: 3.0.0992machine # [ 10.396137] dhcpcd[711]: eth0: soliciting a DHCP lease993machine # [ 10.601776] NET: Registered PF_PACKET protocol family994machine # [ 10.415570] dhcpcd[711]: eth0: offered 10.0.2.15 from 10.0.2.2995machine # [ 10.417182] dhcpcd[711]: eth0: probing address 10.0.2.15/24996machine # [ 11.955595] dhcpcd[711]: eth0: soliciting an IPv6 router997machine # [ 11.958105] dhcpcd[711]: eth0: Router Advertisement from fe80::2998machine # [ 11.960089] dhcpcd[711]: eth0: adding address fec0::5054:ff:fe12:3456/64999machine # [ 11.961919] dhcpcd[711]: eth0: adding route to fec0::/641000machine # [ 11.963317] dhcpcd[711]: eth0: adding default route via fe80::21001machine # [ 16.078703] dhcpcd[711]: eth0: leased 10.0.2.15 for 86400 seconds1002machine # [ 16.081408] dhcpcd[711]: eth0: adding route to 10.0.2.0/241003machine # [ 16.082492] dhcpcd[711]: eth0: adding default route via 10.0.2.21004machine # [ 16.235240] systemd[1]: Started DHCP Client.1005machine # [ 20.900379] nextcloud-setup-start[523]: Nextcloud was successfully installed1006machine # [ 22.034863] nextcloud-setup-start[950]: No upgrade required.1007machine # [ 22.036056] nextcloud-setup-start[950]: Note: This command triggers the upgrade actions associated with a new version. The new version's updated source files must be deployed in advance.1008machine # [ 22.038643] nextcloud-setup-start[950]: See the upgrade documentation: https://docs.nextcloud.com/server/33/go.php?to=admin-update for more information.1009machine # [ 22.861428] nextcloud-setup-start[962]: System config value trusted_domains deleted1010machine # [ 23.779472] nextcloud-setup-start[975]: rhwpviewer 0.1.0 enabled1011machine # [ 24.597281] nextcloud-setup-start[987]: System config value trusted_domains => 0 set to string localhost1012machine # [ 24.622690] systemd[1]: nextcloud-setup.service: Deactivated successfully.1013machine # [ 24.624783] systemd[1]: Finished nextcloud-setup.service.1014machine # [ 24.626323] systemd[1]: nextcloud-setup.service: Consumed 5.627s CPU time over 16.582s wall clock time, 149.9M memory peak, 12.7M written to disk.1015machine # [ 24.632664] systemd[1]: Started nextcloud-cron.timer.1016machine # [ 24.635495] systemd[1]: Reached target Timer Units.1017machine # [ 24.637894] systemd[1]: Starting nextcloud-update-db.service...1018machine # [ 24.645300] systemd[1]: Starting PHP FastCGI Process Manager service for pool nextcloud...1019machine # [ 24.860674] php-fpm[995]: [10-Sep-2026 21:46:21] NOTICE: systemd watchdog configured to 7.5sec1020machine # [ 24.867349] php-fpm[995]: [NOTICE] fpm is running, pid 9951021machine # [ 24.897802] php-fpm[995]: [NOTICE] ready to handle connections1022machine # [ 24.901082] systemd[1]: Started PHP FastCGI Process Manager service for pool nextcloud.1023machine # [ 24.902666] php-fpm[995]: [NOTICE] systemd monitor interval set to 7500ms1024machine # [ 24.905472] systemd[1]: Reached target PHP FastCGI Process manager pools target.1025machine # [ 24.907148] systemd[1]: Reached target Multi-User System.1026machine # [ 24.927269] php[994]: Cannot write into "config" directory!1027machine # [ 24.928376] php[994]: This can usually be fixed by giving the web server write access to the config directory.1028machine # [ 24.930138] php[994]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.1029machine # [ 24.933078] php[994]: See https://docs.nextcloud.com/server/33/go.php?to=admin-config1030machine # [ 24.970566] systemd[1]: Started nextcloud-update-db.service.1031machine # [ 24.972239] systemd[1]: Startup finished in 872ms (kernel) + 3.843s (initrd) + 20.255s (userspace) = 24.971s.1032machine: (finished: waiting for unit phpfpm-nextcloud.service, in 17.35 seconds)1033machine: waiting for unit nginx.service1034machine: (finished: waiting for unit nginx.service, in 0.04 seconds)1035machine: waiting for TCP port 80 on localhost1036machine # Connection to localhost (127.0.0.1) 80 port [tcp/http] succeeded!1037machine: (finished: waiting for TCP port 80 on localhost, in 0.05 seconds)1038machine: waiting for success: curl --fail --silent --show-error http://localhost/status.php1039machine # [ 25.821708] nextcloud-update-db-start[1012]: Done.1040machine: (finished: waiting for success: curl --fail --silent --show-error http://localhost/status.php, in 0.56 seconds)1041machine: must succeed: nextcloud-occ app:list --enabled1042machine # [ 26.431144] sudo[1033]: root : TTY=hvc0 ; PWD=/nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-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 --enabled1043machine # [ 26.449238] sudo[1033]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1044machine # [ 27.480382] sudo[1033]: pam_unix(sudo:session): session closed for user nextcloud1045machine: (finished: must succeed: nextcloud-occ app:list --enabled, in 1.12 seconds)1046machine: must succeed: nextcloud-occ app:getpath rhwpviewer1047machine # [ 27.523512] sudo[1043]: root : TTY=hvc0 ; PWD=/nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-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 rhwpviewer1048machine # [ 27.539655] sudo[1043]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1049machine # [ 28.173478] nextcloud-update-db-start[1041]: Done.1050machine # [ 28.206281] systemd[1]: nextcloud-update-db.service: Deactivated successfully.1051machine # [ 28.208823] systemd[1]: nextcloud-update-db.service: Consumed 1.239s CPU time over 3.569s wall clock time, 51.8M memory peak.1052machine # [ 28.532344] sudo[1043]: pam_unix(sudo:session): session closed for user nextcloud1053machine: (finished: must succeed: nextcloud-occ app:getpath rhwpviewer, in 1.05 seconds)1054machine: must succeed: test -x /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp1055machine: (finished: must succeed: test -x /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp, in 0.01 seconds)1056machine: must succeed: /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null1057machine: (finished: must succeed: /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null, in 0.03 seconds)1058machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php1059machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-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/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml1061machine: (finished: must succeed: grep -q 'RHWP Studio' /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml, in 0.02 seconds)1062machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php1063machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php, in 0.01 seconds)1064machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php1065machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php, in 0.01 seconds)1066machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php1067machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php, in 0.01 seconds)1068machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php1069machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php, in 0.01 seconds)1070machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php1071machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php, in 0.01 seconds)1072machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php1073machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php, in 0.01 seconds)1074machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php1075machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php, in 0.01 seconds)1076machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php1077machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php, in 0.01 seconds)1078machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php1079machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php, in 0.01 seconds)1080machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html1081machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html, in 0.01 seconds)1082machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js1083machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js, in 0.01 seconds)1084machine: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js1085machine: (finished: must succeed: test -f /nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js, in 0.01 seconds)1086machine: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root1087machine # [ 28.799362] sudo[1102]: root : TTY=hvc0 ; PWD=/nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-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 root1088machine # [ 28.817271] sudo[1102]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1089machine # [ 29.692787] Nextcloud[1108]: {"reqId":"hrPlZckaqXPOlIVkxqCA","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"}}1090machine # [ 29.699851] Nextcloud[1108]: {"reqId":"hrPlZckaqXPOlIVkxqCA","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"}}1091machine # [ 29.706756] Nextcloud[1108]: {"reqId":"hrPlZckaqXPOlIVkxqCA","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"}}1092machine # [ 29.713535] Nextcloud[1108]: {"reqId":"hrPlZckaqXPOlIVkxqCA","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 # [ 30.009292] sudo[1102]: pam_unix(sudo:session): session closed for user nextcloud1094machine: (finished: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root, in 1.26 seconds)1095machine: must succeed: 1096install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1097install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1098install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1099install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1100nextcloud-occ files:scan root11011102machine # [ 30.081303] sudo[1110]: root : TTY=hvc0 ; PWD=/nix/store/j1ida8g3yjhbxg746i0kixpf6l6kqpwq-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 root1103machine # [ 30.094859] sudo[1110]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1104machine # [ 31.077849] sudo[1110]: pam_unix(sudo:session): session closed for user nextcloud1105machine: (finished: must succeed: 1106install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1107install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1108install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1109install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1110nextcloud-occ files:scan root1111, in 1.07 seconds)1112machine: must succeed: 1113python3 - <<'PY'1114import base641115import http.cookiejar1116import json1117import re1118import urllib.error1119import urllib.parse1120import urllib.request1121import xml.etree.ElementTree as ET11221123base = "http://localhost"1124password = "CorrectHorseBatteryStaple42!"1125sample_filename = "한글 제목 샘플.hwp"1126sample_hwpx_filename = "한글 제목 샘플.hwpx"1127sample_dirname = "rhwpviewer-sample-dir"1128cookies = http.cookiejar.CookieJar()1129opener = urllib.request.build_opener(1130 urllib.request.HTTPCookieProcessor(cookies)1131)11321133def get_file_id(filename):1134 body = (1135 '<?xml version="1.0" encoding="utf-8" ?>\n'1136 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1137 ' <d:prop><oc:fileid /></d:prop>\n'1138 '</d:propfind>\n'1139 ).encode()1140 credentials = base64.b64encode(f"root:{password}".encode()).decode()1141 request = urllib.request.Request(1142 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1143 data=body,1144 headers={1145 "Authorization": "Basic " + credentials,1146 "Content-Type": "application/xml",1147 "Depth": "0",1148 },1149 method="PROPFIND",1150 )1151 response = urllib.request.urlopen(request)1152 assert response.status == 207, response.status1153 xml = response.read()1154 root = ET.fromstring(xml)1155 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1156 assert file_id is not None, xml.decode("utf-8", "replace")1157 file_id = file_id.strip()1158 assert file_id.isdigit(), file_id1159 return file_id11601161login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1162match = re.search(r'data-requesttoken="([^"]+)"', login_html)1163assert match, login_html[:1000]1164token = match.group(1)11651166data = urllib.parse.urlencode({1167 "user": "root",1168 "password": password,1169 "requesttoken": token,1170 "timezone": "UTC",1171 "timezone_offset": "0",1172}).encode()11731174request = urllib.request.Request(1175 base + "/login",1176 data=data,1177 headers={1178 "Origin": base,1179 "Content-Type": "application/x-www-form-urlencoded",1180 },1181)1182opener.open(request)11831184response = opener.open(base + "/apps/rhwpviewer/")1185assert response.status == 200, response.status1186html = response.read().decode("utf-8", "replace")1187assert "rhwpviewer-root" in html, html[:1000]1188assert "viewer.js" in html, html[:1000]1189assert "Viewer route is ready" in html, html[:1000]11901191response = opener.open(base + "/apps/files/")1192assert response.status == 200, response.status1193html = response.read().decode("utf-8", "replace")1194assert "files-action.js" in html, html[:1000]1195action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1196assert action_script, html[:1000]1197action_response = opener.open(base + action_script.group(1))1198action_js = action_response.read().decode("utf-8", "replace")1199assert "Open in RHWP Studio" in action_js, action_js[:1000]1200assert "Edit with RHWP" not in action_js, action_js[:1000]1201assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1202assert "default" in action_js, action_js[:1000]12031204def check_editor(filename):1205 file_id = get_file_id(filename)1206 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1207 assert response.status == 200, response.status1208 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1209 decoded_editor_url = urllib.parse.unquote(response.geturl())1210 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1211 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1212 assert "한글" not in decoded_editor_url, decoded_editor_url1213 studio_html = response.read().decode("utf-8", "replace")12141215 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1216 assert content_response.status == 200, content_response.status1217 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1218 content = content_response.read()1219 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]12201221 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1222 assert "rhwp-studio" in studio_html, studio_html[:1000]1223 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1224 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1225 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1226 assert token_match, studio_html[:1000]1227 save_request = urllib.request.Request(1228 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1229 data=content,1230 headers={1231 "Content-Type": "application/octet-stream",1232 "requesttoken": token_match.group(1),1233 },1234 method="PUT",1235 )1236 save_response = opener.open(save_request)1237 assert save_response.status == 200, save_response.status1238 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1239 assert save_payload["status"] == "ok", save_payload1240 assert save_payload["fileId"] == int(file_id), save_payload1241 assert save_payload["bytes"] == len(content), save_payload1242 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1243 assert saved_content == content, len(saved_content)1244 # theme-init.js: nonced and moved off the document root onto the app1245 # subpath, so it loads under Nextcloud and passes the CSP.1246 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1247 theme_match = re.search(1248 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1249 )1250 assert theme_match, studio_html[:1000]1251 assert "nonce=" in theme_match.group(1), theme_match.group(0)1252 # The app bundle is the ES module script; check it specifically rather1253 # than the first <script src> (which is now theme-init.js).1254 module_match = re.search(1255 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1256 )1257 assert module_match, studio_html[:1000]1258 assert "nonce=" in module_match.group(1), module_match.group(0)1259 script_src = module_match.group(2)1260 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1261 assert 'src="/assets/' not in studio_html, studio_html[:1000]1262 assert 'href="/assets/' not in studio_html, studio_html[:1000]1263 assert "registerSW.js" not in studio_html, studio_html[:1000]1264 # Catch-all guards so a future RHWP Studio <head> change fails loudly1265 # and points at exactly what studioHtml() must handle, rather than1266 # tripping an indirect assertion. (1) no root-absolute asset ref may1267 # survive un-rewritten off the app subpath; (2) every <script src>1268 # must carry the CSP nonce.1269 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1270 assert stray is None, stray.group(0) if stray else studio_html[:1000]1271 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1272 assert "nonce=" in tag, tag12731274 asset_response = opener.open(base + script_src)1275 assert asset_response.status == 200, asset_response.status1276 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1277 asset_js = asset_response.read().decode("utf-8", "replace")1278 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1279 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1280 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1281 return file_id12821283def check_svg_export(filename):1284 file_id = get_file_id(filename)1285 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1286 assert response.status == 200, response.status1287 html = response.read().decode("utf-8", "replace")1288 assert "rhwpviewer-root" in html, html[:1000]1289 assert "rhwpviewer-pages" in html, html[:1000]1290 assert "viewer.js" in html, html[:1000]1291 assert f'data-file-id="{file_id}"' in html, html[:1000]1292 assert file_id in html, html[:1000]1293 assert filename in html, html[:1000]12941295 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1296 assert response.status == 200, response.status1297 payload = json.loads(response.read().decode("utf-8", "replace"))1298 assert payload["fileId"] == int(file_id), payload1299 assert payload["fileName"] == filename, payload1300 assert payload["status"] == "ok", payload1301 assert payload["kind"] == "svg", payload1302 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1303 first_page = payload["pages"][0]1304 assert first_page["index"] == 0, payload1305 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1306 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1307 assert first_page["url"].endswith(".svg"), payload1308 assert filename not in first_page["url"], payload1309 assert "한글" not in first_page["url"], payload13101311 page_response = opener.open(base + first_page["url"])1312 assert page_response.status == 200, page_response.status1313 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1314 svg = page_response.read().decode("utf-8", "replace")1315 assert "<svg" in svg[:1000], svg[:1000]1316 return file_id13171318file_id = check_svg_export(sample_filename)1319check_svg_export(sample_hwpx_filename)1320check_editor(sample_filename)1321check_editor(sample_hwpx_filename)13221323directory_id = get_file_id(sample_dirname)1324try:1325 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1326 raise AssertionError("directory fileId unexpectedly succeeded")1327except urllib.error.HTTPError as error:1328 assert error.code == 404, error.code13291330try:1331 opener.open(base + "/apps/rhwpviewer/view/999999999")1332 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1333except urllib.error.HTTPError as error:1334 assert error.code == 404, error.code13351336try:1337 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1338 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1339except urllib.error.HTTPError as error:1340 assert error.code == 404, error.code13411342try:1343 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1344 raise AssertionError("bogus page unexpectedly succeeded")1345except urllib.error.HTTPError as error:1346 assert error.code == 404, error.code1347PY13481349machine: (finished: must succeed: 1350python3 - <<'PY'1351import base641352import http.cookiejar1353import json1354import re1355import urllib.error1356import urllib.parse1357import urllib.request1358import xml.etree.ElementTree as ET13591360base = "http://localhost"1361password = "CorrectHorseBatteryStaple42!"1362sample_filename = "한글 제목 샘플.hwp"1363sample_hwpx_filename = "한글 제목 샘플.hwpx"1364sample_dirname = "rhwpviewer-sample-dir"1365cookies = http.cookiejar.CookieJar()1366opener = urllib.request.build_opener(1367 urllib.request.HTTPCookieProcessor(cookies)1368)13691370def get_file_id(filename):1371 body = (1372 '<?xml version="1.0" encoding="utf-8" ?>\n'1373 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1374 ' <d:prop><oc:fileid /></d:prop>\n'1375 '</d:propfind>\n'1376 ).encode()1377 credentials = base64.b64encode(f"root:{password}".encode()).decode()1378 request = urllib.request.Request(1379 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1380 data=body,1381 headers={1382 "Authorization": "Basic " + credentials,1383 "Content-Type": "application/xml",1384 "Depth": "0",1385 },1386 method="PROPFIND",1387 )1388 response = urllib.request.urlopen(request)1389 assert response.status == 207, response.status1390 xml = response.read()1391 root = ET.fromstring(xml)1392 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1393 assert file_id is not None, xml.decode("utf-8", "replace")1394 file_id = file_id.strip()1395 assert file_id.isdigit(), file_id1396 return file_id13971398login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1399match = re.search(r'data-requesttoken="([^"]+)"', login_html)1400assert match, login_html[:1000]1401token = match.group(1)14021403data = urllib.parse.urlencode({1404 "user": "root",1405 "password": password,1406 "requesttoken": token,1407 "timezone": "UTC",1408 "timezone_offset": "0",1409}).encode()14101411request = urllib.request.Request(1412 base + "/login",1413 data=data,1414 headers={1415 "Origin": base,1416 "Content-Type": "application/x-www-form-urlencoded",1417 },1418)1419opener.open(request)14201421response = opener.open(base + "/apps/rhwpviewer/")1422assert response.status == 200, response.status1423html = response.read().decode("utf-8", "replace")1424assert "rhwpviewer-root" in html, html[:1000]1425assert "viewer.js" in html, html[:1000]1426assert "Viewer route is ready" in html, html[:1000]14271428response = opener.open(base + "/apps/files/")1429assert response.status == 200, response.status1430html = response.read().decode("utf-8", "replace")1431assert "files-action.js" in html, html[:1000]1432action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1433assert action_script, html[:1000]1434action_response = opener.open(base + action_script.group(1))1435action_js = action_response.read().decode("utf-8", "replace")1436assert "Open in RHWP Studio" in action_js, action_js[:1000]1437assert "Edit with RHWP" not in action_js, action_js[:1000]1438assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1439assert "default" in action_js, action_js[:1000]14401441def check_editor(filename):1442 file_id = get_file_id(filename)1443 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1444 assert response.status == 200, response.status1445 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1446 decoded_editor_url = urllib.parse.unquote(response.geturl())1447 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1448 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1449 assert "한글" not in decoded_editor_url, decoded_editor_url1450 studio_html = response.read().decode("utf-8", "replace")14511452 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1453 assert content_response.status == 200, content_response.status1454 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1455 content = content_response.read()1456 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]14571458 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1459 assert "rhwp-studio" in studio_html, studio_html[:1000]1460 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1461 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1462 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1463 assert token_match, studio_html[:1000]1464 save_request = urllib.request.Request(1465 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1466 data=content,1467 headers={1468 "Content-Type": "application/octet-stream",1469 "requesttoken": token_match.group(1),1470 },1471 method="PUT",1472 )1473 save_response = opener.open(save_request)1474 assert save_response.status == 200, save_response.status1475 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1476 assert save_payload["status"] == "ok", save_payload1477 assert save_payload["fileId"] == int(file_id), save_payload1478 assert save_payload["bytes"] == len(content), save_payload1479 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1480 assert saved_content == content, len(saved_content)1481 # theme-init.js: nonced and moved off the document root onto the app1482 # subpath, so it loads under Nextcloud and passes the CSP.1483 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1484 theme_match = re.search(1485 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1486 )1487 assert theme_match, studio_html[:1000]1488 assert "nonce=" in theme_match.group(1), theme_match.group(0)1489 # The app bundle is the ES module script; check it specifically rather1490 # than the first <script src> (which is now theme-init.js).1491 module_match = re.search(1492 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1493 )1494 assert module_match, studio_html[:1000]1495 assert "nonce=" in module_match.group(1), module_match.group(0)1496 script_src = module_match.group(2)1497 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1498 assert 'src="/assets/' not in studio_html, studio_html[:1000]1499 assert 'href="/assets/' not in studio_html, studio_html[:1000]1500 assert "registerSW.js" not in studio_html, studio_html[:1000]1501 # Catch-all guards so a future RHWP Studio <head> change fails loudly1502 # and points at exactly what studioHtml() must handle, rather than1503 # tripping an indirect assertion. (1) no root-absolute asset ref may1504 # survive un-rewritten off the app subpath; (2) every <script src>1505 # must carry the CSP nonce.1506 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1507 assert stray is None, stray.group(0) if stray else studio_html[:1000]1508 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1509 assert "nonce=" in tag, tag15101511 asset_response = opener.open(base + script_src)1512 assert asset_response.status == 200, asset_response.status1513 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1514 asset_js = asset_response.read().decode("utf-8", "replace")1515 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1516 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1517 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1518 return file_id15191520def check_svg_export(filename):1521 file_id = get_file_id(filename)1522 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1523 assert response.status == 200, response.status1524 html = response.read().decode("utf-8", "replace")1525 assert "rhwpviewer-root" in html, html[:1000]1526 assert "rhwpviewer-pages" in html, html[:1000]1527 assert "viewer.js" in html, html[:1000]1528 assert f'data-file-id="{file_id}"' in html, html[:1000]1529 assert file_id in html, html[:1000]1530 assert filename in html, html[:1000]15311532 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1533 assert response.status == 200, response.status1534 payload = json.loads(response.read().decode("utf-8", "replace"))1535 assert payload["fileId"] == int(file_id), payload1536 assert payload["fileName"] == filename, payload1537 assert payload["status"] == "ok", payload1538 assert payload["kind"] == "svg", payload1539 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1540 first_page = payload["pages"][0]1541 assert first_page["index"] == 0, payload1542 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1543 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1544 assert first_page["url"].endswith(".svg"), payload1545 assert filename not in first_page["url"], payload1546 assert "한글" not in first_page["url"], payload15471548 page_response = opener.open(base + first_page["url"])1549 assert page_response.status == 200, page_response.status1550 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1551 svg = page_response.read().decode("utf-8", "replace")1552 assert "<svg" in svg[:1000], svg[:1000]1553 return file_id15541555file_id = check_svg_export(sample_filename)1556check_svg_export(sample_hwpx_filename)1557check_editor(sample_filename)1558check_editor(sample_hwpx_filename)15591560directory_id = get_file_id(sample_dirname)1561try:1562 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1563 raise AssertionError("directory fileId unexpectedly succeeded")1564except urllib.error.HTTPError as error:1565 assert error.code == 404, error.code15661567try:1568 opener.open(base + "/apps/rhwpviewer/view/999999999")1569 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1570except urllib.error.HTTPError as error:1571 assert error.code == 404, error.code15721573try:1574 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1575 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1576except urllib.error.HTTPError as error:1577 assert error.code == 404, error.code15781579try:1580 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1581 raise AssertionError("bogus page unexpectedly succeeded")1582except urllib.error.HTTPError as error:1583 assert error.code == 404, error.code1584PY1585, in 7.99 seconds)1586(finished: run the VM test script, in 40.00 seconds)1587test script finished in 40.04s1588cleanup1589kill QemuMachine (pid 45)1590machine # qemu-system-x86_64: terminating on signal 15 from pid 39 (/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/bin/python3.14)1591(finished: cleanup, in 0.18 seconds)