Project

General

Profile

Actions

action #90002

closed

[opensuse][qe-core] wpa_supplicant - race in terminating tasks

Added by dimstar over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-extra_tests_textmode@64bit fails in
wpa_supplicant

This seems to be a racy test code

  • cleanup
  • set +e
  • ps -p 21620
  • kill 21620
  • modprobe -r mac80211_hwsim
  • rm -f wifi_scan.txt networks.txt status.txt hostapd.log hostapd.com dnsmasq.log dhclinet.log
  • rm -f /etc/sysconfig/network/ifcfg-wlan1
  • wpa_cli -i wlan1 terminate
  • xargs kill
  • ip netns pids wifi_master kill: sending signal to 21653 failed: No such process
  • ip netns del wifi_master CIJSV-124-

i.e. it seems we instruct wpa_cli to terminate, followed by ip netns pids wifi_master | xargs kill
that 2nd one seems like trying to kill the pid we just instructed to terminate before

Test suite description

Maintainer: slindomansilla@suse.de.
Mainly post-installation console extra tests.

Reproducible

Fails since (at least) Build 20200929

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions

Also available in: Atom PDF