sugarchain-project / yumekawa

[TEST] Yumekawa 2.0 Taproot
MIT License
6 stars 5 forks source link

src/tests.c:573: test condition failed: ((~x[m][shift]) << (64 - (1 << usebits))) == 0 #69

Closed decryp2kanon closed 3 years ago

decryp2kanon commented 3 years ago

https://cirrus-ci.com/task/5787658901258240

white_check_mark 00:28 clone
white_check_mark 00:02 ccache
white_check_mark 00:01 depends_built
white_check_mark 00:00 depends_sdk
white_check_mark 00:00 depends_releases
white_check_mark 00:01 merge_base
x 12:57 ci

PASS: exhaustive_tests.exe
========================================
   libsecp256k1 0.1: ./test-suite.log
========================================

# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests
===========

test count = 64
random seed = 21012ae52c668aba5be89349d3400f42
src/tests.c:573: test condition failed: ((~x[m][shift]) << (64 - (1 << usebits))) == 0
FAIL tests.exe (exit status: 3)

============================================================================
Testsuite summary for libsecp256k1 0.1
============================================================================
# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
Makefile:1266: recipe for target 'test-suite.log' failed
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-w64-mingw32/src/secp256k1'
Makefile:1372: recipe for target 'check-TESTS' failed
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-w64-mingw32/src/secp256k1'
Makefile:1585: recipe for target 'check-am' failed
make[4]: *** [check-am] Error 2
make[4]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-w64-mingw32/src/secp256k1'
Makefile:19371: recipe for target 'check-local' failed
make[3]: *** [check-local] Error 2
make[3]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-w64-mingw32/src'
Makefile:19114: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-w64-mingw32/src'
Makefile:18802: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-w64-mingw32/src'
Makefile:801: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
decryp2kanon commented 3 years ago

it seems randomly. i cannot reproduce.

decryp2kanon commented 3 years ago

https://github.com/sugarchain-project/yumekawa/runs/1424950002

DETAILS
white_check_mark 00:27 clone
white_check_mark 00:02 ccache
white_check_mark 00:01 depends_built
white_check_mark 00:00 depends_sdk
white_check_mark 00:00 depends_releases
white_check_mark 00:01 merge_base
x 05:23 ci

  CCLD     tests
make  check-TESTS
make[5]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-pc-linux-gnu/src/secp256k1'
make[6]: Entering directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-pc-linux-gnu/src/secp256k1'
./build-aux/test-driver: line 107: 27240 Aborted                 (core dumped) "$@" > $log_file 2>&1
FAIL: tests
PASS: exhaustive_tests
========================================
   libsecp256k1 0.1: ./test-suite.log
========================================

# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests
===========

test count = 64
random seed = 3cdc047b1a2269f15614b6c20b6d073d
src/tests.c:573: test condition failed: ((~x[m][shift]) << (64 - (1 << usebits))) == 0
FAIL tests (exit status: 134)

============================================================================
Testsuite summary for libsecp256k1 0.1
============================================================================
# TOTAL: 2
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
make[6]: *** [Makefile:1283: test-suite.log] Error 1
make[6]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-pc-linux-gnu/src/secp256k1'
make[5]: *** [Makefile:1391: check-TESTS] Error 2
make[5]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-pc-linux-gnu/src/secp256k1'
make[4]: *** [Makefile:1604: check-am] Error 2
make[4]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-pc-linux-gnu/src/secp256k1'
make[3]: *** [Makefile:21246: check-local] Error 2
make[3]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-pc-linux-gnu/src'
make[2]: *** [Makefile:19673: check-am] Error 2
make[2]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-pc-linux-gnu/src'
make[1]: *** [Makefile:19358: check-recursive] Error 1
make[1]: Leaving directory '/tmp/cirrus-ci-build/ci/scratch/build/sugarchain-x86_64-pc-linux-gnu/src'
make: *** [Makefile:801: check-recursive] Error 1
����������������
decryp2kanon commented 3 years ago

re-run solves this. stange. anyway closing