[libvirt] Fwd: Running the test fails virnetmessagetest with libvirt 1.2.8
Martin Kletzander
mkletzan at redhat.com
Mon Sep 29 06:29:45 UTC 2014
On Mon, Sep 29, 2014 at 07:31:16AM +0200, Stefano Ricci wrote:
>hello
>To better define the problem I launched the test that fails
>virnetmessagetest with the option VIR_TEST_DEBUG = 1 and attach the result:
>
># VIR_TEST_DEBUG=1 ./virnetmessagetest
>
>TEST: virnetmessagetest
> 1) Message Header Encode ...
>libvirt: XML-RPC error : Unable to encode message header
>FAILED
> 2) Message Header Decode ...
>libvirt: XML-RPC error : Unable to decode message length
>FAILED
> 3) Message Payload Encode ...
>libvirt: XML-RPC error : Unable to encode message header
>FAILED
> 4) Message Payload Decode ...
>libvirt: XML-RPC error : Unable to decode message length
>FAILED
> 5) Message Payload Stream Encode ...
>libvirt: XML-RPC error : Unable to encode message header
>FAILED
>
>
>Is there anyone who can give me a hand to solve the problem?
>
I must say I have only slightest idea what might cause it. What
library are you using for xdr (or what's your libc)? Are you getting
this with pure glibc? I can't think of anything than non-standard
libc causing this. Although we have people running libvirt with
uClibc, libtirpc, etc. and all works well.
Martin
>thanks
>Stefano
>---------- Forwarded message ----------
>From: Stefano Ricci <sfn.rcc at gmail.com>
>Date: 2014-09-23 18:59 GMT+02:00
>Subject: Running the test fails virnetmessagetest with libvirt 1.2.8
>To: libvir-list at redhat.com
>
>
>Hello
>I apologize in advance for my English.
>I compiled the new version of libvirt 1.2.8 on an environment Development
>Linux from Scratch with the following configure:
>
>configure: Configuration summary
>configure: =====================
>configure:
>configure: Drivers
>configure:
>configure: Xen: no
>configure: QEMU: yes
>configure: UML: yes
>configure: OpenVZ: no
>configure: VMware: no
>configure: VBox: yes
>configure: XenAPI: no
>configure: xenlight: no
>configure: LXC: no
>configure: PHYP: yes
>configure: ESX: no
>configure: Hyper-V: no
>configure: Parallels: no
>configure: Bhyve: no
>configure: Test: yes
>configure: Remote: yes
>configure: Network: yes
>configure: Libvirtd: yes
>configure: Interface: yes
>configure: macvtap: yes
>configure: virtport: yes
>configure:
>configure: Storage Drivers
>configure:
>configure: Dir: yes
>configure: FS: no
>configure: NetFS: no
>configure: LVM: yes
>configure: iSCSI: yes
>configure: SCSI: yes
>configure: mpath: yes
>configure: Disk: no
>configure: RBD: no
>configure: Sheepdog: no
>configure: Gluster: no
>configure: ZFS: no
>configure:
>configure: Security Drivers
>configure:
>configure: SELinux: yes (/sys/fs/selinux)
>configure: AppArmor: no (install profiles: no)
>configure:
>configure: Driver Loadable Modules
>configure:
>configure: dlopen: -ldl
>configure:
>configure: Libraries
>configure:
>configure: apparmor: no
>configure: attr: yes (CFLAGS='' LIBS='-lattr')
>configure: audit: no
>configure: avahi: no
>configure: blkid: yes (CFLAGS='-I/install/include/blkid
>-I/install/include/uuid ' LIBS='-L/install/lib -lblkid ')
>configure: capng: no
>configure: curl: no
>configure: dbus: yes (CFLAGS='-I/usr/include/dbus-1.0
>-I/usr/lib/dbus-1.0/include ' LIBS='-ldbus-1 ')
>configure: fuse: yes (CFLAGS='-D_FILE_OFFSET_BITS=64
>-I/usr/include/fuse ' LIBS='-lfuse -pthread ')
>configure: glusterfs: no
>configure: hal: no
>configure: netcf: no
>configure: numactl: no
>configure: openwsman: no
>configure: pciaccess: yes (CFLAGS='' LIBS='-lpciaccess ')
>configure: readline: yes (CFLAGS='' LIBS='-lreadline')
>configure: sanlock: no
>configure: sasl: yes (CFLAGS='' LIBS='-lsasl2')
>configure: selinux: yes (CFLAGS='' LIBS='-lselinux')
>configure: ssh2: yes (CFLAGS='' LIBS='-lssh2 ')
>configure: systemd_daemon: no
>configure: udev: yes (CFLAGS='' LIBS='-ludev ')
>configure: yajl: yes (CFLAGS='' LIBS='-lyajl')
>configure: libxml: -I/usr/include/libxml2 -lxml2
>configure: dlopen: -ldl
>configure: openwsman: no
>configure: gnutls: -lgnutls
>configure: firewalld: no
>configure: polkit: no
>configure: xen: no
>configure: xenapi: no
>configure: xenlight: no
>configure: pcap: -I/usr/include -L/usr/lib -lpcap
>configure: nl: -I/usr/include/libnl3 -I/usr/include/libnl3 -lnl-3
> -lnl-route-3 -lnl-3
>configure: mscom: no
>configure: xdr:
>configure: rbd: no
>configure: pm-utils: yes
>configure:
>configure: Test suite
>configure:
>configure: Coverage: no
>configure: Alloc OOM: no
>configure:
>configure: Miscellaneous
>configure:
>configure: Debug: yes
>configure: Use -Werror: no
>configure: Warning Flags: -W -Waddress -Waggressive-loop-optimizations
>-Wall -Warray-bounds -Wattributes -Wbad-function-cast
>-Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered
>-Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdeprecated-declarations
>-Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body
>-Wendif-labels -Wextra -Wformat-contains-nul -Wformat-extra-args
>-Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object
>-Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration
>-Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast
>-Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain
>-Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations
>-Wmissing-field-initializers -Wmissing-include-dirs
>-Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing
>-Wnested-externs -Wnonnull -Wnormalized=nfc -Wold-style-declaration
>-Wold-style-definition -Woverflow -Woverride-init -Wpacked-bitfield-compat
>-Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast
>-Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow
>-Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes
>-Wsuggest-attribute=const -Wsuggest-attribute=format
>-Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wsync-nand
>-Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas
>-Wunused -Wunused-but-set-parameter -Wunused-but-set-variable
>-Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter
>-Wunused-result -Wunused-value -Wunused-variable -Wvarargs
>-Wvariadic-macros -Wvector-operation-performance -Wvolatile-register-var
>-Wwrite-strings -fdiagnostics-show-option -funit-at-a-time
>-Wno-sign-compare -Wjump-misses-init -Wno-format-nonliteral
>-Wframe-larger-than=4096 -fstack-protector-strong -fexceptions
>-fasynchronous-unwind-tables -fipa-pure-const -Wno-suggest-attribute=pure
>-Wno-suggest-attribute=const
>configure: DTrace: no
>configure: numad: no
>configure: XML Catalog: /etc/xml/catalog
>configure: Init script: check
>configure: Char device locks: /var/lock
>configure:
>configure: Developer Tools
>configure:
>configure: Wireshark dissector: no
>configure:
>configure: Privileges
>configure:
>configure: QEMU: root:root
>
>The compilation finishes without any problems but in the execution of the
>tests fails virnetmessagetest.
>When i tried using the libvirtd running without any problems but I can not
>run the Connection with the virsh command virsh -c qemu:///system that
>returns the following error:
>"Unable to encode message header"
>and the log shows the error:
>"virNetSocketReadWire: 1523: End of file while reading dates: Error of
>input / output".
>There 's someone who can give me a hand to solve the problem?
>
>thanks
>
>Stefano
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140929/464473e6/attachment-0001.sig>
More information about the libvir-list
mailing list