nixbot

builds

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

1Machine state will be reset. To keep it, pass --keep-machine-state2start all VLans3(finished: start all VLans, in 0.00 seconds)4Test will time out and terminate in 3600.0 seconds5run the VM test script6additionally exposed symbols:7 machine,8 vlan1,9 start_all, test_script, machines, machines_qemu, machines_nspawn, vlans, driver, log, os, create_machine, subtest, run_tests, join_all, retry, serial_stdout_off, serial_stdout_on, polling_condition, BaseMachine, QemuMachine, NspawnMachine, t, debug, dump_machine_ssh10machine: starting vm11machine # Disk image does not exist, creating the virtualisation disk image...12machine: QEMU running (pid 45)13machine # Formatting '/build/vm-state-machine/tmp.HrUn4J56xV', fmt=raw size=107374182414machine # mke2fs 1.47.4 (6-Mar-2025)15machine # Discarding device blocks: 0/262144 done16machine # Creating filesystem with 262144 4k blocks and 65536 inodes17machine # Filesystem UUID: 3229e602-8a41-42ca-b292-caa6effc8b0e18machine # Superblock backups stored on blocks:19machine # 32768, 98304, 163840, 22937620machine # 21machine # Allocating group tables: 0/8 done22machine # Writing inode tables: 0/8 done23machine # Creating journal (8192 blocks): done24machine # Writing superblocks and filesystem accounting information: 0/8 done25machine # 26machine # Virtualisation disk image created.27machine: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success28machine: waiting for the VM to finish booting29machine # SeaBIOS (version rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org)30machine # 31machine # 32machine # iPXE (http://ipxe.org) 00:02.0 CA00 PCI2.10 PnP PMM+3EFCC730+3EF2C730 CA0033machine # Press Ctrl-B to configure iPXE (PCI 00:02.0)...34machine # 35machine # 36machine # 37machine # 38machine # iPXE (http://ipxe.org) 00:08.0 CB00 PCI2.10 PnP PMM 3EFCC730 3EF2C730 CB0039machine # Press Ctrl-B to configure iPXE (PCI 00:08.0)...40machine # 41machine # 42machine # Booting from ROM...43machine # Probing EDD (edd=off to disable)... ok44machine # [ 0.000000] Linux version 6.18.48 (nixbld@localhost) (gcc (GCC) 15.3.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Fri Aug 28 06:22:54 UTC 202645machine # [ 0.000000] Command line: console=ttyS0 console=tty0 panic=1 boot.panic_on_fail clocksource=acpi_pm root=fstab loglevel=7 net.ifnames=0 lsm=landlock,yama,bpf init=/nix/store/y4i3b3k5wc1hwpllcfyx8vn4l507g2wf-nixos-system-machine-test/init regInfo=/nix/store/8q6kxar0723hcml2mmcbk4jyw8k3ggzy-closure-info/registration console=ttyS0,115200n8 console=tty046machine # [ 0.000000] x86 CPU feature dependency check failure: CPU0 has '18*32+31' enabled but '18*32+26' disabled. Kernel might be fine, but no guarantees.47machine # [ 0.000000] BIOS-provided physical RAM map:48machine # [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable49machine # [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved50machine # [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved51machine # [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffd7fff] usable52machine # [ 0.000000] BIOS-e820: [mem 0x000000003ffd8000-0x000000003fffffff] reserved53machine # [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved54machine # [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved55machine # [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved56machine # [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved57machine # [ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved58machine # [ 0.000000] NX (Execute Disable) protection: active59machine # [ 0.000000] APIC: Static calls initialized60machine # [ 0.000000] SMBIOS 2.8 present.61machine # [ 0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/201462machine # [ 0.000000] DMI: Memory slots populated: 1/163machine # [ 0.000000] Hypervisor detected: KVM64machine # [ 0.000000] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000065machine # [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d0066machine # [ 0.000000] kvm-clock: using sched offset of 439962648 cycles67machine # [ 0.000001] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns68machine # [ 0.000004] tsc: Detected 3792.874 MHz processor69machine # [ 0.000655] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000070machine # [ 0.000679] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs71machine # [ 0.000681] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT72machine # [ 0.002218] found SMP MP-table at [mem 0x000f5450-0x000f545f]73machine # [ 0.002228] Using GB pages for direct mapping74machine # [ 0.002279] RAMDISK: [mem 0x3e36a000-0x3ffcffff]75machine # [ 0.002284] ACPI: Early table checksum verification disabled76machine # [ 0.002286] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS )77machine # [ 0.002288] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)78machine # [ 0.002292] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001)79machine # [ 0.002297] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001)80machine # [ 0.002299] ACPI: FACS 0x000000003FFE0000 00004081machine # [ 0.002300] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001)82machine # [ 0.002302] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)83machine # [ 0.002303] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)84machine # [ 0.002304] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)85machine # [ 0.002306] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d]86machine # [ 0.002306] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219]87machine # [ 0.002307] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]88machine # [ 0.002307] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385]89machine # [ 0.002308] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd]90machine # [ 0.002308] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9]91machine # [ 0.002309] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421]92machine # [ 0.002686] No NUMA configuration found93machine # [ 0.002687] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff]94machine # [ 0.002689] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff]95machine # [ 0.002762] Zone ranges:96machine # [ 0.002762] DMA [mem 0x0000000000001000-0x0000000000ffffff]97machine # [ 0.002764] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff]98machine # [ 0.002764] Normal empty99machine # [ 0.002765] Device empty100machine # [ 0.002765] Movable zone start for each node101machine # [ 0.002766] Early memory node ranges102machine # [ 0.002766] node 0: [mem 0x0000000000001000-0x000000000009efff]103machine # [ 0.002767] node 0: [mem 0x0000000000100000-0x000000003ffd7fff]104machine # [ 0.002768] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff]105machine # [ 0.002786] On node 0, zone DMA: 1 pages in unavailable ranges106machine # [ 0.003011] On node 0, zone DMA: 97 pages in unavailable ranges107machine # [ 0.017676] On node 0, zone DMA32: 40 pages in unavailable ranges108machine # [ 0.018657] ACPI: PM-Timer IO Port: 0x608109machine # [ 0.018665] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])110machine # [ 0.018685] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23111machine # [ 0.018687] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)112machine # [ 0.018688] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)113machine # [ 0.018689] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)114machine # [ 0.018689] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)115machine # [ 0.018690] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)116machine # [ 0.018692] ACPI: Using ACPI (MADT) for SMP configuration information117machine # [ 0.018692] ACPI: HPET id: 0x8086a201 base: 0xfed00000118machine # [ 0.018695] TSC deadline timer available119machine # [ 0.018698] CPU topo: Max. logical packages: 1120machine # [ 0.018698] CPU topo: Max. logical dies: 1121machine # [ 0.018699] CPU topo: Max. dies per package: 1122machine # [ 0.018702] CPU topo: Max. threads per core: 1123machine # [ 0.018702] CPU topo: Num. cores per package: 1124machine # [ 0.018702] CPU topo: Num. threads per package: 1125machine # [ 0.018703] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs126machine # [ 0.018713] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()127machine # [ 0.018738] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]128machine # [ 0.018739] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]129machine # [ 0.018740] [mem 0x40000000-0xafffffff] available for PCI devices130machine # [ 0.018741] Booting paravirtualized kernel on KVM131machine # [ 0.018743] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns132machine # [ 0.022426] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1133machine # [ 0.024176] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152134machine # [ 0.024208] kvm-guest: PV spinlocks disabled, single CPU135machine # [ 0.024209] 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/y4i3b3k5wc1hwpllcfyx8vn4l507g2wf-nixos-system-machine-test/init regInfo=/nix/store/8q6kxar0723hcml2mmcbk4jyw8k3ggzy-closure-info/registration console=ttyS0,115200n8 console=tty0136machine # [ 0.024278] Unknown kernel command line parameters "regInfo=/nix/store/8q6kxar0723hcml2mmcbk4jyw8k3ggzy-closure-info/registration", will be passed to user space.137machine # [ 0.024295] random: crng init done138machine # [ 0.024295] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes139machine # [ 0.025166] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)140machine # [ 0.025191] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)141machine # [ 0.025214] Fallback order for Node 0: 0142machine # [ 0.025217] Built 1 zonelists, mobility grouping on. Total pages: 262006143machine # [ 0.025217] Policy zone: DMA32144machine # [ 0.027374] mem auto-init: stack:all(zero), heap alloc:on, heap free:off145machine # [ 0.029940] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1146machine # [ 0.031747] allocated 2097152 bytes of page_ext147machine # [ 0.039963] ftrace: allocating 48733 entries in 192 pages148machine # [ 0.039965] ftrace: allocated 192 pages with 2 groups149machine # [ 0.040617] Dynamic Preempt: lazy150machine # [ 0.040751] rcu: Preemptible hierarchical RCU implementation.151machine # [ 0.040752] rcu: RCU event tracing is enabled.152machine # [ 0.040752] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1.153machine # [ 0.040753] Trampoline variant of Tasks RCU enabled.154machine # [ 0.040753] Rude variant of Tasks RCU enabled.155machine # [ 0.040754] Tracing variant of Tasks RCU enabled.156machine # [ 0.040754] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.157machine # [ 0.040755] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1158machine # [ 0.040775] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.159machine # [ 0.040776] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.160machine # [ 0.040777] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.161machine # [ 0.044500] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16162machine # [ 0.044742] rcu: srcu_init: Setting srcu_struct sizes based on contention.163machine # [ 0.044746] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns164machine # [ 0.044826] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)165machine # [ 0.050406] Console: colour VGA+ 80x25166machine # [ 0.050408] printk: legacy console [tty0] enabled167machine # [ 0.083217] printk: legacy console [ttyS0] enabled168machine # [ 0.232515] ACPI: Core revision 20250807169machine # [ 0.233692] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns170machine # [ 0.235797] APIC: Switch to symmetric I/O mode setup171machine # [ 0.237081] x2apic enabled172machine # [ 0.237964] APIC: Switched APIC routing to: physical x2apic173machine # [ 0.240044] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1174machine # [ 0.241387] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns175machine # [ 0.243657] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874)176machine # [ 0.245725] x86/cpu: User Mode Instruction Prevention (UMIP) activated177machine # [ 0.247751] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127178machine # [ 0.248658] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0179machine # [ 0.249660] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto180machine # [ 0.250658] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl181machine # [ 0.251658] Spectre V2 : Mitigation: Retpolines182machine # [ 0.252658] Speculative Return Stack Overflow: Mitigation: Safe RET183machine # [ 0.253658] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization184machine # [ 0.255658] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT185machine # [ 0.256658] Spectre V2 : Enabling Restricted Speculation for firmware calls186machine # [ 0.257659] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier187machine # [ 0.259658] active return thunk: srso_alias_return_thunk188machine # [ 0.260672] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'189machine # [ 0.262658] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'190machine # [ 0.263658] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'191machine # [ 0.265658] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'192machine # [ 0.266658] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers'193machine # [ 0.267658] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)'194machine # [ 0.269658] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256195machine # [ 0.270658] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8196machine # [ 0.271658] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16197machine # [ 0.272658] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24198machine # [ 0.274658] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format.199machine # [ 0.301567] Freeing SMP alternatives memory: 44K200machine # [ 0.302487] pid_max: default: 32768 minimum: 301201machine # [ 0.303711] LSM: initializing lsm=capability,landlock,yama,bpf,ima202machine # [ 0.304737] landlock: Up and running.203machine # [ 0.305658] Yama: becoming mindful.204machine # [ 0.306852] LSM support for eBPF active205machine # [ 0.307731] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)206machine # [ 0.308677] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)207machine # [ 0.311316] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2)208machine # [ 0.312260] Performance Events: Fam17h+ core perfctr, AMD PMU driver.209machine # [ 0.312661] ... version: 0210machine # [ 0.313649] ... bit width: 48211machine # [ 0.314441] ... generic counters: 6212machine # [ 0.315435] ... generic bitmap: 000000000000003f213machine # [ 0.316659] ... fixed-purpose counters: 0214machine # [ 0.317653] ... fixed-purpose bitmap: 0000000000000000215machine # [ 0.318659] ... value mask: 0000ffffffffffff216machine # [ 0.319659] ... max period: 00007fffffffffff217machine # [ 0.320659] ... global_ctrl mask: 000000000000003f218machine # [ 0.321742] signal: max sigframe size: 3376219machine # [ 0.322769] rcu: Hierarchical SRCU implementation.220machine # [ 0.323663] rcu: Max phase no-delay instances is 400.221machine # [ 0.328246] smp: Bringing up secondary CPUs ...222machine # [ 0.328671] smp: Brought up 1 node, 1 CPU223machine # [ 0.329608] smpboot: Total of 1 processors activated (7585.74 BogoMIPS)224machine # [ 0.330816] Memory: 943012K/1048024K available (17215K kernel code, 2726K rwdata, 13580K rodata, 3644K init, 2988K bss, 97584K reserved, 0K cma-reserved)225machine # [ 0.331833] devtmpfs: initialized226machine # [ 0.332831] x86/mm: Memory block size: 128MB227machine # [ 0.334464] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear)228machine # [ 0.335686] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).229machine # [ 0.336720] pinctrl core: initialized pinctrl subsystem230machine # [ 0.337904] PM: RTC time: 21:55:31, date: 2026-09-03231machine # [ 0.340879] NET: Registered PF_NETLINK/PF_ROUTE protocol family232machine # [ 0.341958] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations233machine # [ 0.342679] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations234machine # [ 0.343776] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations235machine # [ 0.344666] audit: initializing netlink subsys (disabled)236machine # [ 0.345864] thermal_sys: Registered thermal governor 'fair_share'237machine # [ 0.345866] thermal_sys: Registered thermal governor 'bang_bang'238machine # [ 0.346660] thermal_sys: Registered thermal governor 'step_wise'239machine # [ 0.347662] audit: type=2000 audit(1788472532.279:1): state=initialized audit_enabled=0 res=1240machine # [ 0.349661] thermal_sys: Registered thermal governor 'user_space'241machine # [ 0.349663] thermal_sys: Registered thermal governor 'power_allocator'242machine # [ 0.350673] cpuidle: using governor menu243machine # [ 0.353487] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5244machine # [ 0.354909] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff]245machine # [ 0.355661] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry246machine # [ 0.356668] PCI: Using configuration type 1 for base access247machine # [ 0.357815] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.248machine # [ 0.366846] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages249machine # [ 0.367660] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page250machine # [ 0.372659] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages251machine # [ 0.373659] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page252machine # [ 0.379953] ACPI: Added _OSI(Module Device)253machine # [ 0.380660] ACPI: Added _OSI(Processor Device)254machine # [ 0.383659] ACPI: Added _OSI(Processor Aggregator Device)255machine # [ 0.389012] ACPI: 1 ACPI AML tables successfully acquired and loaded256machine # [ 0.395016] ACPI: Interpreter enabled257machine # [ 0.395673] ACPI: PM: (supports S0 S3 S4 S5)258machine # [ 0.396660] ACPI: Using IOAPIC for interrupt routing259machine # [ 0.397711] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug260machine # [ 0.400404] PCI: Using E820 reservations for host bridge windows261machine # [ 0.400803] ACPI: Enabled 2 GPEs in block 00 to 3F262machine # [ 0.405580] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])263machine # [ 0.406663] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]264machine # [ 0.407744] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR]265machine # [ 0.408788] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability]266machine # [ 0.410092] PCI host bridge to bus 0000:00267machine # [ 0.410664] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]268machine # [ 0.411660] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]269machine # [ 0.412660] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]270machine # [ 0.413660] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window]271machine # [ 0.414660] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]272machine # [ 0.415660] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window]273machine # [ 0.416660] pci_bus 0000:00: root bus resource [bus 00-ff]274machine # [ 0.417754] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint275machine # [ 0.419383] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint276machine # [ 0.422766] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref]277machine # [ 0.423682] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff]278machine # [ 0.424747] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref]279machine # [ 0.425929] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]280machine # [ 0.427683] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint281machine # [ 0.430650] pci 0000:00:02.0: BAR 0 [io 0xc140-0xc15f]282machine # [ 0.431617] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff]283machine # [ 0.432702] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref]284machine # [ 0.433671] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref]285machine # [ 0.435958] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint286machine # [ 0.437671] pci 0000:00:03.0: BAR 0 [io 0xc160-0xc17f]287machine # [ 0.438672] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff]288machine # [ 0.439702] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref]289machine # [ 0.441627] pci 0000:00:04.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint290machine # [ 0.443670] pci 0000:00:04.0: BAR 0 [io 0xc080-0xc0bf]291machine # [ 0.444671] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff]292machine # [ 0.445703] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref]293machine # [ 0.447618] pci 0000:00:05.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint294machine # [ 0.450670] pci 0000:00:05.0: BAR 0 [io 0xc180-0xc19f]295machine # [ 0.452616] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff]296machine # [ 0.453711] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref]297machine # [ 0.455619] pci 0000:00:06.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint298machine # [ 0.457671] pci 0000:00:06.0: BAR 0 [io 0xc1a0-0xc1bf]299machine # [ 0.458672] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff]300machine # [ 0.459703] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref]301machine # [ 0.461608] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint302machine # [ 0.463671] pci 0000:00:07.0: BAR 0 [io 0xc000-0xc07f]303machine # [ 0.464671] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff]304machine # [ 0.465702] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref]305machine # [ 0.467660] pci 0000:00:08.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint306machine # [ 0.469671] pci 0000:00:08.0: BAR 0 [io 0xc1c0-0xc1df]307machine # [ 0.470672] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff]308machine # [ 0.471702] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref]309machine # [ 0.472672] pci 0000:00:08.0: ROM [mem 0xfeb80000-0xfebbffff pref]310machine # [ 0.474604] pci 0000:00:09.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint311machine # [ 0.476681] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff]312machine # [ 0.477702] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref]313machine # [ 0.479608] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint314machine # [ 0.482407] pci 0000:00:0a.0: BAR 0 [io 0xc0c0-0xc0ff]315machine # [ 0.482672] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff]316machine # [ 0.483702] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref]317machine # [ 0.485612] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint318machine # [ 0.487671] pci 0000:00:0b.0: BAR 0 [io 0xc1e0-0xc1ff]319machine # [ 0.488672] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff]320machine # [ 0.489709] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref]321machine # [ 0.491642] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint322machine # [ 0.493457] pci 0000:00:1d.0: BAR 4 [io 0xc200-0xc21f]323machine # [ 0.494877] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint324machine # [ 0.497435] pci 0000:00:1d.1: BAR 4 [io 0xc220-0xc23f]325machine # [ 0.498932] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint326machine # [ 0.500414] pci 0000:00:1d.2: BAR 4 [io 0xc240-0xc25f]327machine # [ 0.500983] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint328machine # [ 0.502620] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff]329machine # [ 0.504045] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint330machine # [ 0.505174] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO331machine # [ 0.506059] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint332machine # [ 0.507713] pci 0000:00:1f.2: BAR 4 [io 0xc260-0xc27f]333machine # [ 0.508679] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff]334machine # [ 0.510167] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint335machine # [ 0.512421] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f]336machine # [ 0.518492] ACPI: PCI: Interrupt link LNKA configured for IRQ 10337machine # [ 0.519794] ACPI: PCI: Interrupt link LNKB configured for IRQ 10338machine # [ 0.520790] ACPI: PCI: Interrupt link LNKC configured for IRQ 11339machine # [ 0.521787] ACPI: PCI: Interrupt link LNKD configured for IRQ 11340machine # [ 0.522790] ACPI: PCI: Interrupt link LNKE configured for IRQ 10341machine # [ 0.523787] ACPI: PCI: Interrupt link LNKF configured for IRQ 10342machine # [ 0.524790] ACPI: PCI: Interrupt link LNKG configured for IRQ 11343machine # [ 0.525788] ACPI: PCI: Interrupt link LNKH configured for IRQ 11344machine # [ 0.526830] ACPI: PCI: Interrupt link GSIA configured for IRQ 16345machine # [ 0.527700] ACPI: PCI: Interrupt link GSIB configured for IRQ 17346machine # [ 0.528674] ACPI: PCI: Interrupt link GSIC configured for IRQ 18347machine # [ 0.529677] ACPI: PCI: Interrupt link GSID configured for IRQ 19348machine # [ 0.530674] ACPI: PCI: Interrupt link GSIE configured for IRQ 20349machine # [ 0.531677] ACPI: PCI: Interrupt link GSIF configured for IRQ 21350machine # [ 0.532674] ACPI: PCI: Interrupt link GSIG configured for IRQ 22351machine # [ 0.533677] ACPI: PCI: Interrupt link GSIH configured for IRQ 23352machine # [ 0.535442] iommu: Default domain type: Translated353machine # [ 0.536557] iommu: DMA domain TLB invalidation policy: lazy mode354machine # [ 0.537858] ACPI: bus type USB registered355machine # [ 0.538714] usbcore: registered new interface driver usbfs356machine # [ 0.539676] usbcore: registered new interface driver hub357machine # [ 0.540679] usbcore: registered new device driver usb358machine # [ 0.542313] NetLabel: Initializing359machine # [ 0.542664] NetLabel: domain hash size = 128360machine # [ 0.543659] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO361machine # [ 0.544690] NetLabel: unlabeled traffic allowed by default362machine # [ 0.545669] PCI: Using ACPI for IRQ routing363machine # [ 0.629323] pci 0000:00:01.0: vgaarb: setting as boot VGA device364machine # [ 0.629655] pci 0000:00:01.0: vgaarb: bridge control possible365machine # [ 0.629655] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none366machine # [ 0.629661] vgaarb: loaded367machine # [ 0.630525] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0368machine # [ 0.631549] hpet0: 3 comparators, 64-bit 100.000000 MHz counter369machine # [ 0.635730] clocksource: Switched to clocksource kvm-clock370machine # [ 0.637593] VFS: Disk quotas dquot_6.6.0371machine # [ 0.640018] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)372machine # [ 0.641680] pnp: PnP ACPI init373machine # [ 0.642635] ACPI: IRQ 4 override to edge(!), high(!)374machine # [ 0.643899] system 00:05: [mem 0xb0000000-0xbfffffff window] has been reserved375machine # [ 0.645903] pnp: PnP ACPI: found 6 devices376machine # [ 0.653471] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns377machine # [ 0.655420] clocksource: Switched to clocksource acpi_pm378machine # [ 0.656721] NET: Registered PF_INET protocol family379machine # [ 0.658060] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)380machine # [ 0.672671] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)381machine # [ 0.674666] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)382machine # [ 0.676448] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)383machine # [ 0.678197] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)384machine # [ 0.679851] TCP: Hash tables configured (established 8192 bind 8192)385machine # [ 0.681347] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear)386machine # [ 0.683038] UDP hash table entries: 512 (order: 3, 32768 bytes, linear)387machine # [ 0.684560] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear)388machine # [ 0.686184] NET: Registered PF_UNIX/PF_LOCAL protocol family389machine # [ 0.687508] NET: Registered PF_XDP protocol family390machine # [ 0.688661] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]391machine # [ 0.690047] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]392machine # [ 0.691449] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]393machine # [ 0.692975] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window]394machine # [ 0.694494] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window]395machine # [ 0.696017] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window]396machine # [ 0.698144] ACPI: \_SB_.GSIA: Enabled at IRQ 16397machine # [ 0.700353] ACPI: \_SB_.GSIB: Enabled at IRQ 17398machine # [ 0.702564] ACPI: \_SB_.GSIC: Enabled at IRQ 18399machine # [ 0.704765] ACPI: \_SB_.GSID: Enabled at IRQ 19400machine # [ 0.706705] PCI: CLS 0 bytes, default 64401machine # [ 0.707885] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns402machine # [ 0.710179] Trying to unpack rootfs image as initramfs...403machine # [ 0.750259] Initialise system trusted keyrings404machine # [ 0.753982] workingset: timestamp_bits=40 max_order=18 bucket_order=0405machine # [ 0.772307] Key type asymmetric registered406machine # [ 0.773313] Asymmetric key parser 'x509' registered407machine # [ 0.776978] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)408machine # [ 0.782019] io scheduler mq-deadline registered409machine # [ 0.783102] io scheduler kyber registered410machine # [ 0.786409] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled411machine # [ 0.790158] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A412machine # [ 0.796992] Linux agpgart interface v0.103413machine # [ 0.798036] ACPI: bus type drm_connector registered414machine # [ 0.801365] usbcore: registered new interface driver usbserial_generic415machine # [ 0.802831] usbserial: USB Serial support registered for generic416machine # [ 0.807954] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled417machine # [ 0.809764] drop_monitor: Initializing network drop monitor service418machine # [ 0.813048] NET: Registered PF_INET6 protocol family419machine # [ 0.817211] Segment Routing with IPv6420machine # [ 0.818147] In-situ OAM (IOAM) with IPv6421machine # [ 0.821166] IPI shorthand broadcast: enabled422machine # [ 0.829322] sched_clock: Marking stable (635024335, 193909435)->(937395596, -108461826)423machine # [ 0.835018] registered taskstats version 1424machine # [ 0.836187] Loading compiled-in X.509 certificates425machine # [ 0.852947] Demotion targets for Node 0: null426machine # [ 0.855981] Key type .fscrypt registered427machine # [ 0.856938] Key type fscrypt-provisioning registered428machine # [ 0.860040] ima: No TPM chip found, activating TPM-bypass!429machine # [ 0.861283] ima: Allocated hash algorithm: sha1430machine # [ 0.863969] ima: No architecture policies found431machine # [ 0.866946] PM: Magic number: 10:363:954432machine # [ 0.867971] memory memory7: hash matches433machine # [ 0.871650] RAS: Correctable Errors collector initialized.434machine # [ 0.880320] clk: Disabling unused clocks435machine # [ 0.883954] PM: genpd: Disabling unused power domains436machine # [ 1.002565] Freeing initrd memory: 29080K437machine # [ 1.005648] Freeing unused decrypted memory: 2028K438machine # [ 1.008310] Freeing unused kernel image (initmem) memory: 3644K439machine # [ 1.009748] Write protecting the kernel read-only data: 32768k440machine # [ 1.011840] Freeing unused kernel image (text/rodata gap) memory: 1216K441machine # [ 1.013752] Freeing unused kernel image (rodata/data gap) memory: 756K442machine # [ 1.055023] x86/mm: Checked W+X mappings: passed, no W+X pages found.443machine # [ 1.056488] Run /init as init process444machine # [ 1.065478] systemd[1]: Inserted module 'autofs4'445machine # [ 1.079705] fuse: init (API version 7.45)446machine # [ 1.085030] ACPI: \_SB_.GSIG: Enabled at IRQ 22447machine # [ 1.087954] ACPI: \_SB_.GSIH: Enabled at IRQ 23448machine # [ 1.091445] ACPI: \_SB_.GSIE: Enabled at IRQ 20449machine # [ 1.094253] ACPI: \_SB_.GSIF: Enabled at IRQ 21450machine # [ 1.121886] systemd[1]: Successfully made /usr/ read-only.451machine # [ 1.458776] 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)452machine # [ 1.468105] systemd[1]: Detected virtualization kvm.453machine # [ 1.469504] systemd[1]: Detected architecture x86-64.454machine # [ 1.470809] systemd[1]: Running in initrd.455machine # [ 1.472088] systemd[1]: Initializing machine ID from random generator.456machine # [ 1.473645] systemd[1]: Hostname set to <machine>.457machine # [ 1.658589] systemd[1]: bpf-restrict-fs: LSM BPF program attached458machine # [ 1.693060] systemd[1]: Queued start job for default target Initrd Default Target.459machine # [ 1.697207] systemd[1]: Created slice Slice /system/modprobe.460machine # [ 1.698780] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.461machine # [ 1.700679] systemd[1]: Expecting device /dev/disk/by-label/nixos...462machine # [ 1.702206] systemd[1]: Reached target Path Units.463machine # [ 1.703393] systemd[1]: Reached target Slice Units.464machine # [ 1.704635] systemd[1]: Reached target Swaps.465machine # [ 1.705756] systemd[1]: Reached target Timer Units.466machine # [ 1.707077] systemd[1]: Listening on D-Bus System Message Bus Socket.467machine # [ 1.708698] systemd[1]: Listening on Journal Socket (/dev/log).468machine # [ 1.710276] systemd[1]: Listening on Journal Sockets.469machine # [ 1.711636] systemd[1]: Listening on udev Control Socket.470machine # [ 1.713049] systemd[1]: Listening on udev Kernel Socket.471machine # [ 1.714348] systemd[1]: Reached target Socket Units.472machine # [ 1.716349] systemd[1]: Starting Create List of Static Device Nodes...473machine # [ 1.723766] systemd[1]: Starting Load Kernel Module 9pnet_virtio...474machine # [ 1.733783] systemd[1]: Starting Load Kernel Module configfs...475machine # [ 1.745095] systemd[1]: Starting Journal Service...476machine # [ 1.756056] systemd[1]: Starting Load Kernel Modules...477machine # [ 1.771303] netfs: FS-Cache loaded478machine # [ 1.775824] 9pnet: Installing 9P2000 support479machine # [ 1.790007] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os480machine # [ 1.796493] systemd-journald[67]: Collecting audit messages is disabled.481machine # [ 1.798164] systemd[1]: Starting Coldplug All udev Devices...482machine # [ 1.811001] systemd[1]: Finished Create List of Static Device Nodes.483machine # [ 1.819466] systemd[1]: modprobe@9pnet_virtio.service: Deactivated successfully.484machine # [ 1.825190] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.485machine # [ 1.830409] systemd[1]: Finished Load Kernel Module 9pnet_virtio.486machine # [ 1.836324] systemd[1]: modprobe@configfs.service: Deactivated successfully.487machine # [ 1.840024] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev488machine # [ 1.844419] systemd[1]: Finished Load Kernel Module configfs.489machine # [ 1.850474] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config490machine # [ 1.864991] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...491machine # [ 1.879297] systemd[1]: Finished Load Kernel Modules.492machine # [ 1.890100] systemd[1]: Starting Apply Kernel Variables...493machine # [ 1.902339] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.494machine # [ 1.913088] systemd[1]: Starting Create Static Device Nodes in /dev...495machine # [ 1.928043] systemd[1]: Finished Apply Kernel Variables.496machine # [ 1.940039] systemd[1]: Finished Create Static Device Nodes in /dev.497machine # [ 1.946277] systemd[1]: Reached target Preparation for Local File Systems.498machine # [ 1.951004] systemd[1]: Reached target Local File Systems.499machine # [ 1.758794] systemd-modules-load[68]: Inserted module 'dm_mod'500machine # [ 1.760622] systemd-modules-load[68]: Inserted module 'virtio_balloon'501machine # [ 1.763392] systemd-modules-load[68]: Inserted module 'virtio_gpu'502machine # [ 1.960083] systemd[1]: Starting Rule-based Manager for Device Events and Files...503machine # [ 1.967103] systemd[1]: Started Journal Service.504machine # [ 1.791540] systemd[1]: Starting Create System Files and Directories...505machine # [ 1.815207] systemd[1]: Finished Create System Files and Directories.506machine # [ 1.819236] systemd-udevd[76]: Using default interface naming scheme 'v261'.507machine # [ 1.844342] systemd[1]: Started Rule-based Manager for Device Events and Files.508machine # [ 1.871340] systemd[1]: Finished Coldplug All udev Devices.509machine # [ 1.872839] systemd[1]: Reached target System Initialization.510machine # [ 1.875344] systemd[1]: Reached target Basic System.511machine # [ 2.294036] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12512machine # [ 2.303485] virtio_blk virtio5: 1/0/0 default/read/poll queues513machine # [ 2.319859] virtio_blk virtio5: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)514machine # [ 2.323691] serio: i8042 KBD port at 0x60,0x64 irq 1515machine # [ 2.324598] serio: i8042 AUX port at 0x60,0x64 irq 12516machine # [ 2.334010] ehci-pci 0000:00:1d.7: EHCI Host Controller517machine # [ 2.334972] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1518machine # [ 2.337019] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000519machine # [ 2.343954] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00520machine # [ 2.345389] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18521machine # [ 2.348934] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1522machine # [ 2.351660] usb usb1: Product: EHCI Host Controller523machine # [ 2.352689] usb usb1: Manufacturer: Linux 6.18.48 ehci_hcd524machine # [ 2.354164] usb usb1: SerialNumber: 0000:00:1d.7525machine # [ 2.356077] hub 1-0:1.0: USB hub found526machine # [ 2.357933] hub 1-0:1.0: 6 ports detected527machine # [ 2.362675] uhci_hcd 0000:00:1d.0: UHCI Host Controller528machine # [ 2.363639] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2529machine # [ 2.380063] uhci_hcd 0000:00:1d.0: detected 2 ports530machine # [ 2.385530] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c200531machine # [ 2.394589] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18532machine # [ 2.406472] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1533machine # [ 2.218195] (udev-worker)[89]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.534machine # [ 2.226147] (udev-worker)[96]: Network interface NamePolicy= disabled on kernel command line.535machine # [ 2.228187] systemd[1]: Starting Virtual Console Setup...536machine # [ 2.426918] usb usb2: Product: UHCI Host Controller537machine # [ 2.427777] usb usb2: Manufacturer: Linux 6.18.48 uhci_hcd538machine # [ 2.431073] SCSI subsystem initialized539machine # [ 2.241874] (udev-worker)[89]: Network interface NamePolicy= disabled on kernel command line.540machine # [ 2.443208] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0541machine # [ 2.448620] usb usb2: SerialNumber: 0000:00:1d.0542machine # [ 2.262848] systemd-vconsole-setup[100]: Configuration of first virtual console was skipped, ignoring remaining ones.543machine # [ 2.266638] systemd[1]: Finished Virtual Console Setup.544machine # [ 2.469118] hub 2-0:1.0: USB hub found545machine # [ 2.476375] hub 2-0:1.0: 2 ports detected546machine # [ 2.486593] uhci_hcd 0000:00:1d.1: UHCI Host Controller547machine # [ 2.487539] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3548machine # [ 2.496189] uhci_hcd 0000:00:1d.1: detected 2 ports549machine # [ 2.499564] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c220550machine # [ 2.307582] systemd[1]: Found device /dev/disk/by-label/nixos.551machine # [ 2.308986] systemd[1]: Reached target Initrd Root Device.552machine # [ 2.312352] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos...553machine # [ 2.509039] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18554machine # [ 2.515746] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1555machine # [ 2.521852] usb usb3: Product: UHCI Host Controller556machine # [ 2.522967] usb usb3: Manufacturer: Linux 6.18.48 uhci_hcd557machine # [ 2.524959] usb usb3: SerialNumber: 0000:00:1d.1558machine # [ 2.338067] systemd-fsck[108]: nixos: clean, 12/65536 files, 13019/262144 blocks559machine # [ 2.535116] hub 3-0:1.0: USB hub found560machine # [ 2.537478] hub 3-0:1.0: 2 ports detected561machine # [ 2.541973] uhci_hcd 0000:00:1d.2: UHCI Host Controller562machine # [ 2.542920] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4563machine # [ 2.546641] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode564machine # [ 2.356643] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos.565machine # [ 2.552450] uhci_hcd 0000:00:1d.2: detected 2 ports566machine # [ 2.553508] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c240567machine # [ 2.555469] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f)568machine # [ 2.557098] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18569machine # [ 2.558692] ahci 0000:00:1f.2: flags: 64bit ncq only570machine # [ 2.560989] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1571machine # [ 2.565042] scsi host0: ahci572machine # [ 2.567574] usb usb4: Product: UHCI Host Controller573machine # [ 2.570977] scsi host1: ahci574machine # [ 2.573419] scsi host2: ahci575machine # [ 2.574347] usb usb4: Manufacturer: Linux 6.18.48 uhci_hcd576machine # [ 2.577344] scsi host3: ahci577machine # [ 2.578143] usb usb4: SerialNumber: 0000:00:1d.2578machine # [ 2.580736] scsi host4: ahci579machine # [ 2.584270] hub 4-0:1.0: USB hub found580machine # [ 2.585044] scsi host5: ahci581machine # [ 2.585769] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 44 lpm-pol 1582machine # [ 2.588413] hub 4-0:1.0: 2 ports detected583machine # [ 2.594300] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 44 lpm-pol 1584machine # [ 2.600925] usb 1-1: new high-speed USB device number 2 using ehci-pci585machine # [ 2.605931] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 44 lpm-pol 1586machine # [ 2.613135] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 44 lpm-pol 1587machine # [ 2.619393] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 44 lpm-pol 1588machine # [ 2.621733] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 44 lpm-pol 1589machine # [ 2.730106] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00590machine # [ 2.732107] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10591machine # [ 2.734283] usb 1-1: Product: QEMU USB Tablet592machine # [ 2.735666] usb 1-1: Manufacturer: QEMU593machine # [ 2.736933] usb 1-1: SerialNumber: 28754-0000:00:1d.7-1594machine # [ 2.750794] hid: raw HID events driver (C) Jiri Kosina595machine # [ 2.615630] systemd[1]: Mounting /sysroot...596machine # [ 2.934819] ata6: SATA link down (SStatus 0 SControl 300)597machine # [ 2.936829] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)598machine # [ 2.938853] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100599machine # [ 2.940456] ata3.00: applying bridge limits600machine # [ 2.942001] ata5: SATA link down (SStatus 0 SControl 300)601machine # [ 2.943683] ata1: SATA link down (SStatus 0 SControl 300)602machine # [ 2.945281] ata2: SATA link down (SStatus 0 SControl 300)603machine # [ 2.946728] ata4: SATA link down (SStatus 0 SControl 300)604machine # [ 2.948000] ata3.00: configured for UDMA/100605machine # [ 2.949251] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5606machine # [ 2.999520] usbcore: registered new interface driver usbhid607machine # [ 3.006478] usbhid: USB HID core driver608machine # [ 3.023128] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input2609machine # [ 3.028423] 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.034131] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray611machine # [ 3.038079] EXT4-fs (vda): mounted filesystem 3229e602-8a41-42ca-b292-caa6effc8b0e r/w with ordered data mode. Quota mode: none.612machine # [ 2.850635] systemd[1]: Mounted /sysroot.613machine # [ 2.852802] systemd[1]: Reached target Initrd Root File System.614machine # [ 2.856817] systemd[1]: Starting Mountpoints Configured in the Real Root...615machine # [ 3.052092] cdrom: Uniform CD-ROM driver Revision: 3.20616machine # [ 2.873256] systemd-sysroot-fstab-check[140]: /sysroot should be mounted in the initrd, will request daemon-reload.617machine # [ 2.877822] systemd[1]: Reload requested from client PID 140 ('systemd-sysroot') (unit initrd-parse-etc.service)...618machine # [ 2.879878] systemd[1]: Reloading...619machine # [ 2.955164] systemd[1]: Reloading finished in 74 ms.620machine # [ 2.963485] systemd-sysroot-fstab-check[140]: Requesting initrd-fs.target/start/replace...621machine # [ 2.968314] systemd-sysroot-fstab-check[140]: Requesting swap.target/start/replace...622machine # [ 2.972050] systemd[1]: initrd-parse-etc.service: Deactivated successfully.623machine # [ 2.973893] systemd[1]: Finished Mountpoints Configured in the Real Root.624machine # [ 2.975331] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies.625machine # [ 2.978557] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio626machine # [ 3.616940] systemd[1]: Mounting /sysroot/nix/.ro-store...627machine # [ 3.622090] systemd[1]: Mounting /sysroot/nix/.rw-store...628machine # [ 3.626825] systemd[1]: Mounting /sysroot/run...629machine # [ 3.630755] systemd[1]: Mounting /sysroot/tmp/shared...630machine # [ 3.637160] systemd[1]: Mounting /sysroot/tmp/xchg...631machine # [ 3.849338] 9p: Installing v9fs 9p2000 file system support632machine # [ 3.657479] systemd[1]: Mounted /sysroot/nix/.rw-store.633machine # [ 3.664966] systemd[1]: Mounted /sysroot/nix/.ro-store.634machine # [ 3.667873] systemd[1]: Mounted /sysroot/run.635machine # [ 3.669870] systemd[1]: Mounted /sysroot/tmp/shared.636machine # [ 3.671940] systemd[1]: Mounted /sysroot/tmp/xchg.637machine # [ 3.675435] systemd[1]: Starting rw-sysroot-nix-store.service...638machine # [ 3.685334] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.639machine # [ 3.686854] systemd[1]: Finished rw-sysroot-nix-store.service.640machine # [ 3.689421] systemd[1]: Mounting /sysroot/nix/store...641machine # [ 3.707390] systemd[1]: Mounted /sysroot/nix/store.642machine # [ 3.708814] systemd[1]: Reached target Initrd File Systems.643machine # [ 3.710686] systemd[1]: Starting Find NixOS closure...644machine # [ 3.713378] systemd[1]: Starting Create Volatile Files and Directories in the Real Root...645machine # [ 3.729655] systemd[1]: Finished Create Volatile Files and Directories in the Real Root.646machine # [ 3.737148] systemd[1]: Finished Find NixOS closure.647machine # [ 3.739217] systemd[1]: Reached target Initrd Default Target.648machine # [ 3.740935] systemd[1]: Starting Cleaning Up and Shutting Down Daemons...649machine # [ 3.753558] systemd[1]: Stopped target Initrd Default Target.650machine # [ 3.755044] systemd[1]: Stopped target Basic System.651machine # [ 3.757165] systemd[1]: Stopped target Initrd Root Device.652machine # [ 3.758261] systemd[1]: Stopped target Path Units.653machine # [ 3.759396] systemd[1]: systemd-ask-password-console.path: Deactivated successfully.654machine # [ 3.760826] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.655machine # [ 3.762572] systemd[1]: Stopped target Slice Units.656machine # [ 3.763988] systemd[1]: Stopped target Socket Units.657machine # [ 3.765595] systemd[1]: Stopped target System Initialization.658machine # [ 3.766987] systemd[1]: Stopped target Swaps.659machine # [ 3.768738] systemd[1]: Stopped target Timer Units.660machine # [ 3.769777] systemd[1]: dbus.socket: Deactivated successfully.661machine # [ 3.771184] systemd[1]: Closed D-Bus System Message Bus Socket.662machine # [ 3.772585] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully.663machine # [ 3.775148] systemd[1]: Stopped Find NixOS closure.664machine # [ 3.776176] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio665machine # [ 3.778278] systemd[1]: Starting rw-sysroot-nix-store.service...666machine # [ 3.779458] systemd[1]: systemd-sysctl.service: Deactivated successfully.667machine # [ 3.782096] systemd[1]: Stopped Apply Kernel Variables.668machine # [ 3.783287] systemd[1]: systemd-modules-load.service: Deactivated successfully.669machine # [ 3.784656] systemd[1]: Stopped Load Kernel Modules.670machine # [ 3.785678] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully.671machine # [ 3.787164] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root.672machine # [ 3.789178] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.673machine # [ 3.790557] systemd[1]: Stopped Create System Files and Directories.674machine # [ 3.791943] systemd[1]: Stopped target Local File Systems.675machine # [ 3.793643] systemd[1]: Stopped target Preparation for Local File Systems.676machine # [ 3.795534] systemd[1]: systemd-udev-trigger.service: Deactivated successfully.677machine # [ 3.799165] systemd[1]: Stopped Coldplug All udev Devices.678machine # [ 3.800321] systemd[1]: Stopping Rule-based Manager for Device Events and Files...679machine # [ 3.802633] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.680machine # [ 3.805175] systemd[1]: Stopped Virtual Console Setup.681machine # [ 3.812070] systemd[1]: initrd-cleanup.service: Deactivated successfully.682machine # [ 3.814590] systemd[1]: Finished Cleaning Up and Shutting Down Daemons.683machine # [ 3.817412] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.684machine # [ 3.819406] systemd[1]: Finished rw-sysroot-nix-store.service.685machine # [ 3.820988] systemd[1]: systemd-udevd.service: Deactivated successfully.686machine # [ 3.822909] systemd[1]: Stopped Rule-based Manager for Device Events and Files.687machine # [ 3.827127] systemd[1]: systemd-udevd-control.socket: Deactivated successfully.688machine # [ 3.828529] systemd[1]: Closed udev Control Socket.689machine # [ 3.830058] systemd[1]: Starting Cleanup udev Database...690machine # [ 3.831852] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.691machine # [ 3.833298] systemd[1]: Stopped Create Static Device Nodes in /dev.692machine # [ 3.834540] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully.693machine # [ 3.837165] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully.694machine # [ 3.838544] systemd[1]: kmod-static-nodes.service: Deactivated successfully.695machine # [ 3.839883] systemd[1]: Stopped Create List of Static Device Nodes.696machine # [ 3.851323] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully.697machine # [ 3.853472] systemd[1]: Finished Cleanup udev Database.698machine # [ 3.854977] systemd[1]: Reached target Switch Root.699machine # [ 3.856934] systemd[1]: Starting NixOS Activation...700machine # [ 3.963865] initrd-nixos-activation-start[193]: booting system configuration /nix/store/y4i3b3k5wc1hwpllcfyx8vn4l507g2wf-nixos-system-machine-test701machine # [ 4.006125] initrd-nixos-activation-start[193]: running activation script...702machine # [ 4.284333] initrd-nixos-activation-start[216]: setting up /etc...703machine # [ 4.452080] systemd[1]: initrd-nixos-activation.service: Deactivated successfully.704machine # [ 4.454993] systemd[1]: Finished NixOS Activation.705machine # [ 4.456291] systemd[1]: Starting Switch Root...706machine # [ 4.468162] systemd[1]: Switching root.707machine # [ 4.788566] systemd-journald[67]: Received SIGTERM from PID 1 (systemd).708machine # [ 4.895028] NET: Registered PF_VSOCK protocol family709machine # [ 5.262104] 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.269084] systemd[1]: Detected virtualization kvm.711machine # [ 5.270273] systemd[1]: Detected architecture x86-64.712machine # [ 5.271431] systemd[1]: Detected first boot.713machine # [ 5.274329] systemd[1]: Initializing machine ID from random generator.714machine # [ 5.389708] systemd[1]: bpf-restrict-fs: LSM BPF program attached715machine # [ 5.479396] systemd[1]: Applying preset policy.716machine # [ 5.805411] systemd[1]: Populated /etc with preset unit settings.717machine # [ 6.119178] systemd[1]: initrd-switch-root.service: Deactivated successfully.718machine # [ 6.120952] systemd[1]: Stopped initrd-switch-root.service.719machine # [ 6.123705] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.720machine # [ 6.126083] systemd[1]: Created slice Slice /system/getty.721machine # [ 6.127639] systemd[1]: Created slice PHP FastCGI Process Manager Slice.722machine # [ 6.129393] systemd[1]: Created slice User and Session Slice.723machine # [ 6.130575] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.724machine # [ 6.132092] systemd[1]: Started Forward Password Requests to Wall Directory Watch.725machine # [ 6.133491] systemd[1]: Expecting device /dev/hvc0...726machine # [ 6.134454] systemd[1]: Expecting device /dev/ttyS0...727machine # [ 6.135476] systemd[1]: Reached target Local Encrypted Volumes.728machine # [ 6.136554] systemd[1]: Stopped target initrd-fs.target.729machine # [ 6.147384] systemd[1]: Stopped target initrd-root-fs.target.730machine # [ 6.148456] systemd[1]: Stopped target initrd-switch-root.target.731machine # [ 6.149599] systemd[1]: Reached target Virtual Machines and Containers.732machine # [ 6.150794] systemd[1]: Reached target Path Units.733machine # [ 6.151766] systemd[1]: Reached target Remote File Systems.734machine # [ 6.152822] systemd[1]: Reached target Slice Units.735machine # [ 6.153785] systemd[1]: Reached target Swaps.736machine # [ 6.156087] systemd[1]: Listening on Query the User Interactively for a Password.737machine # [ 6.159042] systemd[1]: Listening on Process Core Dump Socket.738machine # [ 6.161351] systemd[1]: Listening on Credential Encryption/Decryption.739machine # [ 6.163720] systemd[1]: Listening on Factory Reset Management.740machine # [ 6.164944] systemd[1]: Listening on Hostname Service Socket.741machine # [ 6.168166] systemd[1]: Starting Journal Log Access Socket...742machine # [ 6.169563] systemd[1]: Listening on Journal Audit Socket.743machine # [ 6.172183] systemd[1]: Listening on Console Output Muting Service Socket.744machine # [ 6.173829] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.745machine # [ 6.175390] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os746machine # [ 6.177033] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki747machine # [ 6.183602] systemd[1]: Listening on Disk Repartitioning Service Socket.748machine # [ 6.184945] systemd[1]: Listening on udev Control Socket.749machine # [ 6.186075] systemd[1]: Listening on udev Varlink Socket.750machine # [ 6.188956] systemd[1]: Mounting Huge Pages File System...751machine # [ 6.192418] systemd[1]: Mounting POSIX Message Queue File System...752machine # [ 6.198136] systemd[1]: Mounting Kernel Debug File System...753machine # [ 6.202145] systemd[1]: Mounting Kernel Trace File System...754machine # [ 6.210653] systemd[1]: Starting Create List of Static Device Nodes...755machine # [ 6.212684] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio756machine # [ 6.226124] systemd[1]: Starting Load Kernel Module configfs...757machine # [ 6.235911] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm758machine # [ 6.239652] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore759machine # [ 6.241620] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse760machine # [ 6.254502] systemd[1]: Mounting FUSE Control File System...761machine # [ 6.259163] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67762machine # [ 6.270744] systemd[1]: Starting Journal Service...763machine # [ 6.275458] systemd[1]: Starting Load Kernel Modules...764machine # [ 6.286403] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...765machine # [ 6.297292] systemd[1]: Starting Remount Root and Kernel File Systems...766machine # [ 6.303418] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os767machine # [ 6.319581] systemd[1]: Starting Coldplug All udev Devices...768machine # [ 6.324724] systemd-journald[286]: Collecting audit messages is enabled.769machine # [ 6.342094] loop: module loaded770machine # [ 6.343279] systemd[1]: Listening on Journal Log Access Socket.771machine # [ 6.350548] systemd[1]: Mounted Huge Pages File System.772machine # [ 6.352188] EXT4-fs (vda): re-mounted 3229e602-8a41-42ca-b292-caa6effc8b0e.773machine # [ 6.360685] systemd[1]: Mounted POSIX Message Queue File System.774machine # [ 6.368207] systemd[1]: Mounted Kernel Debug File System.775machine # [ 6.375215] systemd[1]: Mounted Kernel Trace File System.776machine # [ 6.184268] systemd[1]: Queued start job for default target Multi-User System.[ 6.379967] systemd[1]: Started Journal Service.777machine # 778machine # [ 6.187553] systemd[1]: systemd-journald.service: Deactivated successfully.779machine # [ 6.190680] systemd-modules-load[287]: Inserted module 'loop'780machine # [ 6.194821] systemd-modules-load[287]: Inserted module 'tls'781machine # [ 6.202359] systemd[1]: Finished Create List of Static Device Nodes.782machine # [ 6.203841] systemd[1]: modprobe@configfs.service: Deactivated successfully.783machine # [ 6.207249] systemd[1]: Finished Load Kernel Module configfs.784machine # [ 6.210220] systemd[1]: Mounted FUSE Control File System.785machine # [ 6.212355] systemd[1]: Finished Load Kernel Modules.786machine # [ 6.217089] systemd[1]: Finished Remount Root and Kernel File Systems.787machine # [ 6.232967] systemd[1]: Listening on Disk Image Download Service Socket.788machine # [ 6.235702] systemd-oomd[289]: No swap; memory pressure usage will be degraded789machine # [ 6.238470] systemd[1]: Mounting Kernel Configuration File System...790machine # [ 6.243981] systemd[1]: Starting Firewall...791machine # [ 6.250817] systemd[1]: Starting Flush Journal to Persistent Storage...792machine # [ 6.254077] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore793machine # [ 6.264864] systemd[1]: Starting Load/Save OS Random Seed...794machine # [ 6.274788] systemd[1]: Starting Apply Kernel Variables...795machine # [ 6.289713] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...796machine # [ 6.292681] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os797machine # [ 6.302489] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.798machine # [ 6.501394] systemd-journald[286]: Received client request to flush runtime journal.799machine # [ 6.538495] systemd[1]: Mounted Kernel Configuration File System.800machine # [ 6.542420] systemd[1]: Finished Load/Save OS Random Seed.801machine # [ 6.543686] systemd[1]: Reached target First Boot Complete.802machine # [ 6.548219] systemd[1]: Finished Apply Kernel Variables.803machine # [ 6.549936] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.804machine # [ 6.553803] systemd[1]: Starting Create Static Device Nodes in /dev...805machine # [ 6.556182] systemd[1]: Finished Create Static Device Nodes in /dev.806machine # [ 6.558811] systemd[1]: Reached target Preparation for Local File Systems.807machine # [ 6.560883] systemd[1]: Starting Rule-based Manager for Device Events and Files...808machine # [ 6.563177] systemd[1]: Finished Flush Journal to Persistent Storage.809machine # [ 6.580947] systemd-udevd[322]: Using default interface naming scheme 'v261'.810machine # [ 6.617485] systemd[1]: Finished Coldplug All udev Devices.811machine # [ 6.669488] systemd[1]: Started Rule-based Manager for Device Events and Files.812machine # [ 6.836989] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse813machine # [ 6.924466] systemd[1]: Condition check resulted in /dev/hvc0 being skipped.814machine # [ 6.931226] systemd[1]: Mounting /run/wrappers...815machine # [ 6.963607] systemd[1]: Mounted /run/wrappers.816machine # [ 6.966346] systemd[1]: Reached target Local File Systems.817machine # [ 6.971421] systemd[1]: Listening on Boot Loader Control Service Socket.818machine # [ 6.975217] systemd[1]: Starting register-nix-paths.service...819machine # [ 6.979428] systemd[1]: Starting Create SUID/SGID Wrappers...820machine # [ 6.982603] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.821machine # [ 6.995601] systemd[1]: Starting Save Transient machine-id to Disk...822machine # [ 7.007102] systemd[1]: Starting Create System Files and Directories...823machine # [ 7.023142] (udev-worker)[367]: Network interface NamePolicy= disabled on kernel command line.824machine # [ 7.025230] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped.825machine # [ 7.045577] (udev-worker)[376]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.826machine # [ 7.051164] (udev-worker)[376]: Network interface NamePolicy= disabled on kernel command line.827machine # [ 7.109791] systemd[1]: etc-machine\x2did.mount: Deactivated successfully.828machine # [ 7.115569] systemd[1]: Finished Save Transient machine-id to Disk.829machine # [ 7.146176] systemd[1]: Finished Create System Files and Directories.830machine # [ 7.156142] systemd[1]: Starting Rebuild Journal Catalog...831machine # [ 7.161358] systemd[1]: Starting Record System Boot/Shutdown in UTMP...832machine # [ 7.253529] systemd[1]: Finished Record System Boot/Shutdown in UTMP.833machine # [ 7.289812] systemd[1]: Finished Rebuild Journal Catalog.834machine # [ 7.297627] systemd[1]: Starting Update is Completed...835machine # [ 7.306737] systemd[1]: Condition check resulted in Virtio network device being skipped.836machine # [ 7.308490] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore837machine # [ 7.311833] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.838machine # [ 7.314930] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67839machine # [ 7.319160] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore840machine # [ 7.324365] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os841machine # [ 7.326291] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os842machine # [ 7.342152] systemd[1]: Finished Firewall.843machine # [ 7.360258] systemd[1]: Finished Update is Completed.844machine # [ 7.512477] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.845machine # [ 7.516270] systemd[1]: Finished Create SUID/SGID Wrappers.846machine # [ 7.756767] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console847machine # [ 7.774257] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3848machine # [ 7.776285] mousedev: PS/2 mouse device common for all mice849machine # [ 7.803106] ACPI: button: Power Button [PWRF]850machine # [ 7.833605] rtc_cmos 00:04: RTC can wake from S4851machine # [ 7.850000] rtc_cmos 00:04: registered as rtc0852machine # [ 7.850098] rtc_cmos 00:04: setting system clock to 2026-09-03T21:55:39 UTC (1788472539)853machine # [ 7.850187] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs854machine # [ 7.851705] systemd-journald[286]: Time jumped backwards, rotating.855machine # [ 7.853934] parport_pc 00:02: reported by Plug and Play ACPI856machine # [ 7.854022] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]857machine # [ 7.860732] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:09.0/virtio7/input/input4858machine # [ 7.864538] Console: switching to colour dummy device 80x25859machine # [ 7.910911] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized860machine # [ 7.975574] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt861machine # [ 7.976462] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD862machine # [ 7.986236] [drm] Found bochs VGA, ID 0xb0c5.863machine # [ 7.993864] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.864machine # [ 7.809969] systemd[1]: Finished register-nix-paths.service.865machine # [ 7.811739] systemd[1]: Reached target System Initialization.866machine # [ 7.814150] systemd[1]: Started Discard unused filesystem blocks once a week.867machine # [ 7.816086] systemd[1]: Started Daily Cleanup of Temporary Directories.868machine # [ 7.818184] systemd[1]: Listening on D-Bus System Message Bus Socket.869machine # [ 7.819454] systemd[1]: Listening on Nix Daemon Socket.870machine # [ 7.821773] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.871machine # [ 7.823742] systemd[1]: Reached target Socket Units.872machine # [ 7.825417] systemd[1]: Reached target Basic System.873machine # [ 7.828227] systemd[1]: Started backdoor.service.874machine # [ 8.024516] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic875machine # [ 8.025455] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0876machine # [ 7.836590] systemd[1]: Starting Import lastlog data into lastlog2 database...877machine # [ 8.033872] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6878machine # [ 8.035284] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5879machine # [ 7.846081] systemd[1]: Starting nextcloud-setup.service...880machine # [ 7.858856] systemd[1]: Starting Name Service Cache Daemon (nsncd)...881machine # [ 7.872487] systemd[1]: Starting Post-Boot Actions...882machine # [ 7.893940] systemd[1]: Started Reset console on configuration changes.883machine # [ 7.912179] systemd[1]: Starting resolvconf update...884machine # connecting to host...885machine: Guest shell says: b'Spawning backdoor root shell...\n'886machine: connected to guest root shell887machine: (connecting took 8.71 seconds)888machine: (finished: waiting for the VM to finish booting, in 8.71 seconds)889machine # [ 7.974283] systemd[1]: Finished Post-Boot Actions.890machine # [ 7.982310] systemd[1]: Started Name Service Cache Daemon (nsncd).891machine # [ 7.985543] nsncd[517]: Sep 03 21:55:39.820 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"892machine # [ 7.999624] systemd[1]: Reached target Host and Network Name Lookups.893machine # [ 8.005768] systemd[1]: Reached target User and Group Name Lookups.894machine # [ 8.017459] systemd[1]: Starting D-Bus System Message Bus...895machine # [ 8.042696] systemd[1]: Starting User Login Management...896machine # [ 8.054663] 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 8.86 seconds)898machine: waiting for unit phpfpm-nextcloud.service899machine # [ 8.134760] systemd[1]: Starting Virtual Console Setup...900machine # [ 8.189901] dbus-broker-launch[547]: Looking up NSS user entry for 'systemd-timesync'...901machine # [ 8.427441] Console: switching to colour frame buffer device 160x50902machine # [ 8.524211] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device903machine # [ 8.241155] systemd[1]: Stopped target Host and Network Name Lookups.904machine # [ 8.339160] systemd[1]: Stopping Host and Network Name Lookups...905machine # [ 8.346894] dbus-broker-launch[547]: NSS returned no entry for 'systemd-timesync'906machine # [ 8.349916] dbus-broker-launch[547]: Invalid user-name in /nix/store/lqg6bp051yqv1znakfximzdl9bk0zwvm-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"907machine # [ 8.359467] systemd[1]: Stopped target User and Group Name Lookups.908machine # [ 8.360835] systemd[1]: Stopping User and Group Name Lookups...909machine # [ 8.361986] systemd[1]: Stopping Name Service Cache Daemon (nsncd)...910machine # [ 8.366796] systemd[1]: nscd.service: Deactivated successfully.911machine # [ 8.370872] systemd[1]: Stopped Name Service Cache Daemon (nsncd).912machine # [ 8.373156] systemd[1]: Started D-Bus System Message Bus.913machine # [ 8.376312] systemd[1]: Starting Name Service Cache Daemon (nsncd)...914machine # [ 8.377702] dbus-broker-launch[547]: Ready915machine # [ 8.382522] systemd-logind[551]: New seat seat0.916machine # [ 8.384894] systemd-logind[551]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)917machine # [ 8.388362] systemd[1]: Started User Login Management.918machine # [ 8.390508] systemd[1]: Starting linger-users.service...919machine # [ 8.392551] systemd-logind[551]: Watching system buttons on /dev/input/event2 (Power Button)920machine # [ 8.401403] systemd[1]: Finished resolvconf update.921machine # [ 8.410299] nsncd[612]: Sep 03 21:55:40.251 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"922machine # [ 8.413684] systemd[1]: Started Name Service Cache Daemon (nsncd).923machine # [ 8.417555] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.924machine # [ 8.420328] systemd[1]: Stopped Virtual Console Setup.925machine # [ 8.437689] systemd[1]: Reached target Preparation for Network.926machine # [ 8.440509] systemd[1]: Reached target Host and Network Name Lookups.927machine # [ 8.443860] systemd[1]: Reached target User and Group Name Lookups.928machine # [ 8.451209] systemd[1]: Starting DHCP Client...929machine # [ 8.460885] systemd[1]: Starting Address configuration of eth1...930machine # [ 8.470050] systemd[1]: Starting Extra networking commands....931machine # [ 8.484682] systemd[1]: Starting Virtual Console Setup...932machine # [ 8.485755] systemd[1]: linger-users.service: Deactivated successfully.933machine # [ 8.690415] ppdev: user-space parallel port driver934machine # [ 8.499534] systemd[1]: Finished linger-users.service.935machine # [ 8.596815] network-addresses-eth1-start[637]: adding address 192.168.1.1/24... done936machine # [ 8.626661] network-addresses-eth1-start[637]: adding address 2001:db8:1::1/64... done937machine # [ 8.854865] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660)938machine # [ 8.674829] systemd[1]: Finished Address configuration of eth1.939machine # [ 8.689721] systemd-logind[551]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard)940machine # [ 8.962023] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0)941machine # [ 8.789903] systemd[1]: Finished Extra networking commands..942machine # [ 8.794776] systemd[1]: Reached target Network.943machine # [ 8.811439] systemd[1]: Starting Nginx Web Server...944machine # [ 8.815562] dhcpcd[653]: dhcpcd-10.3.2 starting945machine # [ 8.830979] dhcpcd[708]: dev: loaded udev946machine # [ 8.835531] systemd[1]: Starting Redis Server - redis-nextcloud...947machine # [ 8.846438] systemd[1]: Starting Permit User Sessions...948machine # [ 9.055669] 8021q: 802.1Q VLAN Support v1.8949machine # [ 9.059514] 8021q: adding VLAN 0 to HW filter on device eth1950machine # [ 8.882353] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.951machine # [ 8.891484] systemd[1]: Stopped Virtual Console Setup.952machine # [ 8.929763] systemd[1]: Starting Virtual Console Setup...953machine # [ 8.945939] systemd[1]: Finished Permit User Sessions.954machine # [ 8.969303] systemd[1]: Started Getty on tty1.955machine # [ 8.977247] systemd[1]: Reached target Login Prompts.956machine # [ 9.023133] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.957machine # [ 9.329575] cfg80211: Loading compiled-in X.509 certificates for regulatory database958machine # [ 9.361419] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'959machine # [ 9.366985] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'960machine # [ 9.372191] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2961machine # [ 9.373342] cfg80211: failed to load regulatory.db962machine # [ 9.384669] kvm_amd: TSC scaling supported963machine # [ 9.391520] kvm_amd: Nested Virtualization enabled964machine # [ 9.395919] kvm_amd: Nested Paging enabled965machine # [ 9.396502] kvm_amd: LBR virtualization supported966machine # [ 9.400650] kvm_amd: Virtual VMLOAD VMSAVE supported967machine # [ 9.405209] kvm_amd: Virtual GIF supported968machine # [ 9.287986] nginx-pre-start[727]: nginx: the configuration file /nix/store/fcn8gbvczls7qms8slp8icfy6zp2wmiw-nginx.conf syntax is ok969machine # [ 9.292967] nginx-pre-start[727]: nginx: configuration file /nix/store/fcn8gbvczls7qms8slp8icfy6zp2wmiw-nginx.conf test is successful970machine # [ 9.491049] 8021q: adding VLAN 0 to HW filter on device eth0971machine # [ 9.302907] dhcpcd[708]: eth0: waiting for carrier972machine # [ 9.306482] dhcpcd[708]: libudev: received NULL device973machine # [ 9.502389] EDAC MC: Ver: 3.0.0974machine # [ 9.309265] dhcpcd[708]: libudev: received NULL device975machine # [ 9.310527] dhcpcd[708]: eth0: carrier acquired976machine # [ 9.313918] systemd[1]: Started Nginx Web Server.977machine # [ 9.328853] dhcpcd[708]: DUID 00:01:00:01:32:2c:a9:5d:52:54:00:12:34:56978machine # [ 9.331178] dhcpcd[708]: eth0: IAID 00:12:34:56979machine # [ 9.333215] dhcpcd[708]: eth0: adding address fe80::5054:ff:fe12:3456980machine # [ 9.363483] systemd-vconsole-setup[717]: Configuration of first virtual console was skipped, ignoring remaining ones.981machine # [ 9.372205] systemd[1]: Finished Virtual Console Setup.982machine # [ 9.375962] redis-server[728]: Supervised by systemd. Please make sure you set appropriate values for TimeoutStartSec and TimeoutStopSec in your service unit.983machine # [ 9.380790] redis-server[728]: oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo984machine # [ 9.383214] redis-server[728]: Redis version=8.10.1, bits=64, commit=00000000, modified=0, pid=728, just started985machine # [ 9.387196] redis-server[728]: Configuration loaded986machine # [ 9.388471] redis[728]: monotonic clock: POSIX clock_gettime987machine # [ 9.397177] redis[728]: Running mode=standalone, port=0.988machine # [ 9.403764] redis[728]: Server initialized989machine # [ 9.404804] redis[728]: Ready to accept connections unix990machine # [ 9.406480] redis[728]: WARNING: Redis does not require authentication. Redis will accept connections from any local client.991machine # [ 9.410192] systemd[1]: Started Redis Server - redis-nextcloud.992machine # [ 10.883391] dhcpcd[708]: eth0: soliciting an IPv6 router993machine # [ 10.885715] dhcpcd[708]: eth0: Router Advertisement from fe80::2994machine # [ 10.887455] dhcpcd[708]: eth0: adding address fec0::5054:ff:fe12:3456/64995machine # [ 10.889291] dhcpcd[708]: eth0: adding route to fec0::/64996machine # [ 10.891212] dhcpcd[708]: eth0: adding default route via fe80::2997machine # [ 11.210184] dhcpcd[708]: eth0: soliciting a DHCP lease998machine # [ 11.419914] NET: Registered PF_PACKET protocol family999machine # [ 11.231350] dhcpcd[708]: eth0: offered 10.0.2.15 from 10.0.2.21000machine # [ 11.234188] dhcpcd[708]: eth0: probing address 10.0.2.15/241001machine # [ 16.663252] dhcpcd[708]: eth0: leased 10.0.2.15 for 86400 seconds1002machine # [ 16.665136] dhcpcd[708]: eth0: adding route to 10.0.2.0/241003machine # [ 16.666331] dhcpcd[708]: eth0: adding default route via 10.0.2.21004machine # [ 16.771212] systemd[1]: Started DHCP Client.1005machine # [ 19.101896] nextcloud-setup-start[524]: Nextcloud was successfully installed1006machine # [ 20.093518] nextcloud-setup-start[912]: No upgrade required.1007machine # [ 20.094817] nextcloud-setup-start[912]: 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 # [ 20.097504] nextcloud-setup-start[912]: See the upgrade documentation: https://docs.nextcloud.com/server/33/go.php?to=admin-update for more information.1009machine # [ 20.850713] nextcloud-setup-start[924]: System config value trusted_domains deleted1010machine # [ 21.698438] nextcloud-setup-start[927]: rhwpviewer 0.1.0 enabled1011machine # [ 22.497269] nextcloud-setup-start[939]: System config value trusted_domains => 0 set to string localhost1012machine # [ 22.519669] systemd[1]: nextcloud-setup.service: Deactivated successfully.1013machine # [ 22.521856] systemd[1]: Finished nextcloud-setup.service.1014machine # [ 22.523307] systemd[1]: nextcloud-setup.service: Consumed 5.330s CPU time over 14.676s wall clock time, 149.8M memory peak, 12.7M written to disk.1015machine # [ 22.527748] systemd[1]: Started nextcloud-cron.timer.1016machine # [ 22.529270] systemd[1]: Reached target Timer Units.1017machine # [ 22.533102] systemd[1]: Starting nextcloud-update-db.service...1018machine # [ 22.536529] systemd[1]: Starting PHP FastCGI Process Manager service for pool nextcloud...1019machine # [ 22.740423] php-fpm[954]: [03-Sep-2026 21:55:54] NOTICE: systemd watchdog configured to 7.5sec1020machine # [ 22.747895] php-fpm[954]: [NOTICE] fpm is running, pid 9541021machine # [ 22.780867] php-fpm[954]: [NOTICE] ready to handle connections1022machine # [ 22.785077] php-fpm[954]: [NOTICE] systemd monitor interval set to 7500ms1023machine # [ 22.787158] systemd[1]: Started PHP FastCGI Process Manager service for pool nextcloud.1024machine # [ 22.789167] systemd[1]: Reached target PHP FastCGI Process manager pools target.1025machine # [ 22.790797] systemd[1]: Reached target Multi-User System.1026machine # [ 22.804582] php[953]: Cannot write into "config" directory!1027machine # [ 22.805823] php[953]: This can usually be fixed by giving the web server write access to the config directory.1028machine # [ 22.807756] php[953]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.1029machine # [ 22.810216] php[953]: See https://docs.nextcloud.com/server/33/go.php?to=admin-config1030machine # [ 22.847881] systemd[1]: Started nextcloud-update-db.service.1031machine # [ 22.849003] systemd[1]: Startup finished in 865ms (kernel) + 3.795s (initrd) + 18.185s (userspace) = 22.847s.1032machine: (finished: waiting for unit phpfpm-nextcloud.service, in 15.07 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 # [ 23.686557] nextcloud-update-db-start[970]: Done.1040machine: (finished: waiting for success: curl --fail --silent --show-error http://localhost/status.php, in 0.50 seconds)1041machine: must succeed: nextcloud-occ app:list --enabled1042machine # [ 23.835238] sudo[990]: root : TTY=hvc0 ; PWD=/nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-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 # [ 23.852794] sudo[990]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1044machine # [ 24.801099] sudo[990]: pam_unix(sudo:session): session closed for user nextcloud1045machine: (finished: must succeed: nextcloud-occ app:list --enabled, in 1.03 seconds)1046machine: must succeed: nextcloud-occ app:getpath rhwpviewer1047machine # [ 24.847922] sudo[999]: root : TTY=hvc0 ; PWD=/nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-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 # [ 24.864437] sudo[999]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1049machine # [ 25.755450] sudo[999]: pam_unix(sudo:session): session closed for user nextcloud1050machine: (finished: must succeed: nextcloud-occ app:getpath rhwpviewer, in 0.95 seconds)1051machine: must succeed: test -x /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp1052machine: (finished: must succeed: test -x /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp, in 0.02 seconds)1053machine: must succeed: /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null1054machine: (finished: must succeed: /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null, in 0.03 seconds)1055machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php1056machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php, in 0.01 seconds)1057machine: must succeed: grep -q 'RHWP Studio' /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml1058machine: (finished: must succeed: grep -q 'RHWP Studio' /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml, in 0.02 seconds)1059machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php1060machine # [ 25.852668] nextcloud-update-db-start[1002]: Done.1061machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php, in 0.02 seconds)1062machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php1063machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php, in 0.01 seconds)1064machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php1065machine # [ 25.887246] systemd[1]: nextcloud-update-db.service: Deactivated successfully.1066machine # [ 25.889602] systemd[1]: nextcloud-update-db.service: Consumed 1.183s CPU time over 3.354s wall clock time, 51.7M memory peak.1067machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php, in 0.02 seconds)1068machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php1069machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php, in 0.01 seconds)1070machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php1071machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php, in 0.01 seconds)1072machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php1073machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php, in 0.01 seconds)1074machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php1075machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php, in 0.01 seconds)1076machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php1077machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php, in 0.01 seconds)1078machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php1079machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php, in 0.01 seconds)1080machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html1081machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html, in 0.01 seconds)1082machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js1083machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js, in 0.01 seconds)1084machine: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js1085machine: (finished: must succeed: test -f /nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-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 # [ 26.015057] sudo[1060]: root : TTY=hvc0 ; PWD=/nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-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 # [ 26.028806] sudo[1060]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1089machine # [ 26.787043] Nextcloud[1065]: {"reqId":"m0TjNuHJSzPfbQNLIw7T","level":2,"time":"2026-09-03T21:55:58+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 # [ 26.794238] Nextcloud[1065]: {"reqId":"m0TjNuHJSzPfbQNLIw7T","level":2,"time":"2026-09-03T21:55:58+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 # [ 26.800802] Nextcloud[1065]: {"reqId":"m0TjNuHJSzPfbQNLIw7T","level":2,"time":"2026-09-03T21:55:58+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 # [ 26.807606] Nextcloud[1065]: {"reqId":"m0TjNuHJSzPfbQNLIw7T","level":2,"time":"2026-09-03T21:55:58+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 # [ 27.080135] sudo[1060]: 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.10 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 # [ 27.144469] sudo[1067]: root : TTY=hvc0 ; PWD=/nix/store/vkw91k0miq96w6z8rp8ligkfkcscmwps-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 # [ 27.157539] sudo[1067]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1104machine # [ 27.977038] sudo[1067]: 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 0.90 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.41 seconds)1586(finished: run the VM test script, in 36.28 seconds)1587test script finished in 36.32s1588cleanup1589kill 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.17 seconds)