Open xnox opened 6 years ago
The test cases a simple script (test.pm) that use the openssl command line utility to perform pairwise-consistency tests: 1. Enc/Dec a tmp file configured to use the ibmca openssl-engine (which in turn uses s390x crypto hw via libica). 2. Dec/Enc the result using openssl (w/o engine configuration), 3. compare results. At the moment, the testcases operate on the same temporary input/output files, so they cant be run concurrently.
Regrading the test case failures:
unable to write 'random state'
is an openssl error ( https://www.openssl.org/docs/faq.html#USER2 ).
Regarding the skipped test cases:
A test is only skipped, if the engine could not be configured. This is checked by parsing the output of
OPENSSL_CONF=${srcdir}/openssl-test.cnf openssl engine -c
output must contain "ibmca", srcdir is from the autotools test framwork
thank you for details. I shall check what exactly why those things are failing here.
Is this one still relevant?
This is on Ubuntu Cosmic (to become 18.10) as built in launchpad PPA. Note anybody can use PPAs on launchpad and activate builds for s390x.
When doing a similar build, but in chroot on a z/VM, things are slightly better:
So no tests are actually run, and everything is skipped.
Regular user build (non-chrooted) on z/VM goes fine and results in full test suite pass: