Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-125796

[NMCI] NetworkManager crash during strongswan tests

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • rhel-9.7
    • NetworkManager
    • None
    • None
    • None
    • rhel-net-mgmt
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Hide

      Definition of Done:

      Please mark each item below with ( / ) if completed or ( x ) if incomplete:

      ( ) The acceptance criteria defined below are met.

      Given RHEL9/C9S system with NetworkManager-1.55.4-34244 and strongswan configured, 

      When NetworkManager-ci test 'strongswan_add_profile' executes through full connection establishment including IP4Config D-Bus signal, 

      Then NetworkManager completes VPN connection without SIGABRT, test exits 0, and 'systemctl status NetworkManager' shows 'active (running)' with no coredump in /var/lib/systemd/coredump/ timestamped during test


      ( ) Integration test case is available upstream.


      ( ) Code is reviewed and merged upstream.


      ( ) Preliminary testing is done.

      Show
      Definition of Done: Please mark each item below with ( / ) if completed or ( x ) if incomplete: ( ) The acceptance criteria defined below are met. Given RHEL9/C9S system with NetworkManager-1.55.4-34244 and strongswan configured,  When NetworkManager-ci test 'strongswan_add_profile' executes through full connection establishment including IP4Config D-Bus signal,  Then NetworkManager completes VPN connection without SIGABRT, test exits 0, and 'systemctl status NetworkManager' shows 'active (running)' with no coredump in /var/lib/systemd/coredump/ timestamped during test ( ) Integration test case is available upstream. ( ) Code is reviewed and merged upstream. ( ) Preliminary testing is done.
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      There is a crash during strongswan tests on rhel9/c9s with NetworkManager main build from copr. No crash on rhel10.

      Please provide the package NVR for which the bug is seen:

      NetworkManager-1.55.4-34244.copr.461c9edfb4.el9

      How reproducible is this bug?:

      execute any strongswan test from NetworkManager-ci:

      ./test_run.sh strongwan_add_profile

      Expected results

      no crash

      Actual results

      https://jenkins-networkmanager.apps.ocp.cloud.ci.centos.org/job/NetworkManager-main-c9s/3079/artifact/FAIL-report_NetworkManager-ci-M1_Test0549_strongswan_add_profile.html#toggle=b5bd,ca18 

                 PID: 317704 (NetworkManager)
                 UID: 0 (root)
                 GID: 0 (root)
              Signal: 6 (ABRT)
           Timestamp: Mon 2025-11-03 01:29:13 UTC (1min 30s 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: bfeee7001f694ff1b61655e53badfa06
          Machine ID: c8b77fdf12d944179e7ea73010e4620e
            Hostname: localhost.localdomain
             Storage: /var/lib/systemd/coredump/core.NetworkManager.0.bfeee7001f694ff1b61655e53badfa06.317704.1762133353000000.zst (present)
        Size on Disk: 956.3K
             Message: Process 317704 (NetworkManager) of user 0 dumped core.
                      
                      Stack trace of thread 317704:
                      #0  0x00007f144648d03c __pthread_kill_implementation (libc.so.6 + 0x8d03c)
                      #1  0x00007f144643fb86 __GI_raise (libc.so.6 + 0x3fb86)
                      #2  0x00007f1446429873 __GI_abort (libc.so.6 + 0x29873)
                      #3  0x00007f1446e03d6c g_assertion_message (libglib-2.0.so.0 + 0x1ed6c)
                      #4  0x00007f1446e5ee2f g_assertion_message_expr (libglib-2.0.so.0 + 0x79e2f)
                      #5  0x000055afebce6f96 _check_complete (NetworkManager + 0x33bf96)
                      #6  0x000055afebce8140 _dbus_signal_ip_config_cb (NetworkManager + 0x33d140)
                      #7  0x000055afebce9865 _dbus_dispatch_cb (NetworkManager + 0x33e865)
                      #8  0x00007f144707ae3f emit_signal_instance_in_idle_cb (libgio-2.0.so.0 + 0x101e3f)
                      #9  0x00007f1446e3647b g_idle_dispatch (libglib-2.0.so.0 + 0x5147b)
                      #10 0x00007f1446e39f4f g_main_dispatch (libglib-2.0.so.0 + 0x54f4f)
                      #11 0x00007f1446e8f268 g_main_context_iterate.constprop.0 (libglib-2.0.so.0 + 0xaa268)
                      #12 0x00007f1446e395a3 g_main_loop_run (libglib-2.0.so.0 + 0x545a3)
                      #13 0x000055afeba02c1e main (NetworkManager + 0x57c1e)
                      #14 0x00007f144642a610 __libc_start_call_main (libc.so.6 + 0x2a610)
                      #15 0x00007f144642a6c0 __libc_start_main_impl (libc.so.6 + 0x2a6c0)
                      #16 0x000055afeba03125 _start (NetworkManager + 0x58125)
                      
                      Stack trace of thread 317706:
                      #0  0x00007f14465030ff __GI___poll (libc.so.6 + 0x1030ff)
                      #1  0x00007f1446e8f1fc g_main_context_poll (libglib-2.0.so.0 + 0xaa1fc)
                      #2  0x00007f1446e395a3 g_main_loop_run (libglib-2.0.so.0 + 0x545a3)
                      #3  0x00007f144708b46a gdbus_shared_thread_func (libgio-2.0.so.0 + 0x11246a)
                      #4  0x00007f1446e68762 g_thread_proxy (libglib-2.0.so.0 + 0x83762)
                      #5  0x00007f144648b2fa start_thread (libc.so.6 + 0x8b2fa)
                      #6  0x00007f1446510400 __clone3 (libc.so.6 + 0x110400)
                      
                      Stack trace of thread 317705:
                      #0  0x00007f14465030ff __GI___poll (libc.so.6 + 0x1030ff)
                      #1  0x00007f1446e8f1fc g_main_context_poll (libglib-2.0.so.0 + 0xaa1fc)
                      #2  0x00007f1446e37713 g_main_context_iteration (libglib-2.0.so.0 + 0x52713)
                      #3  0x00007f1446e37761 glib_worker_main (libglib-2.0.so.0 + 0x52761)
                      #4  0x00007f1446e68762 g_thread_proxy (libglib-2.0.so.0 + 0x83762)
                      #5  0x00007f144648b2fa start_thread (libc.so.6 + 0x8b2fa)
                      #6  0x00007f1446510400 __clone3 (libc.so.6 + 0x110400)
                      ELF object binary architecture: AMD x86-64
      
      GNU gdb (CentOS Stream) 16.3-2.el9
      Copyright (C) 2024 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.55.4-34244.copr.461c9edfb4.el9.x86_64.debug...
      [New LWP 317704]
      [New LWP 317706]
      [New LWP 317705]
      
      This GDB supports auto-downloading debuginfo from the following URLs:
        <https://debuginfod.centos.org/>
      Enable debuginfod for this session? (y or [n]) [answered N; input not from terminal]
      Debuginfod has been disabled.
      To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
      
      warning: the debug information found in "/usr/lib/debug/lib64/libteamdctl.so.0.1.5-1.31-16.el9.x86_64.debug" does not match "/lib64/libteamdctl.so.0" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/usr/lib64/libteamdctl.so.0.1.5-1.31-16.el9.x86_64.debug" does not match "/lib64/libteamdctl.so.0" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/usr/lib64/libteamdctl.so.0.1.5-1.31-16.el9.x86_64.debug" does not match "/lib64/libteamdctl.so.0" (CRC mismatch).
      
      warning: the debug information found in "/usr/lib/debug/usr/lib64/libteamdctl.so.0.1.5-1.31-16.el9.x86_64.debug" does not match "/lib64/libteamdctl.so.0" (CRC mismatch).
      [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 0x7f1445486540 (LWP 317704))]
      (gdb) #0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
      #1  0x00007f144648d0a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
      #2  0x00007f144643fb86 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
      #3  0x00007f1446429873 in __GI_abort () at abort.c:79
      #4  0x00007f1446e03d6c in g_assertion_message (domain=domain@entry=0x55afebd65cd2 "nm", file=file@entry=0x55afebd6fcc0 "../src/core/vpn/nm-vpn-connection.c", line=line@entry=1452, func=func@entry=0x55afebde2b90 <__func__.12.lto_priv.40> "_check_complete", message=message@entry=0x55afedf2a6c0 "assertion failed: (device)") at ../glib/gtestutils.c:3065
      #5  0x00007f1446e5ee2f in g_assertion_message_expr (domain=domain@entry=0x55afebd65cd2 "nm", file=file@entry=0x55afebd6fcc0 "../src/core/vpn/nm-vpn-connection.c", line=line@entry=1452, func=func@entry=0x55afebde2b90 <__func__.12.lto_priv.40> "_check_complete", expr=expr@entry=0x55afebd6a72d "device") at ../glib/gtestutils.c:3091
      #6  0x000055afebce6f96 in _check_complete (self=self@entry=0x55afedfd4160, success=success@entry=1) at ../src/core/vpn/nm-vpn-connection.c:1452
      #7  0x000055afebce8140 in _dbus_signal_ip_config_cb (self=0x55afedfd4160, addr_family=<optimized out>, dict=<optimized out>) at ../src/core/vpn/nm-vpn-connection.c:2304
      #8  0x000055afebce9865 in _dbus_dispatch_cb (connection=<optimized out>, sender_name=0x7f1438016ce0 ":1.18533", object_path=0x7f1438020870 "/org/freedesktop/NetworkManager/VPN/Plugin", interface_name=0x7f143801e870 "org.freedesktop.NetworkManager.VPN.Plugin", signal_name=0x7f143800fc20 "Ip4Config", parameters=0x55afedf9b780, user_data=0x55afedfd4160) at ../src/core/vpn/nm-vpn-connection.c:2706
      #9  0x00007f144707ae3f in emit_signal_instance_in_idle_cb (data=data@entry=0x7f1438012540) at ../gio/gdbusconnection.c:4191
      #10 0x00007f1446e3647b in g_idle_dispatch (source=0x7f143801c760, callback=0x7f144707adc0 <emit_signal_instance_in_idle_cb>, user_data=0x7f1438012540) at ../glib/gmain.c:5994
      #11 0x00007f1446e39f4f in g_main_dispatch (context=0x55afeddabea0) at ../glib/gmain.c:3364
      #12 g_main_context_dispatch (context=0x55afeddabea0) at ../glib/gmain.c:4079
      #13 0x00007f1446e8f268 in g_main_context_iterate.constprop.0 (context=0x55afeddabea0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4155
      #14 0x00007f1446e395a3 in g_main_loop_run (loop=0x55afeddabd00) at ../glib/gmain.c:4353
      #15 0x000055afeba02c1e in main (argc=<optimized out>, argv=<optimized out>) at ../src/core/main.c:519
      (gdb) quit

              nm-team Network Management Team
              rhn-support-fpokryvk Filip Pokryvka
              Network Management Team Network Management Team
              Vladimir Benes Vladimir Benes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: