Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8404

Some main.ssl_xxx tests fails with --ssl

    Details

    • Type: Bug
    • Status: Confirmed
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.20
    • Fix Version/s: 10.0
    • Component/s: SSL, Tests
    • Labels:

      Description

      $ perl mtr --do-test=ssl --ssl --force | tee mtr.out
      Logging: mtr  --do-test=ssl --ssl --force
      MariaDB Version 10.0.20-MariaDB-debug
       - SSL connections supported
       - binaries are debug compiled
      
      ..snip..
      
      TEST                                      RESULT   TIME (ms) or COMMENT
      --------------------------------------------------------------------------
      
      worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
      main.ssl-big                             [ skipped ]  Test needs --big-test
      main.ssl_crl                             [ disabled ]  broken upstream
      main.ssl_crl_clients_valid               [ disabled ]  broken upstream
      main.ssl_crl_clrpath                     [ disabled ]  broken upstream
      main.ssl_and_innodb 'innodb_plugin'      [ pass ]    137
      main.ssl_and_innodb 'xtradb'             [ pass ]    206
      main.ssl_7937 'nossl'                    [ fail ]
              Test ended at 2015-06-30 22:28:55
      
      CURRENT_TEST: main.ssl_7937
      mysqltest: Could not open connection 'default': 2026 SSL connection error: SSL is required, but the server does not support it
      
       - saving '/home/nirbhay/project/git-repo/maria/10.0/install/mysql-test/var/log/main.ssl_7937-nossl/' to '/home/nirbhay/project/git-repo/maria/10.0/install/mysql-test/var/log/main.ssl_7937-nossl/'
      main.ssl_7937 'ssl'                      [ pass ]    111
      main.ssl_8k_key                          [ fail ]
              Test ended at 2015-06-30 22:28:57
      
      CURRENT_TEST: main.ssl_8k_key
      mysqltest: Could not open connection 'default': 2026 SSL connection error: SSL certificate validation failure
      
       - saving '/home/nirbhay/project/git-repo/maria/10.0/install/mysql-test/var/log/main.ssl_8k_key/' to '/home/nirbhay/project/git-repo/maria/10.0/install/mysql-test/var/log/main.ssl_8k_key/'
      main.ssl_cipher                          [ pass ]    129
      main.ssl_crl_clients                     [ fail ]
              Test ended at 2015-06-30 22:28:59
      
      CURRENT_TEST: main.ssl_crl_clients
      mysqltest: Could not open connection 'default': 2026 SSL connection error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
      
       - saving '/home/nirbhay/project/git-repo/maria/10.0/install/mysql-test/var/log/main.ssl_crl_clients/' to '/home/nirbhay/project/git-repo/maria/10.0/install/mysql-test/var/log/main.ssl_crl_clients/'
      main.ssl                                 [ pass ]  12290
      main.ssl_compress                        [ pass ]  11242
      main.ssl_connect                         [ pass ]   1073
      main.ssl_timeout                         [ pass ]   5031
      sys_vars.ssl_ca_basic                    [ pass ]     11
      sys_vars.ssl_capath_basic                [ pass ]      9
      sys_vars.ssl_cert_basic                  [ pass ]     10
      sys_vars.ssl_cipher_basic                [ pass ]     10
      sys_vars.ssl_crl_basic                   [ pass ]      1
      sys_vars.ssl_crlpath_basic               [ pass ]       
      sys_vars.ssl_key_basic                   [ pass ]     25
      mysql-test-run: *** ERROR: there were failing test cases
      --------------------------------------------------------------------------
      The servers were restarted 7 times
      Spent 30.285 of 54 seconds executing testcases
      
      Completed: Failed 3/18 tests, 83.33% were successful.
      
      Failing test(s): main.ssl_7937 main.ssl_8k_key main.ssl_crl_clients
      

      However, all ssl tests pass if no '--ssl' option is used.

      https://bugzilla.suse.com/show_bug.cgi?id=920246

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              Duplicate of MDEV-7760

              Show
              elenst Elena Stepanova added a comment - Duplicate of MDEV-7760
              Hide
              elenst Elena Stepanova added a comment -

              Actually, since this issue is linked to OpenSUSE bugzilla, lets make the other bug duplicate.

              Show
              elenst Elena Stepanova added a comment - Actually, since this issue is linked to OpenSUSE bugzilla, lets make the other bug duplicate.
              Hide
              elenst Elena Stepanova added a comment -

              The upstream bug is called "numerous tests fail on RedHat 6", but it's really about the --ssl option.

              Show
              elenst Elena Stepanova added a comment - The upstream bug is called "numerous tests fail on RedHat 6", but it's really about the --ssl option.

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  nirbhay_c Nirbhay Choubey
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: