Skip to contentSkip to conversation

92667: regressions - FAIL

libvirt test osstest service owner 4 participants 7 messages Apr 25, 2016 – Apr 28, 2016

lore
Share & tools
lore
#0 lore raw

flight 92667 libvirt real [real]
http://logs.test-lab.xenproject.org/osstest/logs/92667/

Regressions :-(

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-libvirt 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-vhd 13 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt 14 guest-saverestore fail REGR. vs. 91479

Tests which did not succeed, but are not blocking:

 test-armhf-armhf-libvirt-xsm 12 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt-xsm 14 guest-saverestore            fail   never pass
 test-amd64-i386-libvirt      12 migrate-support-check        fail   never pass
 test-amd64-amd64-libvirt-xsm 12 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt-raw 13 guest-saverestore            fail   never pass
 test-armhf-armhf-libvirt-raw 11 migrate-support-check        fail   never pass
 test-armhf-armhf-libvirt     14 guest-saverestore            fail   never pass
 test-armhf-armhf-libvirt     12 migrate-support-check        fail   never pass
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 10 migrate-support-check fail never pass
 test-amd64-i386-libvirt-xsm  12 migrate-support-check        fail   never pass
 test-amd64-amd64-libvirt-vhd 11 migrate-support-check        fail   never pass

test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 10 migrate-support-check fail never pass
test-amd64-amd64-libvirt 12 migrate-support-check fail never pass
test-armhf-armhf-libvirt-qcow2 11 migrate-support-check fail never pass
test-armhf-armhf-libvirt-qcow2 13 guest-saverestore fail never pass

version targeted for testing:
libvirt 856e84a51675a0dccf0bde3e5e7bcf83eb708c02
baseline version:
libvirt 8b62c65d24bdb20121d3147b4f4dc98bac4f024b

Last test of basis    91479  2016-04-15 05:33:51 Z   10 days
Failing since         91597  2016-04-16 04:20:46 Z    9 days   10 attempts
Testing same since    92533  2016-04-24 04:28:00 Z    1 days    2 attempts

------------------------------------------------------------
People who touched revisions under test:
Andrea Bolognani <[email protected]> Cole Robinson <[email protected]>
Dmitry Andreev <[email protected]> Erik Skultety <[email protected]>
Jason J. Herne <[email protected]> Jim Fehlig <[email protected]>
Jiri Denemark <[email protected]>
John Ferlan <[email protected]>
Ján Tomko <[email protected]>
Laine Stump <[email protected]>
Martin Kletzander <[email protected]> Maxim Nestratov <[email protected]> Michal Privoznik <[email protected]> Mikhail Feoktistov <[email protected]> Nikolay Shirokovskiy <[email protected]> Nitesh Konkar <[email protected]> Nitesh Konkar <[email protected]> Olga Krishtal <[email protected]> Peter Krempa <[email protected]>
Richard Laager <[email protected]> Richard W.M. Jones <[email protected]> Roman Bogorodskiy <[email protected]> Simon Arlott <[email protected]>

jobs:

 build-amd64-xsm                                              pass    
 build-armhf-xsm                                              pass    
 build-i386-xsm                                               pass    
 build-amd64                                                  pass    
 build-armhf                                                  pass    
 build-i386                                                   pass    
 build-amd64-libvirt                                          pass    
 build-armhf-libvirt                                          pass    
 build-i386-libvirt                                           pass    
 build-amd64-pvops                                            pass    
 build-armhf-pvops                                            pass    
 build-i386-pvops                                             pass    
 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm           fail    
 test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm            fail    
 test-amd64-amd64-libvirt-xsm                                 fail    
 test-armhf-armhf-libvirt-xsm                                 fail    
 test-amd64-i386-libvirt-xsm                                  fail    
 test-amd64-amd64-libvirt                                     fail    
 test-armhf-armhf-libvirt                                     fail    
 test-amd64-i386-libvirt                                      fail    
 test-amd64-amd64-libvirt-pair                                fail    
 test-amd64-i386-libvirt-pair                                 fail    
 test-armhf-armhf-libvirt-qcow2                               fail    
 test-armhf-armhf-libvirt-raw                                 fail    
 test-amd64-amd64-libvirt-vhd                                 fail    

------------------------------------------------------------
sg-report-flight on osstest.test-lab.xenproject.org
logs: /home/logs/logs
images: /home/logs/images

Logs, config files, etc. are available at
http://logs.test-lab.xenproject.org/osstest/logs

Explanation of these reports, and of osstest in general, is at
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README.email;hb=master
http://xenbits.xen.org/gitweb/?p=osstest.git;a=blob;f=README;hb=master

Test harness code can be found at
http://xenbits.xen.org/gitweb?p=osstest.git;a=summary

Not pushing.

(No revision log; it would be 1823 lines long.)

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 5 lines · osstest service owner

flight 92667 libvirt real [real]
http://logs.test-lab.xenproject.org/osstest/logs/92667/

Regressions :-(

Quoted 11 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-libvirt 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-vhd 13 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt 14 guest-saverestore fail REGR. vs. 91479

All of these save/restore and migration failures show the following error on the restore side

2016-04-25 10:16:18 UTC libxl: error:
libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [26771] exited
with error status 1
2016-04-25 10:16:18 UTC libxl: error: libxl_utils.c:507:libxl_read_exactly:
file/stream truncated reading ipc msg header from domain 1 save/restore helper
stdout pipe
2016-04-25 10:16:18 UTC libxl: error:

libxl_exec.c:129:libxl_report_child_exitstatus: domain 1 save/restore helper [26772] died due to fatal signal Terminated

I'm not sure if this problem has already been addressed by recent migration-related fixes.

Regards,
Jim

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#2 lore raw
Quoted 27 lines · Jim Fehlig
Quoted 5 lines · osstest service owner

flight 92667 libvirt real [real]
http://logs.test-lab.xenproject.org/osstest/logs/92667/

Regressions :-(

Quoted 11 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-libvirt 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-vhd 13 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt 14 guest-saverestore fail REGR. vs. 91479

All of these save/restore and migration failures show the following error on the restore side

2016-04-25 10:16:18 UTC libxl: error:
libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [26771] exited
with error status 1
2016-04-25 10:16:18 UTC libxl: error: libxl_utils.c:507:libxl_read_exactly:
file/stream truncated reading ipc msg header from domain 1 save/restore helper
stdout pipe
2016-04-25 10:16:18 UTC libxl: error:
Quoted 5 lines

libxl_exec.c:129:libxl_report_child_exitstatus: domain 1 save/restore helper [26772] died due to fatal signal Terminated

I'm not sure if this problem has already been addressed by recent migration-related fixes.

This is testing two different versions of libvirt against the same version of libxl.

Looking at
http://logs.test-lab.xenproject.org/osstest/logs/92667/test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm/italia0---var-log-libvirt-libxl-libxl-driver.log

2016-04-25 08:36:03 UTC xc: progress: End of stream: 0/0    0%

indicates that the save side is in v2 format (which is expected). (I should add at least an info print in libxl_stream_write() indicating the pertinent details).

On the restore side,

2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:358:stream_header_done: Stream v2 (from legacy)
2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:574:process_record: Record: 1, length 0
2016-04-25 08:36:20 UTC libxl: error:

libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [3909] exited with error status 1

which means that the restore code was told that the stream was in legacy format. The legacy conversion script was forked and found that the stream wasn't legacy. (I have no idea where the real error message went from that - it should be plumbed through into a info message, and definitely does work when running xl on the command line).

I suspect this is breakage from the LIBXL_ABI_VERSION changes.

Because of the short-sightest mess that legacy migration was, it is not possible for libxl to distinguish a legacy stream from a v2 stream in libxl_domain_create_restore(). The caller (i.e. libvirt) must provide the correct stream version in libxl_domain_restore_params.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#3 lore raw
Quoted 61 lines · Andrew Cooper
Quoted 27 lines · Jim Fehlig
Quoted 5 lines · osstest service owner

flight 92667 libvirt real [real]
http://logs.test-lab.xenproject.org/osstest/logs/92667/

Regressions :-(

Quoted 11 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-libvirt 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-vhd 13 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt 14 guest-saverestore fail REGR. vs. 91479

All of these save/restore and migration failures show the following error on the restore side

2016-04-25 10:16:18 UTC libxl: error:
libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [26771] exited
with error status 1
2016-04-25 10:16:18 UTC libxl: error: libxl_utils.c:507:libxl_read_exactly:
file/stream truncated reading ipc msg header from domain 1 save/restore helper
stdout pipe
2016-04-25 10:16:18 UTC libxl: error:
Quoted 5 lines

libxl_exec.c:129:libxl_report_child_exitstatus: domain 1 save/restore helper [26772] died due to fatal signal Terminated

I'm not sure if this problem has already been addressed by recent migration-related fixes.

This is testing two different versions of libvirt against the same version of libxl.

Looking at
http://logs.test-lab.xenproject.org/osstest/logs/92667/test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm/italia0---var-log-libvirt-libxl-libxl-driver.log

2016-04-25 08:36:03 UTC xc: progress: End of stream: 0/0    0%

indicates that the save side is in v2 format (which is expected). (I should add at least an info print in libxl_stream_write() indicating the pertinent details).

On the restore side,

2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:358:stream_header_done: Stream v2 (from legacy)
2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:574:process_record: Record: 1, length 0
2016-04-25 08:36:20 UTC libxl: error:

libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [3909] exited with error status 1

which means that the restore code was told that the stream was in legacy format. The legacy conversion script was forked and found that the stream wasn't legacy. (I have no idea where the real error message went from that - it should be plumbed through into a info message, and definitely does work when running xl on the command line).

Quoted 6 lines

I suspect this is breakage from the LIBXL_ABI_VERSION changes.

Because of the short-sightest mess that legacy migration was, it is not possible for libxl to distinguish a legacy stream from a v2 stream in libxl_domain_create_restore(). The caller (i.e. libvirt) must provide the correct stream version in libxl_domain_restore_params.

How do I handle the case of a libvirt+Xen migV2 host migrating a domain to a libvirt+Xen migV1 host? Do you know how that scenario is handled in xl? Or is migrating a domain from migV2 host to migV1 host not supported?

Thanks for the help.

Regards,
Jim

Quoted 3 lines

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#4 lore raw
Quoted 64 lines · Jim Fehlig
Quoted 63 lines · Andrew Cooper
Quoted 27 lines · Jim Fehlig
Quoted 5 lines · osstest service owner

flight 92667 libvirt real [real]
http://logs.test-lab.xenproject.org/osstest/logs/92667/

Regressions :-(

Quoted 11 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-libvirt 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-vhd 13 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt 14 guest-saverestore fail REGR. vs. 91479

All of these save/restore and migration failures show the following error on the restore side

2016-04-25 10:16:18 UTC libxl: error:
libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [26771] exited
with error status 1
2016-04-25 10:16:18 UTC libxl: error: libxl_utils.c:507:libxl_read_exactly:
file/stream truncated reading ipc msg header from domain 1 save/restore helper
stdout pipe
2016-04-25 10:16:18 UTC libxl: error:
Quoted 5 lines

libxl_exec.c:129:libxl_report_child_exitstatus: domain 1 save/restore helper [26772] died due to fatal signal Terminated

I'm not sure if this problem has already been addressed by recent migration-related fixes.

This is testing two different versions of libvirt against the same version of libxl.

Looking at
http://logs.test-lab.xenproject.org/osstest/logs/92667/test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm/italia0---var-log-libvirt-libxl-libxl-driver.log

2016-04-25 08:36:03 UTC xc: progress: End of stream: 0/0    0%

indicates that the save side is in v2 format (which is expected). (I should add at least an info print in libxl_stream_write() indicating the pertinent details).

On the restore side,

2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:358:stream_header_done: Stream v2 (from legacy)
2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:574:process_record: Record: 1, length 0
2016-04-25 08:36:20 UTC libxl: error:

libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [3909] exited with error status 1

which means that the restore code was told that the stream was in legacy format. The legacy conversion script was forked and found that the stream wasn't legacy. (I have no idea where the real error message went from that - it should be plumbed through into a info message, and definitely does work when running xl on the command line).

I suspect this is breakage from the LIBXL_ABI_VERSION changes.

Quoted 9 lines
Quoted 4 lines

Because of the short-sightest mess that legacy migration was, it is not possible for libxl to distinguish a legacy stream from a v2 stream in libxl_domain_create_restore(). The caller (i.e. libvirt) must provide the correct stream version in libxl_domain_restore_params.

How do I handle the case of a libvirt+Xen migV2 host migrating a domain to a libvirt+Xen migV1 host? Do you know how that scenario is handled in xl? Or is migrating a domain from migV2 host to migV1 host not supported?

I don't think this configuration is supported. Obviously an old xen system wouldn't have knowledge of the new format.

Wei.

Quoted 8 lines

Thanks for the help.

Regards,
Jim

Quoted 3 lines

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw
Quoted 69 lines · Wei Liu
Quoted 68 lines · Jim Fehlig
Quoted 67 lines · Andrew Cooper
Quoted 27 lines · Jim Fehlig
Quoted 5 lines · osstest service owner

flight 92667 libvirt real [real]
http://logs.test-lab.xenproject.org/osstest/logs/92667/

Regressions :-(

Quoted 11 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-libvirt 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-vhd 13 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt 14 guest-saverestore fail REGR. vs. 91479

All of these save/restore and migration failures show the following error on the restore side

2016-04-25 10:16:18 UTC libxl: error:
libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [26771] exited
with error status 1
2016-04-25 10:16:18 UTC libxl: error: libxl_utils.c:507:libxl_read_exactly:
file/stream truncated reading ipc msg header from domain 1 save/restore helper
stdout pipe
2016-04-25 10:16:18 UTC libxl: error:
Quoted 5 lines

libxl_exec.c:129:libxl_report_child_exitstatus: domain 1 save/restore helper [26772] died due to fatal signal Terminated

I'm not sure if this problem has already been addressed by recent migration-related fixes.

This is testing two different versions of libvirt against the same version of libxl.

Looking at
http://logs.test-lab.xenproject.org/osstest/logs/92667/test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm/italia0---var-log-libvirt-libxl-libxl-driver.log

2016-04-25 08:36:03 UTC xc: progress: End of stream: 0/0    0%

indicates that the save side is in v2 format (which is expected). (I should add at least an info print in libxl_stream_write() indicating the pertinent details).

On the restore side,

2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:358:stream_header_done: Stream v2 (from legacy)
2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:574:process_record: Record: 1, length 0
2016-04-25 08:36:20 UTC libxl: error:

libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [3909] exited with error status 1

which means that the restore code was told that the stream was in legacy format. The legacy conversion script was forked and found that the stream wasn't legacy. (I have no idea where the real error message went from that - it should be plumbed through into a info message, and definitely does work when running xl on the command line).

I suspect this is breakage from the LIBXL_ABI_VERSION changes.

Because of the short-sightest mess that legacy migration was, it is not possible for libxl to distinguish a legacy stream from a v2 stream in libxl_domain_create_restore(). The caller (i.e. libvirt) must provide the correct stream version in libxl_domain_restore_params.

Quoted 6 lines
Quoted 4 lines

How do I handle the case of a libvirt+Xen migV2 host migrating a domain to a libvirt+Xen migV1 host? Do you know how that scenario is handled in xl? Or is migrating a domain from migV2 host to migV1 host not supported?

I don't think this configuration is supported. Obviously an old xen system wouldn't have knowledge of the new format.

An older Xen (4.5 or earlier) will always produce "legacy" format streams.

A newer Xen (4.6 and later) will always produce v2 format streams. They can also accept and convert incoming legacy streams, for backwards compatibility.

Basically, libvirt needs to know the version of libxl on the source side of the migration, and use this information to inform the local libxl whether it is being given a legacy or a v2 stream.

I realise this position sucks, but the legacy migration format was really that broken.

Migration v2 has a deliberate marker which can be unambiguously distinguished from a legacy stream, but the the issue for libxl is that the migration fd is typically unseekable, so it can't peek ahead.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw
In reply to Andrew Cooper
Quoted 56 lines · Andrew Cooper
Quoted 27 lines · Jim Fehlig
Quoted 5 lines · osstest service owner

flight 92667 libvirt real [real]
http://logs.test-lab.xenproject.org/osstest/logs/92667/

Regressions :-(

Quoted 11 lines

Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-libvirt 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-i386-libvirt-pair 21 guest-migrate/src_host/dst_host fail REGR. vs. 91479 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-xsm 14 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt-vhd 13 guest-saverestore fail REGR. vs. 91479
test-amd64-i386-libvirt-qemuu-debianhvm-amd64-xsm 12 guest-saverestore fail REGR. vs. 91479
test-amd64-amd64-libvirt 14 guest-saverestore fail REGR. vs. 91479

All of these save/restore and migration failures show the following error on the restore side

2016-04-25 10:16:18 UTC libxl: error:
libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [26771] exited
with error status 1
2016-04-25 10:16:18 UTC libxl: error: libxl_utils.c:507:libxl_read_exactly:
file/stream truncated reading ipc msg header from domain 1 save/restore helper
stdout pipe
2016-04-25 10:16:18 UTC libxl: error:
Quoted 5 lines

libxl_exec.c:129:libxl_report_child_exitstatus: domain 1 save/restore helper [26772] died due to fatal signal Terminated

I'm not sure if this problem has already been addressed by recent migration-related fixes.

This is testing two different versions of libvirt against the same version of libxl.

Looking at
http://logs.test-lab.xenproject.org/osstest/logs/92667/test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm/italia0---var-log-libvirt-libxl-libxl-driver.log

2016-04-25 08:36:03 UTC xc: progress: End of stream: 0/0    0%

indicates that the save side is in v2 format (which is expected). (I should add at least an info print in libxl_stream_write() indicating the pertinent details).

On the restore side,

2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:358:stream_header_done: Stream v2 (from legacy)
2016-04-25 08:36:20 UTC libxl: debug:
libxl_stream_read.c:574:process_record: Record: 1, length 0
2016-04-25 08:36:20 UTC libxl: error:

libxl_exec.c:118:libxl_report_child_exitstatus: conversion helper [3909] exited with error status 1

Quoted 8 lines

which means that the restore code was told that the stream was in legacy format. The legacy conversion script was forked and found that the stream wasn't legacy. (I have no idea where the real error message went from that - it should be plumbed through into a info message, and definitely does work when running xl on the command line).

I suspect this is breakage from the LIBXL_ABI_VERSION changes.

Correct.

Now libvirt specifies API version to be 4.2. The function libxl_domain_create_restore_0x040200 calls libxl_domain_restore_params_init, which explicitly sets stream_version to 1.

A stopgap solution would be to use newer version of the API -- maybe bump to 4.6 or something. Then we can think about sorting out cross version migration in libvirt.

FWIW xl has a way of figuring out which version the stream is and set the version accordingly.

Wei.

Quoted 6 lines

Because of the short-sightest mess that legacy migration was, it is not possible for libxl to distinguish a legacy stream from a v2 stream in libxl_domain_create_restore(). The caller (i.e. libvirt) must provide the correct stream version in libxl_domain_restore_params.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel