Hi Oliver,

Testing oxi from devel branch commit 7755683...
Using FreeBSD-11 with perl-5.20.2.
Run "make test" as root.

Two independent cases:

1) with OpenSSL 1.0.1m
2) with LibreSSL 2.1.6

Both cases say FAIL, but errors are different in both cases, see below 
for case of OpenSSL. If you need testlog for LibreSSL, please let me know.

Regards, Sergei

On 02.06.2015 9:17, Oliver Welter wrote:
> sorry for the late reply, current HEAD has all errors fixed and passes
> at least on debian. Might you give it a try on BSD.
==========================================================
root@h33:/usr/ports/security/p5-openxpki # make test
cd /usr/ports/security/p5-openxpki/work/openxpki-7755683/core/server/ && 
/usr/bin/env OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl 
OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib 
OPENSSLRPATH=/usr/local/lib 
XDG_DATA_HOME=/usr/ports/security/p5-openxpki/work 
XDG_CONFIG_HOME=/usr/ports/security/p5-openxpki/work 
HOME=/usr/ports/security/p5-openxpki/work NO_PIE=yes SHELL=/bin/sh 
NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib" 
CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing" 
CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath,/usr/local/lib 
-fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe 
-fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" 
BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s 
-m 444"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install 
  -m 0644"  BSD_INSTALL_MAN="install  -m 444" gmake 
DESTDIR=/usr/ports/security/p5-openxpki/work/stage test
gmake[1]: Entering directory 
'/usr/ports/security/p5-openxpki/work/openxpki-7755683/core/server'
PERL_DL_NONLAZY=1 /usr/local/bin/perl5.20.2 "-MExtUtils::Command::MM" 
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 
'blib/lib', 'blib/arch')" t/*/*.t

....

t/01_pod/1.t ..................................... 262/339
#   Failed test 'POD test for 
blib/lib/OpenXPKI/Client/SC/Changecardpolicy.pm'
#   at /usr/local/lib/perl5/site_perl/Test/Pod.pm line 187.
# blib/lib/OpenXPKI/Client/SC/Changecardpolicy.pm (131): =over without 
closing =back
# Looks like you failed 1 test of 339.
t/01_pod/1.t ..................................... Dubious, test 
returned 1 (wstat 256, 0x100)
Failed 1/339 subtests

....

t/25_crypto/24_xs_ecdh.t ......................... Failed 11/12 subtests

....

t/28_log/01.t .................................... 1/7 Use of 
uninitialized value in concatenation (.) or string at 
/usr/ports/security/p5-openxpki/work/openxpki-7755683/core/server/blib/lib/OpenXPKI/i18n.pm
 
line 91.

....

t/60_workflow/36_enrollment.t .................... Use of uninitialized 
value in string eq at /usr/local/lib/perl5/site_perl/Test/More.pm line 1297.
skip() needs to know $how_many tests are in the block at 
t/60_workflow/36_enrollment.t line 87
t/60_workflow/36_enrollment.t .................... ok
t/60_workflow/40_certificate_revocation_list.t ... ok
t/60_workflow/70_correct_timing.t ................ Use of uninitialized 
value in string eq at /usr/local/lib/perl5/site_perl/Test/More.pm line 1380.
todo_skip() needs to know $how_many tests are in the block at 
t/60_workflow/70_correct_timing.t line 8

....

Test Summary Report
-------------------
t/01_pod/1.t                                   (Wstat: 256 Tests: 339 
Failed: 1)
   Failed test:  312
   Non-zero exit status: 1
t/10_exception/1.t                             (Wstat: 0 Tests: 7 Failed: 0)
   TODO passed:   5
t/25_crypto/24_xs_ecdh.t                       (Wstat: 139 Tests: 1 
Failed: 0)
   Non-zero wait status: 139
   Parse errors: Bad plan.  You planned 12 tests but ran 1.
t/60_workflow/99_cleanup.t                     (Wstat: 0 Tests: 4 Failed: 0)
   TODO passed:   2
Files=92, Tests=1409, 124 wallclock secs ( 0.85 usr  0.31 sys + 102.54 
cusr 12.72 csys = 116.42 CPU)
Result: FAIL
Failed 2/92 test programs. 1/1409 subtests failed.
Makefile:3137: recipe for target 'test_dynamic' failed

===========================================================

------------------------------------------------------------------------------
_______________________________________________
OpenXPKI-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-devel

Reply via email to