Skip to contentSkip to conversation

complete build-amd64-libvirt

xen-unstable-smoke bisection osstest service owner 7 participants 17 messages Jul 29, 2022 – Aug 4, 2022

lore
Share & tools
lore

osstest service owner

author Reviewed-by Anthony PERARD Acked-by George Dunlap Tested-by Jiamei Xie Reviewed-by Anthony PERARD Acked-by George Dunlap Tested-by Jiamei Xie
#0 lore raw

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://gitlab.com/keycodemap/keycodemapdb.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: 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/171909/

commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
Author: Oleksandr Tyshchenko <[email protected]>
Date: Fri Jul 15 22:20:24 2022 +0300

libxl: Add support for Virtio disk configuration

This patch adds basic support for configuring and assisting virtio-mmio based virtio-disk backend (emulator) which is intended to run out of Qemu and could be run in any domain.
Although the Virtio block device is quite different from traditional Xen PV block device (vbd) from the toolstack's point of view:
- as the frontend is virtio-blk which is not a Xenbus driver, nothing written to Xenstore are fetched by the frontend currently ("vdev" is not passed to the frontend). But this might need to be revised in future, so frontend data might be written to Xenstore in order to support hotplugging virtio devices or passing the backend domain id on arch where the device-tree is not available.
- the ring-ref/event-channel are not used for the backend<->frontend communication, the proposed IPC for Virtio is IOREQ/DM
it is still a "block device" and ought to be integrated in existing "disk" handling. So, re-use (and adapt) "disk" parsing/configuration logic to deal with Virtio devices as well.

For the immediate purpose and an ability to extend that support for other use-cases in future (Qemu, virtio-pci, etc) perform the following actions:
- Add new disk backend type (LIBXL_DISK_BACKEND_STANDALONE) and reflect that in the configuration
- Introduce new disk "specification" and "transport" fields to struct libxl_device_disk. Both are written to the Xenstore. The transport field is only used for the specification "virtio" and it assumes only "mmio" value for now.
- Introduce new "specification" option with "xen" communication protocol being default value.
- Add new device kind (LIBXL__DEVICE_KIND_VIRTIO_DISK) as current one (LIBXL__DEVICE_KIND_VBD) doesn't fit into Virtio disk model

An example of domain configuration for Virtio disk:
disk = [ 'phy:/dev/mmcblk0p3, xvda1, backendtype=standalone, specification=virtio']

Nothing has changed for default Xen disk configuration.

Please note, this patch is not enough for virtio-disk to work on Xen (Arm), as for every Virtio device (including disk) we need to allocate Virtio MMIO params (IRQ and memory region) and pass them to the backend, also update Guest device-tree. The subsequent patch will add these missing bits. For the current patch, the default "irq" and "base" are just written to the Xenstore. This is not an ideal splitting, but this way we avoid breaking the bisectability.

For bisection revision-tuple graph see:
http://logs.test-lab.xenproject.org/osstest/results/bisect/xen-unstable-smoke/build-amd64-libvirt.libvirt-build.html
Revision IDs in each graph node refer, respectively, to the Trees above.

----------------------------------------
Running cs-bisection-step --graph-out=/home/logs/results/bisect/xen-unstable-smoke/build-amd64-libvirt.libvirt-build --summary-out=tmp/171909.bisection-summary --basis-template=171884 --blessings=real,real-bisect,real-retry xen-unstable-smoke build-amd64-libvirt libvirt-build
Searching for failure / basis pass:
171899 fail [host=himrod1] / 171884 ok.
Failure / basis pass flights: 171899 / 171884
(tree with no url: minios)
(tree with no url: ovmf)
(tree with no url: seabios)
Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://gitlab.com/keycodemap/keycodemapdb.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 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 ca45d3cb4586372909f350e54482246f994e1bc7
Basis pass 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 f732240fd3bac25116151db5ddeb7203b62e85ce
Generating revisions with ./adhoc-revtuple-generator git://xenbits.xen.org/libvirt.git#2c846fa6bcc11929c9fb857a22430fb9945654ad-2c846fa6bcc11929c9fb857a22430fb9945654ad https://gitlab.com/keycodemap/keycodemapdb.git#27acf0ef828bf719b2053ba398b195829413dbdd-27acf0ef828bf719b2053ba398b195829413dbdd git://xenbits.xen.org/qemu-xen-traditional.git#3d273dd05e51e5a1ffba3d98c7437ee84e8f8764-3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 git://xenbits.xen.org/qemu-xen.git#b746458e1ce1bec85e58b458386f8b7a0bedf\
aa6-b746458e1ce1bec85e58b458386f8b7a0bedfaa6 git://xenbits.xen.org/xen.git#f732240fd3bac25116151db5ddeb7203b62e85ce-ca45d3cb4586372909f350e54482246f994e1bc7
Loaded 5001 nodes in revision graph
Searching for test results:
171884 pass 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 f732240fd3bac25116151db5ddeb7203b62e85ce
171909 fail 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
171899 fail 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 ca45d3cb4586372909f350e54482246f994e1bc7
171902 pass 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 f732240fd3bac25116151db5ddeb7203b62e85ce
171904 fail 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 ca45d3cb4586372909f350e54482246f994e1bc7
171905 fail 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
171906 pass 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 f732240fd3bac25116151db5ddeb7203b62e85ce
171907 fail 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
171908 pass 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 f732240fd3bac25116151db5ddeb7203b62e85ce
Searching for interesting versions
Result found: flight 171884 (pass), for basis pass
For basis failure, parent search stopping at 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 f732240fd3bac25116151db5ddeb7203b62e85ce, results HASH(0x557af26f7d68) HASH(0x557af2703340) HASH(0x557af2707f78) HASH(0x557af270bb08) Result found: flight 171899 (fail), for basis failure (at ancestor ~368) Repro found: flight 171902 (pass), for basis pass
Repro found: flight 171904 (fail), for basis failure
0 revisions at 2c846fa6bcc11929c9fb857a22430fb9945654ad 27acf0ef828bf719b2053ba398b195829413dbdd 3d273dd05e51e5a1ffba3d98c7437ee84e8f8764 b746458e1ce1bec85e58b458386f8b7a0bedfaa6 f732240fd3bac25116151db5ddeb7203b62e85ce
No revisions left to test, checking graph state.
Result found: flight 171884 (pass), for last pass
Result found: flight 171905 (fail), for first failure
Repro found: flight 171906 (pass), for last pass
Repro found: flight 171907 (fail), for first failure
Repro found: flight 171908 (pass), for last pass
Repro found: flight 171909 (fail), for first failure

*** Found and reproduced problem changeset ***

Bug is in tree: xen git://xenbits.xen.org/xen.git
Bug introduced: 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/171909/

commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
Author: Oleksandr Tyshchenko <[email protected]>
Date: Fri Jul 15 22:20:24 2022 +0300

libxl: Add support for Virtio disk configuration

This patch adds basic support for configuring and assisting virtio-mmio based virtio-disk backend (emulator) which is intended to run out of Qemu and could be run in any domain.
Although the Virtio block device is quite different from traditional Xen PV block device (vbd) from the toolstack's point of view:
- as the frontend is virtio-blk which is not a Xenbus driver, nothing written to Xenstore are fetched by the frontend currently ("vdev" is not passed to the frontend). But this might need to be revised in future, so frontend data might be written to Xenstore in order to support hotplugging virtio devices or passing the backend domain id on arch where the device-tree is not available.
- the ring-ref/event-channel are not used for the backend<->frontend communication, the proposed IPC for Virtio is IOREQ/DM
it is still a "block device" and ought to be integrated in existing "disk" handling. So, re-use (and adapt) "disk" parsing/configuration logic to deal with Virtio devices as well.

For the immediate purpose and an ability to extend that support for other use-cases in future (Qemu, virtio-pci, etc) perform the following actions:
- Add new disk backend type (LIBXL_DISK_BACKEND_STANDALONE) and reflect that in the configuration
- Introduce new disk "specification" and "transport" fields to struct libxl_device_disk. Both are written to the Xenstore. The transport field is only used for the specification "virtio" and it assumes only "mmio" value for now.
- Introduce new "specification" option with "xen" communication protocol being default value.
- Add new device kind (LIBXL__DEVICE_KIND_VIRTIO_DISK) as current one (LIBXL__DEVICE_KIND_VBD) doesn't fit into Virtio disk model

An example of domain configuration for Virtio disk:
disk = [ 'phy:/dev/mmcblk0p3, xvda1, backendtype=standalone, specification=virtio']

Nothing has changed for default Xen disk configuration.

Please note, this patch is not enough for virtio-disk to work on Xen (Arm), as for every Virtio device (including disk) we need to allocate Virtio MMIO params (IRQ and memory region) and pass them to the backend, also update Guest device-tree. The subsequent patch will add these missing bits. For the current patch, the default "irq" and "base" are just written to the Xenstore. This is not an ideal splitting, but this way we avoid breaking the bisectability.

Revision graph left in /home/logs/results/bisect/xen-unstable-smoke/build-amd64-libvirt.libvirt-build.{dot,ps,png,html,svg}.
----------------------------------------
171909: tolerable ALL FAIL

flight 171909 xen-unstable-smoke real-bisect [real]
http://logs.test-lab.xenproject.org/osstest/logs/171909/

Failures :-/ but no regressions.

Tests which did not succeed,
including tests which could not be run:
build-amd64-libvirt 6 libvirt-build fail baseline untested

jobs:
build-amd64-libvirt 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

#1 lore raw
Quoted 19 lines · osstest service owner

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://gitlab.com/keycodemap/keycodemapdb.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: 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/171909/

Quoted 5 lines

commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
Author: Oleksandr Tyshchenko <[email protected]>
Date: Fri Jul 15 22:20:24 2022 +0300

libxl: Add support for Virtio disk configuration

Just in case you didn't notice it: Something's wrong here. I didn't look at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

Jan

#2 lore raw

On 29.07.22 09:22, Jan Beulich wrote:

Hello Jan

Quoted 20 lines · osstest service owner
Quoted 19 lines

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://urldefense.com/v3/__https://gitlab.com/keycodemap/keycodemapdb.git__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpzij9yLM$ [gitlab[.]com]
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:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f
   Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce
   Last fail repro: https://urldefense.com/v3/__http://logs.test-lab.xenproject.org/osstest/logs/171909/__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpmYABJkc$ [logs[.]test-lab[.]xenproject[.]org]
Quoted 8 lines
Quoted 5 lines

commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
Author: Oleksandr Tyshchenko <[email protected]>
Date: Fri Jul 15 22:20:24 2022 +0300

libxl: Add support for Virtio disk configuration

Just in case you didn't notice it: Something's wrong here. I didn't look at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

Sorry for the breakage. At the moment I have no idea what is wrong here,

I will try to investigate and provide a fix by the end of the day.

Quoted 2 lines

Jan

Signature · 3 lines
Regards,

Oleksandr Tyshchenko
#3 lore raw

(+ Anthony)

Hi,

Quoted 29 lines · Oleksandr Tyshchenko

On 29.07.22 09:22, Jan Beulich wrote:

Hello Jan

Quoted 24 lines · osstest service owner
Quoted 23 lines

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://urldefense.com/v3/__https://gitlab.com/keycodemap/keycodemapdb.git__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpzij9yLM$ [gitlab[.]com]
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:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce
    Last fail repro: https://urldefense.com/v3/__http://logs.test-lab.xenproject.org/osstest/logs/171909/__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpmYABJkc$ [logs[.]test-lab[.]xenproject[.]org]


    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <[email protected]>
    Date:   Fri Jul 15 22:20:24 2022 +0300
Quoted 6 lines
Quoted 4 lines
Quoted 1 line

libxl: Add support for Virtio disk configuration

Just in case you didn't notice it: Something's wrong here. I didn't look at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

Sorry for the breakage. At the moment I have no idea what is wrong here,

From the build log:

../../src/libxl/xen_xl.c: In function 'xenParseXLDisk':
../../src/libxl/xen_xl.c:779:17: error: enumeration value 'LIBXL_DISK_BACKEND_STANDALONE' not handled in switch [-Werror=switch-enum]

                 switch (libxldisk->backend) {
                 ^~~~~~

The switch contains a default branch [1], so I am a bit puzzled why GCC is not happy here.

Quoted 2 lines

I will try to investigate and provide a fix by the end of the day.

So the general expectation is libvirt should be able to compile without using the new features provided by libxl.

In this case, I am not sure there is anything we could do in libxl without large rework to conditionally define LIBXL_DISK_BACKEND_STANDALONE.

So if a fix is necessary, then it will probably need to be in libvirt.

Cheers,

[1] https://xenbits.xen.org/gitweb/?p=libvirt.git;a=blob;f=src/libxl/xen_xl.c;h=f9dc18ab18b208d319282ce422f46c75135c0673;hb=refs/heads/xen-tested-master#l779

Signature · 1 line
Julien Grall
#4 lore raw

On 29.07.22 12:08, Julien Grall wrote:

Hello Julien

Quoted 60 lines

(+ Anthony)

Hi,

Quoted 33 lines · Oleksandr Tyshchenko

On 29.07.22 09:22, Jan Beulich wrote:

Hello Jan

Quoted 28 lines · osstest service owner
Quoted 27 lines

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb
https://urldefense.com/v3/__https://gitlab.com/keycodemap/keycodemapdb.git__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpzij9yLM$
[gitlab[.]com]
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: 66dd1c62b2a3c707bd5c55750d10a8223fbd577f Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro:
https://urldefense.com/v3/__http://logs.test-lab.xenproject.org/osstest/logs/171909/__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpmYABJkc$
[logs[.]test-lab[.]xenproject[.]org]

    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <[email protected]> Date:   Fri Jul 15 22:20:24 2022 +0300
            libxl: Add support for Virtio disk configuration

Quoted 6 lines
Quoted 4 lines

Just in case you didn't notice it: Something's wrong here. I didn't look
at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

Sorry for the breakage. At the moment I have no idea what is wrong here,

From the build log:

../../src/libxl/xen_xl.c: In function 'xenParseXLDisk':
../../src/libxl/xen_xl.c:779:17: error: enumeration value 'LIBXL_DISK_BACKEND_STANDALONE' not handled in switch [-Werror=switch-enum]
                 switch (libxldisk->backend) { ^~~~~~

The switch contains a default branch [1], so I am a bit puzzled why GCC is not happy here.

Quoted 2 lines

I will try to investigate and provide a fix by the end of the day.

Quoted 8 lines

So the general expectation is libvirt should be able to compile without using the new features provided by libxl.

In this case, I am not sure there is anything we could do in libxl without large rework to conditionally define LIBXL_DISK_BACKEND_STANDALONE.

So if a fix is necessary, then it will probably need to be in libvirt.

I haven't even imagined that I would need to build something else except xen tools itself to check whether patch series doesn't break anything, sorry.

I have just reproduced an issue by building libvirt according to the steps in the osstest build log (this was a fun). Except an error being reported by test there is one more, almost the similar to reported one, in libxlUpdateDiskDef() but there switch doesn't contain a default branch.

With that diff I was able to build w/o issues.

src/libxl/libxl_conf.c +0 -0
index 8e63d40376..6745212ae8 100644
@@ -1219,6 +1219,7 @@ libxlUpdateDiskDef(virDomainDiskDefPtr l_disk, 

libxl_device_disk *x_disk)
         driver = "phy";
         break;
     case LIBXL_DISK_BACKEND_UNKNOWN:
+    case LIBXL_DISK_BACKEND_STANDALONE:
         break;
     }
     if (driver)

src/libxl/xen_xl.c +1 -0
index f9dc18ab18..a55871bb56 100644
@@ -796,6 +796,7 @@ xenParseXLDisk(virConfPtr conf, virDomainDefPtr def)
                          goto fail;
                      virDomainDiskSetType(disk, VIR_STORAGE_TYPE_BLOCK);
                      break;
+                case LIBXL_DISK_BACKEND_STANDALONE:
                  default:
                      virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
                                     _("disk backend not supported: %s"),
Quoted 7 lines

Cheers,

[1]
https://urldefense.com/v3/__https://xenbits.xen.org/gitweb/?p=libvirt.git;a=blob;f=src*libxl*xen_xl.c;h=f9dc18ab18b208d319282ce422f46c75135c0673;hb=refs*heads*xen-tested-master*l779__;Ly8vLyM!!GF_29dbcQIUBPA!2IntpOXH95iBjVgHqZ8H_0-otnI7PwzKbLVSf6Dg3vsyxkrQOiJQPjPSqJliGoPuaf1JXmszMlKloTcFUDYBOA$
[xenbits[.]xen[.]org]

Signature · 3 lines
Regards,

Oleksandr Tyshchenko
#5 lore raw
In reply to Julien Grall

On 29.07.22 12:08, Julien Grall wrote:

Hello Julien

Quoted 54 lines

(+ Anthony)

Hi,

Quoted 33 lines · Oleksandr Tyshchenko

On 29.07.22 09:22, Jan Beulich wrote:

Hello Jan

Quoted 28 lines · osstest service owner
Quoted 27 lines

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb
https://urldefense.com/v3/__https://gitlab.com/keycodemap/keycodemapdb.git__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpzij9yLM$
[gitlab[.]com]
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: 66dd1c62b2a3c707bd5c55750d10a8223fbd577f Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro:
https://urldefense.com/v3/__http://logs.test-lab.xenproject.org/osstest/logs/171909/__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpmYABJkc$
[logs[.]test-lab[.]xenproject[.]org]

    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <[email protected]> Date:   Fri Jul 15 22:20:24 2022 +0300
            libxl: Add support for Virtio disk configuration

Quoted 6 lines
Quoted 4 lines

Just in case you didn't notice it: Something's wrong here. I didn't look
at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

Sorry for the breakage. At the moment I have no idea what is wrong here,

From the build log:

../../src/libxl/xen_xl.c: In function 'xenParseXLDisk':
../../src/libxl/xen_xl.c:779:17: error: enumeration value 'LIBXL_DISK_BACKEND_STANDALONE' not handled in switch [-Werror=switch-enum]
                 switch (libxldisk->backend) { ^~~~~~

Quoted 2 lines

The switch contains a default branch [1], so I am a bit puzzled why GCC is not happy here.

Libvirt seems to compiled with -Wswitch-enum

And https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html says the following:

"-Wswitch-enum

Warn whenever a switch statement has an index of enumerated type and lacks a case for one or more of the named codes of that enumeration. case labels outside the enumeration range also provoke warnings when this option is used. The only difference between -Wswitch and this option is that this option gives a warning about an omitted enumeration code even if there is a default label."

[snip]

Signature · 3 lines
Regards,

Oleksandr Tyshchenko
#6 lore raw

Hi Oleksandr,

Quoted 68 lines · Oleksandr Tyshchenko

On 29.07.22 12:08, Julien Grall wrote:

Hello Julien

Quoted 54 lines

(+ Anthony)

Hi,

Quoted 33 lines · Oleksandr Tyshchenko

On 29.07.22 09:22, Jan Beulich wrote:

Hello Jan

Quoted 28 lines · osstest service owner
Quoted 27 lines

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb
https://urldefense.com/v3/__https://gitlab.com/keycodemap/keycodemapdb.git__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpzij9yLM$
[gitlab[.]com]
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: 66dd1c62b2a3c707bd5c55750d10a8223fbd577f Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro:
https://urldefense.com/v3/__http://logs.test-lab.xenproject.org/osstest/logs/171909/__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpmYABJkc$
[logs[.]test-lab[.]xenproject[.]org]

    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <[email protected]> Date:   Fri Jul 15 22:20:24 2022 +0300
            libxl: Add support for Virtio disk configuration

Quoted 6 lines
Quoted 4 lines

Just in case you didn't notice it: Something's wrong here. I didn't look
at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

Sorry for the breakage. At the moment I have no idea what is wrong here,

From the build log:

../../src/libxl/xen_xl.c: In function 'xenParseXLDisk':
../../src/libxl/xen_xl.c:779:17: error: enumeration value 'LIBXL_DISK_BACKEND_STANDALONE' not handled in switch [-Werror=switch-enum]
                 switch (libxldisk->backend) { ^~~~~~

Quoted 2 lines

The switch contains a default branch [1], so I am a bit puzzled why GCC is not happy here.

Libvirt seems to compiled with -Wswitch-enum

And https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html says the following:

Quoted 8 lines

"-Wswitch-enum

Warn whenever a switch statement has an index of enumerated type and lacks a case for one or more of the named codes of that enumeration. case labels outside the enumeration range also provoke warnings when this option is used. The only difference between -Wswitch and this option is that this option gives a warning about an omitted enumeration code even if there is a default label."

Thanks for digging! That's explained the error. I still don't think we can solve the error in libxl.

So I would suggest to involve the libvirt folks to know how they want to solve the issue.

Cheers,

Signature · 1 line
Julien Grall
#7 lore raw
Quoted 1 line · Julien Grall

Hi Oleksandr,

Hello Julien

Quoted 81 lines · Oleksandr Tyshchenko
Quoted 70 lines · Julien Grall

Hello Julien

Quoted 56 lines

(+ Anthony)

Hi,

Quoted 35 lines · Oleksandr Tyshchenko

On 29.07.22 09:22, Jan Beulich wrote:

Hello Jan

Quoted 30 lines · osstest service owner
Quoted 29 lines

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb
https://urldefense.com/v3/__https://gitlab.com/keycodemap/keycodemapdb.git__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpzij9yLM$

[gitlab[.]com]
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: 66dd1c62b2a3c707bd5c55750d10a8223fbd577f Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro:
https://urldefense.com/v3/__http://logs.test-lab.xenproject.org/osstest/logs/171909/__;!!GF_29dbcQIUBPA!0s_nyAgds977dw0dGPgFJGkIaBiKiXH3nR11Ni6gGjN5gQmB0DEhKrm5SUX4R0WhK8YkQemR6RVhiojpmYABJkc$

[logs[.]test-lab[.]xenproject[.]org]

     commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
     Author: Oleksandr Tyshchenko <[email protected]> Date:   Fri Jul 15 22:20:24 2022 +0300
             libxl: Add support for Virtio disk configuration

Quoted 6 lines
Quoted 4 lines

Just in case you didn't notice it: Something's wrong here. I didn't look
at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

Sorry for the breakage. At the moment I have no idea what is wrong here,

 From the build log:

../../src/libxl/xen_xl.c: In function 'xenParseXLDisk':
../../src/libxl/xen_xl.c:779:17: error: enumeration value 'LIBXL_DISK_BACKEND_STANDALONE' not handled in switch [-Werror=switch-enum]
                  switch (libxldisk->backend) { ^~~~~~

Quoted 2 lines

The switch contains a default branch [1], so I am a bit puzzled why GCC is not happy here.

Libvirt seems to compiled with -Wswitch-enum

And https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html says the following:

Quoted 8 lines

"-Wswitch-enum

Warn whenever a switch statement has an index of enumerated type and lacks a case for one or more of the named codes of that enumeration. case labels outside the enumeration range also provoke warnings when this option is used. The only difference between -Wswitch and this option is that this option gives a warning about an omitted enumeration code even if there is a default label."

Quoted 3 lines

Thanks for digging! That's explained the error. I still don't think we can solve the error in libxl.

So I would suggest to involve the libvirt folks to know how they want to solve the issue.

Already pushed an immediate fix with detailed description:

https://lore.kernel.org/xen-devel/[email protected]/

Quoted 3 lines

Cheers,

Signature · 3 lines
Regards,

Oleksandr Tyshchenko
#8 lore raw
In reply to Jan Beulich

Hi Jan,

Quoted 24 lines · Jan Beulich
Quoted 23 lines · osstest service owner

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://gitlab.com/keycodemap/keycodemapdb.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:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f
   Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce
   Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/171909/


   commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
   Author: Oleksandr Tyshchenko <[email protected]>
   Date:   Fri Jul 15 22:20:24 2022 +0300
Quoted 5 lines
Quoted 1 line

libxl: Add support for Virtio disk configuration

Just in case you didn't notice it: Something's wrong here. I didn't look at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

We had discussion on IRC about this today. This is an issue in libvirt rather than Xen. So I think a revert is not warrant here.

Instead, it was suggested to force push because it is going to take some times to fix libvirt (see more below).

Oleksandr already sent a patch to fix libvirt [1]. The problem is even if this is accepted, our testing branch for libvirt is 2 years behind because they switched to Meson and Osstest has not been adapted to the new build system.

Anthony kindly offered to update Osstest.

Regarding force pushing, I am waiting for the Osstest result to confirm that only the libvirt tests are failing in staging (we already have the results for smoke). So my plan is to force push on Monday.

Please let me know on Monday morning if you have some concerns with this approach.

Cheers,

[1] https://lore.kernel.org/xen-devel/[email protected]/

Signature · 1 line
Julien Grall
#9 lore raw
Quoted 44 lines · Julien Grall

Hi Jan,

Quoted 24 lines · Jan Beulich
Quoted 23 lines · osstest service owner

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://gitlab.com/keycodemap/keycodemapdb.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:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f
   Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce
   Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/171909/


   commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
   Author: Oleksandr Tyshchenko <[email protected]>
   Date:   Fri Jul 15 22:20:24 2022 +0300
Quoted 5 lines
Quoted 1 line

libxl: Add support for Virtio disk configuration

Just in case you didn't notice it: Something's wrong here. I didn't look at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

We had discussion on IRC about this today. This is an issue in libvirt rather than Xen. So I think a revert is not warrant here.

Instead, it was suggested to force push because it is going to take some times to fix libvirt (see more below).

Oleksandr already sent a patch to fix libvirt [1]. The problem is even if this is accepted, our testing branch for libvirt is 2 years behind because they switched to Meson and Osstest has not been adapted to the new build system.

Quoted 8 lines

Anthony kindly offered to update Osstest.

Regarding force pushing, I am waiting for the Osstest result to confirm that only the libvirt tests are failing in staging (we already have the results for smoke). So my plan is to force push on Monday.

Please let me know on Monday morning if you have some concerns with this approach.

Actually I do - if we force push, the libvirt failure will stick, and hence potential further regressions introduced there would not be noticed.

Jan

#10 lore raw

(+ Committers)

Hi Jan,

Quoted 51 lines · Jan Beulich
Quoted 50 lines · Julien Grall

Hi Jan,

Quoted 24 lines · Jan Beulich
Quoted 23 lines · osstest service owner

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://gitlab.com/keycodemap/keycodemapdb.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:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce
    Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/171909/


    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <[email protected]>
    Date:   Fri Jul 15 22:20:24 2022 +0300
Quoted 5 lines
Quoted 1 line

libxl: Add support for Virtio disk configuration

Just in case you didn't notice it: Something's wrong here. I didn't look at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

We had discussion on IRC about this today. This is an issue in libvirt rather than Xen. So I think a revert is not warrant here.

Instead, it was suggested to force push because it is going to take some times to fix libvirt (see more below).

Oleksandr already sent a patch to fix libvirt [1]. The problem is even if this is accepted, our testing branch for libvirt is 2 years behind because they switched to Meson and Osstest has not been adapted to the new build system.

Anthony kindly offered to update Osstest.

Regarding force pushing, I am waiting for the Osstest result to confirm that only the libvirt tests are failing in staging (we already have the results for smoke). So my plan is to force push on Monday.

Quoted 5 lines
Quoted 2 lines

Please let me know on Monday morning if you have some concerns with this approach.

Actually I do - if we force push, the libvirt failure will stick, and hence potential further regressions introduced there would not be noticed.

Well... We haven't had any push in libvirt for the past 2 years. So to me it shows that nobody really care about the testing done. Therefore, I don't see the problem if we don't spot further regressions.

If we don't force push, we have two solutions:
1) Revert Oleksandr's series
2) Leave it until we have Osstest fixed *and* Oleksandr's patch
reached libvirt.

The former is not an option for me, because Oleksandr's series is not at fault. So this leave us to 2).

So what's your proposal?

Cheers,

Signature · 1 line
Julien Grall
#11 lore raw
Quoted 59 lines · Julien Grall

(+ Committers)

Hi Jan,

Quoted 54 lines · Jan Beulich
Quoted 52 lines · Julien Grall

Hi Jan,

Quoted 24 lines · Jan Beulich
Quoted 23 lines · osstest service owner

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb https://gitlab.com/keycodemap/keycodemapdb.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:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce
    Last fail repro: http://logs.test-lab.xenproject.org/osstest/logs/171909/


    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <[email protected]>
    Date:   Fri Jul 15 22:20:24 2022 +0300
Quoted 5 lines
Quoted 1 line

libxl: Add support for Virtio disk configuration

Just in case you didn't notice it: Something's wrong here. I didn't look at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

We had discussion on IRC about this today. This is an issue in libvirt rather than Xen. So I think a revert is not warrant here.

Instead, it was suggested to force push because it is going to take some times to fix libvirt (see more below).

Oleksandr already sent a patch to fix libvirt [1]. The problem is even if this is accepted, our testing branch for libvirt is 2 years behind because they switched to Meson and Osstest has not been adapted to the new build system.

Anthony kindly offered to update Osstest.

Regarding force pushing, I am waiting for the Osstest result to confirm that only the libvirt tests are failing in staging (we already have the results for smoke). So my plan is to force push on Monday.

Please let me know on Monday morning if you have some concerns with this approach.

Quoted 6 lines
Quoted 2 lines

Actually I do - if we force push, the libvirt failure will stick, and hence potential further regressions introduced there would not be noticed.

Well... We haven't had any push in libvirt for the past 2 years. So to me it shows that nobody really care about the testing done. Therefore, I don't see the problem if we don't spot further regressions.

I don't understand, or maybe I did express myself ambiguously: I'm not talking about libvirt regressions (in their code base), but about changes in our code regressing libvirt.

Quoted 9 lines

If we don't force push, we have two solutions:
1) Revert Oleksandr's series
2) Leave it until we have Osstest fixed *and* Oleksandr's patch
reached libvirt.

The former is not an option for me, because Oleksandr's series is not at fault. So this leave us to 2).

So what's your proposal?

It's still 1), no matter that I agree that Oleksandr's series is not directly at fault.

Jan

#12 lore raw

Hi Jan,

Quoted 6 lines · Jan Beulich
Quoted 5 lines · Julien Grall

If we don't force push, we have two solutions:
1) Revert Oleksandr's series
2) Leave it until we have Osstest fixed *and* Oleksandr's patch
reached libvirt.

Quoted 7 lines
Quoted 4 lines

The former is not an option for me, because Oleksandr's series is not at fault. So this leave us to 2).

So what's your proposal?

It's still 1), no matter that I agree that Oleksandr's series is not directly at fault.

My worry is while we have a plan to address the libvirt issues, I am not confident this could be addressed by Xen 4.17. In particular, Osstest has to be fixed and we need a push.

I think this is a bit unfair to block the virtio series on the recent lack of investment in libvirt testing.

So if we end up to revert it, this will need to be a block for Xen 4.17.

Cheers,

Signature · 1 line
Julien Grall
#13 lore raw

Hi Jan, Julien,

Quoted 21 lines

-----Original Message-----
From: Julien Grall <[email protected]>
Subject: Re: [xen-unstable-smoke bisection] complete build-amd64-libvirt

Hi Jan,

Quoted 6 lines · Jan Beulich
Quoted 5 lines · Julien Grall

If we don't force push, we have two solutions:
1) Revert Oleksandr's series
2) Leave it until we have Osstest fixed *and* Oleksandr's patch
reached libvirt.

Quoted 7 lines
Quoted 4 lines

The former is not an option for me, because Oleksandr's series is not at fault. So this leave us to 2).

So what's your proposal?

It's still 1), no matter that I agree that Oleksandr's series is not directly at fault.

Quoted 8 lines

My worry is while we have a plan to address the libvirt issues, I am not confident this could be addressed by Xen 4.17. In particular, Osstest has to be fixed and we need a push.

I think this is a bit unfair to block the virtio series on the recent lack of investment in libvirt testing.

So if we end up to revert it, this will need to be a block for Xen 4.17.

I will try to track this for Xen 4.17 release.

Kind regards,
Henry

Quoted 5 lines

Cheers,

--
Julien Grall

#14 lore raw
In reply to Julien Grall
Quoted 76 lines · Julien Grall

(+ Committers)

Hi Jan,

Quoted 54 lines · Jan Beulich
Quoted 53 lines · Julien Grall

Hi Jan,

Quoted 27 lines · Jan Beulich
Quoted 21 lines · osstest service owner

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb
https://gitlab.com/keycodemap/keycodemapdb.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:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro:
http://logs.test-lab.xenproject.org/osstest/logs/171909/

Quoted 4 lines

    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <[email protected]> Date:   Fri Jul 15 22:20:24 2022 +0300
            libxl: Add support for Virtio disk configuration

Quoted 4 lines

Just in case you didn't notice it: Something's wrong here. I didn't look
at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

We had discussion on IRC about this today. This is an issue in libvirt rather than Xen. So I think a revert is not warrant here.

Instead, it was suggested to force push because it is going to take some
times to fix libvirt (see more below).

Oleksandr already sent a patch to fix libvirt [1]. The problem is even if this is accepted, our testing branch for libvirt is 2 years behind because they switched to Meson and Osstest has not been adapted to the new build system.

Anthony kindly offered to update Osstest.

Regarding force pushing, I am waiting for the Osstest result to confirm that only the libvirt tests are failing in staging (we already have the results for smoke). So my plan is to force push on Monday.

Quoted 7 lines
Quoted 3 lines

Please let me know on Monday morning if you have some concerns with this
approach.

Actually I do - if we force push, the libvirt failure will stick, and hence potential further regressions introduced there would not be noticed.

Well... We haven't had any push in libvirt for the past 2 years. So to me it shows that nobody really care about the testing done. Therefore, I don't see the problem if we don't spot further regressions.

If we don't force push, we have two solutions:
  1) Revert Oleksandr's series
  2) Leave it until we have Osstest fixed *and* Oleksandr's patch reached libvirt.

Quoted 4 lines

The former is not an option for me, because Oleksandr's series is not at fault. So this leave us to 2).

So what's your proposal?

This situation is unfortunate, but Oleksandr's series is not at fault, and I don't think it is reasonable for libxl changes to be held hostage like this.

The testing situation with libvirt is already bad.  I don't think a force push is going to make it meaningfully worse.

~Andrew

#15 lore raw

Hi,

Quoted 80 lines · Andrew Cooper
Quoted 79 lines · Julien Grall

(+ Committers)

Hi Jan,

Quoted 54 lines · Jan Beulich
Quoted 53 lines · Julien Grall

Hi Jan,

Quoted 27 lines · Jan Beulich
Quoted 21 lines · osstest service owner

branch xen-unstable-smoke
xenbranch xen-unstable-smoke
job build-amd64-libvirt
testid libvirt-build

Tree: libvirt git://xenbits.xen.org/libvirt.git
Tree: libvirt_keycodemapdb
https://gitlab.com/keycodemap/keycodemapdb.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:  66dd1c62b2a3c707bd5c55750d10a8223fbd577f Bug not present: f732240fd3bac25116151db5ddeb7203b62e85ce Last fail repro:
http://logs.test-lab.xenproject.org/osstest/logs/171909/

Quoted 4 lines

    commit 66dd1c62b2a3c707bd5c55750d10a8223fbd577f
    Author: Oleksandr Tyshchenko <[email protected]> Date:   Fri Jul 15 22:20:24 2022 +0300
            libxl: Add support for Virtio disk configuration

Quoted 4 lines

Just in case you didn't notice it: Something's wrong here. I didn't look
at the details at all. Please advise whether a fix will soon arrive or whether we should revert for the time being.

We had discussion on IRC about this today. This is an issue in libvirt rather than Xen. So I think a revert is not warrant here.

Instead, it was suggested to force push because it is going to take some
times to fix libvirt (see more below).

Oleksandr already sent a patch to fix libvirt [1]. The problem is even if this is accepted, our testing branch for libvirt is 2 years behind because they switched to Meson and Osstest has not been adapted to the new build system.

Anthony kindly offered to update Osstest.

Regarding force pushing, I am waiting for the Osstest result to confirm that only the libvirt tests are failing in staging (we already have the results for smoke). So my plan is to force push on Monday.

Quoted 7 lines
Quoted 3 lines

Please let me know on Monday morning if you have some concerns with this
approach.

Actually I do - if we force push, the libvirt failure will stick, and hence potential further regressions introduced there would not be noticed.

Well... We haven't had any push in libvirt for the past 2 years. So to me it shows that nobody really care about the testing done. Therefore, I don't see the problem if we don't spot further regressions.

If we don't force push, we have two solutions:
  1) Revert Oleksandr's series
  2) Leave it until we have Osstest fixed *and* Oleksandr's patch
reached libvirt.

The former is not an option for me, because Oleksandr's series is not at fault. So this leave us to 2).

Quoted 8 lines
Quoted 1 line

So what's your proposal?

This situation is unfortunate, but Oleksandr's series is not at fault, and I don't think it is reasonable for libxl changes to be held hostage like this.

The testing situation with libvirt is already bad.  I don't think a force push is going to make it meaningfully worse.

I have forced pushed to the branch smoke using the flight 171899. For staging, it looks like the latest flight was testing f732240f, so we don't have one with the libvirt patches.

I am hoping the push to the smoke branch will trigger a xen-unstable flight.

Cheers,

Signature · 1 line
Julien Grall
#16 lore raw

Hi,

Quoted 7 lines · Julien Grall
Quoted 2 lines · Andrew Cooper

The testing situation with libvirt is already bad.  I don't think a force push is going to make it meaningfully worse.

I have forced pushed to the branch smoke using the flight 171899. For staging, it looks like the latest flight was testing f732240f, so we don't have one with the libvirt patches.

I am hoping the push to the smoke branch will trigger a xen-unstable flight.

master has now been forced push as well.

Cheers,

Signature · 1 line
Julien Grall