This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2165141 - NetworkManager unit tests "/l3cfg/4" is failing
Summary: NetworkManager unit tests "/l3cfg/4" is failing
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: NetworkManager
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: NetworkManager Development Team
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-27 20:33 UTC by Thomas Haller
Modified: 2023-08-17 08:07 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-17 08:07:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-199 0 None None None 2023-01-27 20:37:00 UTC
Red Hat Issue Tracker   RHEL-1399 0 None None None 2023-08-17 08:07:36 UTC
Red Hat Issue Tracker RHELPLAN-146784 0 None None None 2023-01-27 20:37:03 UTC

Description Thomas Haller 2023-01-27 20:33:17 UTC
The test is here: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/9934be52cd453202248cb5f7f7dadbe05a2412de/src/core/tests/test-l3cfg.c#L340

The test exists for a while, and it appeared to run stable. No issues in gitlab-ci, in copr builds, in beaker builds (or on my machine).


Note that this is a randomize test, that means it takes different code paths depending on NMTST_SEED_RAND environment variable. Also note that on my machine I always run unit tests with randomization enabled (by setting the seet to empty `NMTST_SEED_RAND=`). I didn't notice a failure so far.

However, in the gitlab-ci test script there is a bug, so that the test effectively run always with the same seed `NMTST_SEED_RAND=0`. This is about to be fixed, and the test start failing with certain randomizations.

This needs fixing.


Here is a run that shows the failure: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/pipelines/794971


In the meantime, I disabled the test. To reproduce, you first need to re-enable it. If you cannot reproduce on your machine, try in gitlab-ci.

Comment 2 RHEL Program Management 2023-08-17 07:27:45 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.


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