Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bppp: Fix and improve test for invalid sign byte #248

Merged

bppp: Fix test for invalid sign byte

3372993
Select commit
Loading
Failed to load commit list.
Merged

bppp: Fix and improve test for invalid sign byte #248

bppp: Fix test for invalid sign byte
3372993
Select commit
Loading
Failed to load commit list.
Cirrus CI / x86_64: Linux (Debian stable) ASM:no BENCH:yes BPPP:no BUILD:check CC:clang CTIMETEST:yes ECDH:no ECDSAADAPTOR:no ECDSA_S2C:no ECMULTGENPRECISION:8 ECMULTWINDOW:4 GENERATOR:no MUSIG:no RANGEPROOF:no RECOVERY:no SCHNORRSIG:no WHITELIST:no WIDEMUL:auto WITH_VALGRIND:yes failed Jul 20, 2023 in 1m 22s

Task Summary

Instruction test failed in 01:09

Details

ℹ️ Scheduling was delayed due to a concurrency limit on community tasks
ℹ️ Consider upgrading to a $10/month plan to get 2x the limits on any public and private repository

✅ 00:01 clone
✅ 00:01 merge_base
❌ 01:09 test

  CCLD     bench_internal
  CCLD     bench_ecmult
  CCLD     libsecp256k1.la
  CCLD     bench
  CCLD     valgrind_ctime_test
  CCLD     ecdsa_example
  CCLD     exhaustive_tests
  CCLD     tests
make[1]: Leaving directory '/tmp/cirrus-ci-build'
+ file exhaustive_tests tests
exhaustive_tests: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=b5f6f602b789196ac7345aa136bc2257e302c428, for GNU/Linux 3.2.0, with debug_info, not stripped
tests:            ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=f65668da3c16e7c6f1f6ef2d71af530a17eaa3af, for GNU/Linux 3.2.0, with debug_info, not stripped
+ file bench bench_ecmult bench_internal
bench:          Bourne-Again shell script, ASCII text executable
bench_ecmult:   ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=fb390f2edf932fcdfa2efe08d53d954d9555d54e, for GNU/Linux 3.2.0, with debug_info, not stripped
bench_internal: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=0b32a3976231bac222acccf7774ccb3e9e9f0132, for GNU/Linux 3.2.0, with debug_info, not stripped
+ file .libs/bench .libs/libsecp256k1.a .libs/libsecp256k1.la .libs/libsecp256k1.lai .libs/libsecp256k1.so .libs/libsecp256k1.so.0 .libs/libsecp256k1.so.0.0.0 .libs/libsecp256k1_precomputed.a .libs/libsecp256k1_precomputed.la .libs/valgrind_ctime_test
.libs/bench:                       ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=18db3749c0d9cf235bdbb417640b987f8d8a64af, for GNU/Linux 3.2.0, with debug_info, not stripped
.libs/libsecp256k1.a:              current ar archive
.libs/libsecp256k1.la:             symbolic link to ../libsecp256k1.la
.libs/libsecp256k1.lai:            libtool library file, ASCII text
.libs/libsecp256k1.so:             symbolic link to libsecp256k1.so.0.0.0
.libs/libsecp256k1.so.0:           symbolic link to libsecp256k1.so.0.0.0
.libs/libsecp256k1.so.0.0.0:       ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e6e3e90fc16bf6ec9a3f84ab2ebb2b744971df53, with debug_info, not stripped
.libs/libsecp256k1_precomputed.a:  current ar archive
.libs/libsecp256k1_precomputed.la: symbolic link to ../libsecp256k1_precomputed.la
.libs/valgrind_ctime_test:         ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=ddff4a8bcc887ba2d77ccc636234750d2ce46a9d, for GNU/Linux 3.2.0, with debug_info, not stripped
+ export LOG_COMPILER=
+ make check
make  check-am
make[1]: Entering directory '/tmp/cirrus-ci-build'
make  check-TESTS
make[2]: Entering directory '/tmp/cirrus-ci-build'
make[3]: Entering directory '/tmp/cirrus-ci-build'
PASS: ecdsa_example
PASS: exhaustive_tests
PASS: tests
============================================================================
Testsuite summary for libsecp256k1 0.1.0-pre
============================================================================
# TOTAL: 3
# PASS:  3
# SKIP:  0
# XFAIL: 0
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================
make[3]: Leaving directory '/tmp/cirrus-ci-build'
make[2]: Leaving directory '/tmp/cirrus-ci-build'
make[1]: Leaving directory '/tmp/cirrus-ci-build'
+ [ yes = yes ]
+ EXEC=./libtool --mode=execute
+ [ -n  ]
+ [ yes = yes ]
+ ./libtool --mode=execute valgrind --error-exitcode=42 ./valgrind_ctime_test