-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Labels
is:bugBug description.Bug description.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)From the developer perspective, the issue was solved (bug fixed, question answered,...)
Description
This is with the today's devel of everything:
17/20 Test #10: test_ch ..........................***Failed 5.45 sec
[==========] tests: Running 2 test(s).
[ RUN ] test_nc_ch_ssh
libyang[2]: Searching for "ietf-inet-types" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-inet-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Module "ietf-inet-types" not found in local searchdirs.
libyang[2]: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
libyang[2]: Searching for "ietf-yang-types" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-yang-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Module "ietf-yang-types" not found in local searchdirs.
libyang[2]: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
libyang[2]: Searching for "ietf-netconf" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-netconf" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-netconf-acm" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-netconf-acm" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-netconf-monitoring" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-netconf-monitoring" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-netconf-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-netconf-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-x509-cert-to-name" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-x509-cert-to-name" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tcp-client" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tcp-client" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-crypto-types" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-crypto-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tcp-common" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tcp-common" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tcp-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tcp-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-ssh-common" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-ssh-common" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-keystore" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-keystore" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-ssh-encryption-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-ssh-encryption-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-ssh-key-exchange-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-ssh-key-exchange-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-ssh-mac-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-ssh-mac-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-ssh-public-key-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-ssh-public-key-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-ssh-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-ssh-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-crypt-hash" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-crypt-hash" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-truststore" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-truststore" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tls-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tls-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tls-common" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tls-common" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-tls-cipher-suite-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-tls-cipher-suite-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "libnetconf2-netconf-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "libnetconf2-netconf-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-inet-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Module "ietf-inet-types" not found in local searchdirs.
libyang[2]: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
libyang[2]: Searching for "ietf-yang-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Module "ietf-yang-types" not found in local searchdirs.
libyang[2]: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
==================
WARNING: ThreadSanitizer: destroy of a locked mutex (pid=8078)
#0 pthread_mutex_destroy <null> (test_ch+0x45a27f) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 nc_ch_client_thread /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3541:5 (test_ch+0x4fcd8d) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
and:
#0 pthread_mutex_trylock <null> (test_ch+0x45a5cf) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 pthread_mutex_timedlock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/compat/compat.c:47:18 (test_ch+0x534e29) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#2 pthread_mutex_clocklock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/compat/compat.c:87:12 (test_ch+0x534e29)
#3 nc_mutex_lock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session.c:513:15 (test_ch+0x4e8b66) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#4 nc_ch_client_thread /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3535:9 (test_ch+0x4fcd68) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
Location is heap block of size 160 at 0x7b280000a000 allocated by thread T2:
#0 calloc <null> (test_ch+0x456c3a) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 _nc_connect_ch_client_dispatch /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3571:11 (test_ch+0x4fb82a) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#2 nc_connect_ch_client_dispatch /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3646:10 (test_ch+0x4fcfec) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#3 server_thread_ssh /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/tests/test_ch.c:105:11 (test_ch+0x5360f9) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
Mutex M0 (0x7b280000a048) created at:
#0 pthread_mutex_init <null> (test_ch+0x45a0e4) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 _nc_connect_ch_client_dispatch /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3583:5 (test_ch+0x4fb8f5) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#2 nc_connect_ch_client_dispatch /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3646:10 (test_ch+0x4fcfec) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#3 server_thread_ssh /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/tests/test_ch.c:105:11 (test_ch+0x5360f9) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
Thread T2 (tid=8162, finished) created by main thread at:
#0 pthread_create <null> (test_ch+0x45871f) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 test_nc_ch_ssh /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/tests/test_ch.c:234:11 (test_ch+0x5358af) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#2 <null> <null> (libcmocka.so.0+0x618f) (BuildId: 785844a0941c0bde763740a981d056f60aa9c7b7)
#3 __libc_start_call_main /usr/src/debug/glibc-2.37-18.fc38.x86_64/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 (libc.so.6+0x27b89) (BuildId: 70e92bb237883be3065a6afc9f0696aef2d068bf)
SUMMARY: ThreadSanitizer: destroy of a locked mutex (/home/ci/build/libnetconf2/tests/test_ch+0x45a27f) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f) in pthread_mutex_destroy
==================
Call Home client "ch_ssh" endpoint "endpt" connecting...
Trying to connect via IPv4 to 127.0.0.1:10058.
Successfully connected to 127.0.0.1:10058 over IPv4.
Accepted a connection on 127.0.0.1:10058 from 127.0.0.1:56136.
Server hostkey check mode: skip.
Received an SSH message "request-service" of subtype "ssh-userauth".
Received an SSH message "request-auth" of subtype "none".
Publickey athentication.
Trying to authenticate using pair "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/tests/data/id_ed25519" "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/tests/data/id_ed25519.pub".
Received an SSH message "request-auth" of subtype "publickey".
Received an SSH message "request-auth" of subtype "publickey".
User "test_ch_ssh" authenticated.
Authentication successful.
Received an SSH message "request-channel-open" of subtype "session".
Received an SSH message "request-channel" of subtype "subsystem".
Call Home client "ch_ssh" session 1 established.
Capability for <get-schema> support found.
Capability for yang-library support found.
Capability for XPath filter support found.
Reading module "ietf-netconf@<latest>" from local file "/home/ci/target/share/yang/modules/libnetconf2/[email protected]".
Reading module "ietf-netconf-acm@2018-02-14" from local file "/home/ci/target/share/yang/modules/libnetconf2/[email protected]".
Reading module "ietf-yang-library@2019-01-04" from local file "/home/ci/target/share/yang/modules/sysrepo/[email protected]".
Unable to identify revision of the import module "ietf-datastores" from the available server side information.
Reading module "ietf-datastores@<latest>" from server via get-schema.
Module "ietf-datastores@<any>" was requested.
Unexpected reply without data to a <get> RPC.
Trying to use capabilities instead of ietf-yang-library data.
Reading module "ietf-x509-cert-to-name@2014-12-10" from local file "/home/ci/target/share/yang/modules/libnetconf2/[email protected]".
Reading module "iana-crypt-hash@2014-04-04" from local file "/home/ci/target/share/yang/modules/libnetconf2/[email protected]".
Call Home client "ch_ssh" session terminated.
Call Home client "ch_ssh" reconnecting in 180 seconds.
Call Home thread signaled to exit, client "ch_ssh" probably removed.
Call Home client "ch_ssh" thread exit.
[ OK ] test_nc_ch_ssh
[ RUN ] test_nc_ch_tls
libyang[2]: Searching for "ietf-inet-types" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-inet-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Module "ietf-inet-types" not found in local searchdirs.
libyang[2]: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
libyang[2]: Searching for "ietf-yang-types" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-yang-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Module "ietf-yang-types" not found in local searchdirs.
libyang[2]: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
libyang[2]: Searching for "ietf-netconf" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-netconf" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-netconf-acm" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-netconf-acm" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-netconf-monitoring" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-netconf-monitoring" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-netconf-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-netconf-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-x509-cert-to-name" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-x509-cert-to-name" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tcp-client" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tcp-client" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-crypto-types" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-crypto-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tcp-common" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tcp-common" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tcp-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tcp-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-ssh-common" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-ssh-common" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-keystore" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-keystore" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-ssh-encryption-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-ssh-encryption-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-ssh-key-exchange-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-ssh-key-exchange-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-ssh-mac-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-ssh-mac-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-ssh-public-key-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-ssh-public-key-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-ssh-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-ssh-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-crypt-hash" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-crypt-hash" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-truststore" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-truststore" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tls-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tls-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-tls-common" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "ietf-tls-common" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "iana-tls-cipher-suite-algs" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "iana-tls-cipher-suite-algs" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "libnetconf2-netconf-server" in "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules".
libyang[2]: Searching for "libnetconf2-netconf-server" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Loading schema from "/home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/modules/[email protected]" file.
libyang[2]: Searching for "ietf-inet-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Module "ietf-inet-types" not found in local searchdirs.
libyang[2]: Newer revision than "ietf-inet-types@2013-07-15" not found, using this as the latest revision.
libyang[2]: Searching for "ietf-yang-types" in "/home/ci/build/libnetconf2/tests".
libyang[2]: Module "ietf-yang-types" not found in local searchdirs.
libyang[2]: Newer revision than "ietf-yang-types@2013-07-15" not found, using this as the latest revision.
==================
WARNING: ThreadSanitizer: destroy of a locked mutex (pid=8078)
#0 pthread_mutex_destroy <null> (test_ch+0x45a27f) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 nc_ch_client_thread /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3541:5 (test_ch+0x4fcd8d) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
and:
#0 pthread_mutex_trylock <null> (test_ch+0x45a5cf) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 pthread_mutex_timedlock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/compat/compat.c:47:18 (test_ch+0x534e29) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#2 pthread_mutex_clocklock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/compat/compat.c:87:12 (test_ch+0x534e29)
#3 nc_mutex_lock /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session.c:513:15 (test_ch+0x4e8b66) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#4 nc_ch_client_thread /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3535:9 (test_ch+0x4fcd68) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
Location is heap block of size 160 at 0x7b28000064a0 allocated by thread T5:
#0 calloc <null> (test_ch+0x456c3a) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 _nc_connect_ch_client_dispatch /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3571:11 (test_ch+0x4fb82a) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#2 nc_connect_ch_client_dispatch /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3646:10 (test_ch+0x4fcfec) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#3 server_thread_tls /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/tests/test_ch.c:260:11 (test_ch+0x5363ea) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
Mutex M0 (0x7b28000064e8) created at:
#0 pthread_mutex_init <null> (test_ch+0x45a0e4) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 _nc_connect_ch_client_dispatch /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3583:5 (test_ch+0x4fb8f5) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#2 nc_connect_ch_client_dispatch /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/src/session_server.c:3646:10 (test_ch+0x4fcfec) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#3 server_thread_tls /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/tests/test_ch.c:260:11 (test_ch+0x5363ea) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
Thread T5 (tid=8257, running) created by main thread at:
#0 pthread_create <null> (test_ch+0x45871f) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#1 test_nc_ch_tls /home/ci/src/cesnet-gerrit-public/CzechLight/dependencies/libnetconf2/tests/test_ch.c:329:11 (test_ch+0x535bff) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f)
#2 <null> <null> (libcmocka.so.0+0x618f) (BuildId: 785844a0941c0bde763740a981d056f60aa9c7b7)
#3 __libc_start_call_main /usr/src/debug/glibc-2.37-18.fc38.x86_64/csu/../sysdeps/nptl/libc_start_call_main.h:58:16 (libc.so.6+0x27b89) (BuildId: 70e92bb237883be3065a6afc9f0696aef2d068bf)
SUMMARY: ThreadSanitizer: destroy of a locked mutex (/home/ci/build/libnetconf2/tests/test_ch+0x45a27f) (BuildId: 3746b7a1596c06ca82a7a26f89885e9b05e6364f) in pthread_mutex_destroy
==================
Call Home client "ch_tls" endpoint "endpt" connecting...
Trying to connect via IPv4 to 127.0.0.1:10059.
Successfully connected to 127.0.0.1:10059 over IPv4.
Accepted a connection on 127.0.0.1:10059 from 127.0.0.1:43286.
Server certificate verified (domain "(null)").
Cert verify: depth 1.
Cert verify: subject: /C=CZ/ST=Some-State/L=Brno/O=CESNET/OU=TMC/CN=serverca.
Cert verify: issuer: /C=CZ/ST=Some-State/L=Brno/O=CESNET/OU=TMC/CN=serverca.
Cert verify: depth 0.
Cert verify: subject: /C=CZ/ST=Some-State/L=Brno/O=CESNET/OU=TMC/CN=client.
Cert verify: issuer: /C=CZ/ST=Some-State/L=Brno/O=CESNET/OU=TMC/CN=serverca.
Cert verify CTN: entry with a matching fingerprint found.
Cert verify CTN: new client username recognized as "ch_client_tls".
Client certificate verified.
Call Home client "ch_tls" session 1 established.
Capability for <get-schema> support found.
Capability for yang-library support found.
Capability for XPath filter support found.
Reading module "ietf-netconf@<latest>" from local file "/home/ci/target/share/yang/modules/libnetconf2/[email protected]".
Reading module "ietf-netconf-acm@2018-02-14" from local file "/home/ci/target/share/yang/modules/libnetconf2/[email protected]".
Reading module "ietf-yang-library@2019-01-04" from local file "/home/ci/target/share/yang/modules/sysrepo/[email protected]".
Unable to identify revision of the import module "ietf-datastores" from the available server side information.
Reading module "ietf-datastores@<latest>" from server via get-schema.
Module "ietf-datastores@<any>" was requested.
Unexpected reply without data to a <get> RPC.
Trying to use capabilities instead of ietf-yang-library data.
Reading module "ietf-x509-cert-to-name@2014-12-10" from local file "/home/ci/target/share/yang/modules/libnetconf2/[email protected]".
Reading module "iana-crypt-hash@2014-04-04" from local file "/home/ci/target/share/yang/modules/libnetconf2/[email protected]".
Call Home client "ch_tls" removed, but an established session will not be terminated.
Call Home client "ch_tls" thread exit.
[ OK ] test_nc_ch_tls
[==========] tests: 2 test(s) run.
[ PASSED ] 2 test(s).
ThreadSanitizer: reported 2 warnings
18/20 Test #19: test_tls ......................... Passed 5.96 sec
19/20 Test #9: test_cert_exp_notif .............. Passed 19.85 sec
20/20 Test #17: test_runtime_changes ............. Passed 27.17 sec
95% tests passed, 1 tests failed out of 20
Total Test time (real) = 27.20 sec
The following tests FAILED:
10 - test_ch (Failed)
Metadata
Metadata
Assignees
Labels
is:bugBug description.Bug description.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)From the developer perspective, the issue was solved (bug fixed, question answered,...)