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 1976910 - HOOK-ERROR in before_scenario: AssertionError: Exception in before scenario tags
Summary: HOOK-ERROR in before_scenario: AssertionError: Exception in before scenario tags
Keywords:
Status: CLOSED DUPLICATE of bug 1977676
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: NetworkManager Development Team
QA Contact: Filip Pokryvka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-28 14:14 UTC by Bruno Meneguele
Modified: 2021-07-01 07:09 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-01 07:09:43 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description Bruno Meneguele 2021-06-28 14:14:58 UTC
Description of problem:
kernel-4.18.0-318.el8 revdep OSCI test failed due to what seems to be a NetworkManager sanity-test suite failure. Not sure if that's in the NetworkManager code itself or on its test suite.

How reproducible:
Seen in one kernel reverse dependency test so far.

Actual results:
Feature: nmcli - ethernet
Executing @8021x
* waiting for testeth0 to connect
 ** we do have IPv4 complete
NetworkManager process id before: 31915
before_scenario ... failed in 8.121s
Traceback (most recent call last):
  File "features/environment.py", line 51, in before_scenario
    _before_scenario(context, scenario)
  File "features/environment.py", line 139, in _before_scenario
    assert False, "Exception in before scenario tags"
AssertionError: Exception in before scenario tags

HOOK-ERROR in before_scenario: AssertionError: Exception in before scenario tags

  Scenario: nmcli - ethernet - connect to 8021x -ttls - mschap - eap
NetworkManager process id after: 31915 (was 31915)
Executing @attach_wpa_supplicant_log
Attaching wpa_supplicant log
Executing @attach_hostapd_log
Attaching hostapd log
Executing @8021x
* waiting for testeth0 to connect
 ** we do have IPv4 complete
Executing @con_ethernet_remove
Attaching NM log
after_scenario ... passed in 0.702s

ALL DONE

Failing scenarios:
  features/scenarios/ethernet.feature:518  nmcli - ethernet - connect to 8021x -ttls - mschap - eap


Expected results:
No test failures

Additional info:
OSCI artifact: https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/37735998?focus=id:osci-rhel-pipeline-integration-37735998
NetworkManager sanity-test log: http://artifacts.osci.redhat.com/rhel-8.5.0-packages/rhel-revdep-pipeline/kernel/37735998/package-tests/NetworkManager/logs/FAIL-str_sanity-tests.log

Comment 1 Michal Odehnal 2021-06-28 14:37:52 UTC
The hook-error points to a mistake in our tests and not in the NetworkManager but Filip will know better. I am setting Filip to as QA Contact. He will be back tomorrow to investigate.

Comment 2 Filip Pokryvka 2021-06-28 15:03:26 UTC
The mentioned error is because setup of the test failed (HOOK-ERROR means error before or after the actual test, in this case before). I think this might be related to openssl version increase, which removes MD4 cipher and so our setup for 8021x tests fails. We did not manage to fix the testsuite yet. 

Here is the tracker for rhel9, https://bugzilla.redhat.com/show_bug.cgi?id=1975718 . I do not know if we have tracker for rhel8, I will check tomorrow.

Comment 3 Till Maas 2021-06-29 13:32:50 UTC
(In reply to Filip Pokryvka from comment #2)
> The mentioned error is because setup of the test failed (HOOK-ERROR means
> error before or after the actual test, in this case before). I think this
> might be related to openssl version increase, which removes MD4 cipher and
> so our setup for 8021x tests fails. We did not manage to fix the testsuite
> yet. 

if it is a bug in the testsuite, please close it or assign it to you if you need it for tracking. Thanks.

Comment 4 Filip Pokryvka 2021-06-30 08:50:33 UTC
Indeed, it is a bug in our testsuite, MR is ready, when it gets merged, I will close this.

https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/merge_requests/790

Comment 5 Filip Pokryvka 2021-07-01 07:09:43 UTC
This is reported and treated as selinux-policy bug, however NetworkManager-CI already contains workaround so tests should pass now.

https://bugzilla.redhat.com/show_bug.cgi?id=1977676

*** This bug has been marked as a duplicate of bug 1977676 ***


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