Behave Test Report

Features: failed: 1

Scenarios: skipped: 14, failed: 1

Steps: skipped: 206, passed: 18, failed: 1

Finished in 57.3 seconds

Feature: nmcli - procedures in documentation

features/scenarios/doc_procedures.feature:325 @rhelver+=8.6, @radius, @8021x_doc_procedure, @attach_wpa_supplicant_log, @permissive, @8021x_hostapd_freeradius_doc_procedure

Scenario: nmcli - docs - set up 802.1x using FreeRadius and hostapd

  1. Before scenario (10.343s)
    Status Before Scenario
    Memory use Before Scenario
    Commands
  2. * Add " bridge " connection named " br0 " for device " br0 " with options (0.057s)
    Commands
    con-name br0
    group-forward-mask 8 connection.autoconnect-slaves 1
    ipv4.method disabled ipv6.method disabled
  3. * Add " ethernet " connection named " br0-uplink " for device " eth4 " with options " master br0 " (0.096s)
    Commands
  4. * Execute " ip l add test1 type veth peer name test1b " (0.024s)
    Commands
  5. * Execute " ip l set dev test1b up " (0.006s)
    Commands
  6. * Execute " ip l set dev test1 up " (0.005s)
    Commands
  7. * Add " ethernet " connection named " br0-client-port " for device " test1b " with options " master br0 " (0.040s)
    Commands
  8. * Bring " up " connection " br0 " (0.077s)
    Commands
  9. * Execute " cp contrib/8021x/doc_procedures/hostapd.conf /etc/hostapd/hostapd.conf " (0.025s)
    Commands
  10. Then Execute " systemctl start hostapd " (0.023s)
    Commands
  11. * Execute " systemctl status hostapd " (1.112s)
    Commands
  12. * Execute " cp -f contrib/8021x/doc_procedures/wpa_supplicant-TTLS.conf /etc/wpa_supplicant/wpa_supplicant-TTLS.conf " (0.004s)
    Commands
  13. Then Note the output of " eapol_test -c /etc/wpa_supplicant/wpa_supplicant-TTLS.conf -s client_password " (0.044s)
  14. And Noted value contains " EAP: Status notification: remote certificate verification \(param=success\) " (0.000s)
  15. And Noted value contains " CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully " (0.000s)
  16. And Noted value contains " SUCCESS " (0.000s)
  17. Then " CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully " is visible with command " wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant-TTLS.conf -D wired -i test1 -d -t " (29.681s)
    Commands
  18. * Add " ethernet " connection named " test1-ttls " for device " test1 " with options (0.038s)
    Commands
    autoconnect no 802-1x.eap ttls 802-1x.phase2-auth pap
    802-1x.identity example_user 802-1x.password user_password
    802-1x.ca-cert /etc/pki/tls/certs/8021x-ca.pem
  19. * Execute " sleep 1 " (1.004s)
    Commands
  20. When Bring up connection " test1-ttls " (25.077s)
    Error Message
    Commands
  21. After scenario (1.856s)
    Memory use After Scenario
    WPA_SUP
    HOSTAPD
    802.1X access control
    RADIUS
    Status After Scenario
    Commands
    NM
    Status After Clean
    Memory use After Clean