From: "Li, WenjieX A" <wenjiex.a.li@intel.com>
To: "dts@dpdk.org" <dts@dpdk.org>
Cc: "Li, WenjieX A" <wenjiex.a.li@intel.com>
Subject: Re: [dts] [PATCH V1] tests/userspace_ethtool: exit the loop in 5s
Date: Fri, 6 Dec 2019 05:46:24 +0000 [thread overview]
Message-ID: <8688172CD5C0B74590FAE19D9579F94B53802EA6@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1575642609-25830-1-git-send-email-wenjiex.a.li@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
Tested-by: Li, WenjieX A <wenjiex.a.li@intel.com>
> -----Original Message-----
> From: Li, WenjieX A
> Sent: Friday, December 6, 2019 10:30 PM
> To: dts@dpdk.org
> Cc: Li, WenjieX A <wenjiex.a.li@intel.com>
> Subject: [dts][PATCH V1] tests/userspace_ethtool: exit the loop in 5s
>
> exit the loop in 5s at most; if the status still not equel to expected_status, return
> False and make the case fail.
>
> Signed-off-by: Wenjie Li <wenjiex.a.li@intel.com>
> ---
> tests/TestSuite_userspace_ethtool.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/TestSuite_userspace_ethtool.py
> b/tests/TestSuite_userspace_ethtool.py
> index f5583f2..e10c376 100644
> --- a/tests/TestSuite_userspace_ethtool.py
> +++ b/tests/TestSuite_userspace_ethtool.py
> @@ -231,6 +231,7 @@ class TestUserspaceEthtool(TestCase,
> IxiaPacketGenerator):
> if status == expected_status:
> return True
> time.sleep(1)
> + retries = retries + 1
> return False
>
> def test_dump_driver_info(self):
> --
> 2.17.1
[-- Attachment #2: TestUserspaceEthtool.log --]
[-- Type: application/octet-stream, Size: 6094 bytes --]
06/12/2019 14:29:08 dts:
TEST SUITE : TestUserspaceEthtool
06/12/2019 14:29:08 dts: NIC : sageville
06/12/2019 14:29:08 dut.10.238.54.219:
06/12/2019 14:29:08 tester:
06/12/2019 14:29:08 dut.10.238.54.219: rm -rf ./app/test/test_resource_c.res.o
06/12/2019 14:29:08 dut.10.238.54.219:
06/12/2019 14:29:08 dut.10.238.54.219: rm -rf ./app/test/test_resource_tar.res.o
06/12/2019 14:29:08 dut.10.238.54.219:
06/12/2019 14:29:08 dut.10.238.54.219: rm -rf ./app/test/test_pci_sysfs.res.o
06/12/2019 14:29:08 dut.10.238.54.219:
06/12/2019 14:29:08 dut.10.238.54.219: make -j 110 -C examples/ethtool
06/12/2019 14:29:11 dut.10.238.54.219: make: Entering directory `/root/dpdk/examples/ethtool'
make: Warning: File `/root/dpdk/x86_64-native-linuxapp-gcc/.config' has modification time 19229 s in the future
== lib
make[1]: Warning: File `/root/dpdk/x86_64-native-linuxapp-gcc/.config' has modification time 19228 s in the future
make[2]: Warning: File `.librte_ethtool.a.cmd' has modification time 19287 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[1]: warning: Clock skew detected. Your build may be incomplete.
== ethtool-app
make[1]: Warning: File `/root/dpdk/x86_64-native-linuxapp-gcc/.config' has modification time 19227 s in the future
make[2]: Warning: File `.ethtool.cmd' has modification time 19288 s in the future
make[2]: warning: Clock skew detected. Your build may be incomplete.
make[1]: warning: Clock skew detected. Your build may be incomplete.
make: warning: Clock skew detected. Your build may be incomplete.
make: Leaving directory `/root/dpdk/examples/ethtool'
06/12/2019 14:29:11 TestUserspaceEthtool: Test Case test_port_config Begin
06/12/2019 14:29:11 dut.10.238.54.219:
06/12/2019 14:29:11 tester:
06/12/2019 14:29:11 dut.10.238.54.219: ./examples/ethtool/ethtool-app/x86_64-native-linuxapp-gcc/ethtool -c f -n 4
06/12/2019 14:29:13 dut.10.238.54.219: EAL: Detected 112 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: 1024 hugepages of size 2097152 reserved, but no mounted hugetlbfs found for that size
EAL: Probing VFIO support...
EAL: PCI device 0000:00:04.0 on NUMA socket 0
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.1 on NUMA socket 0
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.2 on NUMA socket 0
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.3 on NUMA socket 0
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.4 on NUMA socket 0
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.5 on NUMA socket 0
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.6 on NUMA socket 0
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:00:04.7 on NUMA socket 0
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:1a:00.0 on NUMA socket 0
EAL: probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:1a:00.1 on NUMA socket 0
EAL: probe driver: 8086:37d2 net_i40e
EAL: PCI device 0000:1a:00.2 on NUMA socket 0
EAL: probe driver: 8086:37d3 net_i40e
EAL: PCI device 0000:1a:00.3 on NUMA socket 0
EAL: probe driver: 8086:37d3 net_i40e
EAL: PCI device 0000:3b:00.0 on NUMA socket 0
EAL: probe driver: 8086:1563 net_ixgbe
EAL: PCI device 0000:3b:00.1 on NUMA socket 0
EAL: probe driver: 8086:1563 net_ixgbe
EAL: PCI device 0000:80:04.0 on NUMA socket 1
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.1 on NUMA socket 1
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.2 on NUMA socket 1
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.3 on NUMA socket 1
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.4 on NUMA socket 1
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.5 on NUMA socket 1
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.6 on NUMA socket 1
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:80:04.7 on NUMA socket 1
EAL: probe driver: 8086:2021 rawdev_ioat
EAL: PCI device 0000:d8:00.0 on NUMA socket 1
EAL: probe driver: 8086:158b net_i40e
EAL: PCI device 0000:d8:00.1 on NUMA socket 1
EAL: probe driver: 8086:158b net_i40e
Number of NICs: 2
Init port 0..
Init port 1..
06/12/2019 14:29:13 dut.10.238.54.219: portstats 0
06/12/2019 14:29:13 dut.10.238.54.219: portstats 0
Port 0 stats
In: 0 (0 bytes)
Out: 0 (0 bytes)
Err: 0
06/12/2019 14:29:23 dut.10.238.54.219: stop 0
06/12/2019 14:29:23 dut.10.238.54.219: stop 0
06/12/2019 14:29:23 dut.10.238.54.219: link
06/12/2019 14:29:23 dut.10.238.54.219: link
Port 0: Up
Port 1: Up
06/12/2019 14:29:24 dut.10.238.54.219: link
06/12/2019 14:29:24 dut.10.238.54.219: link
Port 0: Up
Port 1: Up
06/12/2019 14:29:25 dut.10.238.54.219: link
06/12/2019 14:29:25 dut.10.238.54.219: link
Port 0: Up
Port 1: Up
06/12/2019 14:29:26 dut.10.238.54.219: link
06/12/2019 14:29:26 dut.10.238.54.219: link
Port 0: Up
Port 1: Up
06/12/2019 14:29:27 dut.10.238.54.219: link
06/12/2019 14:29:27 dut.10.238.54.219: link
Port 0: Up
Port 1: Up
06/12/2019 14:29:28 TestUserspaceEthtool: Test Case test_port_config Result FAILED: 'Fail to stop port0'
06/12/2019 14:29:28 dut.10.238.54.219: kill_all: called by dut and has no prefix list.
06/12/2019 14:29:31 dut.10.238.54.219: Killed
[PEXPECT]#
06/12/2019 14:29:31 dts:
TEST SUITE ENDED: TestUserspaceEthtool
next prev parent reply other threads:[~2019-12-06 5:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-06 14:30 Wenjie Li
2019-12-06 5:46 ` Li, WenjieX A [this message]
2019-12-06 8:53 ` Tu, Lijuan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8688172CD5C0B74590FAE19D9579F94B53802EA6@SHSMSX103.ccr.corp.intel.com \
--to=wenjiex.a.li@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).