Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: passt: fix test cases on s390x #5099

Closed
wants to merge 1 commit into from

Conversation

smitterl
Copy link
Contributor

@smitterl smitterl commented Aug 9, 2023

  1. s390x doesn't have ACPI
  2. s390x virtual interface name inside VM is encX
  3. Remove unsupported DAC security driver for unprivileged user
    if present
  4. Pass 'vm_iface' to 'passt.check_vm_ip' to avoid default value
    with wrong interface naming scheme
  5. passt/check_nameserver: remove interface name from ipv6 entry as
    it might be different between host and guest
  6. passt/check_default_gw: let us select which entry to choose because
    utils_net.get_default_gateway might return more than one, e.g. with
    multipath routes or when there's more than one interface on the host;
    same for passt/check_connection
  7. passt/check_port_listen: only check for partial process user "'passt"
    because on x86_64 there's specializatoin 'passt.avx2' but on s390x it's
    just 'passt'
  8. Don't use utils_net.get_host_ip_address because it doesn't let us choose
    which interface to get the ip address from; use utils_net.get_ip_address_by_interface
    instead

1. s390x doesn't have ACPI
2. s390x virtual interface name inside VM is encX
3. Remove unsupported DAC security driver for unprivileged user
   if present
4. Pass 'vm_iface' to 'passt.check_vm_ip' to avoid default value
   with wrong interface naming scheme
5. passt/check_nameserver: remove interface name from ipv6 entry as
   it might be different between host and guest
6. passt/check_default_gw: let us select which entry to choose because
   utils_net.get_default_gateway might return more than one, e.g. with
   multipath routes or when there's more than one interface on the host;
   same for passt/check_connection
7. passt/check_port_listen: only check for partial process user "'passt"
   because on x86_64 there's specializatoin 'passt.avx2' but on s390x it's
   just 'passt'
8. Don't use utils_net.get_host_ip_address because it doesn't let us choose
   which interface to get the ip address from; use utils_net.get_ip_address_by_interface
   instead

Signed-off-by: Sebastian Mitterle <smitterl@redhat.com>
@smitterl
Copy link
Contributor Author

This has been split.
Ref
#5361
avocado-framework/avocado-vt#3818
#5363

@smitterl smitterl closed this Dec 22, 2023
@smitterl smitterl deleted the fix_passt_s390x branch July 26, 2024 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant