Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-751

unit.conc_connection fails with CYPHER missmatch on some builds

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.1.26
    • Tests
    • None

    Description

      https://buildbot.mariadb.net/buildbot/builders/kvm-asan/builds/13661
      unit.conc_connection w1 [ fail ]
      Test ended at 2025-01-21 18:39:48

      CURRENT_TEST: unit.conc_connection
      # port: 19030
      # ssl_port: 19030
      # socketname: /dev/shm/var/tmp/1/mysqld.1.sock
      1..50
      # TLS server variables
      # --------------------
      # have_openssl: NO
      # have_ssl: YES
      # ssl_ca: /home/buildbot/buildbot/build/mariadb-11.7.2/mysql-test/std_data/cacert.pem
      # ssl_capath: 
      # ssl_cert: /home/buildbot/buildbot/build/mariadb-11.7.2/mysql-test/std_data/server-cert.pem
      # ssl_cipher: 
      # ssl_crl: 
      # ssl_crlpath: 
      # ssl_key: /home/buildbot/buildbot/build/mariadb-11.7.2/mysql-test/std_data/server-key.pem
      # version_ssl_library: WolfSSL 5.7.2
      # Cipher in use: ECDHE-RSA-AES128-GCM-SHA256
      # Peer certificate fingerprint: C138FD6B9BA9995AE1EF080034A60846FAA59705FD62EB91C7BAB673BFC6D5C20D6AD722998D8ADEC39C5EC65D96F663
      # Subject: C=FI,ST=state or province within country\, in other certificates in this file it is the same as L,L=location\, usually an address but often ambiguously used,O=organization name\, typically a company name,OU=organizational unit name\, a division name within an organization,CN=localhost
      # --------------------
      # Testing against MySQL Server 11.7.2-MariaDB-debug-log
      # Host: Localhost via UNIX socket
      # Client library: 3.4.4
      ok 1 - test_conc589
      # elapsed: 10
      # Error: TLS/SSL error: Resource temporarily unavailable, try again.
      ok 2 - test_tls_timeout
      # server doesn't support parsec plugin
      ok 3 # skip test_parsec
      # Error: Cipher mismatch (/home/buildbot/buildbot/build/mariadb-11.7.2/libmariadb/unittest/libmariadb/connection.c: 2443)
      not ok 4 - test_conc748
      

      sanja Please have a look at this so you don't spend time debugging more than necessary during the merge release.

      Even in old buildbot there are failing unit.conc_connection because of too old GnuTLS on the testing environment. This is fixed if the GnuTLS library is updated on the builder. 3.6.16 (from AlmaLinux 8 is what we've tried) works. As does 3.7.11.

      So this is fixed by simply upgrading the GnuTLS version on the builder.

      Attachments

        Activity

          cvicentiu I looked at it, it is not my field (tls). It looks like Sergei is going to fix it, bit actually all CC issues are in Georg responsibility

          sanja Oleksandr Byelkin added a comment - cvicentiu I looked at it, it is not my field (tls). It looks like Sergei is going to fix it, bit actually all CC issues are in Georg responsibility

          People

            serg Sergei Golubchik
            cvicentiu Vicențiu Ciorbaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.