I did not do anything special outside of the steps in my repro to
specifically enable SSL in the nginx configs, but should that matter in
terms of running these SSL tests? With the Dockerfile in the description
as it is, I can already see in the test output that SSL tests are
running and succeeding with libssl1.1 on version 1.1.0g-2ubuntu4.3 and
failing on version 1.1.1-1ubuntu2.1~18.04.2.

Here is one example (mail_ssl.t):

Dockerfile with libssl1.1=1.1.0g-2ubuntu4.3:
www-data@8c157d70f8a2:/nginx-tests$ prove mail_ssl.t
mail_ssl.t..ok
All tests successful.
Files=1, Tests=22,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.15 cusr  0.27 
csys =  0.44 CPU)
Result: PASS

Dockerfile with libssl1.1=1.1.1-1ubuntu2.1~18.04.2:
www-data@2a68517d6b29:/nginx-tests$ prove mail_ssl.t 
mail_ssl.t .. 140319190012352:error:2406F079:random number 
generator:RAND_load_file:Cannot open 
file:../crypto/rand/randfile.c:88:Filename=/var/www/.rnd   
140531605090752:error:2406F079:random number generator:RAND_load_file:Cannot 
open file:../crypto/rand/randfile.c:88:Filename=/var/www/.rnd   
mail_ssl.t .. 1/22       
#   Failed test 'builtin session reused'    
#   at mail_ssl.t line 187.       
#          got: '0'        
#     expected: '1'        
           
#   Failed test 'builtin size session reused'    
#   at mail_ssl.t line 199.       
#          got: '0'        
#     expected: '1'        
           
#   Failed test 'shared session reused'    
#   at mail_ssl.t line 205.       
#          got: '0'        
#     expected: '1'        
# Looks like you failed 3 tests of 22.        
mail_ssl.t .. Dubious, test returned 3 (wstat 768, 0x300)     
Failed 3/22 subtests   
           
Test Summary Report     
-------------------                                                             
                                                                                
             _ssl.t (Wstat: 768 Tests: 22 Failed: 3)         
  Failed tests:  3, 5-6        
  Non-zero exit status: 3          
Files=1, Tests=22,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.16 cusr  0.25 
csys =  0.44 CPU)       
Result: FAIL

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1833476

Title:
  libssl1.1 version 1.1.1-1ubuntu2.1~18.04.2 breaks nginx ssl tests

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1833476/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to