vm-test-run-nextcloud-rhwpviewer
checks.x86_64-linux.nextcloud
· build #31
· 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.1ZyCpKq2Pl', 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: 53f6dd76-ac0b-4a98-810c-5970642b024418machine # 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)... ok[ 0.000000] Linux version 6.18.49 (nixbld@localhost) (gcc (GCC) 15.3.0, GNU ld (GNU Binutils) 2.46) #1-NixOS SMP PREEMPT_DYNAMIC Wed Sep 2 12:31:51 UTC 202644machine # [ 0.000000] Command line: console=ttyS0 console=tty0 panic=1 boot.panic_on_fail clocksource=acpi_pm root=fstab loglevel=7 net.ifnames=0 lsm=landlock,yama,bpf init=/nix/store/5bffdq1mqkqnc3ak3qq6dgj0jsrk31by-nixos-system-machine-test/init regInfo=/nix/store/a1cwww44ryfy786qx5yh5ns1a8fgxslp-closure-info/registration console=ttyS0,115200n8 console=tty045machine # [ 0.000000] x86 CPU feature dependency check failure: CPU0 has '18*32+31' enabled but '18*32+26' disabled. Kernel might be fine, but no guarantees.46machine # [ 0.000000] BIOS-provided physical RAM map:47machine # [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable48machine # [ 0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved49machine # [ 0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved50machine # [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003ffd7fff] usable51machine # [ 0.000000] BIOS-e820: [mem 0x000000003ffd8000-0x000000003fffffff] reserved52machine # [ 0.000000] BIOS-e820: [mem 0x00000000b0000000-0x00000000bfffffff] reserved53machine # [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved54machine # [ 0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved55machine # [ 0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved56machine # [ 0.000000] BIOS-e820: [mem 0x000000fd00000000-0x000000ffffffffff] reserved57machine # [ 0.000000] NX (Execute Disable) protection: active58machine # [ 0.000000] APIC: Static calls initialized59machine # [ 0.000000] SMBIOS 2.8 present.60machine # [ 0.000000] DMI: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/201461machine # [ 0.000000] DMI: Memory slots populated: 1/162machine # [ 0.000000] Hypervisor detected: KVM63machine # [ 0.000000] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000064machine # [ 0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d0065machine # [ 0.000000] kvm-clock: using sched offset of 439288644 cycles66machine # [ 0.000002] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns67machine # [ 0.000004] tsc: Detected 3792.874 MHz processor68machine # [ 0.000661] last_pfn = 0x3ffd8 max_arch_pfn = 0x40000000069machine # [ 0.000685] MTRR map: 4 entries (3 fixed + 1 variable; max 19), built from 8 variable MTRRs70machine # [ 0.000687] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT71machine # [ 0.002223] found SMP MP-table at [mem 0x000f5450-0x000f545f]72machine # [ 0.002234] Using GB pages for direct mapping73machine # [ 0.002272] RAMDISK: [mem 0x3e36b000-0x3ffcffff]74machine # [ 0.002278] ACPI: Early table checksum verification disabled75machine # [ 0.002280] ACPI: RSDP 0x00000000000F5270 000014 (v00 BOCHS )76machine # [ 0.002283] ACPI: RSDT 0x000000003FFE2422 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)77machine # [ 0.002285] ACPI: FACP 0x000000003FFE221A 0000F4 (v03 BOCHS BXPC 00000001 BXPC 00000001)78machine # [ 0.002291] ACPI: DSDT 0x000000003FFE0040 0021DA (v01 BOCHS BXPC 00000001 BXPC 00000001)79machine # [ 0.002293] ACPI: FACS 0x000000003FFE0000 00004080machine # [ 0.002294] ACPI: APIC 0x000000003FFE230E 000078 (v03 BOCHS BXPC 00000001 BXPC 00000001)81machine # [ 0.002295] ACPI: HPET 0x000000003FFE2386 000038 (v01 BOCHS BXPC 00000001 BXPC 00000001)82machine # [ 0.002296] ACPI: MCFG 0x000000003FFE23BE 00003C (v01 BOCHS BXPC 00000001 BXPC 00000001)83machine # [ 0.002298] ACPI: WAET 0x000000003FFE23FA 000028 (v01 BOCHS BXPC 00000001 BXPC 00000001)84machine # [ 0.002299] ACPI: Reserving FACP table memory at [mem 0x3ffe221a-0x3ffe230d]85machine # [ 0.002300] ACPI: Reserving DSDT table memory at [mem 0x3ffe0040-0x3ffe2219]86machine # [ 0.002300] ACPI: Reserving FACS table memory at [mem 0x3ffe0000-0x3ffe003f]87machine # [ 0.002301] ACPI: Reserving APIC table memory at [mem 0x3ffe230e-0x3ffe2385]88machine # [ 0.002301] ACPI: Reserving HPET table memory at [mem 0x3ffe2386-0x3ffe23bd]89machine # [ 0.002301] ACPI: Reserving MCFG table memory at [mem 0x3ffe23be-0x3ffe23f9]90machine # [ 0.002302] ACPI: Reserving WAET table memory at [mem 0x3ffe23fa-0x3ffe2421]91machine # [ 0.002685] No NUMA configuration found92machine # [ 0.002686] Faking a node at [mem 0x0000000000000000-0x000000003ffd7fff]93machine # [ 0.002688] NODE_DATA(0) allocated [mem 0x3ffd2780-0x3ffd7cff]94machine # [ 0.002764] Zone ranges:95machine # [ 0.002765] DMA [mem 0x0000000000001000-0x0000000000ffffff]96machine # [ 0.002766] DMA32 [mem 0x0000000001000000-0x000000003ffd7fff]97machine # [ 0.002767] Normal empty98machine # [ 0.002768] Device empty99machine # [ 0.002768] Movable zone start for each node100machine # [ 0.002768] Early memory node ranges101machine # [ 0.002769] node 0: [mem 0x0000000000001000-0x000000000009efff]102machine # [ 0.002769] node 0: [mem 0x0000000000100000-0x000000003ffd7fff]103machine # [ 0.002770] Initmem setup node 0 [mem 0x0000000000001000-0x000000003ffd7fff]104machine # [ 0.002788] On node 0, zone DMA: 1 pages in unavailable ranges105machine # [ 0.003011] On node 0, zone DMA: 97 pages in unavailable ranges106machine # [ 0.017899] On node 0, zone DMA32: 40 pages in unavailable ranges107machine # [ 0.018760] ACPI: PM-Timer IO Port: 0x608108machine # [ 0.018768] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])109machine # [ 0.018787] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23110machine # [ 0.018788] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)111machine # [ 0.018790] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)112machine # [ 0.018790] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)113machine # [ 0.018791] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)114machine # [ 0.018792] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)115machine # [ 0.018794] ACPI: Using ACPI (MADT) for SMP configuration information116machine # [ 0.018794] ACPI: HPET id: 0x8086a201 base: 0xfed00000117machine # [ 0.018796] TSC deadline timer available118machine # [ 0.018799] CPU topo: Max. logical packages: 1119machine # [ 0.018800] CPU topo: Max. logical dies: 1120machine # [ 0.018800] CPU topo: Max. dies per package: 1121machine # [ 0.018803] CPU topo: Max. threads per core: 1122machine # [ 0.018803] CPU topo: Num. cores per package: 1123machine # [ 0.018804] CPU topo: Num. threads per package: 1124machine # [ 0.018804] CPU topo: Allowing 1 present CPUs plus 0 hotplug CPUs125machine # [ 0.018815] kvm-guest: APIC: eoi() replaced with kvm_guest_apic_eoi_write()126machine # [ 0.018838] PM: hibernation: Registered nosave memory: [mem 0x00000000-0x00000fff]127machine # [ 0.018839] PM: hibernation: Registered nosave memory: [mem 0x0009f000-0x000fffff]128machine # [ 0.018840] [mem 0x40000000-0xafffffff] available for PCI devices129machine # [ 0.018841] Booting paravirtualized kernel on KVM130machine # [ 0.018843] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns131machine # [ 0.022537] setup_percpu: NR_CPUS:384 nr_cpumask_bits:1 nr_cpu_ids:1 nr_node_ids:1132machine # [ 0.024300] percpu: Embedded 98 pages/cpu s278528 r8192 d114688 u2097152133machine # [ 0.024331] kvm-guest: PV spinlocks disabled, single CPU134machine # [ 0.024333] 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/5bffdq1mqkqnc3ak3qq6dgj0jsrk31by-nixos-system-machine-test/init regInfo=/nix/store/a1cwww44ryfy786qx5yh5ns1a8fgxslp-closure-info/registration console=ttyS0,115200n8 console=tty0135machine # [ 0.024402] Unknown kernel command line parameters "regInfo=/nix/store/a1cwww44ryfy786qx5yh5ns1a8fgxslp-closure-info/registration", will be passed to user space.136machine # [ 0.024418] random: crng init done137machine # [ 0.024418] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes138machine # [ 0.025287] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)139machine # [ 0.025312] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)140machine # [ 0.025334] Fallback order for Node 0: 0141machine # [ 0.025336] Built 1 zonelists, mobility grouping on. Total pages: 262006142machine # [ 0.025337] Policy zone: DMA32143machine # [ 0.027521] mem auto-init: stack:all(zero), heap alloc:on, heap free:off144machine # [ 0.030222] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1145machine # [ 0.032031] allocated 2097152 bytes of page_ext146machine # [ 0.040047] ftrace: allocating 48732 entries in 192 pages147machine # [ 0.040048] ftrace: allocated 192 pages with 2 groups148machine # [ 0.040690] Dynamic Preempt: lazy149machine # [ 0.040815] rcu: Preemptible hierarchical RCU implementation.150machine # [ 0.040816] rcu: RCU event tracing is enabled.151machine # [ 0.040816] rcu: RCU restricting CPUs from NR_CPUS=384 to nr_cpu_ids=1.152machine # [ 0.040817] Trampoline variant of Tasks RCU enabled.153machine # [ 0.040818] Rude variant of Tasks RCU enabled.154machine # [ 0.040818] Tracing variant of Tasks RCU enabled.155machine # [ 0.040818] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.156machine # [ 0.040819] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1157machine # [ 0.040831] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.158machine # [ 0.040832] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.159machine # [ 0.040832] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.160machine # [ 0.044584] NR_IRQS: 24832, nr_irqs: 256, preallocated irqs: 16161machine # [ 0.044817] rcu: srcu_init: Setting srcu_struct sizes based on contention.162machine # [ 0.044822] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns163machine # [ 0.044902] kfence: initialized - using 2097152 bytes for 255 objects at 0x(____ptrval____)-0x(____ptrval____)164machine # [ 0.050487] Console: colour VGA+ 80x25165machine # [ 0.050489] printk: legacy console [tty0] enabled166machine # [ 0.083275] printk: legacy console [ttyS0] enabled167machine # [ 0.231556] ACPI: Core revision 20250807168machine # [ 0.232710] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns169machine # [ 0.234803] APIC: Switch to symmetric I/O mode setup170machine # [ 0.236068] x2apic enabled171machine # [ 0.236965] APIC: Switched APIC routing to: physical x2apic172machine # [ 0.238999] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1173machine # [ 0.240340] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns174machine # [ 0.242600] Calibrating delay loop (skipped) preset value.. 7585.74 BogoMIPS (lpj=3792874)175machine # [ 0.244670] x86/cpu: User Mode Instruction Prevention (UMIP) activated176machine # [ 0.245698] Last level iTLB entries: 4KB 512, 2MB 255, 4MB 127177machine # [ 0.246599] Last level dTLB entries: 4KB 512, 2MB 255, 4MB 127, 1GB 0178machine # [ 0.247602] mitigations: Enabled attack vectors: user_kernel, user_user, guest_host, guest_guest, SMT mitigations: auto179machine # [ 0.249599] Speculative Store Bypass: Mitigation: Speculative Store Bypass disabled via prctl180machine # [ 0.250599] Spectre V2 : Mitigation: Retpolines181machine # [ 0.251599] Speculative Return Stack Overflow: Mitigation: Safe RET182machine # [ 0.252599] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization183machine # [ 0.254599] Spectre V2 : Spectre v2 / SpectreRSB: Filling RSB on context switch and VMEXIT184machine # [ 0.255599] Spectre V2 : Enabling Restricted Speculation for firmware calls185machine # [ 0.256600] Spectre V2 : mitigation: Enabling conditional Indirect Branch Prediction Barrier186machine # [ 0.258599] active return thunk: srso_alias_return_thunk187machine # [ 0.259621] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'188machine # [ 0.261599] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'189machine # [ 0.262599] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'190machine # [ 0.264599] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'191machine # [ 0.265599] x86/fpu: Supporting XSAVE feature 0x800: 'Control-flow User registers'192machine # [ 0.267599] x86/fpu: Supporting XSAVE feature 0x1000: 'Control-flow Kernel registers (KVM only)'193machine # [ 0.268599] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256194machine # [ 0.269599] x86/fpu: xstate_offset[9]: 832, xstate_sizes[9]: 8195machine # [ 0.271599] x86/fpu: xstate_offset[11]: 840, xstate_sizes[11]: 16196machine # [ 0.272599] x86/fpu: xstate_offset[12]: 856, xstate_sizes[12]: 24197machine # [ 0.273599] x86/fpu: Enabled xstate features 0x1a07, context size is 880 bytes, using 'compacted' format.198machine # [ 0.301515] Freeing SMP alternatives memory: 44K199machine # [ 0.302423] pid_max: default: 32768 minimum: 301200machine # [ 0.303653] LSM: initializing lsm=capability,landlock,yama,bpf,ima201machine # [ 0.304682] landlock: Up and running.202machine # [ 0.305599] Yama: becoming mindful.203machine # [ 0.306806] LSM support for eBPF active204machine # [ 0.307667] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)205machine # [ 0.308622] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)206machine # [ 0.311309] smpboot: CPU0: AMD Ryzen Threadripper PRO 5965WX 24-Cores (family: 0x19, model: 0x8, stepping: 0x2)207machine # [ 0.311994] Performance Events: Fam17h+ core perfctr, AMD PMU driver.208machine # [ 0.312602] ... version: 0209machine # [ 0.313588] ... bit width: 48210machine # [ 0.314383] ... generic counters: 6211machine # [ 0.315408] ... generic bitmap: 000000000000003f212machine # [ 0.316599] ... fixed-purpose counters: 0213machine # [ 0.317585] ... fixed-purpose bitmap: 0000000000000000214machine # [ 0.318594] ... value mask: 0000ffffffffffff215machine # [ 0.319600] ... max period: 00007fffffffffff216machine # [ 0.320600] ... global_ctrl mask: 000000000000003f217machine # [ 0.321685] signal: max sigframe size: 3376218machine # [ 0.322672] rcu: Hierarchical SRCU implementation.219machine # [ 0.323604] rcu: Max phase no-delay instances is 400.220machine # [ 0.328246] smp: Bringing up secondary CPUs ...221machine # [ 0.328612] smp: Brought up 1 node, 1 CPU222machine # [ 0.329539] smpboot: Total of 1 processors activated (7585.74 BogoMIPS)223machine # [ 0.330716] Memory: 943232K/1048024K available (17215K kernel code, 2726K rwdata, 13584K rodata, 3644K init, 2988K bss, 97580K reserved, 0K cma-reserved)224machine # [ 0.331795] devtmpfs: initialized225machine # [ 0.332798] x86/mm: Memory block size: 128MB226machine # [ 0.334447] posixtimers hash table entries: 512 (order: 1, 8192 bytes, linear)227machine # [ 0.335627] futex hash table entries: 256 (16384 bytes on 1 NUMA nodes, total 16 KiB, linear).228machine # [ 0.336663] pinctrl core: initialized pinctrl subsystem229machine # [ 0.337902] PM: RTC time: 21:47:14, date: 2026-09-10230machine # [ 0.340871] NET: Registered PF_NETLINK/PF_ROUTE protocol family231machine # [ 0.341912] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations232machine # [ 0.342620] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations233machine # [ 0.343723] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations234machine # [ 0.344607] audit: initializing netlink subsys (disabled)235machine # [ 0.345815] thermal_sys: Registered thermal governor 'fair_share'236machine # [ 0.345817] thermal_sys: Registered thermal governor 'bang_bang'237machine # [ 0.346603] audit: type=2000 audit(1789076834.760:1): state=initialized audit_enabled=0 res=1238machine # [ 0.348602] thermal_sys: Registered thermal governor 'step_wise'239machine # [ 0.348604] thermal_sys: Registered thermal governor 'user_space'240machine # [ 0.349601] thermal_sys: Registered thermal governor 'power_allocator'241machine # [ 0.350614] cpuidle: using governor menu242machine # [ 0.353434] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5243machine # [ 0.354835] PCI: ECAM [mem 0xb0000000-0xbfffffff] (base 0xb0000000) for domain 0000 [bus 00-ff]244machine # [ 0.355602] PCI: ECAM [mem 0xb0000000-0xbfffffff] reserved as E820 entry245machine # [ 0.356609] PCI: Using configuration type 1 for base access246machine # [ 0.357782] kprobes: kprobe jump-optimization is enabled. All kprobes are optimized if possible.247machine # [ 0.364832] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages248machine # [ 0.365601] HugeTLB: 16380 KiB vmemmap can be freed for a 1.00 GiB page249machine # [ 0.370600] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages250machine # [ 0.371601] HugeTLB: 28 KiB vmemmap can be freed for a 2.00 MiB page251machine # [ 0.381954] ACPI: Added _OSI(Module Device)252machine # [ 0.382601] ACPI: Added _OSI(Processor Device)253machine # [ 0.386600] ACPI: Added _OSI(Processor Aggregator Device)254machine # [ 0.389991] ACPI: 1 ACPI AML tables successfully acquired and loaded255machine # [ 0.395966] ACPI: Interpreter enabled256machine # [ 0.396614] ACPI: PM: (supports S0 S3 S4 S5)257machine # [ 0.397601] ACPI: Using IOAPIC for interrupt routing258machine # [ 0.398661] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug259machine # [ 0.400226] PCI: Using E820 reservations for host bridge windows260machine # [ 0.400737] ACPI: Enabled 2 GPEs in block 00 to 3F261machine # [ 0.405481] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])262machine # [ 0.406604] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI HPX-Type3]263machine # [ 0.407673] acpi PNP0A08:00: _OSC: platform does not support [PCIeHotplug LTR]264machine # [ 0.408728] acpi PNP0A08:00: _OSC: OS now controls [PME AER PCIeCapability]265machine # [ 0.410023] PCI host bridge to bus 0000:00266machine # [ 0.410605] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]267machine # [ 0.411601] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]268machine # [ 0.412601] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]269machine # [ 0.413601] pci_bus 0000:00: root bus resource [mem 0x40000000-0xafffffff window]270machine # [ 0.414601] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]271machine # [ 0.415601] pci_bus 0000:00: root bus resource [mem 0x100000000-0x8ffffffff window]272machine # [ 0.416601] pci_bus 0000:00: root bus resource [bus 00-ff]273machine # [ 0.417692] pci 0000:00:00.0: [8086:29c0] type 00 class 0x060000 conventional PCI endpoint274machine # [ 0.419312] pci 0000:00:01.0: [1234:1111] type 00 class 0x030000 conventional PCI endpoint275machine # [ 0.422685] pci 0000:00:01.0: BAR 0 [mem 0xfd000000-0xfdffffff pref]276machine # [ 0.423623] pci 0000:00:01.0: BAR 2 [mem 0xfebd0000-0xfebd0fff]277machine # [ 0.424643] pci 0000:00:01.0: ROM [mem 0xfebc0000-0xfebcffff pref]278machine # [ 0.425874] pci 0000:00:01.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]279machine # [ 0.427434] pci 0000:00:02.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint280machine # [ 0.429612] pci 0000:00:02.0: BAR 0 [io 0xc140-0xc15f]281machine # [ 0.430612] pci 0000:00:02.0: BAR 1 [mem 0xfebd1000-0xfebd1fff]282machine # [ 0.431643] pci 0000:00:02.0: BAR 4 [mem 0xfe000000-0xfe003fff 64bit pref]283machine # [ 0.432612] pci 0000:00:02.0: ROM [mem 0xfeb40000-0xfeb7ffff pref]284machine # [ 0.434667] pci 0000:00:03.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint285machine # [ 0.437625] pci 0000:00:03.0: BAR 0 [io 0xc160-0xc17f]286machine # [ 0.438620] pci 0000:00:03.0: BAR 1 [mem 0xfebd2000-0xfebd2fff]287machine # [ 0.439664] pci 0000:00:03.0: BAR 4 [mem 0xfe004000-0xfe007fff 64bit pref]288machine # [ 0.442030] pci 0000:00:04.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint289machine # [ 0.443613] pci 0000:00:04.0: BAR 0 [io 0xc080-0xc0bf]290machine # [ 0.444614] pci 0000:00:04.0: BAR 1 [mem 0xfebd3000-0xfebd3fff]291machine # [ 0.445644] pci 0000:00:04.0: BAR 4 [mem 0xfe008000-0xfe00bfff 64bit pref]292machine # [ 0.447561] pci 0000:00:05.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint293machine # [ 0.449620] pci 0000:00:05.0: BAR 0 [io 0xc180-0xc19f]294machine # [ 0.450613] pci 0000:00:05.0: BAR 1 [mem 0xfebd4000-0xfebd4fff]295machine # [ 0.451644] pci 0000:00:05.0: BAR 4 [mem 0xfe00c000-0xfe00ffff 64bit pref]296machine # [ 0.453577] pci 0000:00:06.0: [1af4:1009] type 00 class 0x000200 conventional PCI endpoint297machine # [ 0.455612] pci 0000:00:06.0: BAR 0 [io 0xc1a0-0xc1bf]298machine # [ 0.456613] pci 0000:00:06.0: BAR 1 [mem 0xfebd5000-0xfebd5fff]299machine # [ 0.457657] pci 0000:00:06.0: BAR 4 [mem 0xfe010000-0xfe013fff 64bit pref]300machine # [ 0.459601] pci 0000:00:07.0: [1af4:1001] type 00 class 0x010000 conventional PCI endpoint301machine # [ 0.462465] pci 0000:00:07.0: BAR 0 [io 0xc000-0xc07f]302machine # [ 0.463550] pci 0000:00:07.0: BAR 1 [mem 0xfebd6000-0xfebd6fff]303machine # [ 0.464643] pci 0000:00:07.0: BAR 4 [mem 0xfe014000-0xfe017fff 64bit pref]304machine # [ 0.466815] pci 0000:00:08.0: [1af4:1000] type 00 class 0x020000 conventional PCI endpoint305machine # [ 0.469602] pci 0000:00:08.0: BAR 0 [io 0xc1c0-0xc1df]306machine # [ 0.470619] pci 0000:00:08.0: BAR 1 [mem 0xfebd7000-0xfebd7fff]307machine # [ 0.471667] pci 0000:00:08.0: BAR 4 [mem 0xfe018000-0xfe01bfff 64bit pref]308machine # [ 0.472616] pci 0000:00:08.0: ROM [mem 0xfeb80000-0xfebbffff pref]309machine # [ 0.474601] pci 0000:00:09.0: [1af4:1052] type 00 class 0x090000 conventional PCI endpoint310machine # [ 0.476546] pci 0000:00:09.0: BAR 1 [mem 0xfebd8000-0xfebd8fff]311machine # [ 0.477643] pci 0000:00:09.0: BAR 4 [mem 0xfe01c000-0xfe01ffff 64bit pref]312machine # [ 0.479563] pci 0000:00:0a.0: [1af4:1003] type 00 class 0x078000 conventional PCI endpoint313machine # [ 0.481621] pci 0000:00:0a.0: BAR 0 [io 0xc0c0-0xc0ff]314machine # [ 0.482612] pci 0000:00:0a.0: BAR 1 [mem 0xfebd9000-0xfebd9fff]315machine # [ 0.483643] pci 0000:00:0a.0: BAR 4 [mem 0xfe020000-0xfe023fff 64bit pref]316machine # [ 0.485558] pci 0000:00:0b.0: [1af4:1005] type 00 class 0x00ff00 conventional PCI endpoint317machine # [ 0.487611] pci 0000:00:0b.0: BAR 0 [io 0xc1e0-0xc1ff]318machine # [ 0.488612] pci 0000:00:0b.0: BAR 1 [mem 0xfebda000-0xfebdafff]319machine # [ 0.489643] pci 0000:00:0b.0: BAR 4 [mem 0xfe024000-0xfe027fff 64bit pref]320machine # [ 0.491658] pci 0000:00:1d.0: [8086:2934] type 00 class 0x0c0300 conventional PCI endpoint321machine # [ 0.493260] pci 0000:00:1d.0: BAR 4 [io 0xc200-0xc21f]322machine # [ 0.493887] pci 0000:00:1d.1: [8086:2935] type 00 class 0x0c0300 conventional PCI endpoint323machine # [ 0.496279] pci 0000:00:1d.1: BAR 4 [io 0xc220-0xc23f]324machine # [ 0.496882] pci 0000:00:1d.2: [8086:2936] type 00 class 0x0c0300 conventional PCI endpoint325machine # [ 0.498299] pci 0000:00:1d.2: BAR 4 [io 0xc240-0xc25f]326machine # [ 0.498951] pci 0000:00:1d.7: [8086:293a] type 00 class 0x0c0320 conventional PCI endpoint327machine # [ 0.500221] pci 0000:00:1d.7: BAR 0 [mem 0xfebdb000-0xfebdbfff]328machine # [ 0.500937] pci 0000:00:1f.0: [8086:2918] type 00 class 0x060100 conventional PCI endpoint329machine # [ 0.502131] pci 0000:00:1f.0: quirk: [io 0x0600-0x067f] claimed by ICH6 ACPI/GPIO/TCO330machine # [ 0.502970] pci 0000:00:1f.2: [8086:2922] type 00 class 0x010601 conventional PCI endpoint331machine # [ 0.504509] pci 0000:00:1f.2: BAR 4 [io 0xc260-0xc27f]332machine # [ 0.505550] pci 0000:00:1f.2: BAR 5 [mem 0xfebdc000-0xfebdcfff]333machine # [ 0.507115] pci 0000:00:1f.3: [8086:2930] type 00 class 0x0c0500 conventional PCI endpoint334machine # [ 0.508308] pci 0000:00:1f.3: BAR 4 [io 0x0700-0x073f]335machine # [ 0.515130] ACPI: PCI: Interrupt link LNKA configured for IRQ 10336machine # [ 0.515789] ACPI: PCI: Interrupt link LNKB configured for IRQ 10337machine # [ 0.516766] ACPI: PCI: Interrupt link LNKC configured for IRQ 11338machine # [ 0.517754] ACPI: PCI: Interrupt link LNKD configured for IRQ 11339machine # [ 0.518738] ACPI: PCI: Interrupt link LNKE configured for IRQ 10340machine # [ 0.519732] ACPI: PCI: Interrupt link LNKF configured for IRQ 10341machine # [ 0.520732] ACPI: PCI: Interrupt link LNKG configured for IRQ 11342machine # [ 0.521732] ACPI: PCI: Interrupt link LNKH configured for IRQ 11343machine # [ 0.522660] ACPI: PCI: Interrupt link GSIA configured for IRQ 16344machine # [ 0.523618] ACPI: PCI: Interrupt link GSIB configured for IRQ 17345machine # [ 0.524618] ACPI: PCI: Interrupt link GSIC configured for IRQ 18346machine # [ 0.525619] ACPI: PCI: Interrupt link GSID configured for IRQ 19347machine # [ 0.526641] ACPI: PCI: Interrupt link GSIE configured for IRQ 20348machine # [ 0.527615] ACPI: PCI: Interrupt link GSIF configured for IRQ 21349machine # [ 0.528615] ACPI: PCI: Interrupt link GSIG configured for IRQ 22350machine # [ 0.529618] ACPI: PCI: Interrupt link GSIH configured for IRQ 23351machine # [ 0.531383] iommu: Default domain type: Translated352machine # [ 0.532473] iommu: DMA domain TLB invalidation policy: lazy mode353machine # [ 0.533815] ACPI: bus type USB registered354machine # [ 0.534659] usbcore: registered new interface driver usbfs355machine # [ 0.535617] usbcore: registered new interface driver hub356machine # [ 0.536628] usbcore: registered new device driver usb357machine # [ 0.538252] NetLabel: Initializing358machine # [ 0.538605] NetLabel: domain hash size = 128359machine # [ 0.539600] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO360machine # [ 0.540677] NetLabel: unlabeled traffic allowed by default361machine # [ 0.541611] PCI: Using ACPI for IRQ routing362machine # [ 0.625418] pci 0000:00:01.0: vgaarb: setting as boot VGA device363machine # [ 0.625596] pci 0000:00:01.0: vgaarb: bridge control possible364machine # [ 0.625596] pci 0000:00:01.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none365machine # [ 0.625602] vgaarb: loaded366machine # [ 0.626480] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0367machine # [ 0.627484] hpet0: 3 comparators, 64-bit 100.000000 MHz counter368machine # [ 0.631672] clocksource: Switched to clocksource kvm-clock369machine # [ 0.633540] VFS: Disk quotas dquot_6.6.0370machine # [ 0.635942] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)371machine # [ 0.637603] pnp: PnP ACPI init372machine # [ 0.638577] ACPI: IRQ 4 override to edge(!), high(!)373machine # [ 0.639852] system 00:05: [mem 0xb0000000-0xbfffffff window] has been reserved374machine # [ 0.641856] pnp: PnP ACPI: found 6 devices375machine # [ 0.649479] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns376machine # [ 0.651428] clocksource: Switched to clocksource acpi_pm377machine # [ 0.652719] NET: Registered PF_INET protocol family378machine # [ 0.654057] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)379machine # [ 0.668635] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)380machine # [ 0.670673] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)381machine # [ 0.672454] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)382machine # [ 0.674213] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)383machine # [ 0.675865] TCP: Hash tables configured (established 8192 bind 8192)384machine # [ 0.677343] MPTCP token hash table entries: 1024 (order: 3, 24576 bytes, linear)385machine # [ 0.679056] UDP hash table entries: 512 (order: 3, 32768 bytes, linear)386machine # [ 0.680558] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes, linear)387machine # [ 0.682225] NET: Registered PF_UNIX/PF_LOCAL protocol family388machine # [ 0.683557] NET: Registered PF_XDP protocol family389machine # [ 0.684701] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window]390machine # [ 0.686123] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window]391machine # [ 0.687501] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]392machine # [ 0.689009] pci_bus 0000:00: resource 7 [mem 0x40000000-0xafffffff window]393machine # [ 0.690536] pci_bus 0000:00: resource 8 [mem 0xc0000000-0xfebfffff window]394machine # [ 0.692080] pci_bus 0000:00: resource 9 [mem 0x100000000-0x8ffffffff window]395machine # [ 0.694237] ACPI: \_SB_.GSIA: Enabled at IRQ 16396machine # [ 0.696449] ACPI: \_SB_.GSIB: Enabled at IRQ 17397machine # [ 0.698625] ACPI: \_SB_.GSIC: Enabled at IRQ 18398machine # [ 0.700818] ACPI: \_SB_.GSID: Enabled at IRQ 19399machine # [ 0.702670] PCI: CLS 0 bytes, default 64400machine # [ 0.703889] Trying to unpack rootfs image as initramfs...401machine # [ 0.709861] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x6d5818a734c, max_idle_ns: 881590694765 ns402machine # [ 0.746165] Initialise system trusted keyrings403machine # [ 0.749858] workingset: timestamp_bits=40 max_order=18 bucket_order=0404machine # [ 0.768154] Key type asymmetric registered405machine # [ 0.769144] Asymmetric key parser 'x509' registered406machine # [ 0.772842] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)407machine # [ 0.777849] io scheduler mq-deadline registered408machine # [ 0.778933] io scheduler kyber registered409machine # [ 0.782287] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled410machine # [ 0.786039] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A411machine # [ 0.791737] Linux agpgart interface v0.103412machine # [ 0.792766] ACPI: bus type drm_connector registered413machine # [ 0.798933] usbcore: registered new interface driver usbserial_generic414machine # [ 0.800403] usbserial: USB Serial support registered for generic415machine # [ 0.801751] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled416machine # [ 0.805905] drop_monitor: Initializing network drop monitor service417machine # [ 0.807443] NET: Registered PF_INET6 protocol family418machine # [ 0.812201] Segment Routing with IPv6419machine # [ 0.814830] In-situ OAM (IOAM) with IPv6420machine # [ 0.816106] IPI shorthand broadcast: enabled421machine # [ 0.824067] sched_clock: Marking stable (631024624, 192775348)->(939318182, -115518210)422machine # [ 0.829899] registered taskstats version 1423machine # [ 0.831089] Loading compiled-in X.509 certificates424machine # [ 0.847931] Demotion targets for Node 0: null425machine # [ 0.850850] Key type .fscrypt registered426machine # [ 0.851807] Key type fscrypt-provisioning registered427machine # [ 0.854908] ima: No TPM chip found, activating TPM-bypass!428machine # [ 0.856155] ima: Allocated hash algorithm: sha1429machine # [ 0.858833] ima: No architecture policies found430machine # [ 0.861817] PM: Magic number: 10:235:803431machine # [ 0.863520] RAS: Correctable Errors collector initialized.432machine # [ 0.874196] clk: Disabling unused clocks433machine # [ 0.876814] PM: genpd: Disabling unused power domains434machine # [ 0.997008] Freeing initrd memory: 29076K435machine # [ 1.000134] Freeing unused decrypted memory: 2028K436machine # [ 1.002737] Freeing unused kernel image (initmem) memory: 3644K437machine # [ 1.004184] Write protecting the kernel read-only data: 32768k438machine # [ 1.006289] Freeing unused kernel image (text/rodata gap) memory: 1216K439machine # [ 1.008156] Freeing unused kernel image (rodata/data gap) memory: 752K440machine # [ 1.049407] x86/mm: Checked W+X mappings: passed, no W+X pages found.441machine # [ 1.050857] Run /init as init process442machine # [ 1.059547] systemd[1]: Inserted module 'autofs4'443machine # [ 1.073713] fuse: init (API version 7.45)444machine # [ 1.078988] ACPI: \_SB_.GSIG: Enabled at IRQ 22445machine # [ 1.081857] ACPI: \_SB_.GSIH: Enabled at IRQ 23446machine # [ 1.085368] ACPI: \_SB_.GSIE: Enabled at IRQ 20447machine # [ 1.088379] ACPI: \_SB_.GSIF: Enabled at IRQ 21448machine # [ 1.115549] systemd[1]: Successfully made /usr/ read-only.449machine # [ 1.452420] systemd[1]: systemd 261.2 running in system mode (+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE)450machine # [ 1.461536] systemd[1]: Detected virtualization kvm.451machine # [ 1.462946] systemd[1]: Detected architecture x86-64.452machine # [ 1.464244] systemd[1]: Running in initrd.453machine # [ 1.465476] systemd[1]: Initializing machine ID from random generator.454machine # [ 1.467017] systemd[1]: Hostname set to <machine>.455machine # [ 1.657492] systemd[1]: bpf-restrict-fs: LSM BPF program attached456machine # [ 1.692425] systemd[1]: Queued start job for default target Initrd Default Target.457machine # [ 1.697126] systemd[1]: Created slice Slice /system/modprobe.458machine # [ 1.698683] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.459machine # [ 1.700561] systemd[1]: Expecting device /dev/disk/by-label/nixos...460machine # [ 1.702089] systemd[1]: Reached target Path Units.461machine # [ 1.703269] systemd[1]: Reached target Slice Units.462machine # [ 1.704476] systemd[1]: Reached target Swaps.463machine # [ 1.705585] systemd[1]: Reached target Timer Units.464machine # [ 1.706933] systemd[1]: Listening on D-Bus System Message Bus Socket.465machine # [ 1.708552] systemd[1]: Listening on Journal Socket (/dev/log).466machine # [ 1.710128] systemd[1]: Listening on Journal Sockets.467machine # [ 1.711470] systemd[1]: Listening on udev Control Socket.468machine # [ 1.712884] systemd[1]: Listening on udev Kernel Socket.469machine # [ 1.714184] systemd[1]: Reached target Socket Units.470machine # [ 1.716190] systemd[1]: Starting Create List of Static Device Nodes...471machine # [ 1.723337] systemd[1]: Starting Load Kernel Module 9pnet_virtio...472machine # [ 1.732401] systemd[1]: Starting Load Kernel Module configfs...473machine # [ 1.742387] systemd[1]: Starting Journal Service...474machine # [ 1.752591] systemd[1]: Starting Load Kernel Modules...475machine # [ 1.759668] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os476machine # [ 1.773637] netfs: FS-Cache loaded477machine # [ 1.778341] 9pnet: Installing 9P2000 support478machine # [ 1.795854] systemd[1]: Starting Coldplug All udev Devices...479machine # [ 1.801292] systemd-journald[67]: Collecting audit messages is disabled.480machine # [ 1.811165] systemd[1]: Finished Create List of Static Device Nodes.481machine # [ 1.815270] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.482machine # [ 1.820484] systemd[1]: modprobe@9pnet_virtio.service: Deactivated successfully.483machine # [ 1.827304] systemd[1]: Finished Load Kernel Module 9pnet_virtio.484machine # [ 1.830913] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@lists.linux.dev485machine # [ 1.835163] systemd[1]: modprobe@configfs.service: Deactivated successfully.486machine # [ 1.842316] systemd[1]: Finished Load Kernel Module configfs.487machine # [ 1.850360] systemd[1]: Kernel Configuration File System skipped, unmet condition check ConditionPathExists=/sys/kernel/config488machine # [ 1.861518] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...489machine # [ 1.876161] systemd[1]: Finished Load Kernel Modules.490machine # [ 1.884959] systemd[1]: Starting Apply Kernel Variables...491machine # [ 1.900231] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.492machine # [ 1.912015] systemd[1]: Starting Create Static Device Nodes in /dev...493machine # [ 1.923896] systemd[1]: Finished Apply Kernel Variables.494machine # [ 1.938464] systemd[1]: Finished Create Static Device Nodes in /dev.495machine # [ 1.943084] systemd[1]: Reached target Preparation for Local File Systems.496machine # [ 1.948871] systemd[1]: Reached target Local File Systems.497machine # [ 1.761371] systemd-modules-load[68]: Inserted module 'dm_mod'[ 1.955593] systemd[1]: Starting Rule-based Manager for Device Events and Files...498machine # 499machine # [ 1.765368] systemd-modules-load[68]: Inserted module 'virtio_balloon'500machine # [ 1.766797] systemd-modules-load[68]: Inserted module 'virtio_gpu'501machine # [ 1.966966] systemd[1]: Started Journal Service.502machine # [ 1.793389] systemd[1]: Starting Create System Files and Directories...503machine # [ 1.815525] systemd[1]: Finished Create System Files and Directories.504machine # [ 1.819308] systemd-udevd[75]: Using default interface naming scheme 'v261'.505machine # [ 1.847082] systemd[1]: Started Rule-based Manager for Device Events and Files.506machine # [ 1.869752] systemd[1]: Finished Coldplug All udev Devices.507machine # [ 1.870920] systemd[1]: Reached target System Initialization.508machine # [ 1.872169] systemd[1]: Reached target Basic System.509machine # [ 2.277815] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12510machine # [ 2.297164] serio: i8042 KBD port at 0x60,0x64 irq 1511machine # [ 2.309577] virtio_blk virtio5: 1/0/0 default/read/poll queues512machine # [ 2.314639] serio: i8042 AUX port at 0x60,0x64 irq 12513machine # [ 2.326886] ehci-pci 0000:00:1d.7: EHCI Host Controller514machine # [ 2.327838] ehci-pci 0000:00:1d.7: new USB bus registered, assigned bus number 1515machine # [ 2.329913] ehci-pci 0000:00:1d.7: irq 19, io mem 0xfebdb000516machine # [ 2.333137] virtio_blk virtio5: [vda] 2097152 512-byte logical blocks (1.07 GB/1.00 GiB)517machine # [ 2.337804] ehci-pci 0000:00:1d.7: USB 2.0 started, EHCI 1.00518machine # [ 2.340340] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.18519machine # [ 2.341734] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1520machine # [ 2.345357] usb usb1: Product: EHCI Host Controller521machine # [ 2.347789] usb usb1: Manufacturer: Linux 6.18.49 ehci_hcd522machine # [ 2.348727] usb usb1: SerialNumber: 0000:00:1d.7523machine # [ 2.350828] hub 1-0:1.0: USB hub found524machine # [ 2.352453] hub 1-0:1.0: 6 ports detected525machine # [ 2.358233] uhci_hcd 0000:00:1d.0: UHCI Host Controller526machine # [ 2.359174] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 2527machine # [ 2.373865] uhci_hcd 0000:00:1d.0: detected 2 ports528machine # [ 2.379662] uhci_hcd 0000:00:1d.0: irq 16, io port 0x0000c200529machine # [ 2.392515] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18530machine # [ 2.400551] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1531machine # [ 2.412391] usb usb2: Product: UHCI Host Controller532machine # [ 2.415525] SCSI subsystem initialized533machine # [ 2.226170] systemd[1]: Starting Virtual Console Setup...534machine # [ 2.229835] (udev-worker)[88]: Network interface NamePolicy= disabled on kernel command line.535machine # [ 2.432971] usb usb2: Manufacturer: Linux 6.18.49 uhci_hcd536machine # [ 2.446675] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0537machine # [ 2.257210] systemd-vconsole-setup[99]: Configuration of first virtual console was skipped, ignoring remaining ones.538machine # [ 2.453809] usb usb2: SerialNumber: 0000:00:1d.0539machine # [ 2.262452] systemd[1]: Finished Virtual Console Setup.540machine # [ 2.463948] hub 2-0:1.0: USB hub found541machine # [ 2.274066] (udev-worker)[92]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.542machine # [ 2.277258] (udev-worker)[92]: Network interface NamePolicy= disabled on kernel command line.543machine # [ 2.475177] hub 2-0:1.0: 2 ports detected544machine # [ 2.485415] uhci_hcd 0000:00:1d.1: UHCI Host Controller545machine # [ 2.486365] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3546machine # [ 2.304685] systemd[1]: Found device /dev/disk/by-label/nixos.547machine # [ 2.306729] systemd[1]: Reached target Initrd Root Device.548machine # [ 2.309147] systemd[1]: Starting File System Check on /dev/disk/by-label/nixos...549machine # [ 2.504805] uhci_hcd 0000:00:1d.1: detected 2 ports550machine # [ 2.508822] uhci_hcd 0000:00:1d.1: irq 17, io port 0x0000c220551machine # [ 2.516827] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18552machine # [ 2.518225] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1553machine # [ 2.522829] usb usb3: Product: UHCI Host Controller554machine # [ 2.523708] usb usb3: Manufacturer: Linux 6.18.49 uhci_hcd555machine # [ 2.525735] usb usb3: SerialNumber: 0000:00:1d.1556machine # [ 2.339223] systemd-fsck[107]: nixos: clean, 12/65536 files, 13019/262144 blocks557machine # [ 2.534891] hub 3-0:1.0: USB hub found558machine # [ 2.536784] hub 3-0:1.0: 2 ports detected559machine # [ 2.541283] uhci_hcd 0000:00:1d.2: UHCI Host Controller560machine # [ 2.542212] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4561machine # [ 2.546946] ahci 0000:00:1f.2: AHCI vers 0001.0000, 32 command slots, 1.5 Gbps, SATA mode562machine # [ 2.548342] ahci 0000:00:1f.2: 6/6 ports implemented (port mask 0x3f)563machine # [ 2.549957] uhci_hcd 0000:00:1d.2: detected 2 ports564machine # [ 2.551187] uhci_hcd 0000:00:1d.2: irq 18, io port 0x0000c240565machine # [ 2.552847] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.18566machine # [ 2.554246] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1567machine # [ 2.555928] ahci 0000:00:1f.2: flags: 64bit ncq only568machine # [ 2.366135] systemd[1]: Finished File System Check on /dev/disk/by-label/nixos.569machine # [ 2.564828] usb usb4: Product: UHCI Host Controller570machine # [ 2.565712] usb usb4: Manufacturer: Linux 6.18.49 uhci_hcd571machine # [ 2.567097] scsi host0: ahci572machine # [ 2.568473] scsi host1: ahci573machine # [ 2.571068] usb usb4: SerialNumber: 0000:00:1d.2574machine # [ 2.572207] scsi host2: ahci575machine # [ 2.574200] scsi host3: ahci576machine # [ 2.575855] hub 4-0:1.0: USB hub found577machine # [ 2.580196] scsi host4: ahci578machine # [ 2.581425] hub 4-0:1.0: 2 ports detected579machine # [ 2.582553] scsi host5: ahci580machine # [ 2.584891] ata1: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc100 irq 44 lpm-pol 1581machine # [ 2.586303] ata2: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc180 irq 44 lpm-pol 1582machine # [ 2.589785] usb 1-1: new high-speed USB device number 2 using ehci-pci583machine # [ 2.603479] ata3: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc200 irq 44 lpm-pol 1584machine # [ 2.609486] ata4: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc280 irq 44 lpm-pol 1585machine # [ 2.617431] ata5: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc300 irq 44 lpm-pol 1586machine # [ 2.621549] ata6: SATA max UDMA/133 abar m4096@0xfebdc000 port 0xfebdc380 irq 44 lpm-pol 1587machine # [ 2.718991] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00588machine # [ 2.720964] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10589machine # [ 2.723112] usb 1-1: Product: QEMU USB Tablet590machine # [ 2.724485] usb 1-1: Manufacturer: QEMU591machine # [ 2.725822] usb 1-1: SerialNumber: 28754-0000:00:1d.7-1592machine # [ 2.738345] hid: raw HID events driver (C) Jiri Kosina593machine # [ 2.616631] systemd[1]: Mounting /sysroot...594machine # [ 2.934205] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)595machine # [ 2.936258] ata3.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100596machine # [ 2.938065] ata3.00: applying bridge limits597machine # [ 2.939543] ata1: SATA link down (SStatus 0 SControl 300)598machine # [ 2.941383] ata5: SATA link down (SStatus 0 SControl 300)599machine # [ 2.943088] ata6: SATA link down (SStatus 0 SControl 300)600machine # [ 2.944570] ata4: SATA link down (SStatus 0 SControl 300)601machine # [ 2.945903] ata2: SATA link down (SStatus 0 SControl 300)602machine # [ 2.947246] ata3.00: configured for UDMA/100603machine # [ 2.948506] scsi 2:0:0:0: CD-ROM QEMU QEMU DVD-ROM 2.5+ PQ: 0 ANSI: 5604machine # [ 3.000403] usbcore: registered new interface driver usbhid605machine # [ 3.007204] usbhid: USB HID core driver606machine # [ 3.024063] 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/input2607machine # [ 3.027944] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray608machine # [ 3.029215] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:1d.7-1/input0609machine # [ 3.037485] EXT4-fs (vda): mounted filesystem 53f6dd76-ac0b-4a98-810c-5970642b0244 r/w with ordered data mode. Quota mode: none.610machine # [ 3.041616] cdrom: Uniform CD-ROM driver Revision: 3.20611machine # [ 2.853078] systemd[1]: Mounted /sysroot.612machine # [ 2.854059] systemd[1]: Reached target Initrd Root File System.613machine # [ 2.858091] systemd[1]: Starting Mountpoints Configured in the Real Root...614machine # [ 2.873473] systemd-sysroot-fstab-check[139]: /sysroot should be mounted in the initrd, will request daemon-reload.615machine # [ 2.878559] systemd[1]: Reload requested from client PID 139 ('systemd-sysroot') (unit initrd-parse-etc.service)...616machine # [ 2.881148] systemd[1]: Reloading...617machine # [ 2.955747] systemd[1]: Reloading finished in 75 ms.618machine # [ 2.964427] systemd-sysroot-fstab-check[139]: Requesting initrd-fs.target/start/replace...619machine # [ 2.969166] systemd-sysroot-fstab-check[139]: Requesting swap.target/start/replace...620machine # [ 2.973258] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio621machine # [ 2.975660] systemd[1]: initrd-parse-etc.service: Deactivated successfully.622machine # [ 2.978130] systemd[1]: Finished Mountpoints Configured in the Real Root.623machine # [ 2.979409] systemd[1]: initrd-parse-etc.service: Triggering OnSuccess= dependencies.624machine # [ 3.618159] systemd[1]: Mounting /sysroot/nix/.ro-store...625machine # [ 3.623090] systemd[1]: Mounting /sysroot/nix/.rw-store...626machine # [ 3.627812] systemd[1]: Mounting /sysroot/run...627machine # [ 3.632253] systemd[1]: Mounting /sysroot/tmp/shared...628machine # [ 3.638915] systemd[1]: Mounting /sysroot/tmp/xchg...629machine # [ 3.656915] systemd[1]: Mounted /sysroot/nix/.rw-store.630machine # [ 3.853986] 9p: Installing v9fs 9p2000 file system support631machine # [ 3.663087] systemd[1]: Mounted /sysroot/run.632machine # [ 3.671672] systemd[1]: Starting rw-sysroot-nix-store.service...633machine # [ 3.679234] systemd[1]: Mounted /sysroot/nix/.ro-store.634machine # [ 3.683144] systemd[1]: Mounted /sysroot/tmp/shared.635machine # [ 3.684307] systemd[1]: Mounted /sysroot/tmp/xchg.636machine # [ 3.689887] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.637machine # [ 3.691859] systemd[1]: Finished rw-sysroot-nix-store.service.638machine # [ 3.694514] systemd[1]: Mounting /sysroot/nix/store...639machine # [ 3.711196] systemd[1]: Mounted /sysroot/nix/store.640machine # [ 3.712504] systemd[1]: Reached target Initrd File Systems.641machine # [ 3.714374] systemd[1]: Starting Find NixOS closure...642machine # [ 3.718145] systemd[1]: Starting Create Volatile Files and Directories in the Real Root...643machine # [ 3.731234] systemd[1]: Finished Create Volatile Files and Directories in the Real Root.644machine # [ 3.739392] systemd[1]: Finished Find NixOS closure.645machine # [ 3.740871] systemd[1]: Reached target Initrd Default Target.646machine # [ 3.742839] systemd[1]: Starting Cleaning Up and Shutting Down Daemons...647machine # [ 3.756825] systemd[1]: Stopped target Initrd Default Target.648machine # [ 3.758356] systemd[1]: Stopped target Basic System.649machine # [ 3.760163] systemd[1]: Stopped target Initrd Root Device.650machine # [ 3.761262] systemd[1]: Stopped target Path Units.651machine # [ 3.762371] systemd[1]: systemd-ask-password-console.path: Deactivated successfully.652machine # [ 3.764268] systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.653machine # [ 3.765971] systemd[1]: Stopped target Slice Units.654machine # [ 3.767469] systemd[1]: Stopped target Socket Units.655machine # [ 3.769270] systemd[1]: Stopped target System Initialization.656machine # [ 3.770415] systemd[1]: Stopped target Swaps.657machine # [ 3.771863] systemd[1]: Stopped target Timer Units.658machine # [ 3.772888] systemd[1]: dbus.socket: Deactivated successfully.659machine # [ 3.774098] systemd[1]: Closed D-Bus System Message Bus Socket.660machine # [ 3.776150] systemd[1]: initrd-find-nixos-closure.service: Deactivated successfully.661machine # [ 3.777561] systemd[1]: Stopped Find NixOS closure.662machine # [ 3.778568] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio663machine # [ 3.780712] systemd[1]: Starting rw-sysroot-nix-store.service...664machine # [ 3.782216] systemd[1]: systemd-sysctl.service: Deactivated successfully.665machine # [ 3.784190] systemd[1]: Stopped Apply Kernel Variables.666machine # [ 3.785325] systemd[1]: systemd-modules-load.service: Deactivated successfully.667machine # [ 3.787887] systemd[1]: Stopped Load Kernel Modules.668machine # [ 3.788930] systemd[1]: systemd-tmpfiles-setup-sysroot.service: Deactivated successfully.669machine # [ 3.790401] systemd[1]: Stopped Create Volatile Files and Directories in the Real Root.670machine # [ 3.793714] systemd[1]: systemd-tmpfiles-setup.service: Deactivated successfully.671machine # [ 3.795135] systemd[1]: Stopped Create System Files and Directories.672machine # [ 3.796942] systemd[1]: Stopped target Local File Systems.673machine # [ 3.798600] systemd[1]: Stopped target Preparation for Local File Systems.674machine # [ 3.803231] systemd[1]: systemd-udev-trigger.service: Deactivated successfully.675machine # [ 3.804588] systemd[1]: Stopped Coldplug All udev Devices.676machine # [ 3.805661] systemd[1]: Stopping Rule-based Manager for Device Events and Files...677machine # [ 3.808393] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.678machine # [ 3.809777] systemd[1]: Stopped Virtual Console Setup.679machine # [ 3.814507] systemd[1]: initrd-cleanup.service: Deactivated successfully.680machine # [ 3.817111] systemd[1]: Finished Cleaning Up and Shutting Down Daemons.681machine # [ 3.820155] systemd[1]: systemd-udevd.service: Deactivated successfully.682machine # [ 3.821556] systemd[1]: Stopped Rule-based Manager for Device Events and Files.683machine # [ 3.823570] systemd[1]: rw-sysroot-nix-store.service: Deactivated successfully.684machine # [ 3.825543] systemd[1]: Finished rw-sysroot-nix-store.service.685machine # [ 3.829369] systemd[1]: systemd-udevd-control.socket: Deactivated successfully.686machine # [ 3.831218] systemd[1]: Closed udev Control Socket.687machine # [ 3.833105] systemd[1]: Starting Cleanup udev Database...688machine # [ 3.834211] systemd[1]: systemd-tmpfiles-setup-dev.service: Deactivated successfully.689machine # [ 3.836186] systemd[1]: Stopped Create Static Device Nodes in /dev.690machine # [ 3.837431] systemd[1]: systemd-tmpfiles-setup-dev-early.service: Deactivated successfully.691machine # [ 3.839186] systemd[1]: Stopped Create Static Device Nodes in /dev gracefully.692machine # [ 3.840828] systemd[1]: kmod-static-nodes.service: Deactivated successfully.693machine # [ 3.843163] systemd[1]: Stopped Create List of Static Device Nodes.694machine # [ 3.855504] systemd[1]: initrd-udevadm-cleanup-db.service: Deactivated successfully.695machine # [ 3.858159] systemd[1]: Finished Cleanup udev Database.696machine # [ 3.859437] systemd[1]: Reached target Switch Root.697machine # [ 3.862150] systemd[1]: Starting NixOS Activation...698machine # [ 3.966625] initrd-nixos-activation-start[193]: booting system configuration /nix/store/5bffdq1mqkqnc3ak3qq6dgj0jsrk31by-nixos-system-machine-test699machine # [ 4.006870] initrd-nixos-activation-start[193]: running activation script...700machine # [ 4.311347] initrd-nixos-activation-start[216]: setting up /etc...701machine # [ 4.503066] systemd[1]: initrd-nixos-activation.service: Deactivated successfully.702machine # [ 4.505189] systemd[1]: Finished NixOS Activation.703machine # [ 4.507311] systemd[1]: Starting Switch Root...704machine # [ 4.519711] systemd[1]: Switching root.705machine # [ 4.835385] systemd-journald[67]: Received SIGTERM from PID 1 (systemd).706machine # [ 4.945983] NET: Registered PF_VSOCK protocol family707machine # [ 5.314556] 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)708machine # [ 5.321442] systemd[1]: Detected virtualization kvm.709machine # [ 5.322612] systemd[1]: Detected architecture x86-64.710machine # [ 5.323783] systemd[1]: Detected first boot.711machine # [ 5.327041] systemd[1]: Initializing machine ID from random generator.712machine # [ 5.553904] systemd[1]: bpf-restrict-fs: LSM BPF program attached713machine # [ 5.643172] systemd[1]: Applying preset policy.714machine # [ 5.987202] systemd[1]: Populated /etc with preset unit settings.715machine # [ 6.320964] systemd[1]: initrd-switch-root.service: Deactivated successfully.716machine # [ 6.322653] systemd[1]: Stopped initrd-switch-root.service.717machine # [ 6.325487] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.718machine # [ 6.327874] systemd[1]: Created slice Slice /system/getty.719machine # [ 6.329449] systemd[1]: Created slice PHP FastCGI Process Manager Slice.720machine # [ 6.331209] systemd[1]: Created slice User and Session Slice.721machine # [ 6.332366] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.722machine # [ 6.333870] systemd[1]: Started Forward Password Requests to Wall Directory Watch.723machine # [ 6.335229] systemd[1]: Expecting device /dev/hvc0...724machine # [ 6.336162] systemd[1]: Expecting device /dev/ttyS0...725machine # [ 6.337144] systemd[1]: Reached target Local Encrypted Volumes.726machine # [ 6.338205] systemd[1]: Stopped target initrd-fs.target.727machine # [ 6.339179] systemd[1]: Stopped target initrd-root-fs.target.728machine # [ 6.350132] systemd[1]: Stopped target initrd-switch-root.target.729machine # [ 6.351268] systemd[1]: Reached target Virtual Machines and Containers.730machine # [ 6.352459] systemd[1]: Reached target Path Units.731machine # [ 6.353399] systemd[1]: Reached target Remote File Systems.732machine # [ 6.354439] systemd[1]: Reached target Slice Units.733machine # [ 6.355396] systemd[1]: Reached target Swaps.734machine # [ 6.357797] systemd[1]: Listening on Query the User Interactively for a Password.735machine # [ 6.360878] systemd[1]: Listening on Process Core Dump Socket.736machine # [ 6.363310] systemd[1]: Listening on Credential Encryption/Decryption.737machine # [ 6.365850] systemd[1]: Listening on Factory Reset Management.738machine # [ 6.367036] systemd[1]: Listening on Hostname Service Socket.739machine # [ 6.370168] systemd[1]: Starting Journal Log Access Socket...740machine # [ 6.371830] systemd[1]: Listening on Journal Audit Socket.741machine # [ 6.374555] systemd[1]: Listening on Console Output Muting Service Socket.742machine # [ 6.375957] systemd[1]: Listening on Userspace Out-Of-Memory (OOM) Killer Socket.743machine # [ 6.377491] systemd[1]: TPM PCR Measurements skipped, unmet condition check ConditionSecurity=measured-os744machine # [ 6.379156] systemd[1]: Make TPM PCR Policy skipped, unmet condition check ConditionSecurity=measured-uki745machine # [ 6.385438] systemd[1]: Listening on Disk Repartitioning Service Socket.746machine # [ 6.386784] systemd[1]: Listening on udev Control Socket.747machine # [ 6.387907] systemd[1]: Listening on udev Varlink Socket.748machine # [ 6.390806] systemd[1]: Mounting Huge Pages File System...749machine # [ 6.394857] systemd[1]: Mounting POSIX Message Queue File System...750machine # [ 6.399814] systemd[1]: Mounting Kernel Debug File System...751machine # [ 6.404970] systemd[1]: Mounting Kernel Trace File System...752machine # [ 6.409166] systemd[1]: Starting Create List of Static Device Nodes...753machine # [ 6.414237] systemd[1]: Load Kernel Module 9pnet_virtio skipped, unmet condition check ConditionKernelModuleLoaded=!9pnet_virtio754machine # [ 6.423045] systemd[1]: Starting Load Kernel Module configfs...755machine # [ 6.424284] systemd[1]: Load Kernel Module drm skipped, unmet condition check ConditionKernelModuleLoaded=!drm756machine # [ 6.438495] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore757machine # [ 6.444747] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse758machine # [ 6.457035] systemd[1]: Mounting FUSE Control File System...759machine # [ 6.458183] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67760machine # [ 6.469238] systemd[1]: Starting Journal Service...761machine # [ 6.474062] systemd[1]: Starting Load Kernel Modules...762machine # [ 6.484192] systemd[1]: Starting Userspace Out-Of-Memory (OOM) Killer...763machine # [ 6.497074] systemd[1]: Starting Remount Root and Kernel File Systems...764machine # [ 6.501872] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os765machine # [ 6.519230] systemd[1]: Starting Coldplug All udev Devices...766machine # [ 6.522881] systemd-journald[286]: Collecting audit messages is enabled.767machine # [ 6.535861] loop: module loaded768machine # [ 6.542571] systemd[1]: Listening on Journal Log Access Socket.769machine # [ 6.553091] systemd[1]: Mounted Huge Pages File System.770machine # [ 6.557517] systemd[1]: Mounted POSIX Message Queue File System.771machine # [ 6.561824] systemd[1]: Mounted Kernel Debug File System.772machine # [ 6.564711] EXT4-fs (vda): re-mounted 53f6dd76-ac0b-4a98-810c-5970642b0244.773machine # [ 6.570249] systemd[1]: Mounted Kernel Trace File System.774machine # [ 6.379584] systemd[1]: Queued start job for default target Multi-User System.775machine # [ 6.575980] systemd[1]: Started Journal Service.776machine # [ 6.384299] systemd[1]: systemd-journald.service: Deactivated successfully.777machine # [ 6.387225] systemd-modules-load[287]: Inserted module 'loop'778machine # [ 6.390228] systemd-modules-load[287]: Inserted module 'tls'779machine # [ 6.396481] systemd[1]: Finished Create List of Static Device Nodes.780machine # [ 6.400098] systemd[1]: modprobe@configfs.service: Deactivated successfully.781machine # [ 6.403390] systemd[1]: Finished Load Kernel Module configfs.782machine # [ 6.404715] systemd[1]: Mounted FUSE Control File System.783machine # [ 6.410102] systemd[1]: Finished Load Kernel Modules.784machine # [ 6.413126] systemd[1]: Finished Remount Root and Kernel File Systems.785machine # [ 6.428325] systemd[1]: Listening on Disk Image Download Service Socket.786machine # [ 6.430520] systemd-oomd[289]: No swap; memory pressure usage will be degraded787machine # [ 6.436416] systemd[1]: Mounting Kernel Configuration File System...788machine # [ 6.444083] systemd[1]: Starting Firewall...789machine # [ 6.451800] systemd[1]: Starting Flush Journal to Persistent Storage...790machine # [ 6.453190] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore791machine # [ 6.459053] systemd[1]: Starting Load/Save OS Random Seed...792machine # [ 6.463633] systemd[1]: Starting Apply Kernel Variables...793machine # [ 6.484117] systemd[1]: Starting Create Static Device Nodes in /dev gracefully...794machine # [ 6.486121] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os795machine # [ 6.493518] systemd[1]: Started Userspace Out-Of-Memory (OOM) Killer.796machine # [ 6.534853] systemd[1]: Finished Load/Save OS Random Seed.797machine # [ 6.551391] systemd[1]: Mounted Kernel Configuration File System.798machine # [ 6.746893] systemd-journald[286]: Received client request to flush runtime journal.799machine # [ 6.772601] systemd[1]: Reached target First Boot Complete.800machine # [ 6.778541] systemd[1]: Finished Apply Kernel Variables.801machine # [ 6.781698] systemd[1]: Finished Create Static Device Nodes in /dev gracefully.802machine # [ 6.784664] systemd[1]: Starting Create Static Device Nodes in /dev...803machine # [ 6.786456] systemd[1]: Finished Create Static Device Nodes in /dev.804machine # [ 6.788218] systemd[1]: Reached target Preparation for Local File Systems.805machine # [ 6.790934] systemd[1]: Starting Rule-based Manager for Device Events and Files...806machine # [ 6.793270] systemd[1]: Finished Flush Journal to Persistent Storage.807machine # [ 6.797125] systemd-udevd[328]: Using default interface naming scheme 'v261'.808machine # [ 6.819316] systemd[1]: Finished Coldplug All udev Devices.809machine # [ 6.884225] systemd[1]: Started Rule-based Manager for Device Events and Files.810machine # [ 7.048874] systemd[1]: Load Kernel Module fuse skipped, unmet condition check ConditionKernelModuleLoaded=!fuse811machine # [ 7.132757] systemd[1]: Mounting /run/wrappers...812machine # [ 7.144658] systemd[1]: Condition check resulted in /dev/hvc0 being skipped.813machine # [ 7.165549] systemd[1]: Mounted /run/wrappers.814machine # [ 7.169313] systemd[1]: Reached target Local File Systems.815machine # [ 7.172373] systemd[1]: Listening on Boot Loader Control Service Socket.816machine # [ 7.178295] systemd[1]: Starting register-nix-paths.service...817machine # [ 7.181470] systemd[1]: Starting Create SUID/SGID Wrappers...818machine # [ 7.183494] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.819machine # [ 7.195907] systemd[1]: Starting Save Transient machine-id to Disk...820machine # [ 7.212141] systemd[1]: Starting Create System Files and Directories...821machine # [ 7.213975] systemd[1]: Condition check resulted in /dev/ttyS0 being skipped.822machine # [ 7.282674] (udev-worker)[377]: eth1: Config file /etc/systemd/network/40-eth1.link is applied to device based on potentially unpredictable interface name.823machine # [ 7.289362] (udev-worker)[377]: Network interface NamePolicy= disabled on kernel command line.824machine # [ 7.292638] (udev-worker)[371]: Network interface NamePolicy= disabled on kernel command line.825machine # [ 7.314408] systemd[1]: etc-machine\x2did.mount: Deactivated successfully.826machine # [ 7.321223] systemd[1]: Finished Save Transient machine-id to Disk.827machine # [ 7.348494] systemd[1]: Finished Create System Files and Directories.828machine # [ 7.358748] systemd[1]: Starting Rebuild Journal Catalog...829machine # [ 7.367269] systemd[1]: Starting Record System Boot/Shutdown in UTMP...830machine # [ 7.445900] systemd[1]: Finished Record System Boot/Shutdown in UTMP.831machine # [ 7.477371] systemd[1]: Finished Rebuild Journal Catalog.832machine # [ 7.484762] systemd[1]: Starting Update is Completed...833machine # [ 7.491575] systemd[1]: Finished Firewall.834machine # [ 7.530157] systemd[1]: Finished Update is Completed.835machine # [ 7.538322] systemd[1]: Condition check resulted in Virtio network device being skipped.836machine # [ 7.540385] systemd[1]: Load Kernel Module efi_pstore skipped, unmet condition check ConditionKernelModuleLoaded=!efi_pstore837machine # [ 7.543671] systemd[1]: Update Boot Loader Random Seed skipped, no trigger condition checks were met.838machine # [ 7.546356] systemd[1]: Clear Stale Hibernate Storage Info skipped, unmet condition check ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67839machine # [ 7.549495] systemd[1]: Platform Persistent Storage Archival skipped, unmet condition check ConditionDirectoryNotEmpty=/sys/fs/pstore840machine # [ 7.552919] systemd[1]: Early TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os841machine # [ 7.555295] systemd[1]: TPM SRK Setup skipped, unmet condition check ConditionSecurity=measured-os842machine # [ 7.697209] systemd[1]: suid-sgid-wrappers.service: Deactivated successfully.843machine # [ 7.700165] systemd[1]: Finished Create SUID/SGID Wrappers.844machine # [ 7.946156] bochs-drm 0000:00:01.0: vgaarb: deactivate vga console845machine # [ 7.958026] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3846machine # [ 7.972755] mousedev: PS/2 mouse device common for all mice847machine # [ 7.977382] ACPI: button: Power Button [PWRF]848machine # [ 8.011592] rtc_cmos 00:04: RTC can wake from S4849machine # [ 8.027605] rtc_cmos 00:04: registered as rtc0850machine # [ 8.033145] rtc_cmos 00:04: setting system clock to 2026-09-10T21:47:22 UTC (1789076842)851machine # [ 8.033253] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram, hpet irqs852machine # [ 8.037838] parport_pc 00:02: reported by Plug and Play ACPI853machine # [ 8.037936] parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]854machine # [ 8.047733] Console: switching to colour dummy device 80x25855machine # [ 8.066011] input: QEMU Virtio Keyboard as /devices/pci0000:00/0000:00:09.0/virtio7/input/input4856machine # [ 8.097018] lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized857machine # [ 7.948616] systemd[1]: Finished register-nix-paths.service.858machine # [ 7.950457] systemd[1]: Reached target System Initialization.859machine # [ 7.952783] systemd[1]: Started Discard unused filesystem blocks once a week.860machine # [ 7.954509] systemd[1]: Started Daily Cleanup of Temporary Directories.861machine # [ 7.956435] systemd[1]: Listening on D-Bus System Message Bus Socket.862machine # [ 7.958191] systemd[1]: Listening on Nix Daemon Socket.863machine # [ 7.960237] systemd[1]: Listening on Virtual Machine and Container Registration Service Socket.864machine # [ 7.961913] systemd[1]: Reached target Socket Units.865machine # [ 7.964156] systemd[1]: Reached target Basic System.866machine # [ 7.966189] systemd[1]: Started backdoor.service.867machine # [ 7.972659] systemd[1]: Starting Import lastlog data into lastlog2 database...868machine # [ 7.980408] systemd[1]: Starting nextcloud-setup.service...869machine # [ 7.989160] systemd[1]: Starting Name Service Cache Daemon (nsncd)...870machine # [ 8.002981] systemd[1]: Starting Post-Boot Actions...871machine # [ 8.177112] i801_smbus 0000:00:1f.3: SMBus using PCI interrupt872machine # [ 8.016381] systemd[1]: Started Reset console on configuration changes.873machine # [ 8.038154] systemd[1]: Starting resolvconf update...874machine # [ 8.177224] i2c i2c-0: Memory type 0x07 not supported yet, not instantiating SPD875machine # connecting to host...876machine: Guest shell says: b'Spawning backdoor root shell...\n'877machine # [ 8.094647] systemd[1]: Finished Post-Boot Actions.878machine: connected to guest root shell879machine: (connecting took 8.84 seconds)880machine: (finished: waiting for the VM to finish booting, in 8.84 seconds)881machine # [ 8.310220] [drm] Found bochs VGA, ID 0xb0c5.882machine # [ 8.126897] nsncd[513]: Sep 10 21:47:22.781 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"883machine # [ 8.326203] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebd0000.884machine # [ 8.147661] systemd[1]: Starting D-Bus System Message Bus...885machine # [ 8.150366] systemd[1]: Started Name Service Cache Daemon (nsncd).886machine # [ 8.164590] systemd[1]: Finished Import lastlog data into lastlog2 database.887machine # [ 8.364430] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input6888machine # [ 8.368133] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input5889machine # [ 8.178164] systemd[1]: Reached target Host and Network Name Lookups.890machine # [ 8.179409] systemd[1]: Reached target User and Group Name Lookups.891machine # [ 8.379853] bochs-drm 0000:00:01.0: [drm] Registered 1 planes with drm panic892machine # [ 8.380819] [drm] Initialized bochs-drm 1.0.0 for 0000:00:01.0 on minor 0893machine # [ 8.200156] systemd[1]: Starting User Login Management...894machine: (finished: waiting for success: systemctl show nextcloud-setup.service -p Result --value | grep -qx success, in 9.00 seconds)895machine: waiting for unit phpfpm-nextcloud.service896machine # [ 8.304094] systemd[1]: Stopped target Host and Network Name Lookups.897machine # [ 8.305382] systemd[1]: Stopping Host and Network Name Lookups...898machine # [ 8.306555] systemd[1]: Stopped target User and Group Name Lookups.899machine # [ 8.307740] systemd[1]: Stopping User and Group Name Lookups...900machine # [ 8.311592] systemd[1]: Stopping Name Service Cache Daemon (nsncd)...901machine # [ 8.316394] systemd[1]: nscd.service: Deactivated successfully.902machine # [ 8.320484] systemd[1]: Stopped Name Service Cache Daemon (nsncd).903machine # [ 8.324228] dbus-broker-launch[543]: Looking up NSS user entry for 'systemd-timesync'...904machine # [ 8.332698] dbus-broker-launch[543]: NSS returned no entry for 'systemd-timesync'905machine # [ 8.334133] dbus-broker-launch[543]: Invalid user-name in /nix/store/7fphh0vp4qlsnkw2nc12m9ldb6rnvpiq-system-path/share/dbus-1/system.d/org.freedesktop.timesync1.conf +16: user="systemd-timesync"906machine # [ 8.359546] systemd[1]: Starting Name Service Cache Daemon (nsncd)...907machine # [ 8.393499] systemd-logind[556]: New seat seat0.908machine # [ 8.406767] systemd[1]: Started D-Bus System Message Bus.909machine # [ 8.409958] systemd[1]: Started User Login Management.910machine # [ 8.424378] dbus-broker-launch[543]: Ready911machine # [ 8.433631] systemd[1]: Starting linger-users.service...912machine # [ 8.445455] systemd[1]: Starting Virtual Console Setup...913machine # [ 8.451645] nsncd[597]: Sep 10 21:47:23.110 INFO started, config: Config { ignored_request_types: {}, worker_count: 8, handoff_timeout: 10s }, path: "/var/run/nscd/socket"914machine # [ 8.479948] systemd[1]: Started Name Service Cache Daemon (nsncd).915machine # [ 8.513738] systemd[1]: linger-users.service: Deactivated successfully.916machine # [ 8.517266] systemd[1]: Finished linger-users.service.917machine # [ 8.761855] Console: switching to colour frame buffer device 160x50918machine # [ 8.843933] bochs-drm 0000:00:01.0: [drm] fb0: bochs-drmdrmfb frame buffer device919machine # [ 8.536130] systemd[1]: Finished resolvconf update.920machine # [ 8.660399] systemd[1]: Reached target Preparation for Network.921machine # [ 8.664343] systemd[1]: Reached target Host and Network Name Lookups.922machine # [ 8.667557] systemd[1]: Reached target User and Group Name Lookups.923machine # [ 8.671722] systemd[1]: Starting DHCP Client...924machine # [ 8.675251] systemd[1]: Starting Address configuration of eth1...925machine # [ 8.678378] systemd[1]: Starting Extra networking commands....926machine # [ 8.680948] systemd-logind[556]: Watching system buttons on /dev/input/event0 (AT Translated Set 2 keyboard)927machine # [ 8.685822] systemd-logind[556]: Watching system buttons on /dev/input/event2 (Power Button)928machine # [ 8.687477] network-addresses-eth1-start[633]: adding address 192.168.1.1/24... done929machine # [ 8.688931] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.930machine # [ 8.692894] systemd[1]: Stopped Virtual Console Setup.931machine # [ 8.706208] network-addresses-eth1-start[633]: adding address 2001:db8:1::1/64... done932machine # [ 8.712180] systemd[1]: Starting Virtual Console Setup...933machine # [ 8.730881] systemd[1]: Finished Address configuration of eth1.934machine # [ 8.964982] ppdev: user-space parallel port driver935machine # [ 8.821178] systemd[1]: Finished Extra networking commands..936machine # [ 8.826232] systemd[1]: Reached target Network.937machine # [ 8.835899] systemd[1]: Starting Nginx Web Server...938machine # [ 8.852548] systemd[1]: Starting Redis Server - redis-nextcloud...939machine # [ 8.869159] systemd[1]: Starting Permit User Sessions...940machine # [ 8.899819] dhcpcd[641]: dhcpcd-10.3.2 starting941machine # [ 9.102757] iTCO_wdt iTCO_wdt.1.auto: Found a ICH9 TCO device (Version=2, TCOBASE=0x0660)942machine # [ 8.916377] dhcpcd[708]: dev: loaded udev943machine # [ 9.147579] 8021q: 802.1Q VLAN Support v1.8944machine # [ 8.960275] systemd[1]: Finished Permit User Sessions.945machine # [ 9.156226] 8021q: adding VLAN 0 to HW filter on device eth1946machine # [ 8.976393] systemd[1]: Started Getty on tty1.947machine # [ 8.978771] systemd[1]: Reached target Login Prompts.948machine # [ 8.993525] systemd-logind[556]: Watching system buttons on /dev/input/event3 (QEMU Virtio Keyboard)949machine # [ 9.196494] iTCO_wdt iTCO_wdt.1.auto: initialized. heartbeat=30 sec (nowayout=0)950machine # [ 9.211232] systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.951machine # [ 9.226928] systemd-vconsole-setup[660]: Configuration of first virtual console was skipped, ignoring remaining ones.952machine # [ 9.234543] systemd[1]: Finished Virtual Console Setup.953machine # [ 9.244239] systemd[1]: systemd-vconsole-setup.service: Deactivated successfully.954machine # [ 9.245628] systemd[1]: Stopped Virtual Console Setup.955machine # [ 9.246641] systemd[1]: Stopping Virtual Console Setup...956machine # [ 9.254277] nginx-pre-start[720]: nginx: the configuration file /nix/store/y8qb44dqv4dx3jnh6k9wxw0kpd953mzz-nginx.conf syntax is ok957machine # [ 9.256312] nginx-pre-start[720]: nginx: configuration file /nix/store/y8qb44dqv4dx3jnh6k9wxw0kpd953mzz-nginx.conf test is successful958machine # [ 9.467293] cfg80211: Loading compiled-in X.509 certificates for regulatory database959machine # [ 9.277141] systemd[1]: Starting Virtual Console Setup...960machine # [ 9.283426] systemd[1]: Started Nginx Web Server.961machine # [ 9.506470] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'962machine # [ 9.511993] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'963machine # [ 9.521006] faux_driver regulatory: Direct firmware load for regulatory.db failed with error -2964machine # [ 9.522173] cfg80211: failed to load regulatory.db965machine # [ 9.398801] redis-server[719]: Supervised by systemd. Please make sure you set appropriate values for TimeoutStartSec and TimeoutStopSec in your service unit.966machine # [ 9.404605] redis-server[719]: oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo967machine # [ 9.407473] redis-server[719]: Redis version=8.10.1, bits=64, commit=00000000, modified=0, pid=719, just started968machine # [ 9.410264] redis-server[719]: Configuration loaded969machine # [ 9.413069] redis[719]: monotonic clock: POSIX clock_gettime970machine # [ 9.431104] redis[719]: Running mode=standalone, port=0.971machine # [ 9.441801] redis[719]: Server initialized972machine # [ 9.443850] redis[719]: Ready to accept connections unix973machine # [ 9.446457] redis[719]: WARNING: Redis does not require authentication. Redis will accept connections from any local client.974machine # [ 9.450302] systemd[1]: Started Redis Server - redis-nextcloud.975machine # [ 9.668900] kvm_amd: TSC scaling supported976machine # [ 9.669450] kvm_amd: Nested Virtualization enabled977machine # [ 9.671261] kvm_amd: Nested Paging enabled978machine # [ 9.676698] kvm_amd: LBR virtualization supported979machine # [ 9.677390] kvm_amd: Virtual VMLOAD VMSAVE supported980machine # [ 9.678894] kvm_amd: Virtual GIF supported981machine # [ 9.686903] 8021q: adding VLAN 0 to HW filter on device eth0982machine # [ 9.495573] dhcpcd[708]: eth0: waiting for carrier983machine # [ 9.497167] dhcpcd[708]: eth0: carrier acquired984machine # [ 9.506795] dhcpcd[708]: DUID 00:01:00:01:32:35:e1:ec:52:54:00:12:34:56985machine # [ 9.508159] dhcpcd[708]: eth0: IAID 00:12:34:56986machine # [ 9.509859] dhcpcd[708]: eth0: adding address fe80::5054:ff:fe12:3456987machine # [ 9.753571] EDAC MC: Ver: 3.0.0988machine # [ 9.631509] systemd-vconsole-setup[744]: Configuration of first virtual console was skipped, ignoring remaining ones.989machine # [ 9.636264] systemd[1]: Finished Virtual Console Setup.990machine # [ 10.817849] dhcpcd[708]: eth0: soliciting a DHCP lease991machine # [ 11.024728] NET: Registered PF_PACKET protocol family992machine # [ 10.836816] dhcpcd[708]: eth0: offered 10.0.2.15 from 10.0.2.2993machine # [ 10.839133] dhcpcd[708]: eth0: probing address 10.0.2.15/24994machine # [ 11.497114] dhcpcd[708]: eth0: soliciting an IPv6 router995machine # [ 11.499436] dhcpcd[708]: eth0: Router Advertisement from fe80::2996machine # [ 11.501146] dhcpcd[708]: eth0: adding address fec0::5054:ff:fe12:3456/64997machine # [ 11.503205] dhcpcd[708]: eth0: adding route to fec0::/64998machine # [ 11.504636] dhcpcd[708]: eth0: adding default route via fe80::2999machine # [ 16.353732] dhcpcd[708]: eth0: leased 10.0.2.15 for 86400 seconds1000machine # [ 16.355271] dhcpcd[708]: eth0: adding route to 10.0.2.0/241001machine # [ 16.357260] dhcpcd[708]: eth0: adding default route via 10.0.2.21002machine # [ 16.470231] systemd[1]: Started DHCP Client.1003machine # [ 19.180268] nextcloud-setup-start[520]: Nextcloud was successfully installed1004machine # [ 20.097483] nextcloud-setup-start[926]: No upgrade required.1005machine # [ 20.099169] nextcloud-setup-start[926]: Note: This command triggers the upgrade actions associated with a new version. The new version's updated source files must be deployed in advance.1006machine # [ 20.104232] nextcloud-setup-start[926]: See the upgrade documentation: https://docs.nextcloud.com/server/33/go.php?to=admin-update for more information.1007machine # [ 20.863598] nextcloud-setup-start[929]: System config value trusted_domains deleted1008machine # [ 21.709626] nextcloud-setup-start[941]: rhwpviewer 0.1.0 enabled1009machine # [ 22.491285] nextcloud-setup-start[953]: System config value trusted_domains => 0 set to string localhost1010machine # [ 22.514333] systemd[1]: nextcloud-setup.service: Deactivated successfully.1011machine # [ 22.516365] systemd[1]: Finished nextcloud-setup.service.1012machine # [ 22.517892] systemd[1]: nextcloud-setup.service: Consumed 5.348s CPU time over 14.535s wall clock time, 149.8M memory peak, 12.7M written to disk.1013machine # [ 22.522381] systemd[1]: Started nextcloud-cron.timer.1014machine # [ 22.524078] systemd[1]: Reached target Timer Units.1015machine # [ 22.527138] systemd[1]: Starting nextcloud-update-db.service...1016machine # [ 22.531555] systemd[1]: Starting PHP FastCGI Process Manager service for pool nextcloud...1017machine # [ 22.729543] php-fpm[968]: [10-Sep-2026 21:47:37] NOTICE: systemd watchdog configured to 7.5sec1018machine # [ 22.737284] php-fpm[968]: [NOTICE] fpm is running, pid 9681019machine # [ 22.769782] php-fpm[968]: [NOTICE] ready to handle connections1020machine # [ 22.772959] systemd[1]: Started PHP FastCGI Process Manager service for pool nextcloud.1021machine # [ 22.775523] php-fpm[968]: [NOTICE] systemd monitor interval set to 7500ms1022machine # [ 22.778321] systemd[1]: Reached target PHP FastCGI Process manager pools target.1023machine # [ 22.779857] systemd[1]: Reached target Multi-User System.1024machine # [ 22.787571] php[967]: Cannot write into "config" directory!1025machine # [ 22.788661] php[967]: This can usually be fixed by giving the web server write access to the config directory.1026machine # [ 22.790372] php[967]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.1027machine # [ 22.793061] php[967]: See https://docs.nextcloud.com/server/33/go.php?to=admin-config1028machine # [ 22.830071] systemd[1]: Started nextcloud-update-db.service.1029machine # [ 22.831300] systemd[1]: Startup finished in 861ms (kernel) + 3.850s (initrd) + 18.117s (userspace) = 22.829s.1030machine: (finished: waiting for unit phpfpm-nextcloud.service, in 15.08 seconds)1031machine: waiting for unit nginx.service1032machine: (finished: waiting for unit nginx.service, in 0.04 seconds)1033machine: waiting for TCP port 80 on localhost1034machine # Connection to localhost (127.0.0.1) 80 port [tcp/http] succeeded!1035machine: (finished: waiting for TCP port 80 on localhost, in 0.06 seconds)1036machine: waiting for success: curl --fail --silent --show-error http://localhost/status.php1037machine # [ 23.650636] nextcloud-update-db-start[984]: Done.1038machine: (finished: waiting for success: curl --fail --silent --show-error http://localhost/status.php, in 0.56 seconds)1039machine: must succeed: nextcloud-occ app:list --enabled1040machine # [ 24.063406] sudo[1004]: root : TTY=hvc0 ; PWD=/nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-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 --enabled1041machine # [ 24.079249] sudo[1004]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1042machine # [ 25.074731] sudo[1004]: pam_unix(sudo:session): session closed for user nextcloud1043machine: (finished: must succeed: nextcloud-occ app:list --enabled, in 1.08 seconds)1044machine: must succeed: nextcloud-occ app:getpath rhwpviewer1045machine # [ 25.119185] sudo[1014]: root : TTY=hvc0 ; PWD=/nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-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 rhwpviewer1046machine # [ 25.134465] sudo[1014]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1047machine # [ 25.893898] nextcloud-update-db-start[1012]: Done.1048machine # [ 25.925526] systemd[1]: nextcloud-update-db.service: Deactivated successfully.1049machine # [ 25.928109] systemd[1]: nextcloud-update-db.service: Consumed 1.237s CPU time over 3.399s wall clock time, 51.8M memory peak.1050machine # [ 26.033264] sudo[1014]: pam_unix(sudo:session): session closed for user nextcloud1051machine: (finished: must succeed: nextcloud-occ app:getpath rhwpviewer, in 0.96 seconds)1052machine: must succeed: test -x /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp1053machine: (finished: must succeed: test -x /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp, in 0.01 seconds)1054machine: must succeed: /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null1055machine: (finished: must succeed: /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/bin/rhwp --help >/dev/null, in 0.03 seconds)1056machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php1057machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/routes.php, in 0.01 seconds)1058machine: must succeed: grep -q 'RHWP Studio' /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml1059machine: (finished: must succeed: grep -q 'RHWP Studio' /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/appinfo/info.xml, in 0.02 seconds)1060machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php1061machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/AppInfo/Application.php, in 0.01 seconds)1062machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php1063machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/PageController.php, in 0.01 seconds)1064machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php1065machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Controller/DocumentController.php, in 0.01 seconds)1066machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php1067machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Listener/LoadFilesActionScript.php, in 0.01 seconds)1068machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php1069machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/FileResolver.php, in 0.01 seconds)1070machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php1071machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/ResolvedFile.php, in 0.01 seconds)1072machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php1073machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgExportResult.php, in 0.01 seconds)1074machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php1075machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/lib/Service/SvgPage.php, in 0.01 seconds)1076machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php1077machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/templates/index.php, in 0.01 seconds)1078machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html1079machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/index.html, in 0.01 seconds)1080machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js1081machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/viewer.js, in 0.01 seconds)1082machine: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js1083machine: (finished: must succeed: test -f /nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-nextcloud-33.0.8-with-apps/nix-apps/rhwpviewer/js/files-action.js, in 0.01 seconds)1084machine: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root1085machine # [ 26.254404] sudo[1074]: root : TTY=hvc0 ; PWD=/nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-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 root1086machine # [ 26.268412] sudo[1074]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1087machine # [ 27.042869] Nextcloud[1079]: {"reqId":"YkQ3Qd5u5m5nPDhfXWUU","level":2,"time":"2026-09-10T21:47:41+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"}}1088machine # [ 27.050257] Nextcloud[1079]: {"reqId":"YkQ3Qd5u5m5nPDhfXWUU","level":2,"time":"2026-09-10T21:47:41+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"}}1089machine # [ 27.057160] Nextcloud[1079]: {"reqId":"YkQ3Qd5u5m5nPDhfXWUU","level":2,"time":"2026-09-10T21:47:41+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 # [ 27.063683] Nextcloud[1079]: {"reqId":"YkQ3Qd5u5m5nPDhfXWUU","level":2,"time":"2026-09-10T21:47:41+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 # [ 27.346249] sudo[1074]: pam_unix(sudo:session): session closed for user nextcloud1092machine: (finished: must succeed: OC_PASS='CorrectHorseBatteryStaple42!' nextcloud-occ user:resetpassword --password-from-env root, in 1.12 seconds)1093machine: must succeed: 1094install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1095install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1096install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1097install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1098nextcloud-occ files:scan root10991100machine # [ 27.425135] sudo[1081]: root : TTY=hvc0 ; PWD=/nix/store/772xs15hq0n0fygfjdc6m140f0083f9v-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 root1101machine # [ 27.438384] sudo[1081]: pam_unix(sudo:session): session opened for user nextcloud(uid=998) by (uid=0)1102machine # [ 28.292469] sudo[1081]: pam_unix(sudo:session): session closed for user nextcloud1103machine: (finished: must succeed: 1104install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files1105install -d -o nextcloud -g nextcloud /var/lib/nextcloud/data/root/files/rhwpviewer-sample-dir1106install -o nextcloud -g nextcloud -m 0640 /nix/store/5qchpacm701wsrswxfvdq0vnn35qyssc-sample.hwp '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwp'1107install -o nextcloud -g nextcloud -m 0640 /nix/store/g6pffbzm2715npx1zm6r1x6i475rw4am-sample.hwpx '/var/lib/nextcloud/data/root/files/한글 제목 샘플.hwpx'1108nextcloud-occ files:scan root1109, in 0.95 seconds)1110machine: must succeed: 1111python3 - <<'PY'1112import base641113import http.cookiejar1114import json1115import re1116import urllib.error1117import urllib.parse1118import urllib.request1119import xml.etree.ElementTree as ET11201121base = "http://localhost"1122password = "CorrectHorseBatteryStaple42!"1123sample_filename = "한글 제목 샘플.hwp"1124sample_hwpx_filename = "한글 제목 샘플.hwpx"1125sample_dirname = "rhwpviewer-sample-dir"1126cookies = http.cookiejar.CookieJar()1127opener = urllib.request.build_opener(1128 urllib.request.HTTPCookieProcessor(cookies)1129)11301131def get_file_id(filename):1132 body = (1133 '<?xml version="1.0" encoding="utf-8" ?>\n'1134 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1135 ' <d:prop><oc:fileid /></d:prop>\n'1136 '</d:propfind>\n'1137 ).encode()1138 credentials = base64.b64encode(f"root:{password}".encode()).decode()1139 request = urllib.request.Request(1140 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1141 data=body,1142 headers={1143 "Authorization": "Basic " + credentials,1144 "Content-Type": "application/xml",1145 "Depth": "0",1146 },1147 method="PROPFIND",1148 )1149 response = urllib.request.urlopen(request)1150 assert response.status == 207, response.status1151 xml = response.read()1152 root = ET.fromstring(xml)1153 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1154 assert file_id is not None, xml.decode("utf-8", "replace")1155 file_id = file_id.strip()1156 assert file_id.isdigit(), file_id1157 return file_id11581159login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1160match = re.search(r'data-requesttoken="([^"]+)"', login_html)1161assert match, login_html[:1000]1162token = match.group(1)11631164data = urllib.parse.urlencode({1165 "user": "root",1166 "password": password,1167 "requesttoken": token,1168 "timezone": "UTC",1169 "timezone_offset": "0",1170}).encode()11711172request = urllib.request.Request(1173 base + "/login",1174 data=data,1175 headers={1176 "Origin": base,1177 "Content-Type": "application/x-www-form-urlencoded",1178 },1179)1180opener.open(request)11811182response = opener.open(base + "/apps/rhwpviewer/")1183assert response.status == 200, response.status1184html = response.read().decode("utf-8", "replace")1185assert "rhwpviewer-root" in html, html[:1000]1186assert "viewer.js" in html, html[:1000]1187assert "Viewer route is ready" in html, html[:1000]11881189response = opener.open(base + "/apps/files/")1190assert response.status == 200, response.status1191html = response.read().decode("utf-8", "replace")1192assert "files-action.js" in html, html[:1000]1193action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1194assert action_script, html[:1000]1195action_response = opener.open(base + action_script.group(1))1196action_js = action_response.read().decode("utf-8", "replace")1197assert "Open in RHWP Studio" in action_js, action_js[:1000]1198assert "Edit with RHWP" not in action_js, action_js[:1000]1199assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1200assert "default" in action_js, action_js[:1000]12011202def check_editor(filename):1203 file_id = get_file_id(filename)1204 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1205 assert response.status == 200, response.status1206 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1207 decoded_editor_url = urllib.parse.unquote(response.geturl())1208 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1209 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1210 assert "한글" not in decoded_editor_url, decoded_editor_url1211 studio_html = response.read().decode("utf-8", "replace")12121213 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1214 assert content_response.status == 200, content_response.status1215 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1216 content = content_response.read()1217 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]12181219 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1220 assert "rhwp-studio" in studio_html, studio_html[:1000]1221 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1222 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1223 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1224 assert token_match, studio_html[:1000]1225 save_request = urllib.request.Request(1226 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1227 data=content,1228 headers={1229 "Content-Type": "application/octet-stream",1230 "requesttoken": token_match.group(1),1231 },1232 method="PUT",1233 )1234 save_response = opener.open(save_request)1235 assert save_response.status == 200, save_response.status1236 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1237 assert save_payload["status"] == "ok", save_payload1238 assert save_payload["fileId"] == int(file_id), save_payload1239 assert save_payload["bytes"] == len(content), save_payload1240 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1241 assert saved_content == content, len(saved_content)1242 # theme-init.js: nonced and moved off the document root onto the app1243 # subpath, so it loads under Nextcloud and passes the CSP.1244 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1245 theme_match = re.search(1246 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1247 )1248 assert theme_match, studio_html[:1000]1249 assert "nonce=" in theme_match.group(1), theme_match.group(0)1250 # The app bundle is the ES module script; check it specifically rather1251 # than the first <script src> (which is now theme-init.js).1252 module_match = re.search(1253 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1254 )1255 assert module_match, studio_html[:1000]1256 assert "nonce=" in module_match.group(1), module_match.group(0)1257 script_src = module_match.group(2)1258 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1259 assert 'src="/assets/' not in studio_html, studio_html[:1000]1260 assert 'href="/assets/' not in studio_html, studio_html[:1000]1261 assert "registerSW.js" not in studio_html, studio_html[:1000]1262 # Catch-all guards so a future RHWP Studio <head> change fails loudly1263 # and points at exactly what studioHtml() must handle, rather than1264 # tripping an indirect assertion. (1) no root-absolute asset ref may1265 # survive un-rewritten off the app subpath; (2) every <script src>1266 # must carry the CSP nonce.1267 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1268 assert stray is None, stray.group(0) if stray else studio_html[:1000]1269 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1270 assert "nonce=" in tag, tag12711272 asset_response = opener.open(base + script_src)1273 assert asset_response.status == 200, asset_response.status1274 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1275 asset_js = asset_response.read().decode("utf-8", "replace")1276 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1277 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1278 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1279 return file_id12801281def check_svg_export(filename):1282 file_id = get_file_id(filename)1283 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1284 assert response.status == 200, response.status1285 html = response.read().decode("utf-8", "replace")1286 assert "rhwpviewer-root" in html, html[:1000]1287 assert "rhwpviewer-pages" in html, html[:1000]1288 assert "viewer.js" in html, html[:1000]1289 assert f'data-file-id="{file_id}"' in html, html[:1000]1290 assert file_id in html, html[:1000]1291 assert filename in html, html[:1000]12921293 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1294 assert response.status == 200, response.status1295 payload = json.loads(response.read().decode("utf-8", "replace"))1296 assert payload["fileId"] == int(file_id), payload1297 assert payload["fileName"] == filename, payload1298 assert payload["status"] == "ok", payload1299 assert payload["kind"] == "svg", payload1300 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1301 first_page = payload["pages"][0]1302 assert first_page["index"] == 0, payload1303 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1304 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1305 assert first_page["url"].endswith(".svg"), payload1306 assert filename not in first_page["url"], payload1307 assert "한글" not in first_page["url"], payload13081309 page_response = opener.open(base + first_page["url"])1310 assert page_response.status == 200, page_response.status1311 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1312 svg = page_response.read().decode("utf-8", "replace")1313 assert "<svg" in svg[:1000], svg[:1000]1314 return file_id13151316file_id = check_svg_export(sample_filename)1317check_svg_export(sample_hwpx_filename)1318check_editor(sample_filename)1319check_editor(sample_hwpx_filename)13201321directory_id = get_file_id(sample_dirname)1322try:1323 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1324 raise AssertionError("directory fileId unexpectedly succeeded")1325except urllib.error.HTTPError as error:1326 assert error.code == 404, error.code13271328try:1329 opener.open(base + "/apps/rhwpviewer/view/999999999")1330 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1331except urllib.error.HTTPError as error:1332 assert error.code == 404, error.code13331334try:1335 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1336 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1337except urllib.error.HTTPError as error:1338 assert error.code == 404, error.code13391340try:1341 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1342 raise AssertionError("bogus page unexpectedly succeeded")1343except urllib.error.HTTPError as error:1344 assert error.code == 404, error.code1345PY13461347machine: (finished: must succeed: 1348python3 - <<'PY'1349import base641350import http.cookiejar1351import json1352import re1353import urllib.error1354import urllib.parse1355import urllib.request1356import xml.etree.ElementTree as ET13571358base = "http://localhost"1359password = "CorrectHorseBatteryStaple42!"1360sample_filename = "한글 제목 샘플.hwp"1361sample_hwpx_filename = "한글 제목 샘플.hwpx"1362sample_dirname = "rhwpviewer-sample-dir"1363cookies = http.cookiejar.CookieJar()1364opener = urllib.request.build_opener(1365 urllib.request.HTTPCookieProcessor(cookies)1366)13671368def get_file_id(filename):1369 body = (1370 '<?xml version="1.0" encoding="utf-8" ?>\n'1371 '<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n'1372 ' <d:prop><oc:fileid /></d:prop>\n'1373 '</d:propfind>\n'1374 ).encode()1375 credentials = base64.b64encode(f"root:{password}".encode()).decode()1376 request = urllib.request.Request(1377 base + "/remote.php/dav/files/root/" + urllib.parse.quote(filename),1378 data=body,1379 headers={1380 "Authorization": "Basic " + credentials,1381 "Content-Type": "application/xml",1382 "Depth": "0",1383 },1384 method="PROPFIND",1385 )1386 response = urllib.request.urlopen(request)1387 assert response.status == 207, response.status1388 xml = response.read()1389 root = ET.fromstring(xml)1390 file_id = root.findtext(".//{http://owncloud.org/ns}fileid")1391 assert file_id is not None, xml.decode("utf-8", "replace")1392 file_id = file_id.strip()1393 assert file_id.isdigit(), file_id1394 return file_id13951396login_html = opener.open(base + "/login").read().decode("utf-8", "replace")1397match = re.search(r'data-requesttoken="([^"]+)"', login_html)1398assert match, login_html[:1000]1399token = match.group(1)14001401data = urllib.parse.urlencode({1402 "user": "root",1403 "password": password,1404 "requesttoken": token,1405 "timezone": "UTC",1406 "timezone_offset": "0",1407}).encode()14081409request = urllib.request.Request(1410 base + "/login",1411 data=data,1412 headers={1413 "Origin": base,1414 "Content-Type": "application/x-www-form-urlencoded",1415 },1416)1417opener.open(request)14181419response = opener.open(base + "/apps/rhwpviewer/")1420assert response.status == 200, response.status1421html = response.read().decode("utf-8", "replace")1422assert "rhwpviewer-root" in html, html[:1000]1423assert "viewer.js" in html, html[:1000]1424assert "Viewer route is ready" in html, html[:1000]14251426response = opener.open(base + "/apps/files/")1427assert response.status == 200, response.status1428html = response.read().decode("utf-8", "replace")1429assert "files-action.js" in html, html[:1000]1430action_script = re.search(r'src="([^"]*files-action\.js[^"]*)"', html)1431assert action_script, html[:1000]1432action_response = opener.open(base + action_script.group(1))1433action_js = action_response.read().decode("utf-8", "replace")1434assert "Open in RHWP Studio" in action_js, action_js[:1000]1435assert "Edit with RHWP" not in action_js, action_js[:1000]1436assert "/apps/rhwpviewer/edit/" in action_js, action_js[:1000]1437assert "default" in action_js, action_js[:1000]14381439def check_editor(filename):1440 file_id = get_file_id(filename)1441 response = opener.open(base + f"/apps/rhwpviewer/edit/{file_id}")1442 assert response.status == 200, response.status1443 assert response.geturl().startswith(base + f"/apps/rhwpviewer/studio/{file_id}"), response.geturl()1444 decoded_editor_url = urllib.parse.unquote(response.geturl())1445 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in decoded_editor_url, decoded_editor_url1446 assert "document.hwp" in decoded_editor_url or "document.hwpx" in decoded_editor_url, decoded_editor_url1447 assert "한글" not in decoded_editor_url, decoded_editor_url1448 studio_html = response.read().decode("utf-8", "replace")14491450 content_response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content")1451 assert content_response.status == 200, content_response.status1452 assert content_response.headers.get_content_type() == "application/octet-stream", content_response.headers1453 content = content_response.read()1454 assert content.startswith(b"\xd0\xcf\x11\xe0") or content.startswith(b"PK"), content[:8]14551456 assert "wasm-unsafe-eval" in response.headers.get("Content-Security-Policy", ""), response.headers1457 assert "rhwp-studio" in studio_html, studio_html[:1000]1458 assert f"/apps/rhwpviewer/api/files/{file_id}/content" in studio_html, studio_html[:1000]1459 assert "showSaveFilePicker" in studio_html, studio_html[:1000]1460 token_match = re.search(r'const requestToken = "([^"]+)";', studio_html)1461 assert token_match, studio_html[:1000]1462 save_request = urllib.request.Request(1463 base + f"/apps/rhwpviewer/api/files/{file_id}/content",1464 data=content,1465 headers={1466 "Content-Type": "application/octet-stream",1467 "requesttoken": token_match.group(1),1468 },1469 method="PUT",1470 )1471 save_response = opener.open(save_request)1472 assert save_response.status == 200, save_response.status1473 save_payload = json.loads(save_response.read().decode("utf-8", "replace"))1474 assert save_payload["status"] == "ok", save_payload1475 assert save_payload["fileId"] == int(file_id), save_payload1476 assert save_payload["bytes"] == len(content), save_payload1477 saved_content = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/content").read()1478 assert saved_content == content, len(saved_content)1479 # theme-init.js: nonced and moved off the document root onto the app1480 # subpath, so it loads under Nextcloud and passes the CSP.1481 assert 'src="/theme-init.js"' not in studio_html, studio_html[:1000]1482 theme_match = re.search(1483 r'<script\b([^>]*)src="(/nix-apps/rhwpviewer/js/theme-init\.js)"', studio_html1484 )1485 assert theme_match, studio_html[:1000]1486 assert "nonce=" in theme_match.group(1), theme_match.group(0)1487 # The app bundle is the ES module script; check it specifically rather1488 # than the first <script src> (which is now theme-init.js).1489 module_match = re.search(1490 r'<script\b([^>]*\btype="module"[^>]*)src="([^"]+)"', studio_html1491 )1492 assert module_match, studio_html[:1000]1493 assert "nonce=" in module_match.group(1), module_match.group(0)1494 script_src = module_match.group(2)1495 assert script_src.startswith("/nix-apps/rhwpviewer/js/assets/"), studio_html[:1000]1496 assert 'src="/assets/' not in studio_html, studio_html[:1000]1497 assert 'href="/assets/' not in studio_html, studio_html[:1000]1498 assert "registerSW.js" not in studio_html, studio_html[:1000]1499 # Catch-all guards so a future RHWP Studio <head> change fails loudly1500 # and points at exactly what studioHtml() must handle, rather than1501 # tripping an indirect assertion. (1) no root-absolute asset ref may1502 # survive un-rewritten off the app subpath; (2) every <script src>1503 # must carry the CSP nonce.1504 stray = re.search(r'\b(?:src|href)="/(?!nix-apps/)[^"]*"', studio_html)1505 assert stray is None, stray.group(0) if stray else studio_html[:1000]1506 for tag in re.findall(r'<script\b[^>]*\bsrc="[^>]*>', studio_html):1507 assert "nonce=" in tag, tag15081509 asset_response = opener.open(base + script_src)1510 assert asset_response.status == 200, asset_response.status1511 assert asset_response.headers.get_content_type() == "text/javascript", asset_response.headers1512 asset_js = asset_response.read().decode("utf-8", "replace")1513 assert "new URL(`./rhwp_bg" in asset_js, asset_js[:1000]1514 assert "new URL(`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1515 assert "file:`/apps/rhwpviewer" not in asset_js, asset_js[:1000]1516 return file_id15171518def check_svg_export(filename):1519 file_id = get_file_id(filename)1520 response = opener.open(base + f"/apps/rhwpviewer/view/{file_id}")1521 assert response.status == 200, response.status1522 html = response.read().decode("utf-8", "replace")1523 assert "rhwpviewer-root" in html, html[:1000]1524 assert "rhwpviewer-pages" in html, html[:1000]1525 assert "viewer.js" in html, html[:1000]1526 assert f'data-file-id="{file_id}"' in html, html[:1000]1527 assert file_id in html, html[:1000]1528 assert filename in html, html[:1000]15291530 response = opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/convert")1531 assert response.status == 200, response.status1532 payload = json.loads(response.read().decode("utf-8", "replace"))1533 assert payload["fileId"] == int(file_id), payload1534 assert payload["fileName"] == filename, payload1535 assert payload["status"] == "ok", payload1536 assert payload["kind"] == "svg", payload1537 assert isinstance(payload["pages"], list) and len(payload["pages"]) >= 1, payload1538 first_page = payload["pages"][0]1539 assert first_page["index"] == 0, payload1540 assert isinstance(first_page["bytes"], int) and first_page["bytes"] > 0, payload1541 assert first_page["url"].startswith(f"/apps/rhwpviewer/api/files/{file_id}/pages/"), payload1542 assert first_page["url"].endswith(".svg"), payload1543 assert filename not in first_page["url"], payload1544 assert "한글" not in first_page["url"], payload15451546 page_response = opener.open(base + first_page["url"])1547 assert page_response.status == 200, page_response.status1548 assert page_response.headers.get_content_type() == "image/svg+xml", page_response.headers1549 svg = page_response.read().decode("utf-8", "replace")1550 assert "<svg" in svg[:1000], svg[:1000]1551 return file_id15521553file_id = check_svg_export(sample_filename)1554check_svg_export(sample_hwpx_filename)1555check_editor(sample_filename)1556check_editor(sample_hwpx_filename)15571558directory_id = get_file_id(sample_dirname)1559try:1560 opener.open(base + f"/apps/rhwpviewer/view/{directory_id}")1561 raise AssertionError("directory fileId unexpectedly succeeded")1562except urllib.error.HTTPError as error:1563 assert error.code == 404, error.code15641565try:1566 opener.open(base + "/apps/rhwpviewer/view/999999999")1567 raise AssertionError("bogus viewer fileId unexpectedly succeeded")1568except urllib.error.HTTPError as error:1569 assert error.code == 404, error.code15701571try:1572 opener.open(base + "/apps/rhwpviewer/api/files/999999999/convert")1573 raise AssertionError("bogus conversion fileId unexpectedly succeeded")1574except urllib.error.HTTPError as error:1575 assert error.code == 404, error.code15761577try:1578 opener.open(base + f"/apps/rhwpviewer/api/files/{file_id}/pages/999999.svg")1579 raise AssertionError("bogus page unexpectedly succeeded")1580except urllib.error.HTTPError as error:1581 assert error.code == 404, error.code1582PY1583, in 7.40 seconds)1584(finished: run the VM test script, in 36.61 seconds)1585test script finished in 36.65s1586cleanup1587kill QemuMachine (pid 45)1588machine # qemu-system-x86_64: terminating on signal 15 from pid 39 (/nix/store/b5bpi6zfajzzrwwpgba2q6li3nnya4bs-python3-3.14.7/bin/python3.14)1589(finished: cleanup, in 0.18 seconds)