RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2101310 - passt: Warning message "Can't run AVX2 build" with passt command
Summary: passt: Warning message "Can't run AVX2 build" with passt command
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: passt
Version: 9.1
Hardware: All
OS: All
medium
medium
Target Milestone: rc
: ---
Assignee: Stefano Brivio
QA Contact: Lei Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-27 07:09 UTC by Quan Wenli
Modified: 2024-01-31 04:10 UTC (History)
1 user (show)

Fixed In Version: 0.git.2022_08_04.b516d15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-02 08:03:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-126319 0 None None None 2022-06-27 07:22:42 UTC

Description Quan Wenli 2022-06-27 07:09:57 UTC
Description of problem:
Run passt command, passt shows message "Can't run AVX2 build", there is no issue with full path "/usr/local/bin/passt"

Version-Release number of selected component (if applicable):

passt-0.git.2022_06_08.d7d467f-0.el9.x86_64

How reproducible:


Steps to Reproduce:
1. [test@dell-per440-18 ~]$ echo $PATH
/home/test/.local/bin:/home/test/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin

2.[test@dell-per440-18 ~]$  passt  -f -t 10001 -u 10001 -P passt.pid
Can't run AVX2 build, using non-AVX2 version: No such file or directory
Outbound interface: eno1
ARP:
    address: 2c:ea:7f:71:b6:ee
DHCP:
    assign: 10.73.114.95
    mask: 255.255.254.0
    router: 10.73.115.254
DNS:
    10.73.2.107
    10.73.2.108
    10.66.127.10
DNS search list:
    lab.eng.pek2.redhat.com
NDP/DHCPv6:
    assign: 2620:52:0:4972:2eea:7fff:fe71:b6ee
    router: fe80::cee1:9402:8b35:be41
    our link-local: fe80::2eea:7fff:fe71:b6ee
DNS search list:
    lab.eng.pek2.redhat.com
UNIX domain socket bound at /tmp/passt_1.socket

You can now start qrap:
    ./qrap 5 kvm ... -net socket,fd=5 -net nic,model=virtio
or directly qemu, patched with:
    qemu/0001-net-Allow-also-UNIX-domain-sockets-to-be-used-as-net.patch
as follows:
    kvm ... -net socket,connect=/tmp/passt_1.socket -net nic,model=virtio
2.
3.

Actual results:


Expected results:


Additional info:

No issues with full path: 
[test@dell-per440-18 ~]$ /usr/local/bin/passt  -f -t 10001 -u 10001 -P passt.pid
Outbound interface: eno1
ARP:
    address: 2c:ea:7f:71:b6:ee
DHCP:
    assign: 10.73.114.95
    mask: 255.255.254.0
    router: 10.73.115.254
DNS:
    10.73.2.107
    10.73.2.108
    10.66.127.10
DNS search list:
    lab.eng.pek2.redhat.com
NDP/DHCPv6:
    assign: 2620:52:0:4972:2eea:7fff:fe71:b6ee
    router: fe80::cee1:9402:8b35:be41
    our link-local: fe80::2eea:7fff:fe71:b6ee
DNS search list:
    lab.eng.pek2.redhat.com
UNIX domain socket bound at /tmp/passt_1.socket

You can now start qrap:
    ./qrap 5 kvm ... -net socket,fd=5 -net nic,model=virtio
or directly qemu, patched with:
    qemu/0001-net-Allow-also-UNIX-domain-sockets-to-be-used-as-net.patch
as follows:
    kvm ... -net socket,connect=/tmp/passt_1.socket -net nic,model=virtio

Comment 2 Quan Wenli 2022-08-10 04:08:11 UTC
Pre-verified it with passt-0.git.2022_08_04.b516d15-0.el9.x86_64, the issus is fixed. 

[test@dell-per440-18 ~]$ passt -f -t 10001 -u 10001 -P passt.pid
Outbound interface (IPv4): eno1
Outbound interface (IPv6): eno1
MAC:
    host: 2c:ea:7f:71:b6:ee
DHCP:
    assign: 10.73.114.95
    mask: 255.255.254.0
    router: 10.73.115.254
DNS:
    10.73.2.107
    10.73.2.108
    10.66.127.10
DNS search list:
    lab.eng.pek2.redhat.com
NDP/DHCPv6:
    assign: 2620:52:0:4972:c2ea:8fbd:2a2f:a168
    router: fe80::cee1:9402:8b35:be41
    our link-local: fe80::10fc:4758:1541:ef2f
DNS search list:
    lab.eng.pek2.redhat.com
UNIX domain socket bound at /tmp/passt_1.socket

You can now start qrap:
    ./qrap 5 kvm ... -net socket,fd=5 -net nic,model=virtio
or directly qemu, patched with:
    qemu/0001-net-Allow-also-UNIX-domain-sockets-to-be-used-as-net.patch
as follows:
    kvm ... -net socket,connect=/tmp/passt_1.socket -net nic,model=virtio

Comment 3 Quan Wenli 2022-11-02 08:03:04 UTC
Confirmed with Stefano, it's fixed within coment #2, we can close it with current release.


Note You need to log in before you can comment on or make changes to this bug.