Skip to content

make check fails #10995

Description

@feynhat

Version

5.9.2

Description

make check fails on Arch Linux. The only flag I used while configuring was --enable-wolfclu.

Steps to reproduce:

  • git clone "https://github.com/wolfSSL/wolfssl.git"
  • ./autogen.sh
  • ./configure --enable-wolfclu
  • make
  • make check

Result:

...
FAIL: scripts/unit.test
============================================================================
Testsuite summary for wolfssl 5.9.2
============================================================================
# TOTAL: 12
# PASS:  5
# SKIP:  6
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log for debugging.
Some test(s) failed.  Please report this to https://github.com/wolfssl/wolfssl/issues,
together with the test-suite.log file (gzipped) and your system
information.  Thanks.
============================================================================
make[4]: *** [Makefile:12747: test-suite.log] Error 1
make[4]: Leaving directory '/mnt/data/proj/wolfssl'
make[3]: *** [Makefile:12882: check-TESTS] Error 2
make[3]: Leaving directory '/mnt/data/proj/wolfssl'
make[2]: *** [Makefile:13135: check-am] Error 2
make[2]: Leaving directory '/mnt/data/proj/wolfssl'
make[1]: *** [Makefile:12633: check-recursive] Error 1
make[1]: Leaving directory '/mnt/data/proj/wolfssl'
make: *** [Makefile:13137: check] Error 2

I have attached the test-suite.log. Please let me know if you need any more information.

test-suite.log.gz

It seems that the test that fails is in the signature group:

908    Begin Group: signature
 909     663: test_wc_SignatureGetSize_ecc                       : passed (  0.00000)
 910     664: test_wc_SignatureGetSize_rsa                       : passed (  0.00000)
 911     665: test_wc_falcon_sign_verify                         : skipped
 912     666: test_wc_SignatureDecisionCoverage                  :
 913 ERROR - tests/api/test_signature.c line 341 failed with:
 914     expected: wc_SignatureVerify(WC_HASH_TYPE_SHA, sig_type, data, data_len, sig, sig_len, &ecc, key_len) == (BAD_FUNC_ARG)
 915     result:   -229 != -173
 916
 917  failed (  0.00002)
 918
 919 ERROR - tests/api.c line 38791 failed with:
 920     expected: Test failed
 921
 922     result:   ret 0
 923
 924     667: test_wc_SignatureFeatureCoverage                   : passed (  0.00632)
 925   End Group  : signature

Its failing on a Raspberry Pi too (with Raspbian running).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions