StenaviN

Untitled

Jan 2nd, 2018
488
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 174.28 KB | None | 0 0
  1. + source /home/nik/opensource/libguestfs/tests/test-functions.sh 'abs_srcdir="/home/nik/opensource/libguestfs/cat"' 'abs_builddir="/home/nik/opensource/libguestfs/cat"' 'top_srcdir=".."' 'top_builddir=".."' 'abs_top_srcdir="/home/nik/opensource/libguestfs"' 'abs_top_builddir="/home/nik/opensource/libguestfs"'
  2. ++ unset CDPATH
  3. ++ export LANG=C
  4. ++ LANG=C
  5. ++ '[' 6 -ge 1 ']'
  6. ++ eval 'abs_srcdir="/home/nik/opensource/libguestfs/cat"'
  7. +++ abs_srcdir=/home/nik/opensource/libguestfs/cat
  8. ++ shift
  9. ++ '[' 5 -ge 1 ']'
  10. ++ eval 'abs_builddir="/home/nik/opensource/libguestfs/cat"'
  11. +++ abs_builddir=/home/nik/opensource/libguestfs/cat
  12. ++ shift
  13. ++ '[' 4 -ge 1 ']'
  14. ++ eval 'top_srcdir=".."'
  15. +++ top_srcdir=..
  16. ++ shift
  17. ++ '[' 3 -ge 1 ']'
  18. ++ eval 'top_builddir=".."'
  19. +++ top_builddir=..
  20. ++ shift
  21. ++ '[' 2 -ge 1 ']'
  22. ++ eval 'abs_top_srcdir="/home/nik/opensource/libguestfs"'
  23. +++ abs_top_srcdir=/home/nik/opensource/libguestfs
  24. ++ shift
  25. ++ '[' 1 -ge 1 ']'
  26. ++ eval 'abs_top_builddir="/home/nik/opensource/libguestfs"'
  27. +++ abs_top_builddir=/home/nik/opensource/libguestfs
  28. ++ shift
  29. ++ '[' 0 -ge 1 ']'
  30. + skip_if_skipped
  31. + local v
  32. + '[' -n '' ']'
  33. ++ basename ./test-virt-tail.sh
  34. ++ tr a-z.- A-Z__
  35. + v=SKIP_TEST_VIRT_TAIL_SH
  36. + '[' -n '' ']'
  37. ++ basename ./test-virt-tail.sh
  38. + echo 'test-virt-tail.sh: info: you can skip this test by setting SKIP_TEST_VIRT_TAIL_SH=1'
  39. test-virt-tail.sh: info: you can skip this test by setting SKIP_TEST_VIRT_TAIL_SH=1
  40. + skip_unless_backend direct
  41. ++ guestfish get-backend
  42. libguestfs: trace: set_verbose true
  43. libguestfs: trace: set_verbose = 0
  44. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  45. libguestfs: trace: set_tmpdir = 0
  46. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  47. libguestfs: trace: set_cachedir = 0
  48. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  49. libguestfs: trace: set_path = 0
  50. libguestfs: create: flags = 0, handle = 0x1983830, program = guestfish
  51. libguestfs: trace: set_pgroup true
  52. libguestfs: trace: set_pgroup = 0
  53. libguestfs: trace: get_backend
  54. libguestfs: trace: get_backend = "direct"
  55. libguestfs: trace: shutdown
  56. libguestfs: trace: shutdown = 0
  57. libguestfs: trace: close
  58. libguestfs: closing guestfs handle 0x1983830 (state 0)
  59. + local b=direct
  60. + case "$1" in
  61. + '[' direct '!=' direct ']'
  62. + out=test-virt-tail.out
  63. + disk=test-virt-tail.disk
  64. + rm -f test-virt-tail.out test-virt-tail.disk
  65. + tailpid=0
  66. ++ guestfish --listen
  67. libguestfs: trace: set_verbose true
  68. libguestfs: trace: set_verbose = 0
  69. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  70. libguestfs: trace: set_tmpdir = 0
  71. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  72. libguestfs: trace: set_cachedir = 0
  73. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  74. libguestfs: trace: set_path = 0
  75. libguestfs: create: flags = 0, handle = 0x2174830, program = guestfish
  76. libguestfs: trace: set_pgroup true
  77. libguestfs: trace: set_pgroup = 0
  78. + eval 'GUESTFISH_PID=7578;' export GUESTFISH_PID
  79. ++ GUESTFISH_PID=7578
  80. ++ export GUESTFISH_PID
  81. + trap cleanup INT QUIT TERM EXIT ERR
  82. + guestfish --remote sparse test-virt-tail.disk 10M
  83. libguestfs: trace: set_verbose true
  84. libguestfs: trace: set_verbose = 0
  85. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  86. libguestfs: trace: set_tmpdir = 0
  87. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  88. libguestfs: trace: set_cachedir = 0
  89. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  90. libguestfs: trace: set_path = 0
  91. libguestfs: create: flags = 0, handle = 0x19d6830, program = guestfish
  92. libguestfs: trace: set_pgroup true
  93. libguestfs: trace: set_pgroup = 0
  94. libguestfs: trace: disk_create "test-virt-tail.disk" "raw" 10485760 "preallocation:sparse"
  95. libguestfs: trace: disk_create = 0
  96. libguestfs: trace: add_drive "test-virt-tail.disk" "format:raw"
  97. libguestfs: trace: add_drive = 0
  98. libguestfs: trace: shutdown
  99. libguestfs: trace: shutdown = 0
  100. libguestfs: trace: close
  101. libguestfs: closing guestfs handle 0x19d6830 (state 0)
  102. + guestfish --remote run
  103. libguestfs: trace: set_verbose true
  104. libguestfs: trace: set_verbose = 0
  105. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  106. libguestfs: trace: set_tmpdir = 0
  107. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  108. libguestfs: trace: set_cachedir = 0
  109. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  110. libguestfs: trace: set_path = 0
  111. libguestfs: create: flags = 0, handle = 0x24a7830, program = guestfish
  112. libguestfs: trace: set_pgroup true
  113. libguestfs: trace: set_pgroup = 0
  114. libguestfs: trace: launch
  115. libguestfs: trace: max_disks
  116. libguestfs: trace: max_disks = 255
  117. libguestfs: trace: get_tmpdir
  118. libguestfs: trace: get_tmpdir = "/home/nik/opensource/libguestfs/tmp"
  119. libguestfs: trace: version
  120. libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 37, release: 35, extra: , >
  121. libguestfs: trace: get_backend
  122. libguestfs: trace: get_backend = "direct"
  123. libguestfs: launch: program=guestfish
  124. libguestfs: launch: version=1.37.35
  125. libguestfs: launch: backend registered: unix
  126. libguestfs: launch: backend registered: uml
  127. libguestfs: launch: backend registered: libvirt
  128. libguestfs: launch: backend registered: direct
  129. libguestfs: launch: backend=direct
  130. libguestfs: launch: tmpdir=/home/nik/opensource/libguestfs/tmp/libguestfsfipkei
  131. libguestfs: launch: umask=0002
  132. libguestfs: launch: euid=1000
  133. libguestfs: trace: get_backend_setting "force_tcg"
  134. libguestfs: trace: get_backend_setting = NULL (error)
  135. libguestfs: trace: get_cachedir
  136. libguestfs: trace: get_cachedir = "/home/nik/opensource/libguestfs/tmp"
  137. libguestfs: begin building supermin appliance
  138. libguestfs: run supermin
  139. libguestfs: command: run: /usr/bin/supermin
  140. libguestfs: command: run: \ --build
  141. libguestfs: command: run: \ --verbose
  142. libguestfs: command: run: \ --if-newer
  143. libguestfs: command: run: \ --lock /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
  144. libguestfs: command: run: \ --copy-kernel
  145. libguestfs: command: run: \ -f ext2
  146. libguestfs: command: run: \ --host-cpu x86_64
  147. libguestfs: command: run: \ /home/nik/opensource/libguestfs/appliance/supermin.d
  148. libguestfs: command: run: \ -o /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d
  149. supermin: version: 5.1.18
  150. supermin: rpm: detected RPM version 4.13
  151. supermin: package handler: fedora/rpm
  152. supermin: acquiring lock on /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
  153. supermin: if-newer: output does not need rebuilding
  154. libguestfs: finished building supermin appliance
  155. libguestfs: begin testing qemu features
  156. libguestfs: trace: get_cachedir
  157. libguestfs: trace: get_cachedir = "/home/nik/opensource/libguestfs/tmp"
  158. libguestfs: checking for previously cached test results of /usr/bin/qemu-kvm, in /home/nik/opensource/libguestfs/tmp/.guestfs-1000
  159. libguestfs: loading previously cached test results
  160. libguestfs: qemu version: 2.7
  161. libguestfs: qemu mandatory locking: no
  162. libguestfs: trace: get_sockdir
  163. libguestfs: trace: get_sockdir = "/run/user/1000"
  164. libguestfs: finished testing qemu features
  165. libguestfs: trace: get_backend_setting "gdb"
  166. libguestfs: trace: get_backend_setting = NULL (error)
  167. /usr/bin/qemu-kvm \
  168.     -global virtio-blk-pci.scsi=off \
  169.     -nodefconfig \
  170.     -enable-fips \
  171.     -nodefaults \
  172.     -display none \
  173.     -machine accel=kvm:tcg \
  174.     -cpu host \
  175.     -m 500 \
  176.     -no-reboot \
  177.     -rtc driftfix=slew \
  178.     -no-hpet \
  179.     -global kvm-pit.lost_tick_policy=discard \
  180.     -kernel /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/kernel \
  181.     -initrd /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/initrd \
  182.     -object rng-random,filename=/dev/urandom,id=rng0 \
  183.     -device virtio-rng-pci,rng=rng0 \
  184.     -device virtio-scsi-pci,id=scsi \
  185.     -drive file=/home/nik/opensource/libguestfs/cat/test-virt-tail.disk,cache=writeback,format=raw,id=hd0,if=none \
  186.     -device scsi-hd,drive=hd0 \
  187.     -drive file=/home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
  188.     -device scsi-hd,drive=appliance \
  189.     -device virtio-serial-pci \
  190.     -serial stdio \
  191.     -device sga \
  192.     -chardev socket,path=/run/user/1000/libguestfsjmXrKW/guestfsd.sock,id=channel0 \
  193.     -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
  194.     -append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color"
  195. libguestfs: responding to serial console Device Status Report
  196. \x1b[1;256r\x1b[256;256H\x1b[6n
  197. Google, Inc.
  198. Serial Graphics Adapter 02/05/16
  199. SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Fri Feb  5 06:18:54 UTC 2016
  200. Term: 80x24
  201. 4 0
  202. \x1b[2J
  203. SeaBIOS (version 1.9.3-1.fc25)
  204.  
  205.  
  206. Booting from ROM...
  207.  
  208. \x1b[2J[    0.000000] Linux version 4.9.40.guestfs.x86_64 (nik@ivanets.localdomain) (gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC) ) #8 Tue Jan 2 22:36:21 EET 2018
  209. [    0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  210. [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
  211. [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
  212. [    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
  213. [    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
  214. [    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
  215. [    0.000000] x86/fpu: Using 'eager' FPU context switches.
  216. [    0.000000] e820: BIOS-provided physical RAM map:
  217. [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
  218. [    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
  219. [    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
  220. [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3ddfff] usable
  221. [    0.000000] BIOS-e820: [mem 0x000000001f3de000-0x000000001f3fffff] reserved
  222. [    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
  223. [    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
  224. [    0.000000] NX (Execute Disable) protection: active
  225. [    0.000000] SMBIOS 2.8 present.
  226. [    0.000000] e820: last_pfn = 0x1f3de max_arch_pfn = 0x400000000
  227. [    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
  228. [    0.000000] RAMDISK: [mem 0x1f35f000-0x1f3cffff]
  229. [    0.000000] ACPI: Early table checksum verification disabled
  230. [    0.000000] ACPI: RSDP 0x00000000000F69C0 000014 (v00 BOCHS )
  231. [    0.000000] ACPI: RSDT 0x000000001F3E187D 00002C (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
  232. [    0.000000] ACPI: FACP 0x000000001F3E1791 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
  233. [    0.000000] ACPI: DSDT 0x000000001F3E0040 001751 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
  234. [    0.000000] ACPI: FACS 0x000000001F3E0000 000040
  235. [    0.000000] ACPI: APIC 0x000000001F3E1805 000078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
  236. [    0.000000] Zone ranges:
  237. [    0.000000]   DMA32    [mem 0x0000000000001000-0x000000001f3ddfff]
  238. [    0.000000]   Normal   empty
  239. [    0.000000] Movable zone start for each node
  240. [    0.000000] Early memory node ranges
  241. [    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
  242. [    0.000000]   node   0: [mem 0x0000000000100000-0x000000001f3ddfff]
  243. [    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3ddfff]
  244. [    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
  245. [    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
  246. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
  247. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
  248. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
  249. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
  250. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
  251. [    0.000000] Using ACPI (MADT) for SMP configuration information
  252. [    0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
  253. [    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
  254. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125847
  255. [    0.000000] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  256. [    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
  257. [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
  258. [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
  259. [    0.000000] Memory: 494432K/511472K available (3179K kernel code, 441K rwdata, 880K rodata, 568K init, 292K bss, 17040K reserved, 0K cma-reserved)
  260. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  261. [    0.000000] NR_IRQS:4352 nr_irqs:48 16
  262. [    0.000000] Console: colour *CGA 80x25
  263. [    0.000000] console [ttyS0] enabled
  264. [    0.000000] tsc: Fast TSC calibration using PIT
  265. [    0.000000] tsc: Detected 3192.639 MHz processor
  266. [    0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6385.27 BogoMIPS (lpj=12770556)
  267. [    0.004815] pid_max: default: 4096 minimum: 301
  268. [    0.008004] ACPI: Core revision 20160831
  269. [    0.008795] ACPI: 1 ACPI AML tables successfully acquired and loaded
  270. [    0.009318] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
  271. [    0.009825] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
  272. [    0.010473] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
  273. [    0.010891] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
  274. [    0.011345] CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (family: 0x6, model: 0x3a, stepping: 0x9)
  275. [    0.012235] Performance Events: IvyBridge events, Intel PMU driver.
  276. [    0.012751] ... version:                2
  277. [    0.013065] ... bit width:              48
  278. [    0.013381] ... generic registers:      8
  279. [    0.013688] ... value mask:             0000ffffffffffff
  280. [    0.014098] ... max period:             000000007fffffff
  281. [    0.014524] ... fixed-purpose events:   3
  282. [    0.014827] ... event mask:             00000007000000ff
  283. [    0.015904] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
  284. [    0.016000] devtmpfs: initialized
  285. [    0.016000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  286. [    0.016000] futex hash table entries: 16 (order: -4, 384 bytes)
  287. [    0.016000] NET: Registered protocol family 16
  288. [    0.016000] ACPI: bus type PCI registered
  289. [    0.016000] PCI: Using configuration type 1 for base access
  290. [    0.016000] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
  291. [    0.016000] ACPI: Added _OSI(Module Device)
  292. [    0.016000] ACPI: Added _OSI(Processor Device)
  293. [    0.016002] ACPI: Added _OSI(3.0 _SCP Extensions)
  294. [    0.016359] ACPI: Added _OSI(Processor Aggregator Device)
  295. [    0.017706] ACPI: Interpreter enabled
  296. [    0.017992] ACPI: (supports S0 S5)
  297. [    0.018247] ACPI: Using IOAPIC for interrupt routing
  298. [    0.018631] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
  299. [    0.020436] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
  300. [    0.020904] acpi PNP0A03:00: _OSC: OS supports [Segments]
  301. [    0.021318] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
  302. [    0.021830] PCI host bridge to bus 0000:00
  303. [    0.022143] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
  304. [    0.022656] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
  305. [    0.023150] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
  306. [    0.023708] pci_bus 0000:00: root bus resource [mem 0x1f400000-0xfebfffff window]
  307. [    0.024002] pci_bus 0000:00: root bus resource [bus 00-ff]
  308. [    0.029043] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
  309. [    0.029592] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
  310. [    0.030086] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
  311. [    0.030612] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
  312. [    0.060448] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
  313. [    0.064111] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
  314. [    0.064657] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
  315. [    0.065203] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
  316. [    0.065729] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
  317. [    0.066234] ACPI: Enabled 3 GPEs in block 00 to 0F
  318. [    0.066680] SCSI subsystem initialized
  319. [    0.067019] PCI: Using ACPI for IRQ routing
  320. [    0.067493] clocksource: Switched to clocksource refined-jiffies
  321. [    0.067998] pnp: PnP ACPI init
  322. [    0.068211] pnp: PnP ACPI: found 5 devices
  323. [    0.068960] NET: Registered protocol family 2
  324. [    0.069374] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
  325. [    0.069940] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  326. [    0.070454] TCP: Hash tables configured (established 4096 bind 4096)
  327. [    0.070952] UDP hash table entries: 256 (order: 1, 8192 bytes)
  328. [    0.071420] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  329. [    0.071918] NET: Registered protocol family 1
  330. [    0.072032] Unpacking initramfs...
  331. [    0.072475] Freeing initrd memory: 452K (ffff88001f35f000 - ffff88001f3d0000)
  332. [    0.073089] alg: self-tests disabled
  333. [    0.073509] workingset: timestamp_bits=62 max_order=17 bucket_order=0
  334. [    0.074577] io scheduler noop registered (default)
  335. [    0.074960] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  336. [    0.075390] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  337. [    0.076004] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
  338. [    0.076967] loop: module loaded
  339. [    0.077787] scsi host0: ata_piix
  340. [    0.078069] scsi host1: ata_piix
  341. [    0.078349] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc080 irq 14
  342. [    0.078856] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc088 irq 15
  343. [    0.079427] rtc_cmos 00:00: RTC can wake from S4
  344. [    0.079915] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
  345. [    0.080045] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
  346. [    0.080595] NET: Registered protocol family 17
  347. [    0.241061] Freeing unused kernel memory: 568K (ffffffff81670000 - ffffffff816fe000)
  348. [    0.242372] Write protecting the kernel read-only data: 6144k
  349. [    0.243601] Freeing unused kernel memory: 904K (ffff88000131e000 - ffff880001400000)
  350. [    0.247640] Freeing unused kernel memory: 1168K (ffff8800014dc000 - ffff880001600000)
  351. supermin: mounting /proc
  352. supermin: ext2 mini initrd starting up: 5.1.18 dietlibc
  353. supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  354. supermin: uptime: 0.24 0.17
  355. supermin: mounting /sys
  356. supermin: internal insmod libnvdimm.ko
  357. supermin: internal insmod nfit.ko
  358. supermin: internal insmod virtio.ko
  359. supermin: internal insmod virtio_ring.ko
  360. supermin: internal insmod virtio_blk.ko
  361. supermin: internal insmod virtio-rng.ko
  362. supermin: internal insmod virtio_console.ko
  363. supermin: internal insmod virtio_net.ko
  364. supermin: internal insmod virtio_scsi.ko
  365. supermin: internal insmod virtio_pci.ko
  366. [    0.266235] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
  367. [    0.279559] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
  368. [    0.280831] scsi host2: Virtio SCSI HBA
  369. [    0.281251] random: fast init done
  370. [    0.281671] random: crng init done
  371. [    0.281972] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
  372. [    0.283025] sd 2:0:0:0: [sda] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB)
  373. [    0.283632] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
  374. [    0.284283] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
  375. [    0.284884] sd 2:0:0:0: [sda] Write Protect is off
  376. [    0.285393] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  377. [    0.286220] sd 2:0:1:0: [sdb] Write Protect is off
  378. [    0.286668] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  379. [    0.288534] sd 2:0:0:0: [sda] Attached SCSI disk
  380. [    0.289061] sd 2:0:1:0: [sdb] Attached SCSI disk
  381. [    0.312132] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
  382. supermin: internal insmod ext2.ko
  383. supermin: internal insmod crc-itu-t.ko
  384. supermin: picked /sys/block/sdb/dev (8:16) as root device
  385. supermin: creating /dev/root as block special 8:16
  386. supermin: mounting new root on /root
  387. supermin: deleting initramfs files
  388. supermin: chroot
  389. Starting /init script ...
  390. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_network=1* ]]
  391. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_rescue=1* ]]
  392. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_noreboot=1* ]]
  393. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_boot_analysis=1* ]]
  394. + '[' '!' -d /sys ']'
  395. + mkdir -p /sys
  396. + mount -t sysfs /sys /sys
  397. + mkdir -p /run
  398. + mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run
  399. + mkdir -p /run/lock
  400. + ln -s ../run/lock /var/lock
  401. + test -e /etc/mtab
  402. + ln -s /proc/mounts /etc/mtab
  403. + mount -t devtmpfs /dev /dev
  404. + mkdir -p /dev/pts
  405. + mount -t devpts /dev/pts /dev/pts
  406. + mkdir -p /dev/shm
  407. + mount -t tmpfs -o mode=1777 shmfs /dev/shm
  408. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *selinux=1* ]]
  409. + mkdir -p /run/tmpfiles.d
  410. + kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
  411. ++ od -x -A n
  412. ++ dd if=/dev/urandom bs=16 count=1 status=none
  413. + machine_id=' 799d 3fcb 6808 39be d174 35b1 db16 625f'
  414. + echo 799d3fcb680839bed17435b1db16625f
  415. + systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
  416. [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
  417. [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'.
  418. [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'.
  419. [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'.
  420. [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'.
  421. [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'.
  422. + for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
  423. + '[' -x /lib/systemd/systemd-udevd ']'
  424. + UDEVD=/lib/systemd/systemd-udevd
  425. + break
  426. + '[' -z /lib/systemd/systemd-udevd ']'
  427. + /lib/systemd/systemd-udevd --daemon
  428. starting version 231
  429. + udevadm trigger
  430. + udevadm settle --timeout=600
  431. [    0.430407] AVX version of gcm_enc/dec engaged.
  432. [    0.430792] AES CTR mode by8 optimization enabled
  433. + shopt -s nullglob
  434. + for f in '/sys/block/sd*/device/timeout'
  435. + echo 300
  436. + for f in '/sys/block/sd*/device/timeout'
  437. + echo 300
  438. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  439. + echo noop
  440. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  441. + echo noop
  442. + shopt -u nullglob
  443. + ip addr add 127.0.0.1/8 brd + dev lo scope host
  444. + ip link set dev lo up
  445. + test '' = 1
  446. + mdadm -As --auto=yes --run
  447. mdadm: No arrays found in config file or automatically
  448. + modprobe dm_mod
  449. [    0.451805] device-mapper: uevent: version 1.0.3
  450. [    0.452413] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
  451. + lvm vgchange -aay --sysinit
  452.   WARNING: Failed to connect to lvmetad. Falling back to device scanning.
  453. + ldmtool create all
  454. [
  455. ]
  456. + test 1 = 1
  457. + test '' '!=' 1
  458. + uname -a
  459. Linux (none) 4.9.40.guestfs.x86_64 #8 Tue Jan 2 22:36:21 EET 2018 x86_64 x86_64 x86_64 GNU/Linux
  460. 'clocksource: '
  461. clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
  462. refined-jiffies
  463. + echo -n 'uptime: '
  464. uptime: + cat /proc/uptime
  465. 0.57 0.17
  466. + cmd=guestfsd
  467. ++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
  468. + eval
  469. + test x '!=' x
  470. + test 1 = 1
  471. + cmd='guestfsd --verbose'
  472. + test '' = 1
  473. + false
  474. + test '' = 1
  475. + echo guestfsd --verbose
  476. guestfsd --verbose
  477. + guestfsd --verbose
  478. OCaml daemon loaded
  479. lvm config:
  480. lvmetad
  481. trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
  482. commandrvf: stdout=n stderr=y flags=0x0
  483. commandrvf: udevadm --debug settle
  484. calling: settle
  485. libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
  486. libguestfs: appliance is up
  487. libguestfs: trace: launch = 0
  488. libguestfs: trace: shutdown
  489. libguestfs: trace: shutdown = 0
  490. libguestfs: trace: close
  491. libguestfs: closing guestfs handle 0x24a7830 (state 0)
  492. + guestfish --remote part-disk /dev/sda mbr
  493. libguestfs: trace: set_verbose true
  494. libguestfs: trace: set_verbose = 0
  495. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  496. libguestfs: trace: set_tmpdir = 0
  497. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  498. libguestfs: trace: set_cachedir = 0
  499. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  500. libguestfs: trace: set_path = 0
  501. libguestfs: create: flags = 0, handle = 0xf04830, program = guestfish
  502. libguestfs: trace: set_pgroup true
  503. libguestfs: trace: set_pgroup = 0
  504. libguestfs: trace: part_disk "/dev/sda" "mbr"
  505. guestfsd: <= part_disk (0xd2) request length 60 bytes
  506. commandrvf: stdout=n stderr=y flags=0x0
  507. commandrvf: udevadm --debug settle -E /dev/sda
  508. calling: settle
  509. commandrvf: stdout=n stderr=y flags=0x0
  510. commandrvf: udevadm --debug settle
  511. calling: settle
  512. commandrvf: stdout=e stderr=y flags=0x10000
  513. commandrvf: parted -s -- /dev/sda mklabel msdos mkpart primary 128s -128s
  514. Warning: The resulting partition is not properly aligned for best performance: 128s % 2048s != 0s
  515. commandrvf: stdout=n stderr=y flags=0x0
  516. commandrvf: udevadm --debug settle
  517. [    0.678474]  sda: sda1
  518. calling: settle
  519. libguestfs: trace: part_disk = 0
  520. libguestfs: trace: shutdown
  521. libguestfs: trace: shutdown = 0
  522. libguestfs: trace: close
  523. libguestfs: closing guestfs handle 0xf04830 (state 0)
  524. + guestfish --remote mkfs ext2 /dev/sda1
  525. libguestfs: trace: set_verbose true
  526. libguestfs: trace: set_verbose = 0
  527. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  528. libguestfs: trace: set_tmpdir = 0
  529. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  530. libguestfs: trace: set_cachedir = 0
  531. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  532. libguestfs: trace: set_path = 0
  533. libguestfs: create: flags = 0, handle = 0x160e830, program = guestfish
  534. libguestfs: trace: set_pgroup true
  535. libguestfs: trace: set_pgroup = 0
  536. libguestfs: trace: mkfs "ext2" "/dev/sda1"
  537. guestfsd: => part_disk (0xd2) took 0.04 secs
  538. guestfsd: <= mkfs (0x116) request length 84 bytes
  539. commandrvf: stdout=n stderr=y flags=0x0
  540. commandrvf: udevadm --debug settle -E /dev/sda1
  541. calling: settle
  542. commandrvf: stdout=y stderr=y flags=0x0
  543. commandrvf: wipefs --help
  544. commandrvf: stdout=n stderr=n flags=0x0
  545. commandrvf: wipefs -a --force /dev/sda1
  546. commandrvf: stdout=n stderr=y flags=0x0
  547. commandrvf: mke2fs -t ext2 -F /dev/sda1
  548. mke2fs 1.43.3 (04-Sep-2016)
  549. libguestfs: trace: mkfs = 0
  550. libguestfs: trace: shutdown
  551. libguestfs: trace: shutdown = 0
  552. libguestfs: trace: close
  553. libguestfs: closing guestfs handle 0x160e830 (state 0)
  554. + guestfish --remote mount /dev/sda1 /
  555. libguestfs: trace: set_verbose true
  556. libguestfs: trace: set_verbose = 0
  557. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  558. libguestfs: trace: set_tmpdir = 0
  559. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  560. libguestfs: trace: set_cachedir = 0
  561. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  562. libguestfs: trace: set_path = 0
  563. libguestfs: create: flags = 0, handle = 0x138d830, program = guestfish
  564. libguestfs: trace: set_pgroup true
  565. libguestfs: trace: set_pgroup = 0
  566. libguestfs: trace: mount "/dev/sda1" "/"
  567. guestfsd: => mkfs (0x116) took 0.02 secs
  568. guestfsd: <= mount (0x1) request length 64 bytes
  569. commandrvf: stdout=n stderr=y flags=0x0
  570. commandrvf: udevadm --debug settle -E /dev/sda1
  571. calling: settle
  572. command: mount '/dev/sda1' '/sysroot//'
  573. libguestfs: trace: mount = 0
  574. libguestfs: trace: shutdown
  575. libguestfs: trace: shutdown = 0
  576. libguestfs: trace: close
  577. libguestfs: closing guestfs handle 0x138d830 (state 0)
  578. + guestfish --remote write /tail 'line 1
  579. '
  580. libguestfs: trace: set_verbose true
  581. libguestfs: trace: set_verbose = 0
  582. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  583. libguestfs: trace: set_tmpdir = 0
  584. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  585. libguestfs: trace: set_cachedir = 0
  586. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  587. libguestfs: trace: set_path = 0
  588. libguestfs: create: flags = 0, handle = 0xcce830, program = guestfish
  589. libguestfs: trace: set_pgroup true
  590. libguestfs: trace: set_pgroup = 0
  591. libguestfs: trace: write "/tail" "line 1\x0a"
  592. libguestfs: trace: internal_write "/tail" "line 1\x0a"
  593. guestfsd: => mount (0x1) took 0.00 secs
  594. guestfsd: <= internal_write (0xf6) request length 64 bytes
  595. libguestfs: trace: internal_write = 0
  596. libguestfs: trace: write = 0
  597. libguestfs: trace: shutdown
  598. libguestfs: trace: shutdown = 0
  599. libguestfs: trace: close
  600. libguestfs: closing guestfs handle 0xcce830 (state 0)
  601. + guestfish --remote sync
  602. libguestfs: trace: set_verbose true
  603. libguestfs: trace: set_verbose = 0
  604. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  605. libguestfs: trace: set_tmpdir = 0
  606. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  607. libguestfs: trace: set_cachedir = 0
  608. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  609. libguestfs: trace: set_path = 0
  610. libguestfs: create: flags = 0, handle = 0x20b0830, program = guestfish
  611. libguestfs: trace: set_pgroup true
  612. libguestfs: trace: set_pgroup = 0
  613. libguestfs: trace: sync
  614. guestfsd: => internal_write (0xf6) took 0.00 secs
  615. guestfsd: <= sync (0x2) request length 40 bytes
  616. commandrvf: stdout=n stderr=y flags=0x0
  617. commandrvf: udevadm --debug settle -E /dev/sdb
  618. calling: settle
  619. commandrvf: stdout=n stderr=y flags=0x0
  620. commandrvf: udevadm --debug settle -E /dev/sda
  621. calling: settle
  622. fsync /dev/sda
  623. guestfsd: => sync (0x2) took 0.01 secs
  624. libguestfs: trace: sync = 0
  625. libguestfs: trace: shutdown
  626. libguestfs: trace: shutdown = 0
  627. libguestfs: trace: close
  628. libguestfs: closing guestfs handle 0x20b0830 (state 0)
  629. + tailpid=7696
  630. + virt-tail -a test-virt-tail.disk -m /dev/sda1 /tail
  631. ++ seq 0 60
  632. + for retry in '`seq 0 60`'
  633. + grep -sq 'line 1' test-virt-tail.out
  634. + sleep 10
  635. libguestfs: trace: set_verbose true
  636. libguestfs: trace: set_verbose = 0
  637. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  638. libguestfs: trace: set_tmpdir = 0
  639. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  640. libguestfs: trace: set_cachedir = 0
  641. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  642. libguestfs: trace: set_path = 0
  643. libguestfs: create: flags = 0, handle = 0xce31e0, program = virt-tail
  644. libguestfs: trace: set_pgroup true
  645. libguestfs: trace: set_pgroup = 0
  646. libguestfs: trace: add_drive "test-virt-tail.disk" "readonly:true"
  647. libguestfs: creating COW overlay to protect original drive content
  648. libguestfs: trace: get_tmpdir
  649. libguestfs: trace: get_tmpdir = "/home/nik/opensource/libguestfs/tmp"
  650. libguestfs: trace: disk_create "/home/nik/opensource/libguestfs/tmp/libguestfsfHAVMx/overlay1.qcow2" "qcow2" -1 "backingfile:/home/nik/opensource/libguestfs/cat/test-virt-tail.disk"
  651. libguestfs: command: run: qemu-img
  652. libguestfs: command: run: \ create
  653. libguestfs: command: run: \ -f qcow2
  654. libguestfs: command: run: \ -o backing_file=/home/nik/opensource/libguestfs/cat/test-virt-tail.disk
  655. libguestfs: command: run: \ /home/nik/opensource/libguestfs/tmp/libguestfsfHAVMx/overlay1.qcow2
  656. Formatting '/home/nik/opensource/libguestfs/tmp/libguestfsfHAVMx/overlay1.qcow2', fmt=qcow2 size=10485760 backing_file=/home/nik/opensource/libguestfs/cat/test-virt-tail.disk encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
  657. libguestfs: trace: disk_create = 0
  658. libguestfs: trace: add_drive = 0
  659. libguestfs: trace: launch
  660. libguestfs: trace: max_disks
  661. libguestfs: trace: max_disks = 255
  662. libguestfs: trace: version
  663. libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 37, release: 35, extra: , >
  664. libguestfs: trace: get_backend
  665. libguestfs: trace: get_backend = "direct"
  666. libguestfs: launch: program=virt-tail
  667. libguestfs: launch: version=1.37.35
  668. libguestfs: launch: backend registered: unix
  669. libguestfs: launch: backend registered: uml
  670. libguestfs: launch: backend registered: libvirt
  671. libguestfs: launch: backend registered: direct
  672. libguestfs: launch: backend=direct
  673. libguestfs: launch: tmpdir=/home/nik/opensource/libguestfs/tmp/libguestfsfHAVMx
  674. libguestfs: launch: umask=0002
  675. libguestfs: launch: euid=1000
  676. libguestfs: trace: get_backend_setting "force_tcg"
  677. libguestfs: trace: get_backend_setting = NULL (error)
  678. libguestfs: trace: get_cachedir
  679. libguestfs: trace: get_cachedir = "/home/nik/opensource/libguestfs/tmp"
  680. libguestfs: begin building supermin appliance
  681. libguestfs: run supermin
  682. libguestfs: command: run: /usr/bin/supermin
  683. libguestfs: command: run: \ --build
  684. libguestfs: command: run: \ --verbose
  685. libguestfs: command: run: \ --if-newer
  686. libguestfs: command: run: \ --lock /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
  687. libguestfs: command: run: \ --copy-kernel
  688. libguestfs: command: run: \ -f ext2
  689. libguestfs: command: run: \ --host-cpu x86_64
  690. libguestfs: command: run: \ /home/nik/opensource/libguestfs/appliance/supermin.d
  691. libguestfs: command: run: \ -o /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d
  692. supermin: version: 5.1.18
  693. supermin: rpm: detected RPM version 4.13
  694. supermin: package handler: fedora/rpm
  695. supermin: acquiring lock on /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
  696. supermin: if-newer: output does not need rebuilding
  697. libguestfs: finished building supermin appliance
  698. libguestfs: begin testing qemu features
  699. libguestfs: trace: get_cachedir
  700. libguestfs: trace: get_cachedir = "/home/nik/opensource/libguestfs/tmp"
  701. libguestfs: checking for previously cached test results of /usr/bin/qemu-kvm, in /home/nik/opensource/libguestfs/tmp/.guestfs-1000
  702. libguestfs: loading previously cached test results
  703. libguestfs: qemu version: 2.7
  704. libguestfs: qemu mandatory locking: no
  705. libguestfs: trace: get_sockdir
  706. libguestfs: trace: get_sockdir = "/run/user/1000"
  707. libguestfs: finished testing qemu features
  708. libguestfs: trace: get_backend_setting "gdb"
  709. libguestfs: trace: get_backend_setting = NULL (error)
  710. /usr/bin/qemu-kvm \
  711.     -global virtio-blk-pci.scsi=off \
  712.     -nodefconfig \
  713.     -enable-fips \
  714.     -nodefaults \
  715.     -display none \
  716.     -machine accel=kvm:tcg \
  717.     -cpu host \
  718.     -m 500 \
  719.     -no-reboot \
  720.     -rtc driftfix=slew \
  721.     -no-hpet \
  722.     -global kvm-pit.lost_tick_policy=discard \
  723.     -kernel /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/kernel \
  724.     -initrd /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/initrd \
  725.     -object rng-random,filename=/dev/urandom,id=rng0 \
  726.     -device virtio-rng-pci,rng=rng0 \
  727.     -device virtio-scsi-pci,id=scsi \
  728.     -drive file.file.filename=/home/nik/opensource/libguestfs/tmp/libguestfsfHAVMx/overlay1.qcow2,file.driver=qcow2,cache=unsafe,id=hd0,if=none \
  729.     -device scsi-hd,drive=hd0 \
  730.     -drive file=/home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
  731.     -device scsi-hd,drive=appliance \
  732.     -device virtio-serial-pci \
  733.     -serial stdio \
  734.     -device sga \
  735.     -chardev socket,path=/run/user/1000/libguestfsExUptg/guestfsd.sock,id=channel0 \
  736.     -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
  737.     -append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color"
  738. WARNING: Image format was not specified for '/home/nik/opensource/libguestfs/tmp/libguestfsfHAVMx/overlay1.qcow2' and probing guessed raw.
  739.          Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
  740.          Specify the 'raw' format explicitly to remove the restrictions.
  741. libguestfs: responding to serial console Device Status Report
  742. \x1b[1;256r\x1b[256;256H\x1b[6n
  743. Google, Inc.
  744. Serial Graphics Adapter 02/05/16
  745. SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Fri Feb  5 06:18:54 UTC 2016
  746. Term: 80x24
  747. 4 0
  748. \x1b[2J
  749. SeaBIOS (version 1.9.3-1.fc25)
  750.  
  751.  
  752. Booting from ROM...
  753.  
  754. \x1b[2J[    0.000000] Linux version 4.9.40.guestfs.x86_64 (nik@ivanets.localdomain) (gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC) ) #8 Tue Jan 2 22:36:21 EET 2018
  755. [    0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  756. [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
  757. [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
  758. [    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
  759. [    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
  760. [    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
  761. [    0.000000] x86/fpu: Using 'eager' FPU context switches.
  762. [    0.000000] e820: BIOS-provided physical RAM map:
  763. [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
  764. [    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
  765. [    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
  766. [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3ddfff] usable
  767. [    0.000000] BIOS-e820: [mem 0x000000001f3de000-0x000000001f3fffff] reserved
  768. [    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
  769. [    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
  770. [    0.000000] NX (Execute Disable) protection: active
  771. [    0.000000] SMBIOS 2.8 present.
  772. [    0.000000] e820: last_pfn = 0x1f3de max_arch_pfn = 0x400000000
  773. [    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
  774. [    0.000000] RAMDISK: [mem 0x1f35f000-0x1f3cffff]
  775. [    0.000000] ACPI: Early table checksum verification disabled
  776. [    0.000000] ACPI: RSDP 0x00000000000F69C0 000014 (v00 BOCHS )
  777. [    0.000000] ACPI: RSDT 0x000000001F3E187D 00002C (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
  778. [    0.000000] ACPI: FACP 0x000000001F3E1791 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
  779. [    0.000000] ACPI: DSDT 0x000000001F3E0040 001751 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
  780. [    0.000000] ACPI: FACS 0x000000001F3E0000 000040
  781. [    0.000000] ACPI: APIC 0x000000001F3E1805 000078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
  782. [    0.000000] Zone ranges:
  783. [    0.000000]   DMA32    [mem 0x0000000000001000-0x000000001f3ddfff]
  784. [    0.000000]   Normal   empty
  785. [    0.000000] Movable zone start for each node
  786. [    0.000000] Early memory node ranges
  787. [    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
  788. [    0.000000]   node   0: [mem 0x0000000000100000-0x000000001f3ddfff]
  789. [    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3ddfff]
  790. [    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
  791. [    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
  792. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
  793. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
  794. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
  795. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
  796. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
  797. [    0.000000] Using ACPI (MADT) for SMP configuration information
  798. [    0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
  799. [    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
  800. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125847
  801. [    0.000000] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  802. [    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
  803. [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
  804. [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
  805. [    0.000000] Memory: 494432K/511472K available (3179K kernel code, 441K rwdata, 880K rodata, 568K init, 292K bss, 17040K reserved, 0K cma-reserved)
  806. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  807. [    0.000000] NR_IRQS:4352 nr_irqs:48 16
  808. [    0.000000] Console: colour *CGA 80x25
  809. [    0.000000] console [ttyS0] enabled
  810. [    0.000000] tsc: Fast TSC calibration using PIT
  811. [    0.000000] tsc: Detected 3192.761 MHz processor
  812. [    0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6385.52 BogoMIPS (lpj=12771044)
  813. [    0.004796] pid_max: default: 4096 minimum: 301
  814. [    0.005136] ACPI: Core revision 20160831
  815. [    0.008489] ACPI: 1 ACPI AML tables successfully acquired and loaded
  816. [    0.008978] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
  817. [    0.009469] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
  818. [    0.010087] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
  819. [    0.010486] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
  820. [    0.010925] CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (family: 0x6, model: 0x3a, stepping: 0x9)
  821. [    0.011714] Performance Events: IvyBridge events, Intel PMU driver.
  822. [    0.012267] ... version:                2
  823. [    0.012564] ... bit width:              48
  824. [    0.012874] ... generic registers:      8
  825. [    0.013170] ... value mask:             0000ffffffffffff
  826. [    0.013555] ... max period:             000000007fffffff
  827. [    0.013951] ... fixed-purpose events:   3
  828. [    0.014247] ... event mask:             00000007000000ff
  829. [    0.015306] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
  830. [    0.015819] devtmpfs: initialized
  831. [    0.016000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  832. [    0.016000] futex hash table entries: 16 (order: -4, 384 bytes)
  833. [    0.016000] NET: Registered protocol family 16
  834. [    0.016000] ACPI: bus type PCI registered
  835. [    0.016000] PCI: Using configuration type 1 for base access
  836. [    0.016000] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
  837. [    0.016000] ACPI: Added _OSI(Module Device)
  838. [    0.016000] ACPI: Added _OSI(Processor Device)
  839. [    0.016002] ACPI: Added _OSI(3.0 _SCP Extensions)
  840. [    0.016348] ACPI: Added _OSI(Processor Aggregator Device)
  841. [    0.017682] ACPI: Interpreter enabled
  842. [    0.017959] ACPI: (supports S0 S5)
  843. [    0.018210] ACPI: Using IOAPIC for interrupt routing
  844. [    0.018577] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
  845. [    0.020351] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
  846. [    0.020807] acpi PNP0A03:00: _OSC: OS supports [Segments]
  847. [    0.021205] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
  848. [    0.021694] PCI host bridge to bus 0000:00
  849. [    0.021990] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
  850. [    0.022484] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
  851. [    0.022968] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
  852. [    0.023509] pci_bus 0000:00: root bus resource [mem 0x1f400000-0xfebfffff window]
  853. [    0.024002] pci_bus 0000:00: root bus resource [bus 00-ff]
  854. [    0.029320] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
  855. [    0.029862] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
  856. [    0.030340] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
  857. [    0.030868] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
  858. [    0.060507] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
  859. [    0.061104] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
  860. [    0.061606] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
  861. [    0.062108] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
  862. [    0.062592] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
  863. [    0.063084] ACPI: Enabled 3 GPEs in block 00 to 0F
  864. [    0.063500] SCSI subsystem initialized
  865. [    0.063829] PCI: Using ACPI for IRQ routing
  866. [    0.064134] clocksource: Switched to clocksource refined-jiffies
  867. [    0.064592] pnp: PnP ACPI init
  868. [    0.065018] pnp: PnP ACPI: found 5 devices
  869. [    0.065715] NET: Registered protocol family 2
  870. [    0.066090] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
  871. [    0.066616] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  872. [    0.067092] TCP: Hash tables configured (established 4096 bind 4096)
  873. [    0.067559] UDP hash table entries: 256 (order: 1, 8192 bytes)
  874. [    0.067988] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  875. [    0.068013] NET: Registered protocol family 1
  876. [    0.068365] Unpacking initramfs...
  877. [    0.068776] Freeing initrd memory: 452K (ffff88001f35f000 - ffff88001f3d0000)
  878. [    0.069352] alg: self-tests disabled
  879. [    0.069750] workingset: timestamp_bits=62 max_order=17 bucket_order=0
  880. [    0.070778] io scheduler noop registered (default)
  881. [    0.071142] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  882. [    0.071561] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  883. [    0.076005] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
  884. [    0.076977] loop: module loaded
  885. [    0.077798] scsi host0: ata_piix
  886. [    0.078061] scsi host1: ata_piix
  887. [    0.078330] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc080 irq 14
  888. [    0.078829] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc088 irq 15
  889. [    0.079378] rtc_cmos 00:00: RTC can wake from S4
  890. [    0.079891] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
  891. [    0.080058] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
  892. [    0.080587] NET: Registered protocol family 17
  893. [    0.240563] Freeing unused kernel memory: 568K (ffffffff81670000 - ffffffff816fe000)
  894. [    0.241188] Write protecting the kernel read-only data: 6144k
  895. [    0.241782] Freeing unused kernel memory: 904K (ffff88000131e000 - ffff880001400000)
  896. [    0.244089] Freeing unused kernel memory: 1168K (ffff8800014dc000 - ffff880001600000)
  897. supermin: mounting /proc
  898. supermin: ext2 mini initrd starting up: 5.1.18 dietlibc
  899. supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  900. supermin: uptime: 0.24 0.16
  901. supermin: mounting /sys
  902. supermin: internal insmod libnvdimm.ko
  903. supermin: internal insmod nfit.ko
  904. supermin: internal insmod virtio.ko
  905. supermin: internal insmod virtio_ring.ko
  906. supermin: internal insmod virtio_blk.ko
  907. supermin: internal insmod virtio-rng.ko
  908. supermin: internal insmod virtio_console.ko
  909. supermin: internal insmod virtio_net.ko
  910. supermin: internal insmod virtio_scsi.ko
  911. supermin: internal insmod virtio_pci.ko
  912. [    0.262955] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
  913. [    0.275611] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
  914. [    0.276819] scsi host2: Virtio SCSI HBA
  915. [    0.277242] random: fast init done
  916. [    0.277571] random: crng init done
  917. [    0.277914] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
  918. [    0.278906] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
  919. [    0.279575] sd 2:0:0:0: [sda] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB)
  920. [    0.280265] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
  921. [    0.280886] sd 2:0:0:0: [sda] Write Protect is off
  922. [    0.281417] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  923. [    0.282274] sd 2:0:1:0: [sdb] Write Protect is off
  924. [    0.282769] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  925. [    0.284082]  sda: sda1
  926. [    0.284749] sd 2:0:0:0: [sda] Attached SCSI disk
  927. [    0.285284] sd 2:0:1:0: [sdb] Attached SCSI disk
  928. [    0.304226] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
  929. supermin: internal insmod ext2.ko
  930. supermin: internal insmod crc-itu-t.ko
  931. supermin: picked /sys/block/sdb/dev (8:16) as root device
  932. supermin: creating /dev/root as block special 8:16
  933. supermin: mounting new root on /root
  934. supermin: deleting initramfs files
  935. supermin: chroot
  936. Starting /init script ...
  937. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_network=1* ]]
  938. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_rescue=1* ]]
  939. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_noreboot=1* ]]
  940. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_boot_analysis=1* ]]
  941. + '[' '!' -d /sys ']'
  942. + mkdir -p /sys
  943. + mount -t sysfs /sys /sys
  944. + mkdir -p /run
  945. + mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run
  946. + mkdir -p /run/lock
  947. + ln -s ../run/lock /var/lock
  948. + test -e /etc/mtab
  949. + ln -s /proc/mounts /etc/mtab
  950. + mount -t devtmpfs /dev /dev
  951. + mkdir -p /dev/pts
  952. + mount -t devpts /dev/pts /dev/pts
  953. + mkdir -p /dev/shm
  954. + mount -t tmpfs -o mode=1777 shmfs /dev/shm
  955. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *selinux=1* ]]
  956. + mkdir -p /run/tmpfiles.d
  957. + kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
  958. ++ od -x -A n
  959. ++ dd if=/dev/urandom bs=16 count=1 status=none
  960. + machine_id=' b38a 3040 5f8f 5aa3 fb07 5982 a56d f1d7'
  961. + echo b38a30405f8f5aa3fb075982a56df1d7
  962. + systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
  963. [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
  964. [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'.
  965. [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'.
  966. [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'.
  967. [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'.
  968. [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'.
  969. + for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
  970. + '[' -x /lib/systemd/systemd-udevd ']'
  971. + UDEVD=/lib/systemd/systemd-udevd
  972. + break
  973. + '[' -z /lib/systemd/systemd-udevd ']'
  974. + /lib/systemd/systemd-udevd --daemon
  975. starting version 231
  976. + udevadm trigger
  977. + udevadm settle --timeout=600
  978. [    0.414198] AVX version of gcm_enc/dec engaged.
  979. [    0.414601] AES CTR mode by8 optimization enabled
  980. + shopt -s nullglob
  981. + for f in '/sys/block/sd*/device/timeout'
  982. + echo 300
  983. + for f in '/sys/block/sd*/device/timeout'
  984. + echo 300
  985. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  986. + echo noop
  987. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  988. + echo noop
  989. + shopt -u nullglob
  990. + ip addr add 127.0.0.1/8 brd + dev lo scope host
  991. + ip link set dev lo up
  992. + test '' = 1
  993. + mdadm -As --auto=yes --run
  994. mdadm: No arrays found in config file or automatically
  995. + modprobe dm_mod
  996. [    0.438677] device-mapper: uevent: version 1.0.3
  997. [    0.439444] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
  998. + lvm vgchange -aay --sysinit
  999.   WARNING: Failed to connect to lvmetad. Falling back to device scanning.
  1000. + ldmtool create all
  1001. [
  1002. ]
  1003. + test 1 = 1
  1004. + test '' '!=' 1
  1005. + uname -a
  1006. Linux (none) 4.9.40.guestfs.x86_64 #8 Tue Jan 2 22:36:21 EET 2018 x86_64 x86_64 x86_64 GNU/Linux
  1007. 'clocksource: '
  1008. clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
  1009. refined-jiffies
  1010. + echo -n 'uptime: '
  1011. uptime: + cat /proc/uptime
  1012. 0.56 0.16
  1013. + cmd=guestfsd
  1014. ++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
  1015. + eval
  1016. + test x '!=' x
  1017. + test 1 = 1
  1018. + cmd='guestfsd --verbose'
  1019. + test '' = 1
  1020. + false
  1021. + test '' = 1
  1022. + echo guestfsd --verbose
  1023. guestfsd --verbose
  1024. + guestfsd --verbose
  1025. OCaml daemon loaded
  1026. lvm config:
  1027. lvmetad
  1028. trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
  1029. commandrvf: stdout=n stderr=y flags=0x0
  1030. commandrvf: udevadm --debug settle
  1031. calling: settle
  1032. libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
  1033. libguestfs: appliance is up
  1034. libguestfs: trace: launch = 0
  1035. libguestfs: trace: mount_options "ro" "/dev/sda1" "/"
  1036. guestfsd: <= mount_options (0x4a) request length 72 bytes
  1037. commandrvf: stdout=n stderr=y flags=0x0
  1038. commandrvf: udevadm --debug settle -E /dev/sda1
  1039. calling: settle
  1040. command: mount '-o' 'ro' '/dev/sda1' '/sysroot//'
  1041. libguestfs: trace: mount_options = 0
  1042. libguestfs: trace: statns "/tail"
  1043. guestfsd: => mount_options (0x4a) took 0.00 secs
  1044. guestfsd: <= statns (0x1a5) request length 52 bytes
  1045. guestfsd: => statns (0x1a5) took 0.00 secs
  1046. libguestfs: trace: statns = <struct guestfs_statns = st_dev: 2049, st_ino: 12, st_mode: 33188, st_nlink: 1, st_uid: 0, st_gid: 0, st_rdev: 0, st_size: 7, st_blksize: 1024, st_blocks: 2, st_atime_sec: 1514929250, st_atime_nsec: 0, st_mtime_sec: 1514929250, st_mtime_nsec: 0, st_ctime_sec: 1514929250, st_ctime_nsec: 0, st_spare1: 0, st_spare2: 0, st_spare3: 0, st_spare4: 0, st_spare5: 0, st_spare6: 0, >
  1047. libguestfs: trace: pread "/tail" 7 0
  1048. guestfsd: <= pread (0xcf) request length 64 bytes
  1049. guestfsd: => pread (0xcf) took 0.00 secslibguestfs: trace: pread = "line 1\x0a"
  1050. + for retry in '`seq 0 60`'
  1051. + grep -sq 'line 1' test-virt-tail.out
  1052. + break
  1053. + '[' 1 -ge 60 ']'
  1054. + guestfish --remote write-append /tail 'line 2
  1055. line 3
  1056. '
  1057. libguestfs: trace: set_verbose true
  1058. libguestfs: trace: set_verbose = 0
  1059. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  1060. libguestfs: trace: set_tmpdir = 0
  1061. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  1062. libguestfs: trace: set_cachedir = 0
  1063. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  1064. libguestfs: trace: set_path = 0
  1065. libguestfs: create: flags = 0, handle = 0x1d02830, program = guestfish
  1066. libguestfs: trace: set_pgroup true
  1067. libguestfs: trace: set_pgroup = 0
  1068. libguestfs: trace: write_append "/tail" "line 2\x0aline 3\x0a"
  1069. libguestfs: trace: internal_write_append "/tail" "line 2\x0aline 3\x0a"
  1070. [    1.088077] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2e05206cb47, max_idle_ns: 440795283639 ns
  1071. [    1.088900] clocksource: Switched to clocksource tsc
  1072. guestfsd: <= internal_write_append (0x122) request length 72 bytes
  1073. guestfsd: => internal_write_append (0x122) took 0.00 secs
  1074. libguestfs: trace: internal_write_append = 0
  1075. libguestfs: trace: write_append = 0
  1076. libguestfs: trace: shutdown
  1077. libguestfs: trace: shutdown = 0
  1078. libguestfs: trace: close
  1079. libguestfs: closing guestfs handle 0x1d02830 (state 0)
  1080. + guestfish --remote sync
  1081. libguestfs: trace: set_verbose true
  1082. libguestfs: trace: set_verbose = 0
  1083. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  1084. libguestfs: trace: set_tmpdir = 0
  1085. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  1086. libguestfs: trace: set_cachedir = 0
  1087. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  1088. libguestfs: trace: set_path = 0
  1089. libguestfs: create: flags = 0, handle = 0x2626830, program = guestfish
  1090. libguestfs: trace: set_pgroup true
  1091. libguestfs: trace: set_pgroup = 0
  1092. libguestfs: trace: sync
  1093. guestfsd: <= sync (0x2) request length 40 bytes
  1094. commandrvf: stdout=n stderr=y flags=0x0
  1095. commandrvf: udevadm --debug settle -E /dev/sdb
  1096. calling: settle
  1097. commandrvf: stdout=n stderr=y flags=0x0
  1098. commandrvf: udevadm --debug settle -E /dev/sda
  1099. calling: settle
  1100. fsync /dev/sda
  1101. libguestfs: trace: sync = 0
  1102. libguestfs: trace: shutdown
  1103. libguestfs: trace: shutdown = 0
  1104. libguestfs: trace: close
  1105. libguestfs: closing guestfs handle 0x2626830 (state 0)
  1106. ++ seq 0 60
  1107. + for retry in '`seq 0 60`'
  1108. + grep -sq 'line 3' test-virt-tail.out
  1109. + sleep 10
  1110. + for retry in '`seq 0 60`'
  1111. + grep -sq 'line 3' test-virt-tail.out
  1112. + sleep 10
  1113. + for retry in '`seq 0 60`'
  1114. + grep -sq 'line 3' test-virt-tail.out
  1115. + sleep 10
  1116. libguestfs: trace: set_verbose true
  1117. libguestfs: trace: set_verbose = 0
  1118. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  1119. libguestfs: trace: set_tmpdir = 0
  1120. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  1121. libguestfs: trace: set_cachedir = 0
  1122. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  1123. libguestfs: trace: set_path = 0
  1124. libguestfs: create: flags = 0, handle = 0xdb07d0, program = virt-tail
  1125. libguestfs: trace: get_verbose
  1126. libguestfs: trace: get_verbose = 1
  1127. libguestfs: trace: set_verbose true
  1128. libguestfs: trace: set_verbose = 0
  1129. libguestfs: trace: get_trace
  1130. libguestfs: trace: get_trace = 1
  1131. libguestfs: trace: set_trace true
  1132. libguestfs: trace: set_trace = 0
  1133. libguestfs: trace: get_pgroup
  1134. libguestfs: trace: get_pgroup = 1
  1135. libguestfs: trace: set_pgroup true
  1136. libguestfs: trace: set_pgroup = 0
  1137. libguestfs: trace: close
  1138. libguestfs: closing guestfs handle 0xce31e0 (state 2)
  1139. libguestfs: trace: internal_autosync
  1140.  
  1141. [    1.088081] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2e0593bb447, max_idle_ns: 440795264961 ns
  1142. [    1.089790] clocksource: Switched to clocksource tsc
  1143. guestfsd: <= internal_autosync (0x11a) request length 40 bytes
  1144. umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime,errors=continue,user_xattr,acl freq=0 passno=0
  1145. umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
  1146. umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
  1147. umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=99508k,mode=755 freq=0 passno=0
  1148. umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=247216k,nr_inodes=61804,mode=755 freq=0 passno=0
  1149. umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0
  1150. umount-all: /proc/mounts: fsname=shmfs dir=/dev/shm type=tmpfs opts=rw,relatime freq=0 passno=0
  1151. umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2 opts=ro,relatime,errors=continue,user_xattr,acl freq=0 passno=0
  1152. commandrvf: stdout=n stderr=y flags=0x0
  1153. commandrvf: umount /sysroot
  1154. commandrvf: stdout=n stderr=y flags=0x0
  1155. commandrvf: udevadm --debug settle -E /dev/sdb
  1156. calling: settle
  1157. commandrvf: stdout=n stderr=y flags=0x0
  1158. commandrvf: udevadm --debug settle -E /dev/sda
  1159. calling: settle
  1160. fsync /dev/sda
  1161. guestfsd: => internal_autosync (0x11a) took 0.02 secs
  1162. libguestfs: trace: internal_autosync = 0
  1163. libguestfs: sending SIGTERM to process 7717
  1164. libguestfs: qemu maxrss 145408K
  1165. libguestfs: command: run: rm
  1166. libguestfs: command: run: \ -rf /home/nik/opensource/libguestfs/tmp/libguestfsfHAVMx
  1167. libguestfs: command: run: rm
  1168. libguestfs: command: run: \ -rf /run/user/1000/libguestfsExUptg
  1169. libguestfs: trace: add_drive "test-virt-tail.disk" "readonly:true"
  1170. libguestfs: creating COW overlay to protect original drive content
  1171. libguestfs: trace: get_tmpdir
  1172. libguestfs: trace: get_tmpdir = "/home/nik/opensource/libguestfs/tmp"
  1173. libguestfs: trace: disk_create "/home/nik/opensource/libguestfs/tmp/libguestfsX9WcTI/overlay1.qcow2" "qcow2" -1 "backingfile:/home/nik/opensource/libguestfs/cat/test-virt-tail.disk"
  1174. libguestfs: command: run: qemu-img
  1175. libguestfs: command: run: \ create
  1176. libguestfs: command: run: \ -f qcow2
  1177. libguestfs: command: run: \ -o backing_file=/home/nik/opensource/libguestfs/cat/test-virt-tail.disk
  1178. libguestfs: command: run: \ /home/nik/opensource/libguestfs/tmp/libguestfsX9WcTI/overlay1.qcow2
  1179. Formatting '/home/nik/opensource/libguestfs/tmp/libguestfsX9WcTI/overlay1.qcow2', fmt=qcow2 size=10485760 backing_file=/home/nik/opensource/libguestfs/cat/test-virt-tail.disk encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
  1180. libguestfs: trace: disk_create = 0
  1181. libguestfs: trace: add_drive = 0
  1182. libguestfs: trace: launch
  1183. libguestfs: trace: max_disks
  1184. libguestfs: trace: max_disks = 255
  1185. libguestfs: trace: version
  1186. libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 37, release: 35, extra: , >
  1187. libguestfs: trace: get_backend
  1188. libguestfs: trace: get_backend = "direct"
  1189. libguestfs: launch: program=virt-tail
  1190. libguestfs: launch: version=1.37.35
  1191. libguestfs: launch: backend registered: unix
  1192. libguestfs: launch: backend registered: uml
  1193. libguestfs: launch: backend registered: libvirt
  1194. libguestfs: launch: backend registered: direct
  1195. libguestfs: launch: backend=direct
  1196. libguestfs: launch: tmpdir=/home/nik/opensource/libguestfs/tmp/libguestfsX9WcTI
  1197. libguestfs: launch: umask=0002
  1198. libguestfs: launch: euid=1000
  1199. libguestfs: trace: get_backend_setting "force_tcg"
  1200. libguestfs: trace: get_backend_setting = NULL (error)
  1201. libguestfs: trace: get_cachedir
  1202. libguestfs: trace: get_cachedir = "/home/nik/opensource/libguestfs/tmp"
  1203. libguestfs: begin building supermin appliance
  1204. libguestfs: run supermin
  1205. libguestfs: command: run: /usr/bin/supermin
  1206. libguestfs: command: run: \ --build
  1207. libguestfs: command: run: \ --verbose
  1208. libguestfs: command: run: \ --if-newer
  1209. libguestfs: command: run: \ --lock /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
  1210. libguestfs: command: run: \ --copy-kernel
  1211. libguestfs: command: run: \ -f ext2
  1212. libguestfs: command: run: \ --host-cpu x86_64
  1213. libguestfs: command: run: \ /home/nik/opensource/libguestfs/appliance/supermin.d
  1214. libguestfs: command: run: \ -o /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d
  1215. supermin: version: 5.1.18
  1216. supermin: rpm: detected RPM version 4.13
  1217. supermin: package handler: fedora/rpm
  1218. supermin: acquiring lock on /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
  1219. supermin: if-newer: output does not need rebuilding
  1220. libguestfs: finished building supermin appliance
  1221. libguestfs: begin testing qemu features
  1222. libguestfs: trace: get_cachedir
  1223. libguestfs: trace: get_cachedir = "/home/nik/opensource/libguestfs/tmp"
  1224. libguestfs: checking for previously cached test results of /usr/bin/qemu-kvm, in /home/nik/opensource/libguestfs/tmp/.guestfs-1000
  1225. libguestfs: loading previously cached test results
  1226. libguestfs: qemu version: 2.7
  1227. libguestfs: qemu mandatory locking: no
  1228. libguestfs: trace: get_sockdir
  1229. libguestfs: trace: get_sockdir = "/run/user/1000"
  1230. libguestfs: finished testing qemu features
  1231. libguestfs: trace: get_backend_setting "gdb"
  1232. libguestfs: trace: get_backend_setting = NULL (error)
  1233. /usr/bin/qemu-kvm \
  1234.     -global virtio-blk-pci.scsi=off \
  1235.     -nodefconfig \
  1236.     -enable-fips \
  1237.     -nodefaults \
  1238.     -display none \
  1239.     -machine accel=kvm:tcg \
  1240.     -cpu host \
  1241.     -m 500 \
  1242.     -no-reboot \
  1243.     -rtc driftfix=slew \
  1244.     -no-hpet \
  1245.     -global kvm-pit.lost_tick_policy=discard \
  1246.     -kernel /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/kernel \
  1247.     -initrd /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/initrd \
  1248.     -object rng-random,filename=/dev/urandom,id=rng0 \
  1249.     -device virtio-rng-pci,rng=rng0 \
  1250.     -device virtio-scsi-pci,id=scsi \
  1251.     -drive file.file.filename=/home/nik/opensource/libguestfs/tmp/libguestfsX9WcTI/overlay1.qcow2,file.driver=qcow2,cache=unsafe,id=hd0,if=none \
  1252.     -device scsi-hd,drive=hd0 \
  1253.     -drive file=/home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
  1254.     -device scsi-hd,drive=appliance \
  1255.     -device virtio-serial-pci \
  1256.     -serial stdio \
  1257.     -device sga \
  1258.     -chardev socket,path=/run/user/1000/libguestfsRtJosb/guestfsd.sock,id=channel0 \
  1259.     -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
  1260.     -append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color"
  1261. WARNING: Image format was not specified for '/home/nik/opensource/libguestfs/tmp/libguestfsX9WcTI/overlay1.qcow2' and probing guessed raw.
  1262.          Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
  1263.          Specify the 'raw' format explicitly to remove the restrictions.
  1264. libguestfs: responding to serial console Device Status Report
  1265. \x1b[1;256r\x1b[256;256H\x1b[6n
  1266. Google, Inc.
  1267. Serial Graphics Adapter 02/05/16
  1268. SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Fri Feb  5 06:18:54 UTC 2016
  1269. Term: 80x24
  1270. 4 0
  1271. \x1b[2J
  1272. SeaBIOS (version 1.9.3-1.fc25)
  1273.  
  1274.  
  1275. Booting from ROM...
  1276.  
  1277. \x1b[2J[    0.000000] Linux version 4.9.40.guestfs.x86_64 (nik@ivanets.localdomain) (gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC) ) #8 Tue Jan 2 22:36:21 EET 2018
  1278. [    0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  1279. [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
  1280. [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
  1281. [    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
  1282. [    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
  1283. [    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
  1284. [    0.000000] x86/fpu: Using 'eager' FPU context switches.
  1285. [    0.000000] e820: BIOS-provided physical RAM map:
  1286. [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
  1287. [    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
  1288. [    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
  1289. [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3ddfff] usable
  1290. [    0.000000] BIOS-e820: [mem 0x000000001f3de000-0x000000001f3fffff] reserved
  1291. [    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
  1292. [    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
  1293. [    0.000000] NX (Execute Disable) protection: active
  1294. [    0.000000] SMBIOS 2.8 present.
  1295. [    0.000000] e820: last_pfn = 0x1f3de max_arch_pfn = 0x400000000
  1296. [    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
  1297. [    0.000000] RAMDISK: [mem 0x1f35f000-0x1f3cffff]
  1298. [    0.000000] ACPI: Early table checksum verification disabled
  1299. [    0.000000] ACPI: RSDP 0x00000000000F69C0 000014 (v00 BOCHS )
  1300. [    0.000000] ACPI: RSDT 0x000000001F3E187D 00002C (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
  1301. [    0.000000] ACPI: FACP 0x000000001F3E1791 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
  1302. [    0.000000] ACPI: DSDT 0x000000001F3E0040 001751 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
  1303. [    0.000000] ACPI: FACS 0x000000001F3E0000 000040
  1304. [    0.000000] ACPI: APIC 0x000000001F3E1805 000078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
  1305. [    0.000000] Zone ranges:
  1306. [    0.000000]   DMA32    [mem 0x0000000000001000-0x000000001f3ddfff]
  1307. [    0.000000]   Normal   empty
  1308. [    0.000000] Movable zone start for each node
  1309. [    0.000000] Early memory node ranges
  1310. [    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
  1311. [    0.000000]   node   0: [mem 0x0000000000100000-0x000000001f3ddfff]
  1312. [    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3ddfff]
  1313. [    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
  1314. [    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
  1315. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
  1316. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
  1317. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
  1318. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
  1319. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
  1320. [    0.000000] Using ACPI (MADT) for SMP configuration information
  1321. [    0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
  1322. [    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
  1323. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125847
  1324. [    0.000000] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  1325. [    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
  1326. [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
  1327. [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
  1328. [    0.000000] Memory: 494432K/511472K available (3179K kernel code, 441K rwdata, 880K rodata, 568K init, 292K bss, 17040K reserved, 0K cma-reserved)
  1329. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  1330. [    0.000000] NR_IRQS:4352 nr_irqs:48 16
  1331. [    0.000000] Console: colour *CGA 80x25
  1332. [    0.000000] console [ttyS0] enabled
  1333. [    0.000000] tsc: Fast TSC calibration using PIT
  1334. [    0.000000] tsc: Detected 3192.901 MHz processor
  1335. [    0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6385.80 BogoMIPS (lpj=12771604)
  1336. [    0.004830] pid_max: default: 4096 minimum: 301
  1337. [    0.008004] ACPI: Core revision 20160831
  1338. [    0.008820] ACPI: 1 ACPI AML tables successfully acquired and loaded
  1339. [    0.009352] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
  1340. [    0.009869] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
  1341. [    0.010545] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
  1342. [    0.010961] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
  1343. [    0.011421] CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (family: 0x6, model: 0x3a, stepping: 0x9)
  1344. [    0.012246] Performance Events: IvyBridge events, Intel PMU driver.
  1345. [    0.012778] ... version:                2
  1346. [    0.013083] ... bit width:              48
  1347. [    0.013422] ... generic registers:      8
  1348. [    0.013740] ... value mask:             0000ffffffffffff
  1349. [    0.014141] ... max period:             000000007fffffff
  1350. [    0.014561] ... fixed-purpose events:   3
  1351. [    0.014865] ... event mask:             00000007000000ff
  1352. [    0.015958] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
  1353. [    0.016000] devtmpfs: initialized
  1354. [    0.016000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  1355. [    0.016000] futex hash table entries: 16 (order: -4, 384 bytes)
  1356. [    0.016000] NET: Registered protocol family 16
  1357. [    0.016000] ACPI: bus type PCI registered
  1358. [    0.016000] PCI: Using configuration type 1 for base access
  1359. [    0.016000] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
  1360. [    0.016000] ACPI: Added _OSI(Module Device)
  1361. [    0.016000] ACPI: Added _OSI(Processor Device)
  1362. [    0.016002] ACPI: Added _OSI(3.0 _SCP Extensions)
  1363. [    0.016517] ACPI: Added _OSI(Processor Aggregator Device)
  1364. [    0.017926] ACPI: Interpreter enabled
  1365. [    0.018238] ACPI: (supports S0 S5)
  1366. [    0.018498] ACPI: Using IOAPIC for interrupt routing
  1367. [    0.018884] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
  1368. [    0.020726] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
  1369. [    0.021220] acpi PNP0A03:00: _OSC: OS supports [Segments]
  1370. [    0.021626] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
  1371. [    0.022150] PCI host bridge to bus 0000:00
  1372. [    0.022470] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
  1373. [    0.023016] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
  1374. [    0.023519] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
  1375. [    0.024003] pci_bus 0000:00: root bus resource [mem 0x1f400000-0xfebfffff window]
  1376. [    0.024568] pci_bus 0000:00: root bus resource [bus 00-ff]
  1377. [    0.029563] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
  1378. [    0.030591] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
  1379. [    0.031081] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
  1380. [    0.031600] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
  1381. [    0.062355] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
  1382. [    0.062951] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
  1383. [    0.063532] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
  1384. [    0.064104] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
  1385. [    0.064667] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
  1386. [    0.067249] ACPI: Enabled 3 GPEs in block 00 to 0F
  1387. [    0.067736] SCSI subsystem initialized
  1388. [    0.068046] PCI: Using ACPI for IRQ routing
  1389. [    0.068550] clocksource: Switched to clocksource refined-jiffies
  1390. [    0.069028] pnp: PnP ACPI init
  1391. [    0.069461] pnp: PnP ACPI: found 5 devices
  1392. [    0.070178] NET: Registered protocol family 2
  1393. [    0.070575] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
  1394. [    0.071108] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  1395. [    0.071591] TCP: Hash tables configured (established 4096 bind 4096)
  1396. [    0.072009] UDP hash table entries: 256 (order: 1, 8192 bytes)
  1397. [    0.072449] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  1398. [    0.072926] NET: Registered protocol family 1
  1399. [    0.073287] Unpacking initramfs...
  1400. [    0.073701] Freeing initrd memory: 452K (ffff88001f35f000 - ffff88001f3d0000)
  1401. [    0.074271] alg: self-tests disabled
  1402. [    0.074692] workingset: timestamp_bits=62 max_order=17 bucket_order=0
  1403. [    0.075732] io scheduler noop registered (default)
  1404. [    0.076014] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  1405. [    0.076442] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  1406. [    0.080005] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
  1407. [    0.080984] loop: module loaded
  1408. [    0.081801] scsi host0: ata_piix
  1409. [    0.082082] scsi host1: ata_piix
  1410. [    0.082359] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc080 irq 14
  1411. [    0.082872] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc088 irq 15
  1412. [    0.083441] rtc_cmos 00:00: RTC can wake from S4
  1413. [    0.083935] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
  1414. [    0.084044] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
  1415. [    0.084565] NET: Registered protocol family 17
  1416. [    0.245073] Freeing unused kernel memory: 568K (ffffffff81670000 - ffffffff816fe000)
  1417. [    0.246458] Write protecting the kernel read-only data: 6144k
  1418. [    0.247703] Freeing unused kernel memory: 904K (ffff88000131e000 - ffff880001400000)
  1419. [    0.251634] Freeing unused kernel memory: 1168K (ffff8800014dc000 - ffff880001600000)
  1420. supermin: mounting /proc
  1421. supermin: ext2 mini initrd starting up: 5.1.18 dietlibc
  1422. supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  1423. supermin: uptime: 0.25 0.17
  1424. supermin: mounting /sys
  1425. supermin: internal insmod libnvdimm.ko
  1426. supermin: internal insmod nfit.ko
  1427. supermin: internal insmod virtio.ko
  1428. supermin: internal insmod virtio_ring.ko
  1429. supermin: internal insmod virtio_blk.ko
  1430. supermin: internal insmod virtio-rng.ko
  1431. supermin: internal insmod virtio_console.ko
  1432. supermin: internal insmod virtio_net.ko
  1433. supermin: internal insmod virtio_scsi.ko
  1434. supermin: internal insmod virtio_pci.ko
  1435. [    0.269890] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
  1436. [    0.282887] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
  1437. [    0.284188] scsi host2: Virtio SCSI HBA
  1438. [    0.284629] random: fast init done
  1439. [    0.285032] random: crng init done
  1440. [    0.285335] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
  1441. [    0.286252] sd 2:0:0:0: [sda] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB)
  1442. [    0.286858] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
  1443. [    0.287822] sd 2:0:0:0: [sda] Write Protect is off
  1444. [    0.288024] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
  1445. [    0.288728] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  1446. [    0.289703] sd 2:0:1:0: [sdb] Write Protect is off
  1447. [    0.290332] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  1448. [    0.291432]  sda: sda1
  1449. [    0.292162] sd 2:0:0:0: [sda] Attached SCSI disk
  1450. [    0.292783] sd 2:0:1:0: [sdb] Attached SCSI disk
  1451. [    0.314936] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
  1452. supermin: internal insmod ext2.ko
  1453. supermin: internal insmod crc-itu-t.ko
  1454. supermin: picked /sys/block/sdb/dev (8:16) as root device
  1455. supermin: creating /dev/root as block special 8:16
  1456. supermin: mounting new root on /root
  1457. supermin: deleting initramfs files
  1458. supermin: chroot
  1459. Starting /init script ...
  1460. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_network=1* ]]
  1461. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_rescue=1* ]]
  1462. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_noreboot=1* ]]
  1463. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_boot_analysis=1* ]]
  1464. + '[' '!' -d /sys ']'
  1465. + mkdir -p /sys
  1466. + mount -t sysfs /sys /sys
  1467. + mkdir -p /run
  1468. + mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run
  1469. + mkdir -p /run/lock
  1470. + ln -s ../run/lock /var/lock
  1471. + test -e /etc/mtab
  1472. + ln -s /proc/mounts /etc/mtab
  1473. + mount -t devtmpfs /dev /dev
  1474. + mkdir -p /dev/pts
  1475. + mount -t devpts /dev/pts /dev/pts
  1476. + mkdir -p /dev/shm
  1477. + mount -t tmpfs -o mode=1777 shmfs /dev/shm
  1478. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *selinux=1* ]]
  1479. + mkdir -p /run/tmpfiles.d
  1480. + kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
  1481. ++ od -x -A n
  1482. ++ dd if=/dev/urandom bs=16 count=1 status=none
  1483. + machine_id=' d64f 6f28 534c 9da0 2a8c 0c71 c9a5 3632'
  1484. + echo d64f6f28534c9da02a8c0c71c9a53632
  1485. + systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
  1486. [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
  1487. [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'.
  1488. [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'.
  1489. [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'.
  1490. [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'.
  1491. [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'.
  1492. + for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
  1493. + '[' -x /lib/systemd/systemd-udevd ']'
  1494. + UDEVD=/lib/systemd/systemd-udevd
  1495. + break
  1496. + '[' -z /lib/systemd/systemd-udevd ']'
  1497. + /lib/systemd/systemd-udevd --daemon
  1498. starting version 231
  1499. + udevadm trigger
  1500. + udevadm settle --timeout=600
  1501. [    0.422653] AVX version of gcm_enc/dec engaged.
  1502. [    0.423048] AES CTR mode by8 optimization enabled
  1503. + shopt -s nullglob
  1504. + for f in '/sys/block/sd*/device/timeout'
  1505. + echo 300
  1506. + for f in '/sys/block/sd*/device/timeout'
  1507. + echo 300
  1508. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  1509. + echo noop
  1510. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  1511. + echo noop
  1512. + shopt -u nullglob
  1513. + ip addr add 127.0.0.1/8 brd + dev lo scope host
  1514. + ip link set dev lo up
  1515. + test '' = 1
  1516. + mdadm -As --auto=yes --run
  1517. mdadm: No arrays found in config file or automatically
  1518. + modprobe dm_mod
  1519. [    0.446833] device-mapper: uevent: version 1.0.3
  1520. [    0.447609] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
  1521. + lvm vgchange -aay --sysinit
  1522.   WARNING: Failed to connect to lvmetad. Falling back to device scanning.
  1523. + ldmtool create all
  1524. [
  1525. ]
  1526. + test 1 = 1
  1527. + test '' '!=' 1
  1528. + uname -a
  1529. Linux (none) 4.9.40.guestfs.x86_64 #8 Tue Jan 2 22:36:21 EET 2018 x86_64 x86_64 x86_64 GNU/Linux
  1530. 'clocksource: '
  1531. clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
  1532. refined-jiffies
  1533. + echo -n 'uptime: '
  1534. uptime: + cat /proc/uptime
  1535. 0.57 0.17
  1536. + cmd=guestfsd
  1537. ++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
  1538. + eval
  1539. + test x '!=' x
  1540. + test 1 = 1
  1541. + cmd='guestfsd --verbose'
  1542. + test '' = 1
  1543. + false
  1544. + test '' = 1
  1545. + echo guestfsd --verbose
  1546. guestfsd --verbose
  1547. + guestfsd --verbose
  1548. OCaml daemon loaded
  1549. lvm config:
  1550. lvmetad
  1551. trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
  1552. commandrvf: stdout=n stderr=y flags=0x0
  1553. commandrvf: udevadm --debug settle
  1554. calling: settle
  1555. libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
  1556. libguestfs: appliance is up
  1557. libguestfs: trace: launch = 0
  1558. libguestfs: trace: mount_options "ro" "/dev/sda1" "/"
  1559. guestfsd: <= mount_options (0x4a) request length 72 bytes
  1560. commandrvf: stdout=n stderr=y flags=0x0
  1561. commandrvf: udevadm --debug settle -E /dev/sda1
  1562. calling: settle
  1563. command: mount '-o' 'ro' '/dev/sda1' '/sysroot//'
  1564. libguestfs: trace: mount_options = 0
  1565. libguestfs: trace: statns "/tail"
  1566. guestfsd: => mount_options (0x4a) took 0.00 secs
  1567. guestfsd: <= statns (0x1a5) request length 52 bytes
  1568. guestfsd: => statns (0x1a5) took 0.00 secs
  1569. libguestfs: trace: statns = <struct guestfs_statns = st_dev: 2049, st_ino: 12, st_mode: 33188, st_nlink: 1, st_uid: 0, st_gid: 0, st_rdev: 0, st_size: 21, st_blksize: 1024, st_blocks: 2, st_atime_sec: 1514929250, st_atime_nsec: 0, st_mtime_sec: 1514929260, st_mtime_nsec: 0, st_ctime_sec: 1514929260, st_ctime_nsec: 0, st_spare1: 0, st_spare2: 0, st_spare3: 0, st_spare4: 0, st_spare5: 0, st_spare6: 0, >
  1570. libguestfs: trace: pread "/tail" 14 7
  1571. guestfsd: <= pread (0xcf) request length 64 bytes
  1572. guestfsd: => pread (0xcf) took 0.00 secs
  1573. libguestfs: trace: pread = "line 2\x0aline 3\x0a"
  1574. + for retry in '`seq 0 60`'
  1575. + grep -sq 'line 3' test-virt-tail.out
  1576. + break
  1577. + '[' 3 -ge 60 ']'
  1578. + guestfish --remote rm /tail
  1579. libguestfs: trace: set_verbose true
  1580. libguestfs: trace: set_verbose = 0
  1581. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  1582. libguestfs: trace: set_tmpdir = 0
  1583. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  1584. libguestfs: trace: set_cachedir = 0
  1585. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  1586. libguestfs: trace: set_path = 0
  1587. libguestfs: create: flags = 0, handle = 0x15d0830, program = guestfish
  1588. libguestfs: trace: set_pgroup true
  1589. libguestfs: trace: set_pgroup = 0
  1590. libguestfs: trace: rm "/tail"
  1591. guestfsd: => sync (0x2) took 0.01 secs
  1592. guestfsd: <= rm (0x1d) request length 52 bytes
  1593. guestfsd: => rm (0x1d) took 0.00 secs
  1594. libguestfs: trace: rm = 0
  1595. libguestfs: trace: shutdown
  1596. libguestfs: trace: shutdown = 0
  1597. libguestfs: trace: close
  1598. libguestfs: closing guestfs handle 0x15d0830 (state 0)
  1599. + wait 7696
  1600. libguestfs: trace: set_verbose true
  1601. libguestfs: trace: set_verbose = 0
  1602. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  1603. libguestfs: trace: set_tmpdir = 0
  1604. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  1605. libguestfs: trace: set_cachedir = 0
  1606. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  1607. libguestfs: trace: set_path = 0
  1608. libguestfs: create: flags = 0, handle = 0xdacc20, program = virt-tail
  1609. libguestfs: trace: get_verbose
  1610. libguestfs: trace: get_verbose = 1
  1611. libguestfs: trace: set_verbose true
  1612. libguestfs: trace: set_verbose = 0
  1613. libguestfs: trace: get_trace
  1614. libguestfs: trace: get_trace = 1
  1615. libguestfs: trace: set_trace true
  1616. libguestfs: trace: set_trace = 0
  1617. libguestfs: trace: get_pgroup
  1618. libguestfs: trace: get_pgroup = 1
  1619. libguestfs: trace: set_pgroup true
  1620. libguestfs: trace: set_pgroup = 0
  1621. libguestfs: trace: close
  1622. libguestfs: closing guestfs handle 0xdb07d0 (state 2)
  1623. libguestfs: trace: internal_autosync
  1624. [    1.088082] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2e061798719, max_idle_ns: 440795214014 ns
  1625. [    1.089914] clocksource: Switched to clocksource tsc
  1626. guestfsd: <= internal_autosync (0x11a) request length 40 bytes
  1627. umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime,errors=continue,user_xattr,acl freq=0 passno=0
  1628. umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
  1629. umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
  1630. umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=99508k,mode=755 freq=0 passno=0
  1631. umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=247216k,nr_inodes=61804,mode=755 freq=0 passno=0
  1632. umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0
  1633. umount-all: /proc/mounts: fsname=shmfs dir=/dev/shm type=tmpfs opts=rw,relatime freq=0 passno=0
  1634. umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2 opts=ro,relatime,errors=continue,user_xattr,acl freq=0 passno=0
  1635. commandrvf: stdout=n stderr=y flags=0x0
  1636. commandrvf: umount /sysroot
  1637. commandrvf: stdout=n stderr=y flags=0x0
  1638. commandrvf: udevadm --debug settle -E /dev/sdb
  1639. calling: settle
  1640. commandrvf: stdout=n stderr=y flags=0x0
  1641. commandrvf: udevadm --debug settle -E /dev/sda
  1642. calling: settle
  1643. fsync /dev/sda
  1644. libguestfs: trace: internal_autosync = 0
  1645. libguestfs: sending SIGTERM to process 7794
  1646. libguestfs: qemu maxrss 147184K
  1647. libguestfs: command: run: rm
  1648. libguestfs: command: run: \ -rf /home/nik/opensource/libguestfs/tmp/libguestfsX9WcTI
  1649. libguestfs: command: run: rm
  1650. libguestfs: command: run: \ -rf /run/user/1000/libguestfsRtJosb
  1651. libguestfs: trace: add_drive "test-virt-tail.disk" "readonly:true"
  1652. libguestfs: creating COW overlay to protect original drive content
  1653. libguestfs: trace: get_tmpdir
  1654. libguestfs: trace: get_tmpdir = "/home/nik/opensource/libguestfs/tmp"
  1655. libguestfs: trace: disk_create "/home/nik/opensource/libguestfs/tmp/libguestfsKl5xNn/overlay1.qcow2" "qcow2" -1 "backingfile:/home/nik/opensource/libguestfs/cat/test-virt-tail.disk"
  1656. libguestfs: command: run: qemu-img
  1657. libguestfs: command: run: \ create
  1658. libguestfs: command: run: \ -f qcow2
  1659. libguestfs: command: run: \ -o backing_file=/home/nik/opensource/libguestfs/cat/test-virt-tail.disk
  1660. libguestfs: command: run: \ /home/nik/opensource/libguestfs/tmp/libguestfsKl5xNn/overlay1.qcow2
  1661. Formatting '/home/nik/opensource/libguestfs/tmp/libguestfsKl5xNn/overlay1.qcow2', fmt=qcow2 size=10485760 backing_file=/home/nik/opensource/libguestfs/cat/test-virt-tail.disk encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
  1662. libguestfs: trace: disk_create = 0
  1663. libguestfs: trace: add_drive = 0
  1664. libguestfs: trace: launch
  1665. libguestfs: trace: max_disks
  1666. libguestfs: trace: max_disks = 255
  1667. libguestfs: trace: version
  1668. libguestfs: trace: version = <struct guestfs_version = major: 1, minor: 37, release: 35, extra: , >
  1669. libguestfs: trace: get_backend
  1670. libguestfs: trace: get_backend = "direct"
  1671. libguestfs: launch: program=virt-tail
  1672. libguestfs: launch: version=1.37.35
  1673. libguestfs: launch: backend registered: unix
  1674. libguestfs: launch: backend registered: uml
  1675. libguestfs: launch: backend registered: libvirt
  1676. libguestfs: launch: backend registered: direct
  1677. libguestfs: launch: backend=direct
  1678. libguestfs: launch: tmpdir=/home/nik/opensource/libguestfs/tmp/libguestfsKl5xNn
  1679. libguestfs: launch: umask=0002
  1680. libguestfs: launch: euid=1000
  1681. libguestfs: trace: get_backend_setting "force_tcg"
  1682. libguestfs: trace: get_backend_setting = NULL (error)
  1683. libguestfs: trace: get_cachedir
  1684. libguestfs: trace: get_cachedir = "/home/nik/opensource/libguestfs/tmp"
  1685. libguestfs: begin building supermin appliance
  1686. libguestfs: run supermin
  1687. libguestfs: command: run: /usr/bin/supermin
  1688. libguestfs: command: run: \ --build
  1689. libguestfs: command: run: \ --verbose
  1690. libguestfs: command: run: \ --if-newer
  1691. libguestfs: command: run: \ --lock /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
  1692. libguestfs: command: run: \ --copy-kernel
  1693. libguestfs: command: run: \ -f ext2
  1694. libguestfs: command: run: \ --host-cpu x86_64
  1695. libguestfs: command: run: \ /home/nik/opensource/libguestfs/appliance/supermin.d
  1696. libguestfs: command: run: \ -o /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d
  1697. supermin: version: 5.1.18
  1698. supermin: rpm: detected RPM version 4.13
  1699. supermin: package handler: fedora/rpm
  1700. supermin: acquiring lock on /home/nik/opensource/libguestfs/tmp/.guestfs-1000/lock
  1701. supermin: if-newer: output does not need rebuilding
  1702. libguestfs: finished building supermin appliance
  1703. libguestfs: begin testing qemu features
  1704. libguestfs: trace: get_cachedir
  1705. libguestfs: trace: get_cachedir = "/home/nik/opensource/libguestfs/tmp"
  1706. libguestfs: checking for previously cached test results of /usr/bin/qemu-kvm, in /home/nik/opensource/libguestfs/tmp/.guestfs-1000
  1707. libguestfs: loading previously cached test results
  1708. libguestfs: qemu version: 2.7
  1709. libguestfs: qemu mandatory locking: no
  1710. libguestfs: trace: get_sockdir
  1711. libguestfs: trace: get_sockdir = "/run/user/1000"
  1712. libguestfs: finished testing qemu features
  1713. libguestfs: trace: get_backend_setting "gdb"
  1714. libguestfs: trace: get_backend_setting = NULL (error)
  1715. /usr/bin/qemu-kvm \
  1716.     -global virtio-blk-pci.scsi=off \
  1717.     -nodefconfig \
  1718.     -enable-fips \
  1719.     -nodefaults \
  1720.     -display none \
  1721.     -machine accel=kvm:tcg \
  1722.     -cpu host \
  1723.     -m 500 \
  1724.     -no-reboot \
  1725.     -rtc driftfix=slew \
  1726.     -no-hpet \
  1727.     -global kvm-pit.lost_tick_policy=discard \
  1728.     -kernel /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/kernel \
  1729.     -initrd /home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/initrd \
  1730.     -object rng-random,filename=/dev/urandom,id=rng0 \
  1731.     -device virtio-rng-pci,rng=rng0 \
  1732.     -device virtio-scsi-pci,id=scsi \
  1733.     -drive file.file.filename=/home/nik/opensource/libguestfs/tmp/libguestfsKl5xNn/overlay1.qcow2,file.driver=qcow2,cache=unsafe,id=hd0,if=none \
  1734.     -device scsi-hd,drive=hd0 \
  1735.     -drive file=/home/nik/opensource/libguestfs/tmp/.guestfs-1000/appliance.d/root,snapshot=on,id=appliance,cache=unsafe,if=none,format=raw \
  1736.     -device scsi-hd,drive=appliance \
  1737.     -device virtio-serial-pci \
  1738.     -serial stdio \
  1739.     -device sga \
  1740.     -chardev socket,path=/run/user/1000/libguestfse2nChA/guestfsd.sock,id=channel0 \
  1741.     -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
  1742.     -append "panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color"
  1743. WARNING: Image format was not specified for '/home/nik/opensource/libguestfs/tmp/libguestfsKl5xNn/overlay1.qcow2' and probing guessed raw.
  1744.          Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
  1745.          Specify the 'raw' format explicitly to remove the restrictions.
  1746. libguestfs: responding to serial console Device Status Report
  1747. \x1b[1;256r\x1b[256;256H\x1b[6n
  1748. Google, Inc.
  1749. Serial Graphics Adapter 02/05/16
  1750. SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $ (mockbuild@) Fri Feb  5 06:18:54 UTC 2016
  1751. Term: 80x24
  1752. 4 0
  1753. \x1b[2J
  1754. SeaBIOS (version 1.9.3-1.fc25)
  1755.  
  1756.  
  1757. Booting from ROM...
  1758.  
  1759. \x1b[2J[    0.000000] Linux version 4.9.40.guestfs.x86_64 (nik@ivanets.localdomain) (gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC) ) #8 Tue Jan 2 22:36:21 EET 2018
  1760. [    0.000000] Command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  1761. [    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
  1762. [    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
  1763. [    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
  1764. [    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
  1765. [    0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
  1766. [    0.000000] x86/fpu: Using 'eager' FPU context switches.
  1767. [    0.000000] e820: BIOS-provided physical RAM map:
  1768. [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
  1769. [    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
  1770. [    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
  1771. [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001f3ddfff] usable
  1772. [    0.000000] BIOS-e820: [mem 0x000000001f3de000-0x000000001f3fffff] reserved
  1773. [    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
  1774. [    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
  1775. [    0.000000] NX (Execute Disable) protection: active
  1776. [    0.000000] SMBIOS 2.8 present.
  1777. [    0.000000] e820: last_pfn = 0x1f3de max_arch_pfn = 0x400000000
  1778. [    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
  1779. [    0.000000] RAMDISK: [mem 0x1f35f000-0x1f3cffff]
  1780. [    0.000000] ACPI: Early table checksum verification disabled
  1781. [    0.000000] ACPI: RSDP 0x00000000000F69C0 000014 (v00 BOCHS )
  1782. [    0.000000] ACPI: RSDT 0x000000001F3E187D 00002C (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
  1783. [    0.000000] ACPI: FACP 0x000000001F3E1791 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
  1784. [    0.000000] ACPI: DSDT 0x000000001F3E0040 001751 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
  1785. [    0.000000] ACPI: FACS 0x000000001F3E0000 000040
  1786. [    0.000000] ACPI: APIC 0x000000001F3E1805 000078 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
  1787. [    0.000000] Zone ranges:
  1788. [    0.000000]   DMA32    [mem 0x0000000000001000-0x000000001f3ddfff]
  1789. [    0.000000]   Normal   empty
  1790. [    0.000000] Movable zone start for each node
  1791. [    0.000000] Early memory node ranges
  1792. [    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
  1793. [    0.000000]   node   0: [mem 0x0000000000100000-0x000000001f3ddfff]
  1794. [    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000001f3ddfff]
  1795. [    0.000000] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
  1796. [    0.000000] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
  1797. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
  1798. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
  1799. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
  1800. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
  1801. [    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
  1802. [    0.000000] Using ACPI (MADT) for SMP configuration information
  1803. [    0.000000] e820: [mem 0x1f400000-0xfeffbfff] available for PCI devices
  1804. [    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
  1805. [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 125847
  1806. [    0.000000] Kernel command line: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  1807. [    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
  1808. [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
  1809. [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
  1810. [    0.000000] Memory: 494432K/511472K available (3179K kernel code, 441K rwdata, 880K rodata, 568K init, 292K bss, 17040K reserved, 0K cma-reserved)
  1811. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  1812. [    0.000000] NR_IRQS:4352 nr_irqs:48 16
  1813. [    0.000000] Console: colour *CGA 80x25
  1814. [    0.000000] console [ttyS0] enabled
  1815. [    0.000000] tsc: Fast TSC calibration using PIT
  1816. [    0.000000] tsc: Detected 3192.967 MHz processor
  1817. [    0.008001] Calibrating delay loop (skipped), value calculated using timer frequency.. 6385.93 BogoMIPS (lpj=12771868)
  1818. [    0.012002] pid_max: default: 4096 minimum: 301
  1819. [    0.012378] ACPI: Core revision 20160831
  1820. [    0.013203] ACPI: 1 ACPI AML tables successfully acquired and loaded
  1821. [    0.013733] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
  1822. [    0.014269] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
  1823. [    0.014983] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
  1824. [    0.015419] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
  1825. [    0.016003] CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz (family: 0x6, model: 0x3a, stepping: 0x9)
  1826. [    0.016856] Performance Events: IvyBridge events, Intel PMU driver.
  1827. [    0.017467] ... version:                2
  1828. [    0.017792] ... bit width:              48
  1829. [    0.018130] ... generic registers:      8
  1830. [    0.018451] ... value mask:             0000ffffffffffff
  1831. [    0.018863] ... max period:             000000007fffffff
  1832. [    0.019280] ... fixed-purpose events:   3
  1833. [    0.019594] ... event mask:             00000007000000ff
  1834. [    0.020676] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
  1835. [    0.021178] devtmpfs: initialized
  1836. [    0.021508] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
  1837. [    0.022234] futex hash table entries: 16 (order: -4, 384 bytes)
  1838. [    0.022823] NET: Registered protocol family 16
  1839. [    0.023244] ACPI: bus type PCI registered
  1840. [    0.023555] PCI: Using configuration type 1 for base access
  1841. [    0.023999] core: PMU erratum BJ122, BV98, HSD29 workaround disabled, HT off
  1842. [    0.024000] ACPI: Added _OSI(Module Device)
  1843. [    0.024000] ACPI: Added _OSI(Processor Device)
  1844. [    0.024002] ACPI: Added _OSI(3.0 _SCP Extensions)
  1845. [    0.024372] ACPI: Added _OSI(Processor Aggregator Device)
  1846. [    0.025769] ACPI: Interpreter enabled
  1847. [    0.026058] ACPI: (supports S0 S5)
  1848. [    0.026323] ACPI: Using IOAPIC for interrupt routing
  1849. [    0.026712] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
  1850. [    0.028502] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
  1851. [    0.028963] acpi PNP0A03:00: _OSC: OS supports [Segments]
  1852. [    0.029369] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
  1853. [    0.029866] PCI host bridge to bus 0000:00
  1854. [    0.030172] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
  1855. [    0.030673] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
  1856. [    0.031178] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
  1857. [    0.031729] pci_bus 0000:00: root bus resource [mem 0x1f400000-0xfebfffff window]
  1858. [    0.032003] pci_bus 0000:00: root bus resource [bus 00-ff]
  1859. [    0.037441] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
  1860. [    0.037980] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
  1861. [    0.038464] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
  1862. [    0.038995] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
  1863. [    0.070831] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
  1864. [    0.071409] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
  1865. [    0.071960] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
  1866. [    0.072188] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
  1867. [    0.072714] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
  1868. [    0.073219] ACPI: Enabled 3 GPEs in block 00 to 0F
  1869. [    0.073672] SCSI subsystem initialized
  1870. [    0.074018] PCI: Using ACPI for IRQ routing
  1871. [    0.074500] clocksource: Switched to clocksource refined-jiffies
  1872. [    0.074995] pnp: PnP ACPI init
  1873. [    0.075458] pnp: PnP ACPI: found 5 devices
  1874. [    0.076195] NET: Registered protocol family 2
  1875. [    0.076622] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
  1876. [    0.077172] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  1877. [    0.077668] TCP: Hash tables configured (established 4096 bind 4096)
  1878. [    0.078156] UDP hash table entries: 256 (order: 1, 8192 bytes)
  1879. [    0.078607] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  1880. [    0.079084] NET: Registered protocol family 1
  1881. [    0.079454] Unpacking initramfs...
  1882. [    0.079872] Freeing initrd memory: 452K (ffff88001f35f000 - ffff88001f3d0000)
  1883. [    0.080044] alg: self-tests disabled
  1884. [    0.080462] workingset: timestamp_bits=62 max_order=17 bucket_order=0
  1885. [    0.081508] io scheduler noop registered (default)
  1886. [    0.081902] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
  1887. [    0.082342] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  1888. [    0.084006] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
  1889. [    0.085004] loop: module loaded
  1890. [    0.085863] scsi host0: ata_piix
  1891. [    0.086141] scsi host1: ata_piix
  1892. [    0.086405] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc080 irq 14
  1893. [    0.086932] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc088 irq 15
  1894. [    0.087486] rtc_cmos 00:00: RTC can wake from S4
  1895. [    0.087987] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
  1896. [    0.088043] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram
  1897. [    0.088610] NET: Registered protocol family 17
  1898. [    0.248566] Freeing unused kernel memory: 568K (ffffffff81670000 - ffffffff816fe000)
  1899. [    0.249179] Write protecting the kernel read-only data: 6144k
  1900. [    0.249758] Freeing unused kernel memory: 904K (ffff88000131e000 - ffff880001400000)
  1901. [    0.252031] Freeing unused kernel memory: 1168K (ffff8800014dc000 - ffff880001600000)
  1902. supermin: mounting /proc
  1903. supermin: ext2 mini initrd starting up: 5.1.18 dietlibc
  1904. supermin: cmdline: panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color
  1905. supermin: uptime: 0.25 0.17
  1906. supermin: mounting /sys
  1907. supermin: internal insmod libnvdimm.ko
  1908. supermin: internal insmod nfit.ko
  1909. supermin: internal insmod virtio.ko
  1910. supermin: internal insmod virtio_ring.ko
  1911. supermin: internal insmod virtio_blk.ko
  1912. supermin: internal insmod virtio-rng.ko
  1913. supermin: internal insmod virtio_console.ko
  1914. supermin: internal insmod virtio_net.ko
  1915. supermin: internal insmod virtio_scsi.ko
  1916. supermin: internal insmod virtio_pci.ko
  1917. [    0.272885] ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
  1918. [    0.287012] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
  1919. [    0.288405] scsi host2: Virtio SCSI HBA
  1920. [    0.288973] random: fast init done
  1921. [    0.289408] random: crng init done
  1922. [    0.289803] scsi 2:0:0:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
  1923. [    0.290910] sd 2:0:0:0: [sda] 20480 512-byte logical blocks: (10.5 MB/10.0 MiB)
  1924. [    0.291623] scsi 2:0:1:0: Direct-Access     QEMU     QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
  1925. [    0.292311] sd 2:0:1:0: [sdb] 8388608 512-byte logical blocks: (4.29 GB/4.00 GiB)
  1926. [    0.292953] sd 2:0:0:0: [sda] Write Protect is off
  1927. [    0.293440] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  1928. [    0.294440] sd 2:0:1:0: [sdb] Write Protect is off
  1929. [    0.294961] sd 2:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
  1930. [    0.295939]  sda: sda1
  1931. [    0.296468] sd 2:0:0:0: [sda] Attached SCSI disk
  1932. [    0.297207] sd 2:0:1:0: [sdb] Attached SCSI disk
  1933. [    0.317175] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
  1934. supermin: internal insmod ext2.ko
  1935. supermin: internal insmod crc-itu-t.ko
  1936. supermin: picked /sys/block/sdb/dev (8:16) as root device
  1937. supermin: creating /dev/root as block special 8:16
  1938. supermin: mounting new root on /root
  1939. supermin: deleting initramfs files
  1940. supermin: chroot
  1941. Starting /init script ...
  1942. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_network=1* ]]
  1943. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_rescue=1* ]]
  1944. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_noreboot=1* ]]
  1945. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *guestfs_boot_analysis=1* ]]
  1946. + '[' '!' -d /sys ']'
  1947. + mkdir -p /sys
  1948. + mount -t sysfs /sys /sys
  1949. + mkdir -p /run
  1950. + mount -t tmpfs -o nosuid,size=20%,mode=0755 tmpfs /run
  1951. + mkdir -p /run/lock
  1952. + ln -s ../run/lock /var/lock
  1953. + test -e /etc/mtab
  1954. + ln -s /proc/mounts /etc/mtab
  1955. + mount -t devtmpfs /dev /dev
  1956. + mkdir -p /dev/pts
  1957. + mount -t devpts /dev/pts /dev/pts
  1958. + mkdir -p /dev/shm
  1959. + mount -t tmpfs -o mode=1777 shmfs /dev/shm
  1960. + [[ panic=1 console=ttyS0 edd=off udevtimeout=6000 udev.event-timeout=6000 no_timer_check printk.time=1 cgroup_disable=memory usbcore.nousb cryptomgr.notests tsc=reliable 8250.nr_uarts=1 root=/dev/sdb selinux=0 guestfs_verbose=1 TERM=xterm-256color == *selinux=1* ]]
  1961. + mkdir -p /run/tmpfiles.d
  1962. + kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
  1963. ++ od -x -A n
  1964. ++ dd if=/dev/urandom bs=16 count=1 status=none
  1965. + machine_id=' 22bd 7e99 3681 13da baf1 6665 ca35 0721'
  1966. + echo 22bd7e99368113dabaf16665ca350721
  1967. + systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot
  1968. [/usr/lib/tmpfiles.d/systemd.conf:11] Unknown group 'utmp'.
  1969. [/usr/lib/tmpfiles.d/systemd.conf:19] Unknown user 'systemd-network'.
  1970. [/usr/lib/tmpfiles.d/systemd.conf:20] Unknown user 'systemd-network'.
  1971. [/usr/lib/tmpfiles.d/systemd.conf:21] Unknown user 'systemd-network'.
  1972. [/usr/lib/tmpfiles.d/systemd.conf:25] Unknown group 'systemd-journal'.
  1973. [/usr/lib/tmpfiles.d/systemd.conf:26] Unknown group 'systemd-journal'.
  1974. + for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd /sbin/udevd /lib/udev/udevd /usr/lib/udev/udevd
  1975. + '[' -x /lib/systemd/systemd-udevd ']'
  1976. + UDEVD=/lib/systemd/systemd-udevd
  1977. + break
  1978. + '[' -z /lib/systemd/systemd-udevd ']'
  1979. + /lib/systemd/systemd-udevd --daemon
  1980. starting version 231
  1981. + udevadm trigger
  1982. + udevadm settle --timeout=600
  1983. [    0.443690] AVX version of gcm_enc/dec engaged.
  1984. [    0.444026] AES CTR mode by8 optimization enabled
  1985. + shopt -s nullglob
  1986. + for f in '/sys/block/sd*/device/timeout'
  1987. + echo 300
  1988. + for f in '/sys/block/sd*/device/timeout'
  1989. + echo 300
  1990. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  1991. + echo noop
  1992. + for f in '/sys/block/{h,s,ub,v}d*/queue/scheduler'
  1993. + echo noop
  1994. + shopt -u nullglob
  1995. + ip addr add 127.0.0.1/8 brd + dev lo scope host
  1996. + ip link set dev lo up
  1997. + test '' = 1
  1998. + mdadm -As --auto=yes --run
  1999. mdadm: No arrays found in config file or automatically
  2000. + modprobe dm_mod
  2001. [    0.470591] device-mapper: uevent: version 1.0.3
  2002. [    0.471447] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com
  2003. + lvm vgchange -aay --sysinit
  2004.   WARNING: Failed to connect to lvmetad. Falling back to device scanning.
  2005. + ldmtool create all
  2006. [
  2007. ]
  2008. + test 1 = 1
  2009. + test '' '!=' 1
  2010. + uname -a
  2011. Linux (none) 4.9.40.guestfs.x86_64 #8 Tue Jan 2 22:36:21 EET 2018 x86_64 x86_64 x86_64 GNU/Linux
  2012. 'clocksource: '
  2013. clocksource: + cat /sys/devices/system/clocksource/clocksource0/current_clocksource
  2014. refined-jiffies
  2015. + echo -n 'uptime: '
  2016. uptime: + cat /proc/uptime
  2017. 0.87 0.45
  2018. + cmd=guestfsd
  2019. ++ grep -Eo 'guestfs_channel=[^[:space:]]+' /proc/cmdline
  2020. + eval
  2021. + test x '!=' x
  2022. + test 1 = 1
  2023. + cmd='guestfsd --verbose'
  2024. + test '' = 1
  2025. + false
  2026. + test '' = 1
  2027. + echo guestfsd --verbose
  2028. guestfsd --verbose
  2029. + guestfsd --verbose
  2030. OCaml daemon loaded
  2031. lvm config:
  2032. lvmetad
  2033. trying to open virtio-serial channel '/dev/virtio-ports/org.libguestfs.channel.0'
  2034. commandrvf: stdout=n stderr=y flags=0x0
  2035. commandrvf: udevadm --debug settle
  2036. calling: settle
  2037. libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG
  2038. libguestfs: appliance is up
  2039. libguestfs: trace: launch = 0
  2040. libguestfs: trace: mount_options "ro" "/dev/sda1" "/"
  2041. guestfsd: <= mount_options (0x4a) request length 72 bytes
  2042. commandrvf: stdout=n stderr=y flags=0x0
  2043. commandrvf: udevadm --debug settle -E /dev/sda1
  2044. calling: settle
  2045. command: mount '-o' 'ro' '/dev/sda1' '/sysroot//'
  2046. libguestfs: trace: mount_options = 0
  2047. libguestfs: trace: statns "/tail"
  2048. guestfsd: => mount_options (0x4a) took 0.00 secs
  2049. guestfsd: <= statns (0x1a5) request length 52 bytes
  2050. [    0.930738] EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 12
  2051. guestfsd: error: /tail: Input/output error
  2052. guestfsd: => statns (0x1a5) took 0.00 secs
  2053. libguestfs: trace: statns = NULL (error)
  2054. lt-virt-tail: /tail: statns: /tail: Input/output error
  2055. libguestfs: trace: close
  2056. libguestfs: closing guestfs handle 0xdacc20 (state 2)
  2057. libguestfs: trace: internal_autosync
  2058. guestfsd: <= internal_autosync (0x11a) request length 40 bytes
  2059. umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime,errors=continue,user_xattr,acl freq=0 passno=0
  2060. umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
  2061. umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
  2062. umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=99508k,mode=755 freq=0 passno=0
  2063. umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=247216k,nr_inodes=61804,mode=755 freq=0 passno=0
  2064. umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0
  2065. umount-all: /proc/mounts: fsname=shmfs dir=/dev/shm type=tmpfs opts=rw,relatime freq=0 passno=0
  2066. umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2 opts=ro,relatime,errors=continue,user_xattr,acl freq=0 passno=0
  2067. commandrvf: stdout=n stderr=y flags=0x0
  2068. commandrvf: umount /sysroot
  2069. commandrvf: stdout=n stderr=y flags=0x0
  2070. commandrvf: udevadm --debug settle -E /dev/sdb
  2071. calling: settle
  2072. commandrvf: stdout=n stderr=y flags=0x0
  2073. commandrvf: udevadm --debug settle -E /dev/sda
  2074. calling: settle
  2075. fsync /dev/sda
  2076. guestfsd: => internal_autosync (0x11a) took 0.02 secs
  2077. libguestfs: trace: internal_autosync = 0
  2078. libguestfs: sending SIGTERM to process 7908
  2079. libguestfs: qemu maxrss 144776K
  2080. libguestfs: command: run: rm
  2081. libguestfs: command: run: \ -rf /home/nik/opensource/libguestfs/tmp/libguestfsKl5xNn
  2082. libguestfs: command: run: rm
  2083. libguestfs: command: run: \ -rf /run/user/1000/libguestfse2nChA
  2084. ++ cleanup
  2085. ++ status=1
  2086. ++ set +e
  2087. ++ guestfish --remote exit
  2088. libguestfs: trace: set_verbose true
  2089. libguestfs: trace: set_verbose = 0
  2090. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  2091. libguestfs: trace: set_tmpdir = 0
  2092. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  2093. libguestfs: trace: set_cachedir = 0
  2094. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  2095. libguestfs: trace: set_path = 0
  2096. libguestfs: create: flags = 0, handle = 0xb19830, program = guestfish
  2097. libguestfs: trace: set_pgroup true
  2098. libguestfs: trace: set_pgroup = 0
  2099. libguestfs: trace: close
  2100. libguestfs: closing guestfs handle 0x2174830 (state 2)
  2101. libguestfs: trace: internal_autosync
  2102. guestfsd: <= internal_autosync (0x11a) request length 40 bytes
  2103. umount-all: /proc/mounts: fsname=/dev/root dir=/ type=ext2 opts=rw,noatime,errors=continue,user_xattr,acl freq=0 passno=0
  2104. umount-all: /proc/mounts: fsname=/proc dir=/proc type=proc opts=rw,relatime freq=0 passno=0
  2105. umount-all: /proc/mounts: fsname=/sys dir=/sys type=sysfs opts=rw,relatime freq=0 passno=0
  2106. umount-all: /proc/mounts: fsname=tmpfs dir=/run type=tmpfs opts=rw,nosuid,relatime,size=99508k,mode=755 freq=0 passno=0
  2107. umount-all: /proc/mounts: fsname=/dev dir=/dev type=devtmpfs opts=rw,relatime,size=247216k,nr_inodes=61804,mode=755 freq=0 passno=0
  2108. umount-all: /proc/mounts: fsname=/dev/pts dir=/dev/pts type=devpts opts=rw,relatime,mode=600,ptmxmode=000 freq=0 passno=0
  2109. umount-all: /proc/mounts: fsname=shmfs dir=/dev/shm type=tmpfs opts=rw,relatime freq=0 passno=0
  2110. umount-all: /proc/mounts: fsname=/dev/sda1 dir=/sysroot type=ext2 opts=rw,relatime,errors=continue,user_xattr,acl freq=0 passno=0
  2111. commandrvf: stdout=n stderr=y flags=0x0
  2112. commandrvf: umount /sysroot
  2113. commandrvf: stdout=n stderr=y flags=0x0
  2114. commandrvf: udevadm --debug settle -E /dev/sdb
  2115. calling: settle
  2116. commandrvf: stdout=n stderr=y flags=0x0
  2117. commandrvf: udevadm --debug settle -E /dev/sda
  2118. calling: settle
  2119. fsync /dev/sda
  2120. libguestfs: trace: internal_autosync = 0
  2121. libguestfs: sending SIGTERM to process 7610
  2122. libguestfs: qemu maxrss 147048K
  2123. libguestfs: command: run: rm
  2124. libguestfs: command: run: \ -rf /home/nik/opensource/libguestfs/tmp/libguestfsfipkei
  2125. libguestfs: command: run: rm
  2126. libguestfs: command: run: \ -rf /run/user/1000/libguestfsjmXrKW
  2127. libguestfs: trace: shutdown
  2128. libguestfs: trace: shutdown = 0
  2129. libguestfs: trace: close
  2130. libguestfs: closing guestfs handle 0xb19830 (state 0)
  2131. ++ '[' 7696 -gt 0 ']'
  2132. ++ kill 7696
  2133. ./test-virt-tail.sh: line 50: kill: (7696) - No such process
  2134. ++ '[' 1 -eq 0 ']'
  2135. ++ exit 1
  2136. + cleanup
  2137. + status=1
  2138. + set +e
  2139. + guestfish --remote exit
  2140. libguestfs: trace: set_verbose true
  2141. libguestfs: trace: set_verbose = 0
  2142. libguestfs: trace: set_tmpdir "/home/nik/opensource/libguestfs/tmp"
  2143. libguestfs: trace: set_tmpdir = 0
  2144. libguestfs: trace: set_cachedir "/home/nik/opensource/libguestfs/tmp"
  2145. libguestfs: trace: set_cachedir = 0
  2146. libguestfs: trace: set_path "/home/nik/opensource/libguestfs/appliance"
  2147. libguestfs: trace: set_path = 0
  2148. libguestfs: create: flags = 0, handle = 0x162c830, program = guestfish
  2149. libguestfs: trace: set_pgroup true
  2150. libguestfs: trace: set_pgroup = 0
  2151. guestfish: remote: looks like the server is not running
  2152. libguestfs: trace: close
  2153. libguestfs: closing guestfs handle 0x162c830 (state 0)
  2154. + '[' 7696 -gt 0 ']'
  2155. + kill 7696
  2156. ./test-virt-tail.sh: line 50: kill: (7696) - No such process
  2157. + '[' 1 -eq 0 ']'
  2158. + exit 1
  2159. FAIL test-virt-tail.sh (exit status: 1)
Advertisement
Add Comment
Please, Sign In to add comment