179607: regressions - trouble: fail/pass/starved
Subsystems (2)
flight 179607 linux-linus real [real]
http://logs.test-lab.xenproject.org/osstest/logs/179607/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-freebsd12-amd64 13 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-credit1 19 guest-saverestore.2 fail REGR. vs. 178042 test-amd64-amd64-xl-shadow 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-pvshim 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-dom0pvh-xl-amd 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-xsm 18 guest-localmigrate fail REGR. vs. 178042 test-amd64-amd64-xl-pvhv2-amd 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-freebsd11-amd64 13 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-multivcpu 20 guest-localmigrate/x10 fail REGR. vs. 178042 test-amd64-amd64-libvirt-pair 25 guest-start/debian fail REGR. vs. 178042 test-amd64-amd64-libvirt-xsm 19 guest-stop fail REGR. vs. 178042 test-amd64-amd64-libvirt 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-qemuu-debianhvm-i386-xsm 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-xl-credit2 17 guest-saverestore fail REGR. vs. 178042 test-amd64-coresched-amd64-xl 14 guest-start fail REGR. vs. 178042 test-arm64-arm64-xl-xsm 14 guest-start fail REGR. vs. 178042 test-arm64-arm64-xl-credit1 14 guest-start fail REGR. vs. 178042 test-arm64-arm64-xl-credit2 14 guest-start fail REGR. vs. 178042 test-arm64-arm64-libvirt-xsm 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 16 guest-saverestore.2 fail REGR. vs. 178042 test-arm64-arm64-xl 18 guest-start/debian.repeat fail REGR. vs. 178042 test-arm64-arm64-xl-thunderx 18 guest-start/debian.repeat fail REGR. vs. 178042 test-amd64-amd64-xl-qemut-debianhvm-i386-xsm 18 guest-localmigrate/x10 fail REGR. vs. 178042 test-amd64-amd64-qemuu-nested-intel 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-xl-qemuu-dmrestrict-amd64-dmrestrict 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-xl-qemuu-debianhvm-amd64 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-xl-qemuu-ovmf-amd64 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-xl-qemut-debianhvm-amd64 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-pair 25 guest-start/debian fail REGR. vs. 178042 test-amd64-amd64-qemuu-nested-amd 12 debian-hvm-install fail REGR. vs. 178042 test-amd64-amd64-xl-pvhv2-intel 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-dom0pvh-xl-intel 14 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-vhd 12 debian-di-install fail REGR. vs. 178042 test-amd64-amd64-pygrub 12 debian-di-install fail REGR. vs. 178042 test-amd64-amd64-libvirt-raw 12 debian-di-install fail REGR. vs. 178042 test-amd64-amd64-libvirt-qcow2 12 debian-di-install fail REGR. vs. 178042 test-arm64-arm64-xl-vhd 12 debian-di-install fail REGR. vs. 178042 test-arm64-arm64-libvirt-raw 12 debian-di-install fail REGR. vs. 178042
Regressions which are regarded as allowable (not blocking):
test-amd64-amd64-xl-rtds 14 guest-start fail REGR. vs. 178042
Tests which did not succeed, but are not blocking:
test-amd64-amd64-xl-qemut-win7-amd64 19 guest-stop fail like 178042 test-amd64-amd64-xl-qemuu-win7-amd64 19 guest-stop fail like 178042 test-amd64-amd64-xl-qemuu-ws16-amd64 19 guest-stop fail like 178042 test-amd64-amd64-xl-qemut-ws16-amd64 19 guest-stop fail like 178042 test-amd64-amd64-libvirt-xsm 15 migrate-support-check fail never pass test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm 13 migrate-support-check fail never pass test-arm64-arm64-xl 15 migrate-support-check fail never pass test-arm64-arm64-xl 16 saverestore-support-check fail never pass test-arm64-arm64-xl-thunderx 15 migrate-support-check fail never pass test-arm64-arm64-xl-thunderx 16 saverestore-support-check fail never pass test-armhf-armhf-examine 1 build-check(1) starved n/a test-armhf-armhf-libvirt 1 build-check(1) starved n/a test-armhf-armhf-libvirt-qcow2 1 build-check(1) starved n/a test-armhf-armhf-libvirt-raw 1 build-check(1) starved n/a test-armhf-armhf-xl 1 build-check(1) starved n/a test-armhf-armhf-xl-credit1 1 build-check(1) starved n/a test-armhf-armhf-xl-credit2 1 build-check(1) starved n/a test-armhf-armhf-xl-cubietruck 1 build-check(1) starved n/a test-armhf-armhf-xl-multivcpu 1 build-check(1) starved n/a test-armhf-armhf-xl-rtds 1 build-check(1) starved n/a test-armhf-armhf-xl-vhd 1 build-check(1) starved n/a build-armhf-libvirt 1 build-check(1) starved n/a build-armhf 2 hosts-allocate starved n/a
version targeted for testing:
linux fc89d7fb499b0162e081f434d45e8d1b47e82ece
baseline version:
linux 3f0b0903fde584a7398f82fc00bf4f8138610b87
Last test of basis 178042 2023-02-21 17:44:43 Z 20 days Failing since 178093 2023-02-22 05:02:47 Z 20 days 40 attempts Testing same since 179607 2023-03-13 19:40:31 Z 0 days 1 attempts
------------------------------------------------------------
2122 people touched revisions under test,
not listing them all
jobs:
build-amd64-xsm pass build-arm64-xsm pass build-i386-xsm pass build-amd64 pass build-arm64 pass build-armhf starved build-i386 pass build-amd64-libvirt pass build-arm64-libvirt pass build-armhf-libvirt starved build-i386-libvirt pass build-amd64-pvops pass build-arm64-pvops pass build-armhf-pvops pass build-i386-pvops pass test-amd64-amd64-xl fail test-amd64-coresched-amd64-xl fail test-arm64-arm64-xl fail test-armhf-armhf-xl starved test-amd64-amd64-libvirt-qemuu-debianhvm-amd64-xsm fail test-amd64-amd64-xl-qemut-stubdom-debianhvm-amd64-xsm fail test-amd64-amd64-xl-qemut-debianhvm-i386-xsm fail test-amd64-amd64-xl-qemuu-debianhvm-i386-xsm fail test-amd64-amd64-libvirt-xsm fail test-arm64-arm64-libvirt-xsm fail test-amd64-amd64-xl-xsm fail test-arm64-arm64-xl-xsm fail test-amd64-amd64-qemuu-nested-amd fail test-amd64-amd64-xl-pvhv2-amd fail test-amd64-amd64-dom0pvh-xl-amd fail test-amd64-amd64-xl-qemut-debianhvm-amd64 fail test-amd64-amd64-xl-qemuu-debianhvm-amd64 fail test-amd64-amd64-freebsd11-amd64 fail test-amd64-amd64-freebsd12-amd64 fail test-amd64-amd64-xl-qemuu-ovmf-amd64 fail test-amd64-amd64-xl-qemut-win7-amd64 fail test-amd64-amd64-xl-qemuu-win7-amd64 fail test-amd64-amd64-xl-qemut-ws16-amd64 fail test-amd64-amd64-xl-qemuu-ws16-amd64 fail test-amd64-amd64-examine-bios pass test-amd64-amd64-xl-credit1 fail test-arm64-arm64-xl-credit1 fail test-armhf-armhf-xl-credit1 starved test-amd64-amd64-xl-credit2 fail test-arm64-arm64-xl-credit2 fail test-armhf-armhf-xl-credit2 starved test-armhf-armhf-xl-cubietruck starved test-amd64-amd64-xl-qemuu-dmrestrict-amd64-dmrestrict fail test-amd64-amd64-examine pass test-arm64-arm64-examine pass test-armhf-armhf-examine starved test-amd64-amd64-qemuu-nested-intel fail test-amd64-amd64-xl-pvhv2-intel fail test-amd64-amd64-dom0pvh-xl-intel fail test-amd64-amd64-libvirt fail test-armhf-armhf-libvirt starved test-amd64-amd64-xl-multivcpu fail test-armhf-armhf-xl-multivcpu starved test-amd64-amd64-pair fail test-amd64-amd64-libvirt-pair fail test-amd64-amd64-xl-pvshim fail test-amd64-amd64-pygrub fail test-amd64-amd64-libvirt-qcow2 fail test-armhf-armhf-libvirt-qcow2 starved test-amd64-amd64-libvirt-raw fail test-arm64-arm64-libvirt-raw fail test-armhf-armhf-libvirt-raw starved test-amd64-amd64-xl-rtds fail test-armhf-armhf-xl-rtds starved test-amd64-amd64-xl-qemuu-debianhvm-amd64-shadow fail test-amd64-amd64-xl-shadow fail test-arm64-arm64-xl-thunderx fail test-amd64-amd64-examine-uefi pass test-amd64-amd64-xl-vhd fail test-arm64-arm64-xl-vhd fail test-armhf-armhf-xl-vhd starved
------------------------------------------------------------
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 245340 lines long.)
Quoted 10 lines · osstest service owner
flight 179607 linux-linus real [real]
http://logs.test-lab.xenproject.org/osstest/logs/179607/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:test-amd64-amd64-freebsd12-amd64 13 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-credit1 19 guest-saverestore.2 fail REGR. vs. 178042 test-amd64-amd64-xl-shadow 14 guest-start fail REGR. vs. 178042
...
In the logs [1] I'm seeing errors like:
Mar 13 23:51:26.275421 [ 271.713740] xenbr0: port 2(vif1.0) entered forwarding state Mar 13 23:51:26.287346 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:48.115383 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:49.123347 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:49.459367 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area
Given the vif related message directly before those errors the chance is high this problem is related to netback.
Ross, your patch "xen/netback: Ensure protocol headers don't fall in the non-linear area" (upstream commit ad7f402ae4f4666) did the most recent changes in netback affecting GNTTABOP_copy operations. There are probably page boundary checks (probably on netback side) missing. Could you please have a look?
Juergen
[1]: http://logs.test-lab.xenproject.org/osstest/logs/179607/test-amd64-amd64-xl/serial-albana0.log
Quoted 22 lines · Juergen Gross
Quoted 10 lines · osstest service owner
flight 179607 linux-linus real [real]
http://logs.test-lab.xenproject.org/osstest/logs/179607/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-freebsd12-amd64 13 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-credit1 19 guest-saverestore.2 fail REGR. vs. 178042 test-amd64-amd64-xl-shadow 14 guest-start fail REGR. vs. 178042...
In the logs [1] I'm seeing errors like:
Mar 13 23:51:26.275421 [ 271.713740] xenbr0: port 2(vif1.0) entered forwarding state Mar 13 23:51:26.287346 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:48.115383 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:49.123347 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:49.459367 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area
Quoted 7 lines
Given the vif related message directly before those errors the chance is high this problem is related to netback.
Ross, your patch "xen/netback: Ensure protocol headers don't fall in the non-linear area" (upstream commit
ad7f402ae4f4666) did the most recent changes in netback affectingGNTTABOP_copyoperations. There are probably page boundary checks (probably on netback side) missing. Could you please have a look?
Okay, I've had a try (see attached patch).
Anthony, as I can't reproduce the original problem, would it be possible to start an OSStest run of the linux-linus test with my patch applied to the used kernel?
Juergen
From 8ace02edba740bfdb0f9bd88ae34acdd9ce18e58 Mon Sep 17 00:00:00 2001
From: Juergen Gross <[email protected]>
Date: Thu, 23 Mar 2023 07:29:56 +0100
Subject: [PATCH] xen/netback: don't do grant copy across page boundary
Fix xenvif_get_requests() not to do grant copy operations across local page boundaries. This requires to double the maximum number of copy operations per queue, as each copy could now be split into 2.
--- drivers/net/xen-netback/common.h | 2 +- drivers/net/xen-netback/netback.c | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-)
drivers/net/xen-netback/common.h +1 -1
@@ -166,7 +166,7 @@ struct xenvif_queue { /* Per-queue data for xenvif */struct pending_tx_info pending_tx_info[MAX_PENDING_REQS ];grant_handle_t grant_tx_handle[MAX_PENDING_REQS ]; -struct gnttab_copy tx_copy_ops[MAX_PENDING_REQS ]; +struct gnttab_copy tx_copy_ops[2 *MAX_PENDING_REQS ];struct gnttab_map_grant_ref tx_map_ops[MAX_PENDING_REQS ];struct gnttab_unmap_grant_ref tx_unmap_ops[MAX_PENDING_REQS ];/* passed to gnttab_[un]map_refs with pages under (un)mapping */
drivers/net/xen-netback/netback.c +6 -1
@@ -413,6 +413,10 @@ static void xenvif_get_requests(struct xenvif_queue *queue, cop->dest.u.gmfn =virt_to_gfn (skb->data +skb_headlen (skb) - data_len); +/* Don't cross local page boundary! */ +if (cop->dest.offset + amount >PAGE_SIZE ) + amount =PAGE_SIZE - cop->dest.offset; + cop->len = amount; cop->flags = GNTCOPY_source_gref;
@@ -441,7 +445,8 @@ static void xenvif_get_requests(struct xenvif_queue *queue, nr_slots--; }else {/* The copy op partially covered the tx_request. -* The remainder will be mapped. +* The remainder will be mapped or copied in the next +* iteration. */ txp->offset += amount; txp->size -= amount;
Signature · 1 line
2.35.3
Quoted 27 lines · Juergen Gross
Quoted 26 lines · Juergen Gross
Quoted 10 lines · osstest service owner
flight 179607 linux-linus real [real]
http://logs.test-lab.xenproject.org/osstest/logs/179607/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-freebsd12-amd64 13 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-credit1 19 guest-saverestore.2 fail REGR. vs. 178042 test-amd64-amd64-xl-shadow 14 guest-start fail REGR. vs. 178042...
In the logs [1] I'm seeing errors like:
Mar 13 23:51:26.275421 [ 271.713740] xenbr0: port 2(vif1.0) entered forwarding state Mar 13 23:51:26.287346 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:48.115383 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:49.123347 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:49.459367 (XEN) common/grant_table.c:2982:d0v3 copy beyond page areaGiven the vif related message directly before those errors the chance is high this problem is related to netback.
Quoted 6 lines
Quoted 4 lines
Ross, your patch "xen/netback: Ensure protocol headers don't fall in the non-linear area" (upstream commit
ad7f402ae4f4666) did the most recent changes in netback affectingGNTTABOP_copyoperations. There are probably page boundary checks (probably on netback side) missing. Could you please have a look?Okay, I've had a try (see attached patch).
Just one remark: Don't you need to use XEN_PAGE_SIZE in place of PAGE_SIZE?
Jan
Quoted 28 lines · Jan Beulich
Quoted 27 lines · Juergen Gross
Quoted 26 lines · Juergen Gross
Quoted 10 lines · osstest service owner
flight 179607 linux-linus real [real]
http://logs.test-lab.xenproject.org/osstest/logs/179607/Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-amd64-freebsd12-amd64 13 guest-start fail REGR. vs. 178042 test-amd64-amd64-xl-credit1 19 guest-saverestore.2 fail REGR. vs. 178042 test-amd64-amd64-xl-shadow 14 guest-start fail REGR. vs. 178042...
In the logs [1] I'm seeing errors like:
Mar 13 23:51:26.275421 [ 271.713740] xenbr0: port 2(vif1.0) entered forwarding state Mar 13 23:51:26.287346 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:48.115383 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:49.123347 (XEN) common/grant_table.c:2982:d0v3 copy beyond page area Mar 13 23:51:49.459367 (XEN) common/grant_table.c:2982:d0v3 copy beyond page areaGiven the vif related message directly before those errors the chance is high this problem is related to netback.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Ross, your patch "xen/netback: Ensure protocol headers don't fall in the non-linear area" (upstream commit
ad7f402ae4f4666) did the most recent changes in netback affectingGNTTABOP_copyoperations. There are probably page boundary checks (probably on netback side) missing. Could you please have a look?Okay, I've had a try (see attached patch).
Just one remark: Don't you need to use
XEN_PAGE_SIZEin place ofPAGE_SIZE?
Ah, yes, but for the test this shouldn't matter.
Juergen
Quoted 3 lines · Juergen Gross
Anthony, as I can't reproduce the original problem, would it be possible to start an OSStest run of the linux-linus test with my patch applied to the used kernel?
Sure.
I've created flight 179901. It should CC you and xendevel once done. I've added the patch on top of commit that was tested by the flight in this thread:
https://xenbits.xen.org/gitweb/?p=people/aperard/linux.git;a=shortlog;h=refs/heads/[email protected]
Hopeful, I didn't make a mistake when setting the flight up and it will be done tomorrow.
Cheers,
Signature · 1 line
Anthony PERARD