Testing on Eoan ===============
$ lsb_release -cs eoan $ uname -rv 5.3.0-19-generic #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019 Original: (ETIMEDOUT causes unsuccessful run) -------- $ dpkg -s stress-ng | grep Version: Version: 0.10.07-1ubuntu1 $ stress-ng --af-alg 2 -t 120 stress-ng: info: [9855] dispatching hogs: 2 af-alg stress-ng: info: [9855] successful run completed in 120.00s (2 mins, 0.00 secs) $ sudo modprobe -r md4 $ sudo insmod kmod.ko $ strace -e bind -o stress-ng_strace_bind.updates_kmod -f -- stress-ng --af-alg 2 -t 120 stress-ng: info: [10875] dispatching hogs: 2 af-alg stress-ng: fail: [10877] stress-ng-af-alg: bind failed, errno=110 (Connection timed out) stress-ng: error: [10875] process 10877 (stress-ng-af-alg) terminated with an error, exit status=1 (stress-ng core failure) stress-ng: info: [10875] unsuccessful run completed in 120.00s (2 mins, 0.00 secs) $ sudo rmmod kmod $ grep -e ETIMEDOUT -e 'exited with' stress-ng_strace_bind.updates_kmod 10877 <... bind resumed> ) = -1 ETIMEDOUT (Connection timed out) 10877 +++ exited with 1 +++ 10876 +++ exited with 0 +++ 10875 +++ exited with 2 +++ Console: [ 6743.872738] hello [ 6750.849145] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '10877', (original) return value '10' [ 6750.850112] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '10876', (original) return value '10' [ 6750.856261] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '10877', (modified) return value '-62' (FIRST PID) return address 'ffffffff892c6f5a' -- ensure crypto_larval_lookup() calls crypto_larval_add(). [ 6750.859332] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '10876', sleep for 10 seconds (OTHER PID) -- wait FIRST PID/crypto_larval_add()/down_write(&crypto_rwsem) [ 6750.870830] down_write(&crypto_alg_sem) in FIRST PID, FIRST CALL. sleep 15 seconds -- wait OTHER PID/__crypto_register_alg() [ 6760.875908] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '10876', slept for 10 seconds (OTHER PID) [ 6760.891766] crypto_alg_tested("md4-generic"), sleep 70 seconds. pid = 10881 -- expire the 60-second timeout of FIRST_PID/crypto_larval_add()/crypto_larval_wait() [ 6765.995913] down_write(&crypto_alg_sem) in FIRST PID, FIRST CALL. slept 15 seconds [ 6831.531954] crypto_alg_tested("md4-generic"), slept 70 seconds [ 6831.705902] CPU feature 'AVX registers' is not supported. [ 6875.780559] bye Modified: (ETIMEDOUT but still successful run) -------- $ sudo reboot $ apt-cache madison stress-ng | grep ppa stress-ng | 0.10.07-1ubuntu2 | http://ppa.launchpad.net/mfo/lp1851553/ubuntu eoan/main amd64 Packages $ sudo apt install stress-ng $ dpkg -s stress-ng | grep Version: Version: 0.10.07-1ubuntu2 $ stress-ng --af-alg 2 -t 120 stress-ng: info: [974] dispatching hogs: 2 af-alg stress-ng: info: [974] successful run completed in 118.81s (1 min, 58.81 secs) $ sudo modprobe -r md4 $ sudo insmod kmod.ko $ strace -e bind -o stress-ng_strace_bind.test-ppa_kmod -f -- stress-ng --af-alg 2 -t 120 stress-ng: info: [1250] dispatching hogs: 2 af-alg stress-ng: info: [1250] successful run completed in 120.00s (2 mins, 0.00 secs) $ sudo rmmod kmod $ grep -e ETIMEDOUT -e 'exited with' stress-ng_strace_bind.test-ppa_kmod 1252 <... bind resumed> ) = -1 ETIMEDOUT (Connection timed out) 1251 +++ exited with 0 +++ 1252 +++ exited with 0 +++ 1250 +++ exited with 0 +++ Console: [ 178.423467] hello [ 195.578735] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '1252', (original) return value '10' [ 195.578740] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '1252', (modified) return value '-62' (FIRST PID) return address 'ffffffff8d6c6f5a' -- ensure crypto_larval_lookup() calls crypto_larval_add(). [ 195.579607] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '1251', (original) return value '10' [ 195.579609] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '1251', sleep for 10 seconds (OTHER PID) -- wait FIRST PID/crypto_larval_add()/down_write(&crypto_rwsem) [ 195.582565] down_write(&crypto_alg_sem) in FIRST PID, FIRST CALL. sleep 15 seconds -- wait OTHER PID/__crypto_register_alg() [ 205.754961] security_kernel_module_request() module 'crypto-md4', comm 'stress-ng-af-al', pid '1251', slept for 10 seconds (OTHER PID) [ 205.764738] crypto_alg_tested("md4-generic"), sleep 70 seconds. pid = 1331 -- expire the 60-second timeout of FIRST_PID/crypto_larval_add()/crypto_larval_wait() [ 210.618994] down_write(&crypto_alg_sem) in FIRST PID, FIRST CALL. slept 15 seconds $ [ 275.899046] crypto_alg_tested("md4-generic"), slept 70 seconds [ 276.078957] CPU feature 'AVX registers' is not supported. [ 403.156991] bye ** Attachment removed: "kmod.c" https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/1851553/+attachment/5308836/+files/kmod.c -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1851553 Title: stress-ng-af-alg: bind failed, errno=110 (Connection timed out) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/stress-ng/+bug/1851553/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs