Bug 12786

Summary: [2.4.3.rc2] openssl ptest failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: yeoh ee peng <ee.peng.yeoh>
Component: coreAssignee: Armin Kuster <akuster>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Medium+ CC: jkrishnanjanappa, meta.mr.watcher, meta.watcher, randy.macleod
Version: 2.4.3   
Target Milestone: 2.4.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Found by QA test)
Verified: Documentation change: No (bug/feature does not impact docs)

Description yeoh ee peng 2018-06-14 07:12:57 UTC
Perform diff and found that openssl tests (test_verify, test_cms)  that passing in 2.4.2.rc2 are failing on 2.4.3.rc2

--- a/openssl (2.4.2.rc2)
+++ b/openssl (2.4.3.rc2)
@@ -28,7 +28,7 @@ PASS: test_sid
 PASS: test_gen
 PASS: test_req
 PASS: test_pkcs7
-PASS: test_verify
+FAIL: test_verify
 PASS: test_dh
 PASS: test_dsa
 PASS: test_ss
@@ -41,7 +41,7 @@ PASS: test_tsa
 PASS: test_ige
 PASS: test_jpake
 PASS: test_srp
-PASS: test_cms
+FAIL: test_cms
 PASS: test_ocsp
 PASS: test_v3name
 PASS: test_heartbeat
Comment 1 Jagadeesh Krishnanjanappa 2018-08-14 17:33:43 UTC
Update:
Using poky-yocto-2.4.3 tuned for qemux86 machine, with qemu target booted with
core-image-minimal + openssl, the reported tests are not failing.

Following contents were added in local.conf:

EXTRA_IMAGE_FEATURES_append = " ptest-pkgs "
DISTRO_FEATURES_append = " ptest "
IMAGE_INSTALL_append = " openssl "


At target after running below commands:
cd /usr/lib/openssl/ptest
./run-ptest 2>&1 | tee log

we have
root@qemux86:/usr/lib/openssl/ptest# cat log | egrep "test_verify|test_cms"
PASS: test_verify
PASS: test_cms
test_verify_extra
PASS: test_verify_extra
root@qemux86:/usr/lib/openssl/ptest#


Regards,
Jagadeesh
Comment 2 Armin Kuster 2018-08-16 01:47:16 UTC
works with Rocko 2.4.4