Bug 12786 - [2.4.3.rc2] openssl ptest failed
Summary: [2.4.3.rc2] openssl ptest failed
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.4.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.4.4
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-06-14 07:12 UTC by yeoh ee peng
Modified: 2018-08-16 01:47 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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