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 2210271 - [NMCI] crash in do_not_touch_external_dummy test
Summary: [NMCI] crash in do_not_touch_external_dummy test
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: NetworkManager
Version: 9.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Wen Liang
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-26 11:40 UTC by Vladimir Benes
Modified: 2023-11-07 10:14 UTC (History)
8 users (show)

Fixed In Version: NetworkManager-1.44.0-2.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-07 08:38:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NMT-582 0 None None None 2023-05-26 11:43:09 UTC
Red Hat Issue Tracker RHELPLAN-158288 0 None None None 2023-05-26 11:43:13 UTC
Red Hat Product Errata RHBA-2023:6585 0 None None None 2023-11-07 08:38:44 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 1711 0 None opened device: stop rechecking autoactivation if device is utterly deleted 2023-08-10 17:54:11 UTC
freedesktop.org Gitlab NetworkManager NetworkManager merge_requests 1716 0 None merged nm-manager: ensure device is exported on D-Bus in authentication request 2023-08-23 15:44:37 UTC

Description Vladimir Benes 2023-05-26 11:40:52 UTC
Description of problem:
a crash occurs in the test, for details see attachment

   PID: 148756 (NetworkManager)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 6 (ABRT)
     Timestamp: Mon 2023-05-15 09:49:11 UTC (1s ago)
  Command Line: /usr/sbin/NetworkManager --no-daemon
    Executable: /usr/sbin/NetworkManager
 Control Group: /system.slice/NetworkManager.service
          Unit: NetworkManager.service
         Slice: system.slice
       Boot ID: e1f6262d471c409c81443faf684c2315
    Machine ID: 3fd9a042251a4f179027592d69006db3
      Hostname: n27-31-153.pool.ci.centos.org
       Storage: /var/lib/systemd/coredump/core.NetworkManager.0.e1f6262d471c409c81443faf684c2315.148756.1684144151000000.zst (present)
  Size on Disk: 865.9K
       Message: Process 148756 (NetworkManager) of user 0 dumped core.
                
                Stack trace of thread 148756:
                #0  0x00007fd6dcca157c __pthread_kill_implementation (libc.so.6 + 0xa157c)
                #1  0x00007fd6dcc54d46 __GI_raise (libc.so.6 + 0x54d46)
                #2  0x00007fd6dcc287f3 __GI_abort (libc.so.6 + 0x287f3)
                #3  0x00007fd6dd015d4c g_assertion_message (libglib-2.0.so.0 + 0x1ed4c)
                #4  0x00007fd6dd070caf g_assertion_message_expr (libglib-2.0.so.0 + 0x79caf)
                #5  0x0000563225af555e nm_policy_device_recheck_auto_activate_schedule (NetworkManager + 0x30b55e)
                #6  0x0000563225b1c879 nm_device_recheck_auto_activate_schedule (NetworkManager + 0x332879)
                #7  0x0000563225b1cee7 delete_cb (NetworkManager + 0x332ee7)
                #8  0x0000563225a540d9 device_auth_done_cb (NetworkManager + 0x26a0d9)
                #9  0x000056322595e1b3 _done_and_destroy (NetworkManager + 0x1741b3)
                #10 0x0000563225960fc8 _call_id_invoke_callback (NetworkManager + 0x176fc8)
                #11 0x00007fd6dd04813b g_idle_dispatch (libglib-2.0.so.0 + 0x5113b)
                #12 0x00007fd6dd04be2f g_main_dispatch (libglib-2.0.so.0 + 0x54e2f)
                #13 0x00007fd6dd0a0508 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xa9508)
                #14 0x00007fd6dd04b483 g_main_loop_run (libglib-2.0.so.0 + 0x54483)
                #15 0x000056322583ea50 main (NetworkManager + 0x54a50)
                #16 0x00007fd6dcc3feb0 __libc_start_call_main (libc.so.6 + 0x3feb0)
                #17 0x00007fd6dcc3ff60 __libc_start_main_impl (libc.so.6 + 0x3ff60)
                #18 0x000056322583ef55 _start (NetworkManager + 0x54f55)
                
                Stack trace of thread 148758:
                #0  0x00007fd6dcd4296f __GI___poll (libc.so.6 + 0x14296f)
                #1  0x00007fd6dd0a049c g_main_context_poll (libglib-2.0.so.0 + 0xa949c)
                #2  0x00007fd6dd04b483 g_main_loop_run (libglib-2.0.so.0 + 0x54483)
                #3  0x00007fd6dd29ce1a gdbus_shared_thread_func (libgio-2.0.so.0 + 0x110e1a)
                #4  0x00007fd6dd07a582 g_thread_proxy (libglib-2.0.so.0 + 0x83582)
                #5  0x00007fd6dcc9f832 start_thread (libc.so.6 + 0x9f832)
                #6  0x00007fd6dcc3f450 __clone3 (libc.so.6 + 0x3f450)
                
                Stack trace of thread 148757:
                #0  0x00007fd6dcd4296f __GI___poll (libc.so.6 + 0x14296f)
                #1  0x00007fd6dd0a049c g_main_context_poll (libglib-2.0.so.0 + 0xa949c)
                #2  0x00007fd6dd0495f3 g_main_context_iteration (libglib-2.0.so.0 + 0x525f3)
                #3  0x00007fd6dd049641 glib_worker_main (libglib-2.0.so.0 + 0x52641)
                #4  0x00007fd6dd07a582 g_thread_proxy (libglib-2.0.so.0 + 0x83582)
                #5  0x00007fd6dcc9f832 start_thread (libc.so.6 + 0x9f832)
                #6  0x00007fd6dcc3f450 __clone3 (libc.so.6 + 0x3f450)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB) Red Hat Enterprise Linux 10.2-11.el9
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/sbin/NetworkManager...
Reading symbols from /usr/lib/debug/usr/sbin/NetworkManager-1.43.7-32266.copr.53ba9f4701.el9.x86_64.debug...
[New LWP 148756]
[New LWP 148758]
[New LWP 148757]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/NetworkManager --no-daemon'.
Program terminated with signal SIGABRT, Aborted.
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44	      return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7fd6dbd30500 (LWP 148756))]
(gdb) #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007fd6dcca15e3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007fd6dcc54d46 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007fd6dcc287f3 in __GI_abort () at abort.c:79
#4  0x00007fd6dd015d4c in g_assertion_message (domain=<optimized out>, file=<optimized out>, line=<optimized out>, func=<optimized out>, message=<optimized out>) at ../glib/gtestutils.c:3065
#5  0x00007fd6dd070caf in g_assertion_message_expr (domain=0x563225b749cc "nm", file=0x563225b3bbf1 "src/core/nm-policy.c", line=1665, func=0x563225bc6160 <__func__.6.lto_priv.15> "nm_policy_device_recheck_auto_activate_schedule", expr=<optimized out>) at ../glib/gtestutils.c:3091
#6  0x0000563225af555e in nm_policy_device_recheck_auto_activate_schedule (self=0x5632267bf010, device=0x5632268f2fa0) at src/core/nm-policy.c:1665
#7  0x0000563225b1c879 in nm_device_recheck_auto_activate_schedule (self=0x5632268f2fa0) at src/core/devices/nm-device.c:9265
#8  nm_device_unrealize (self=0x5632268f2fa0, remove_resources=1, error=<optimized out>) at src/core/devices/nm-device.c:7878
#9  0x0000563225b1cee7 in delete_cb (self=0x5632268f2fa0, context=0x5632267b9ec0, subject=0x7fd6cc019a30, error=<optimized out>, user_data=<optimized out>) at src/core/devices/nm-device.c:13616
#10 0x0000563225a540d9 in device_auth_done_cb (chain=0x56322689f090, context=0x5632267b9ec0, user_data=<optimized out>) at src/core/nm-manager.c:3209
#11 0x000056322595e1b3 in _done_and_destroy (self=0x56322689f090) at src/core/nm-auth-utils.c:99
#12 0x0000563225960fc8 in _call_id_invoke_callback (error=0x0, is_challenge=0, is_authorized=1, call_id=0x563226890e80) at src/core/nm-auth-manager.c:180
#13 _call_on_idle (user_data=user_data@entry=0x563226890e80) at src/core/nm-auth-manager.c:284
#14 0x00007fd6dd04813b in g_idle_dispatch (source=0x5632268d5ad0, callback=0x563225960ea0 <_call_on_idle>, user_data=0x563226890e80) at ../glib/gmain.c:5848
#15 0x00007fd6dd04be2f in g_main_dispatch (context=0x563226773e90) at ../glib/gmain.c:3337
#16 g_main_context_dispatch (context=0x563226773e90) at ../glib/gmain.c:4055
#17 0x00007fd6dd0a0508 in g_main_context_iterate.constprop.0 (context=0x563226773e90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#18 0x00007fd6dd04b483 in g_main_loop_run (loop=0x5632267713d0) at ../glib/gmain.c:4329
#19 0x000056322583ea50 in main (argc=<optimized out>, argv=<optimized out>) at src/core/main.c:519
(gdb) quit
Version-Release number of selected component (if applicable):
1.43.7

Comment 7 Vladimir Benes 2023-09-05 18:17:16 UTC
(In reply to Vladimir Benes from comment #2)
> skip the test in the 1.43.7+ NMCI
> https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/commit/
> 7039b606c6eee62abf10c9db63c080c3aef554ca

I removed the commit mentioned above in:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager-ci/-/commit/454cb44573efae6951f3f17c887df9db9816f5d3

and I executed the test 100 times w/o any issue.

Comment 9 errata-xmlrpc 2023-11-07 08:38:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (NetworkManager bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6585


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