Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-2013

[8.4] /kernel/networking/tls: several tests fail for tls1.3

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-se-kernel

      https://beaker.engineering.redhat.com/recipes/19685345#task203144293,task203144298,task203144299

      openssl_simple_connection

      :: [ 07:50:42 ] :: [   PASS   ] :: Command '/var/opt/ktls/openssl-ktls/bin/openssl s_server -key key.pem -cert cert.pem -accept 44330 -cipher  AES128-GCM-SHA256 -WWW -tls1_3 &' (Expected 0, got 0)
      :: [ 07:50:44 ] :: [   PASS   ] :: Command 'sleep 2' (Expected 0, got 0)
      :: [ 07:50:44 ] :: [   PASS   ] :: Command 'echo 'hello, world.' >index.txt' (Expected 0, got 0)
      :: [ 07:50:44 ] :: [   PASS   ] :: Command 'echo  | /var/opt/ktls/openssl-ktls/bin/openssl s_client  -connect localhost:44330 -cipher AES128-GCM-SHA256 -tls1_3 2>&1 | 				sed --quiet '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > received_server.pem' (Expected 0, got 0)
      :: [ 07:50:44 ] :: [   PASS   ] :: Command 'diff cert.pem received_server.pem' (Expected 0, got 0)
      :: [ 07:50:45 ] :: [   PASS   ] :: Command 'txsw1=6' (Expected 0, got 0)
      :: [ 07:50:45 ] :: [   PASS   ] :: Command 'rxsw1=6' (Expected 0, got 0)
      :: [ 07:50:45 ] :: [   PASS   ] :: Command 'echo -e "GET /index.txt HTTP/1.1" | /var/opt/ktls/openssl-ktls/bin/openssl s_client -quiet  -connect localhost:44330 -cipher AES128-GCM-SHA256 -tls1_3 2>&1 |tee log1' (Expected 0, got 0)
      :: [ 07:50:45 ] :: [   FAIL   ] :: Not using Kernel TLS for sending, fail 
      :: [ 07:50:45 ] :: [   FAIL   ] :: Not using Kernel TLS for receiving, fail 
      :: [ 07:50:45 ] :: [   PASS   ] :: Command 'echo -e "GET /40K.file HTTP/1.1" |/var/opt/ktls/openssl-ktls/bin/openssl s_client  -quiet  -connect localhost:44330 -cipher AES128-GCM-SHA256 -tls1_3' (Expected 0, got 0)
      :: [ 07:50:45 ] :: [   PASS   ] :: Command 'txsw2=6' (Expected 0, got 0)
      :: [ 07:50:45 ] :: [   FAIL   ] :: TlsTxSw should increase (Assert: "6" should not equal "6")
      :: [ 07:50:45 ] :: [   PASS   ] :: TlsDecryptError should be 0 (Assert: '0' should equal '0')
      :: [ 07:50:45 ] :: [   PASS   ] :: Command 'pkill openssl' (Expected 0, got 0)
      ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

      tls_nginx_test

      :: [ 07:58:20 ] :: [   FAIL   ] :: Command 'grep 'BIO_get_ktls_send(): 1' /var/opt/ktls/nginx-ktls/logs/error.log' (Expected 0, got 1)
      :: [ 07:58:21 ] :: [   FAIL   ] :: Command 'grep 'SSL_sendfile: 100' /var/opt/ktls/nginx-ktls/logs/error.log' (Expected 0, got 1)

      TLS1.3 is supported on 8.4. Baseline kernel also fails

              Unassigned Unassigned
              rhn-support-rbergant Roberto Bergantinos Corpas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: