Bug 1035320

Summary: test failed during build
Product: Red Hat Enterprise Linux 6 Reporter: Levente Farkas <lfarkas>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED WORKSFORME QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: leiwang, lfarkas, ptoscano
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-20 13:56:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Levente Farkas 2013-11-27 14:37:15 UTC
/builddir/build/BUILD/libguestfs-1.20.11/run --test ./test-debug-to-file
libguestfs: trace: set_verbose true
libguestfs: trace: set_verbose = 0
libguestfs: trace: set_tmpdir "/builddir/build/BUILD/libguestfs-1.20.11/tmp"
libguestfs: trace: set_tmpdir = 0
libguestfs: trace: set_cachedir "/builddir/build/BUILD/libguestfs-1.20.11/tmp"
libguestfs: trace: set_cachedir = 0
libguestfs: trace: set_path "/builddir/build/BUILD/libguestfs-1.20.11/appliance"
libguestfs: trace: set_path = 0
libguestfs: create: flags = 0, handle = 0x766770
libguestfs: error: guestfs_launch failed, see earlier error messages
/builddir/build/BUILD/libguestfs-1.20.11/run: command failed with exit code 1
FAIL: test-debug-to-file

and with after large kernel stack dump:
[    0.122988] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: ffffffff8128affe
[    0.122988]
[    0.122988] Pid: 1, comm: swapper Tainted: G      D    ---------------    2.6.32-431.el6.x86_64 #1
[    0.122988] Call Trace:
[    0.122988]  <IRQ>  <EOI>  [<ffffffff8152a357>] ? _spin_unlock_irqrestore+0x17/0x20
[    0.122988]  [<ffffffff810e9c56>] ? set_irq_chip+0x66/0xa0
[    0.122988]  [<ffffffff810e9740>] ? handle_edge_irq+0x0/0x180
[    0.122988]  [<ffffffff810ea2b6>] ? set_irq_chip_and_handler_name+0x26/0x50
[    0.122988]  [<ffffffff8103657c>] ? setup_IO_APIC_irq+0x1ac/0x280
[    0.122988]  [<ffffffff81036a10>] ? default_cpu_mask_to_apicid_and+0x0/0x20
[    0.122988]  [<ffffffff81035129>] ? add_pin_to_irq_node_nopanic+0x69/0xa0
[    0.122988]  [<ffffffff81c3a242>] ? setup_IO_APIC+0x1f3/0x885
[    0.122988]  [<ffffffff81c3636d>] ? native_smp_prepare_cpus+0x30e/0x397
[    0.122988]  [<ffffffff81c26754>] ? kernel_init+0x10b/0x2f7
[    0.122988]  [<ffffffff8100c20a>] ? child_rip+0xa/0x20
[    0.122988]  [<ffffffff81c26649>] ? kernel_init+0x0/0x2f7
[    0.122988]  [<ffffffff8100c200>] ? child_rip+0x0/0x20
[    0.122988] Rebooting in 1 seconds..libguestfs: child_cleanup: 0x1020ba0: child process died
libguestfs: sending SIGTERM to process 30297
libguestfs: error: guestfs_launch failed, see earlier error messages
libguestfs: trace: launch = -1 (error)
libguestfs: trace: close
libguestfs: closing guestfs handle 0x1020ba0 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /builddir/build/BUILD/libguestfs-1.20.11/tmp/libguestfsJbIAk5
/builddir/build/BUILD/libguestfs-1.20.11/run: command failed with exit code 1
FAIL: rhbz957772.sh

Comment 2 Richard W.M. Jones 2013-11-27 18:03:02 UTC
I really need to see complete debug output, not extracts.

Comment 3 Levente Farkas 2013-11-28 14:51:29 UTC
it strange when i start mock with tmpfs then i've got the above error (twice), ie with:
------------------------------
config_opts['plugin_conf']['tmpfs_enable'] = True
config_opts['plugin_conf']['tmpfs_opts']['required_ram_mb'] = 23000
config_opts['plugin_conf']['tmpfs_opts']['max_fs_size'] = '22000m'
------------------------------
and of course in this case i'm not able to see the complete log:-(
but when i comment out the above 3 lines in /etc/mock/site-defaults.cfg then it's compiled without error...

Comment 4 Richard W.M. Jones 2013-11-28 15:13:09 UTC
It could be running out of disk space.  Of course without
the full log it's hard to tell, and you can't get that
if you enable tmpfs, so we're in a difficult situation :-(

Comment 5 RHEL Program Management 2013-12-01 15:45:07 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 6 Pino Toscano 2014-06-20 13:56:35 UTC
Hi Levente,

sadly there isn't much we can do without a full build log. It seems you cannot get one (most probably because of running out of space within the build root), so for now I'll close this as WORKSFORME, since libguestfs builds fine in RHEL 6.x (neither Rich nor me nor our testers got this kind of build issue).

Maybe extending the space of the tmpfs could help in getting the build done in it; please note that during the tests various helper disk images are created and removed, and this might take quite some space.