Skip to contentSkip to conversation

complete test-amd64-amd64-xl-shadow

linux-3.18 bisection osstest service owner 3 participants 10 messages Aug 24, 2018

lore
Share & tools
lore

osstest service owner

author Acked-by Marek Marczykowski-Górecki Reviewed-by Roger Pau Monné Acked-by Wei Liu Reviewed-by Andrew Cooper Acked-by Marek Marczykowski-Górecki Reviewed-by Roger Pau Monné Acked-by Wei Liu Reviewed-by Andrew Cooper
#0 lore raw

branch xen-unstable
xenbranch xen-unstable
job test-amd64-amd64-xl-shadow
testid guest-start

Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Bug not present: 83fa6552cea112a900ec7891f8c170d022fe7e20 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/126505/

commit a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Author: Paul Durrant <[email protected]>
Date: Thu Aug 9 10:59:41 2018 +0100

tools/libxenctrl: use new xenforeignmemory API to seed grant table

A previous patch added support for priv-mapping guest resources directly (rather than having to foreign-map, which requires P2M modification for HVM guests).

This patch makes use of the new API to seed the guest grant table unless the underlying infrastructure (i.e. privcmd) doesn't support it, in which case the old scheme is used.

NOTE: The call to xc_dom_gnttab_hvm_seed() in hvm_build_set_params() was
actually unnecessary, as the grant table has already been seeded by a prior call to xc_dom_gnttab_init() made by libxl__build_dom().

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-3.18/test-amd64-amd64-xl-shadow.guest-start.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Running cs-bisection-step --graph-out=/home/logs/results/bisect/linux-3.18/test-amd64-amd64-xl-shadow.guest-start --summary-out=tmp/126505.bisection-summary --basis-template=126042 --blessings=real,real-bisect linux-3.18 test-amd64-amd64-xl-shadow guest-start
Searching for failure / basis pass:
126362 fail [host=baroque0] / 126042 [host=albana1] 125899 [host=albana0] 125658 [host=elbling1] 125649 [host=fiano1] 125641 ok.
Failure / basis pass flights: 126362 / 125641
(tree with no url: minios)
(tree with no url: ovmf)
(tree with no url: seabios)
Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git
Latest 18e6ee0440a7ab853e4ca0f1403eeef1803ed970 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 4f080070a9809bde857851e68a3aeff0c4b9b6a6 3a2b8525b883baa87fe89b3da58f5c09fa599b99
Basis pass 7612025fbc7a5ab54bf71f48b99b0b6a15fc7b06 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a e3f667bc5f51d0aa44357a64ca134cd952679c81
Generating revisions with ./adhoc-revtuple-generator git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git#7612025fbc7a5ab54bf71f48b99b0b6a15fc7b06-18e6ee0440a7ab853e4ca0f1403eeef1803ed970 git://xenbits.xen.org/osstest/linux-firmware.git#c530a75c1e6a472b0eb9558310b518f0dfcd8860-c530a75c1e6a472b0eb9558310b518f0dfcd8860 git://xenbits.xen.org/qemu-xen-traditional.git#c8ea0457495342c417c3dc033bba25148b279f60-c8ea0457495342c417c3dc033bba25148b279f60 git://xenbits.xen.org/qemu-xen.git#43139135a8938de44f66333831d3a8655d07663a-4f080070a9809bde857851e68a3aeff0c4b9b6a6 git://xenbits.xen.org/xen.git#e3f667bc5f51d0aa44357a64ca134cd952679c81-3a2b8525b883baa87fe89b3da58f5c09fa599b99
adhoc-revtuple-generator: tree discontiguous: qemu-xen
Loaded 2002 nodes in revision graph
Searching for test results:
125505 [host=albana0]
125525 [host=rimava1]
125561 [host=godello0]
125641 pass 7612025fbc7a5ab54bf71f48b99b0b6a15fc7b06 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a e3f667bc5f51d0aa44357a64ca134cd952679c81
125649 [host=fiano1]
125658 [host=elbling1]
125899 [host=albana0]
126042 [host=albana1]
126189 fail irrelevant
126270 fail irrelevant
126460 pass dbba166b0e442d4d38ae0f244d32338c3e92d16f c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a a2ae81893ab7d5231052d96b84f70b5deb54a8ec
126463 pass 1b2c23459c3335ee9e0dd2cd2e2856d0201852e5 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 4b60c40659b34b6577a6bc91eb4115458a0e425f
126455 pass 7612025fbc7a5ab54bf71f48b99b0b6a15fc7b06 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a e3f667bc5f51d0aa44357a64ca134cd952679c81
126458 fail irrelevant
126362 fail 18e6ee0440a7ab853e4ca0f1403eeef1803ed970 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 4f080070a9809bde857851e68a3aeff0c4b9b6a6 3a2b8525b883baa87fe89b3da58f5c09fa599b99
126496 pass 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 83fa6552cea112a900ec7891f8c170d022fe7e20
126500 fail 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
126474 fail 18e6ee0440a7ab853e4ca0f1403eeef1803ed970 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 4f080070a9809bde857851e68a3aeff0c4b9b6a6 3a2b8525b883baa87fe89b3da58f5c09fa599b99
126477 fail 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a aa67b97ed34279c43a43d9ca46727b5746caa92e
126501 pass 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 83fa6552cea112a900ec7891f8c170d022fe7e20
126483 pass f42178c0f2f09d6e87b0a35dff3c8484eeaaa197 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 4b60c40659b34b6577a6bc91eb4115458a0e425f
126486 fail 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 9a5c16a3e75778c8a094ca87784d93b74676f46c
126489 pass 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 4b60c40659b34b6577a6bc91eb4115458a0e425f
126491 pass 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 83fa6552cea112a900ec7891f8c170d022fe7e20
126495 fail 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
126505 fail 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Searching for interesting versions
Result found: flight 125641 (pass), for basis pass
Result found: flight 126362 (fail), for basis failure
Repro found: flight 126455 (pass), for basis pass
Repro found: flight 126474 (fail), for basis failure
0 revisions at 830f9674e76d08d04585e53fc200ae8af99966e7 c530a75c1e6a472b0eb9558310b518f0dfcd8860 c8ea0457495342c417c3dc033bba25148b279f60 43139135a8938de44f66333831d3a8655d07663a 83fa6552cea112a900ec7891f8c170d022fe7e20
No revisions left to test, checking graph state.
Result found: flight 126491 (pass), for last pass
Result found: flight 126495 (fail), for first failure
Repro found: flight 126496 (pass), for last pass
Repro found: flight 126500 (fail), for first failure
Repro found: flight 126501 (pass), for last pass
Repro found: flight 126505 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Bug not present: 83fa6552cea112a900ec7891f8c170d022fe7e20 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/126505/

commit a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Author: Paul Durrant <[email protected]>
Date: Thu Aug 9 10:59:41 2018 +0100

tools/libxenctrl: use new xenforeignmemory API to seed grant table

A previous patch added support for priv-mapping guest resources directly (rather than having to foreign-map, which requires P2M modification for HVM guests).

This patch makes use of the new API to seed the guest grant table unless the underlying infrastructure (i.e. privcmd) doesn't support it, in which case the old scheme is used.

NOTE: The call to xc_dom_gnttab_hvm_seed() in hvm_build_set_params() was
actually unnecessary, as the grant table has already been seeded by a prior call to xc_dom_gnttab_init() made by libxl__build_dom().

pnmtopng: 129 colors found
Revision graph left in /home/logs/results/bisect/linux-3.18/test-amd64-amd64-xl-shadow.guest-start.{dot,ps,png,html,svg}.
----------------------------------------
126505: tolerable ALL FAIL

flight 126505 linux-3.18 real-bisect [real]
http://logs.test-lab.xenproject.org/osstest/logs/126505/

Failures :-/ but no regressions.

Tests which did not succeed,
including tests which could not be run:
test-amd64-amd64-xl-shadow 12 guest-start fail baseline untested

jobs:
test-amd64-amd64-xl-shadow 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

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#1 lore raw
Quoted 44 lines · osstest service owner

branch xen-unstable
xenbranch xen-unstable
job test-amd64-amd64-xl-shadow
testid guest-start

Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Bug not present: 83fa6552cea112a900ec7891f8c170d022fe7e20 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/126505/

commit a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Author: Paul Durrant <[email protected]>
Date: Thu Aug 9 10:59:41 2018 +0100

tools/libxenctrl: use new xenforeignmemory API to seed grant table

A previous patch added support for priv-mapping guest resources directly (rather than having to foreign-map, which requires P2M modification for HVM guests).

This patch makes use of the new API to seed the guest grant table unless the underlying infrastructure (i.e. privcmd) doesn't support it, in which case the old scheme is used.

NOTE: The call to xc_dom_gnttab_hvm_seed() in hvm_build_set_params() was
actually unnecessary, as the grant table has already been seeded by a prior call to xc_dom_gnttab_init() made by libxl__build_dom().

Quoted 3 lines

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-3.18/test-amd64-amd64-xl-shadow.guest-start.html
Revision IDs in each graph node refer, respectively, to the Trees above.

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn 0x244845
xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to acquire d1 grant table [errno=22] : Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed: Invalid argument
domainbuilder: detail: xc_dom_release: called

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 64 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:13
To: osstest service owner <[email protected]>
Cc: [email protected]; Wei Liu <[email protected]>; Paul Durrant <[email protected]>
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-amd64- xl-shadow

Quoted 6 lines · osstest service owner

branch xen-unstable
xenbranch xen-unstable
job test-amd64-amd64-xl-shadow
testid guest-start

Tree: linux git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-

stable.git

Quoted 13 lines

Tree: linuxfirmware git://xenbits.xen.org/osstest/linux-firmware.git
Tree: qemu git://xenbits.xen.org/qemu-xen-traditional.git
Tree: qemuu git://xenbits.xen.org/qemu-xen.git
Tree: xen git://xenbits.xen.org/xen.git

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Bug not present: 83fa6552cea112a900ec7891f8c170d022fe7e20 Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/126505/

Quoted 7 lines

commit a2d9a6fa1fcd2dfcfa9d1d34998156f9399a3eb2
Author: Paul Durrant <[email protected]>
Date: Thu Aug 9 10:59:41 2018 +0100

tools/libxenctrl: use new xenforeignmemory API to seed grant table

A previous patch added support for priv-mapping guest resources

directly

Quoted 4 lines

(rather than having to foreign-map, which requires P2M modification for HVM guests).

This patch makes use of the new API to seed the guest grant table

unless

Quoted 4 lines

the underlying infrastructure (i.e. privcmd) doesn't support it, in which case the old scheme is used.

NOTE: The call to xc_dom_gnttab_hvm_seed() in

hvm_build_set_params() was

Quoted 5 lines

actually unnecessary, as the grant table has already been seeded by a prior call to xc_dom_gnttab_init() made by libxl__build_dom().

Acked-by Marek Marczykowski-G??recki

<[email protected]>

Quoted 7 lines

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-

3.18/test-amd64-amd64-xl-shadow.guest-start.html

Quoted 1 line

Revision IDs in each graph node refer, respectively, to the Trees above.

Quoted 10 lines

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn 0x244845
xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to acquire d1 grant table [errno=22]
: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed:
Invalid argument
domainbuilder: detail: xc_dom_release: called

Taking a look now... Just forcing hap off doesn't generate an immediate repro so I'll have to have a closer look at the environment.

Paul

Quoted 1 line

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw
Quoted 16 lines · Paul Durrant
Quoted 5 lines
Quoted 2 lines

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-

3.18/test-amd64-amd64-xl-shadow.guest-start.html

Quoted 1 line

Revision IDs in each graph node refer, respectively, to the Trees above.

Quoted 10 lines

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn 0x244845
xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to acquire d1 grant table [errno=22]
: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed:
Invalid argument
domainbuilder: detail: xc_dom_release: called

Quoted 1 line

Taking a look now... Just forcing hap off doesn't generate an immediate repro so I'll have to have a closer look at the environment.

Note the Linux branch is 3.18. I'm not sure if that really matters.

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#4 lore raw
Quoted 27 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:35
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-amd64- xl-shadow

Quoted 9 lines · Paul Durrant
Quoted 9 lines
Quoted 2 lines

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-

3.18/test-amd64-amd64-xl-shadow.guest-start.html

Quoted 1 line

Revision IDs in each graph node refer, respectively, to the Trees above.

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn 0x244845
xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to

acquire

Quoted 7 lines
Quoted 6 lines

d1 grant table [errno=22]
: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed:
Invalid argument
domainbuilder: detail: xc_dom_release: called

Quoted 5 lines
Quoted 1 line

Taking a look now... Just forcing hap off doesn't generate an immediate

repro so I'll have to have a closer look at the environment.

Note the Linux branch is 3.18. I'm not sure if that really matters.

I think that's the guest version, which should be irrelevant. Trying to figure out from the logs what dom0 is.

Paul

Quoted 1 line

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#5 lore raw
Quoted 27 lines · Paul Durrant
Quoted 27 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:35
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-amd64- xl-shadow

Quoted 9 lines · Paul Durrant
Quoted 9 lines
Quoted 2 lines

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-

3.18/test-amd64-amd64-xl-shadow.guest-start.html

Quoted 1 line

Revision IDs in each graph node refer, respectively, to the Trees above.

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn 0x244845
xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to

acquire

Quoted 7 lines
Quoted 6 lines

d1 grant table [errno=22]
: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed:
Invalid argument
domainbuilder: detail: xc_dom_release: called

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Taking a look now... Just forcing hap off doesn't generate an immediate

repro so I'll have to have a closer look at the environment.

Note the Linux branch is 3.18. I'm not sure if that really matters.

I think that's the guest version, which should be irrelevant. Trying to figure out from the logs what dom0 is.

No. That's the host kernel.

Wei.

Quoted 4 lines

Paul

Quoted 1 line

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#6 lore raw
Quoted 43 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:38
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-amd64- xl-shadow

Quoted 7 lines · Paul Durrant
Quoted 7 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:35
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-

amd64-

Quoted 7 lines
Quoted 7 lines

xl-shadow

Quoted 4 lines · Paul Durrant
Quoted 4 lines
Quoted 2 lines

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-

3.18/test-amd64-amd64-xl-shadow.guest-start.html

Quoted 1 line

Revision IDs in each graph node refer, respectively, to the Trees

above.

Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn 0x244845
xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to

acquire

Quoted 3 lines
Quoted 3 lines

d1 grant table [errno=22]
: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init

failed:

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Invalid argument
domainbuilder: detail: xc_dom_release: called

Taking a look now... Just forcing hap off doesn't generate an immediate

repro so I'll have to have a closer look at the environment.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Note the Linux branch is 3.18. I'm not sure if that really matters.

I think that's the guest version, which should be irrelevant. Trying to figure

out from the logs what dom0 is.

No. That's the host kernel.

Ok. Got a repro with my base debian 4.9 dom0 kernel:

xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to acquire d1 grant table [errno=22] : Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed: Invalid argument
domainbuilder: detail: xc_dom_release: called
libxl: error: libxl_create.c:1266:domcreate_rebuild_done: Domain 1:cannot (re-)build domain: -3
libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 1:Non-existant domain
libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 1:Unable to destroy guest
libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 1:Destruction of domain failed

I'm guessing it is a straight bug in the fall-back that's supposed to happen if privcmd doesn't do resource mapping.

Paul

Quoted 6 lines

Wei.

Quoted 4 lines

Paul

Quoted 1 line

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#7 lore raw
Quoted 64 lines · Paul Durrant
Quoted 43 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:38
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-amd64- xl-shadow

Quoted 7 lines · Paul Durrant
Quoted 7 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:35
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-

amd64-

Quoted 7 lines
Quoted 7 lines

xl-shadow

Quoted 4 lines · Paul Durrant
Quoted 4 lines
Quoted 2 lines

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/linux-

3.18/test-amd64-amd64-xl-shadow.guest-start.html

Quoted 1 line

Revision IDs in each graph node refer, respectively, to the Trees

above.

Quoted 9 lines
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn 0x244845
xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to

acquire

Quoted 3 lines
Quoted 3 lines

d1 grant table [errno=22]
: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init

failed:

Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Invalid argument
domainbuilder: detail: xc_dom_release: called

Taking a look now... Just forcing hap off doesn't generate an immediate

repro so I'll have to have a closer look at the environment.

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines

Note the Linux branch is 3.18. I'm not sure if that really matters.

I think that's the guest version, which should be irrelevant. Trying to figure

out from the logs what dom0 is.

No. That's the host kernel.

Ok. Got a repro with my base debian 4.9 dom0 kernel:

xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to acquire d1 grant table [errno=22] : Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed: Invalid argument
domainbuilder: detail: xc_dom_release: called
libxl: error: libxl_create.c:1266:domcreate_rebuild_done: Domain 1:cannot (re-)build domain: -3
libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 1:Non-existant domain
libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 1:Unable to destroy guest
libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 1:Destruction of domain failed

Quoted 1 line

I'm guessing it is a straight bug in the fall-back that's supposed to happen if privcmd doesn't do resource mapping.

There are a lot of failed tests for the same step on 4.9 branch as well. I guess that is caused by the same issue.

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#8 lore raw
Quoted 83 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:50
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-amd64- xl-shadow

Quoted 7 lines · Paul Durrant
Quoted 7 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:38
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-

amd64-

Quoted 10 lines
Quoted 10 lines

xl-shadow

Quoted 7 lines · Paul Durrant
Quoted 7 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:35
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-

Quoted 6 lines
Quoted 6 lines

amd64-

Quoted 5 lines
Quoted 5 lines

xl-shadow

Quoted 2 lines · Paul Durrant
Quoted 2 lines
Quoted 2 lines

For bisection revision-tuple graph see:

   http://logs.test-

lab.xenproject.org/osstest/results/bisect/linux-

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

3.18/test-amd64-amd64-xl-shadow.guest-start.html

Quoted 1 line

Revision IDs in each graph node refer, respectively, to the Trees

above.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn 0x244845
xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed

to

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

acquire

Quoted 3 lines
Quoted 3 lines

d1 grant table [errno=22]
: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom:

xc_dom_gnttab_init

Quoted 6 lines
Quoted 6 lines

failed:

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

Invalid argument
domainbuilder: detail: xc_dom_release: called

Taking a look now... Just forcing hap off doesn't generate an

immediate

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

repro so I'll have to have a closer look at the environment.

Note the Linux branch is 3.18. I'm not sure if that really matters.

I think that's the guest version, which should be irrelevant. Trying to

figure

Quoted 9 lines
Quoted 4 lines

out from the logs what dom0 is.

No. That's the host kernel.

Ok. Got a repro with my base debian 4.9 dom0 kernel:

xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to

acquire d1 grant table [errno=22]

Quoted 2 lines

: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed:

Invalid argument

Quoted 2 lines

domainbuilder: detail: xc_dom_release: called
libxl: error: libxl_create.c:1266:domcreate_rebuild_done: Domain 1:cannot

(re-)build domain: -3

Quoted 1 line

libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 1:Non-

existant domain

Quoted 1 line

libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain 1:Unable

to destroy guest

Quoted 8 lines
Quoted 1 line

libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 1:Destruction

of domain failed

Quoted 2 lines

I'm guessing it is a straight bug in the fall-back that's supposed to happen if

privcmd doesn't do resource mapping.

There are a lot of failed tests for the same step on 4.9 branch as well. I guess that is caused by the same issue.

It's looking like privcmd is failing the ioctl with EINVAL rather than ENOTTY or EOPNOTSUPP for some reason. I'll need to look at the older privcmd source.

Paul

Quoted 1 line

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#9 lore raw
Quoted 104 lines

-----Original Message-----
From: Xen-devel [mailto:[email protected]] On Behalf Of Paul Durrant
Sent: 24 August 2018 10:52
To: Wei Liu <[email protected]>
Cc: [email protected]; Wei Liu <[email protected]>; osstest service owner <[email protected]>
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-amd64- xl-shadow

Quoted 7 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:50
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-

amd64-

Quoted 21 lines

xl-shadow

Quoted 7 lines · Paul Durrant
Quoted 7 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:38
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-amd64-

amd64-

Quoted 10 lines
Quoted 10 lines

xl-shadow

Quoted 7 lines · Paul Durrant
Quoted 7 lines

-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 24 August 2018 10:35
To: Paul Durrant <[email protected]>
Cc: Wei Liu <[email protected]>; osstest service owner <osstest- [email protected]>; [email protected]
Subject: Re: [Xen-devel] [linux-3.18 bisection] complete test-

amd64-

Quoted 9 lines
Quoted 6 lines
Quoted 6 lines

amd64-

Quoted 5 lines
Quoted 5 lines

xl-shadow

Quoted 2 lines · Paul Durrant
Quoted 2 lines
Quoted 2 lines

For bisection revision-tuple graph see:

   http://logs.test-

lab.xenproject.org/osstest/results/bisect/linux-

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

3.18/test-amd64-amd64-xl-shadow.guest-start.html

Quoted 1 line

Revision IDs in each graph node refer, respectively, to the

Trees

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

above.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

domainbuilder: detail: vcpu_x86_64: called
domainbuilder: detail: vcpu_x86_64: cr3: pfn 0x2245 mfn

0x244845

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed:

failed

Quoted 25 lines

to

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

acquire

Quoted 3 lines
Quoted 3 lines

d1 grant table [errno=22]
: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom:

xc_dom_gnttab_init

Quoted 6 lines
Quoted 6 lines

failed:

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

Invalid argument
domainbuilder: detail: xc_dom_release: called

Taking a look now... Just forcing hap off doesn't generate an

immediate

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

repro so I'll have to have a closer look at the environment.

Note the Linux branch is 3.18. I'm not sure if that really matters.

I think that's the guest version, which should be irrelevant. Trying to

figure

Quoted 5 lines
Quoted 4 lines

out from the logs what dom0 is.

No. That's the host kernel.

Quoted 10 lines
Quoted 4 lines

Ok. Got a repro with my base debian 4.9 dom0 kernel:

xenforeignmemory: error: ioctl failed: Invalid argument
xc: error: panic: xc_dom_boot.c:420: xc_dom_gnttab_seed: failed to

acquire d1 grant table [errno=22]

Quoted 2 lines

: Internal error
libxl: error: libxl_dom.c:750:libxl__build_dom: xc_dom_gnttab_init failed:

Invalid argument

Quoted 2 lines

domainbuilder: detail: xc_dom_release: called
libxl: error: libxl_create.c:1266:domcreate_rebuild_done: Domain

1:cannot

Quoted 4 lines

(re-)build domain: -3

Quoted 1 line

libxl: error: libxl_domain.c:1034:libxl__destroy_domid: Domain 1:Non-

existant domain

Quoted 1 line

libxl: error: libxl_domain.c:993:domain_destroy_callback: Domain

1:Unable

Quoted 5 lines

to destroy guest

Quoted 1 line

libxl: error: libxl_domain.c:920:domain_destroy_cb: Domain 1:Destruction

of domain failed

Quoted 2 lines

I'm guessing it is a straight bug in the fall-back that's supposed to happen

Quoted 9 lines

if

Quoted 4 lines

privcmd doesn't do resource mapping.

There are a lot of failed tests for the same step on 4.9 branch as well. I guess that is caused by the same issue.

It's looking like privcmd is failing the ioctl with EINVAL rather than ENOTTY or EOPNOTSUPP for some reason. I'll need to look at the older privcmd source.

Yep, it was a bug in privcmd. I fixed it in https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/xen/privcmd.c?id=dc9eab6fd94dd26340749321bba2c58634761516 but we're clearly going to need to tolerate the old behaviour. I'll send a patch shortly.

Paul

Quoted 8 lines

Paul

Quoted 1 line

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel