Bug 8059

Summary: ptest - some openssl ptests fail
Product: [QA/Testing] Runtime Testing Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: generalAssignee: Maxin B. John <maxin.john>
Status: VERIFIED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: normal    
Priority: Medium+ CC: maxin.baby.john
Version: 1.9   
Target Milestone: 2.1   
Hardware: NUC   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 9119    

Description Alexandru Georgescu 2015-07-28 10:59:52 UTC
commit: f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4
AB Link: http://autobuilder.yoctoproject.org/pub/releases/yocto-yocto-1.9_M1.rc2/ptest/machines/genericx86-64/

HW: core-image-sato-sdk-genericx86-64 on NUC

For full log, see attachment 2605 [details]: https://bugzilla.yoctoproject.org/attachment.cgi?id=2605


Steps to reproduce:
When running ptest, the following errors appear at openssl:

(part of the output log)

2015-07-22T16:12
BEGIN: /usr/lib/openssl/ptest
testing...
make[1]: Entering directory '/usr/lib/openssl/ptest/test'
make[2]: Entering directory '/usr/lib/openssl/ptest/test'
Makefile:127: recipe for target 'destest.c' failed
(cd ..; make build_libcrypto)
make[3]: Entering directory '/usr/lib/openssl/ptest'
make[3]: Leaving directory '/usr/lib/openssl/ptest'
Makefile:380: recipe for target '../libcrypto.a' failed
make[2]: Leaving directory '/usr/lib/openssl/ptest/test'
FAIL: test_des
make[2]: Entering directory '/usr/lib/openssl/ptest/test'
Makefile:127: recipe for target 'ideatest.c' failed
(cd ..; make build_libcrypto)
make[3]: Entering directory '/usr/lib/openssl/ptest'
make[3]: Leaving directory '/usr/lib/openssl/ptest'
Makefile:380: recipe for target '../libcrypto.a' failed
make[2]: Leaving directory '/usr/lib/openssl/ptest/test'
FAIL: test_idea
make[2]: Entering directory '/usr/lib/openssl/ptest/test'
Makefile:127: recipe for target 'shatest.c' failed
(cd ..; make build_libcrypto)
make[3]: Entering directory '/usr/lib/openssl/ptest'
make[3]: Leaving directory '/usr/lib/openssl/ptest'
Makefile:380: recipe for target '../libcrypto.a' failed
Makefile:127: recipe for target 'sha1test.c' failed
make[2]: Leaving directory '/usr/lib/openssl/ptest/test'
FAIL: test_sha
Comment 1 Alexandru Georgescu 2015-08-05 15:56:13 UTC
Current status for 1.9_M2.rc1, comparison with 1.9_M1.rc2

Commit 1.9_M2.rc1: 22078d5e533e59a9aa6999abefbf6ece4e01de8d
Previous Commit 1.9_M1.rc2: f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4


Results for NUC ptest openssl 2015-08-02:
********************************
Tests that failed now and worked last time: 1
test_verify_extra
Tests that passed now and and failed last time: 1
test_cms
Tests that were skipped now and worked last time: 0

Tests that were skipped last time and worked now: 1
test_verify_extra
Comment 2 Maxin B. John (inactive) 2015-08-06 13:56:56 UTC
kmod upgrade to version 20 removed ptest support.

commit 7ad628e0ef3817532916df090cc98672341415bb
Author: Chen Qi <Qi.Chen@windriver.com>
Date:   Mon Apr 13 09:55:04 2015 +0800

    kmod: upgrade to 20
    
    The following patches are rebased.
    -- Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch
    -- avoid_parallel_tests.patch
    
    The ptest part of kmod is removed because new version of kmod port all tests to
    use modules from module-playground instead of copying prebuilt modules to the
    repository. So, we cannot use ptest as before. Remove it so that kmod can build
    successfully.
Comment 3 Alexandru Georgescu 2015-09-22 06:30:04 UTC
Current status for 1.9_M3.rc1 build: 


Commit: ea562de57590c966cd5a75fda8defecd397e6436
Previous Commit: c75cefe8a382a63f625123c156137782db118f64


Results for NUC ptest openssl 2015-09-15:
********************************

Tests that failed now and worked last time: 1
test_cms

Tests that passed now and and failed last time: 0

Tests that were skipped now and worked last time: 0

Tests that were skipped last time and worked now: 0
Comment 4 Maxin B. John 2015-09-29 07:42:43 UTC
Patch sent to oe-core:
http://lists.openembedded.org/pipermail/openembedded-core/2015-September/111085.html
Comment 6 Alexandru Georgescu 2015-10-09 12:33:29 UTC
Verifeid with eac61f37e36099f74485dab398b57f3812826d17