Bug 2101990

Summary: passt: exit is non-zero when killed passt.pid
Product: Red Hat Enterprise Linux 9 Reporter: Quan Wenli <wquan>
Component: passtAssignee: Stefano Brivio <sbrivio>
Status: CLOSED CURRENTRELEASE QA Contact: Lei Yang <leiyang>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 9.1CC: aadam
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.git.2022_08_04.b516d15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-02 08:02:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Quan Wenli 2022-06-29 03:19:29 UTC
Description of problem:
exit is non-zero when killed passt.pid

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 ~]$ /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
2.[test@dell-per440-18 ~]$ cat passt.pid
295959
3.[test@dell-per440-18 ~]$ kill 295959
4.[test@dell-per440-18 ~]$ echo $?
159

Actual results:


Expected results:


Additional info:

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