{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/14580","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/14580/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/14580/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/14580/events","html_url":"https://github.com/bitcoin/bitcoin/issues/14580","id":374212795,"node_id":"MDU6SXNzdWUzNzQyMTI3OTU=","number":14580,"title":"32-bit test failure: test/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed","user":{"login":"error10","id":198207,"node_id":"MDQ6VXNlcjE5ODIwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/198207?v=4","gravatar_id":"","url":"https://api.github.com/users/error10","html_url":"https://github.com/error10","followers_url":"https://api.github.com/users/error10/followers","following_url":"https://api.github.com/users/error10/following{/other_user}","gists_url":"https://api.github.com/users/error10/gists{/gist_id}","starred_url":"https://api.github.com/users/error10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/error10/subscriptions","organizations_url":"https://api.github.com/users/error10/orgs","repos_url":"https://api.github.com/users/error10/repos","events_url":"https://api.github.com/users/error10/events{/privacy}","received_events_url":"https://api.github.com/users/error10/received_events","type":"User","site_admin":false},"labels":[{"id":62963516,"node_id":"MDU6TGFiZWw2Mjk2MzUxNg==","url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Tests","name":"Tests","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-26T03:28:43Z","updated_at":"2018-10-26T16:16:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"A test in the bitcoin test suite is failing for me while running the sha256d64 test cases in crypto_tests.cpp, but only on 32-bit distro. It passes on 64-bit.\r\n\r\nI expected the test suite to pass.\r\n\r\nThe test suite log is:\r\n\r\n```\r\n$ cat test/crypto_tests.cpp.log\r\nRunning 11 test cases...\r\nEntering test module \"Bitcoin Test Suite\"\r\ntest/crypto_tests.cpp(23): Entering test suite \"crypto_tests\"\r\ntest/crypto_tests.cpp(217): Entering test case \"ripemd160_testvectors\"\r\ntest/crypto_tests.cpp(217): Leaving test case \"ripemd160_testvectors\"; testing time: 343157us\r\ntest/crypto_tests.cpp(233): Entering test case \"sha1_testvectors\"\r\ntest/crypto_tests.cpp(233): Leaving test case \"sha1_testvectors\"; testing time: 200719us\r\ntest/crypto_tests.cpp(249): Entering test case \"sha256_testvectors\"\r\ntest/crypto_tests.cpp(249): Leaving test case \"sha256_testvectors\"; testing time: 518373us\r\ntest/crypto_tests.cpp(271): Entering test case \"sha512_testvectors\"\r\ntest/crypto_tests.cpp(271): Leaving test case \"sha512_testvectors\"; testing time: 1071278us\r\ntest/crypto_tests.cpp(308): Entering test case \"hmac_sha256_testvectors\"\r\ntest/crypto_tests.cpp(308): Leaving test case \"hmac_sha256_testvectors\"; testing time: 10312us\r\ntest/crypto_tests.cpp(361): Entering test case \"hmac_sha512_testvectors\"\r\ntest/crypto_tests.cpp(361): Leaving test case \"hmac_sha512_testvectors\"; testing time: 22518us\r\ntest/crypto_tests.cpp(429): Entering test case \"aes_testvectors\"\r\ntest/crypto_tests.cpp(429): Leaving test case \"aes_testvectors\"; testing time: 3358us\r\ntest/crypto_tests.cpp(445): Entering test case \"aes_cbc_testvectors\"\r\ntest/crypto_tests.cpp(445): Leaving test case \"aes_cbc_testvectors\"; testing time: 4206us\r\ntest/crypto_tests.cpp(497): Entering test case \"chacha20_testvector\"\r\ntest/crypto_tests.cpp(497): Leaving test case \"chacha20_testvector\"; testing time: 3051us\r\ntest/crypto_tests.cpp(527): Entering test case \"countbits_tests\"\r\ntest/crypto_tests.cpp(527): Leaving test case \"countbits_tests\"; testing time: 63452us\r\ntest/crypto_tests.cpp(549): Entering test case \"sha256d64\"\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(561): error: in \"crypto_tests/sha256d64\": check memcmp(out1, out2, 32 * i) == 0 has failed\r\ntest/crypto_tests.cpp(549): Leaving test case \"sha256d64\"; testing time: 5115us\r\ntest/crypto_tests.cpp(23): Leaving test suite \"crypto_tests\"; testing time: 2246048us\r\nLeaving test module \"Bitcoin Test Suite\"; testing time: 2246167us\r\n\r\n*** 32 failures are detected in the test module \"Bitcoin Test Suite\"\r\n```\r\n\r\nThis is occurring on Fedora 29 i686 while building bitcoin. The builder has 4GB RAM. This environment includes boost 1.66.0 and openssl 1.1.1. The test passes while building bitcoin on Fedora 29 x86_64 on the same machine. The test also passed on Fedora 28 i686, which has boost 1.66.0 and openssl 1.1.0i.\r\n\r\nThis is bitcoin 0.17.0 obtained from thhe github release tagged v0.17.0.\r\n\r\nI glanced at the test but I didn't see anything obvious that might cause it to fail on a 32-bit system. I would appreciate a hint as to where to look next."},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/433462675","html_url":"https://github.com/bitcoin/bitcoin/issues/14580#issuecomment-433462675","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/14580","id":433462675,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzQ2MjY3NQ==","user":{"login":"error10","id":198207,"node_id":"MDQ6VXNlcjE5ODIwNw==","avatar_url":"https://avatars2.githubusercontent.com/u/198207?v=4","gravatar_id":"","url":"https://api.github.com/users/error10","html_url":"https://github.com/error10","followers_url":"https://api.github.com/users/error10/followers","following_url":"https://api.github.com/users/error10/following{/other_user}","gists_url":"https://api.github.com/users/error10/gists{/gist_id}","starred_url":"https://api.github.com/users/error10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/error10/subscriptions","organizations_url":"https://api.github.com/users/error10/orgs","repos_url":"https://api.github.com/users/error10/repos","events_url":"https://api.github.com/users/error10/events{/privacy}","received_events_url":"https://api.github.com/users/error10/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T16:16:39Z","updated_at":"2018-10-26T16:16:39Z","author_association":"CONTRIBUTOR","body":"> Could you also check if branch 16 and branch master are affected, please?\r\n\r\nThe test passes on v0.16.3, and fails identically as above on master."}}
{"actor":{"display_login":"error10"}}