{"action":"closed","issue":{"url":"https://api.github.com/repos/ElementsProject/lightning/issues/1668","repository_url":"https://api.github.com/repos/ElementsProject/lightning","labels_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1668/labels{/name}","comments_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1668/comments","events_url":"https://api.github.com/repos/ElementsProject/lightning/issues/1668/events","html_url":"https://github.com/ElementsProject/lightning/issues/1668","id":338959505,"node_id":"MDU6SXNzdWUzMzg5NTk1MDU=","number":1668,"title":"tests: run-params issue","user":{"login":"jsarenik","id":244565,"node_id":"MDQ6VXNlcjI0NDU2NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/244565?v=4","gravatar_id":"","url":"https://api.github.com/users/jsarenik","html_url":"https://github.com/jsarenik","followers_url":"https://api.github.com/users/jsarenik/followers","following_url":"https://api.github.com/users/jsarenik/following{/other_user}","gists_url":"https://api.github.com/users/jsarenik/gists{/gist_id}","starred_url":"https://api.github.com/users/jsarenik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsarenik/subscriptions","organizations_url":"https://api.github.com/users/jsarenik/orgs","repos_url":"https://api.github.com/users/jsarenik/repos","events_url":"https://api.github.com/users/jsarenik/events{/privacy}","received_events_url":"https://api.github.com/users/jsarenik/received_events","type":"User","site_admin":false},"labels":[{"id":986757348,"node_id":"MDU6TGFiZWw5ODY3NTczNDg=","url":"https://api.github.com/repos/ElementsProject/lightning/labels/aarch64","name":"aarch64","color":"d32d00","default":false},{"id":811551106,"node_id":"MDU6TGFiZWw4MTE1NTExMDY=","url":"https://api.github.com/repos/ElementsProject/lightning/labels/compilation","name":"compilation","color":"a137e8","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-07-06T14:26:08Z","updated_at":"2018-07-13T11:19:13Z","closed_at":"2018-07-13T11:19:13Z","author_association":"CONTRIBUTOR","body":"### Issue and Steps to Reproduce\r\n\r\nTesting on Debian buster/sid on aarch64 (DragonBoard 410c with latest [build 359](http://releases.linaro.org/96boards/dragonboard410c/linaro/debian/18.01/))\r\n\r\nUPDATE: Also Alpine Linux on `x86_64` see [later comment](https://github.com/ElementsProject/lightning/issues/1668#issuecomment-403707482)\r\n\r\nI can give root access to this box, just send me your public SSH key via email.\r\n\r\n```\r\nlinaro@linaro-developer:~/lightning-auto-test/lightning$ git rev-parse HEAD\r\n13796f0d0f256e15ac20f35ad9e23944965f09cf\r\nlinaro@linaro-developer:~/lightning-auto-test/lightning$ make check\r\nbitcoin/test/run-tx-encode > /dev/null\r\ncommon/test/run-sphinx > /dev/null\r\ncommon/test/run-json > /dev/null\r\ndo_json_tok_bitcoin_amount(\"0.00000001\", 1): ok\r\ndo_json_tok_bitcoin_amount(\"0.00000007\", 7): ok\r\ndo_json_tok_bitcoin_amount(\"0.00000008\", 8): ok\r\ndo_json_tok_bitcoin_amount(\"0.00000010\", 10): ok\r\ndo_json_tok_bitcoin_amount(\"0.12345678\", 12345678): ok\r\ndo_json_tok_bitcoin_amount(\"0.01234567\", 1234567): ok\r\ndo_json_tok_bitcoin_amount(\"123.45678900\", 12345678900): ok\r\ncommon/test/run-bolt11 > /dev/null\r\ncommon/test/run-features > /dev/null\r\ncommon/test/run-ip_port_parsing > /dev/null\r\nwire/test/run-peer-wire > /dev/null\r\nwallet/test/run-db > /dev/null\r\nwallet/test/run-wallet > /dev/null\r\ngossipd/test/run-find_route-specific > /dev/null\r\ngossipd/test/run-initiator-success > /dev/null\r\ngossipd/test/run-find_route > /dev/null\r\ngossipd/test/run-bench-find_route > /dev/null\r\ngossipd/test/run-responder-success > /dev/null\r\nchanneld/test/run-full_channel > /dev/null\r\nonchaind/test/run-grind_feerate > /dev/null\r\nlightningd/test/run-commit_tx > /dev/null\r\nlightningd/test/run-key_derive > /dev/null\r\nlightningd/test/run-params > /dev/null\r\nAborted\r\nMakefile:378: recipe for target 'unittest/lightningd/test/run-params' failed\r\nmake: *** [unittest/lightningd/test/run-params] Error 134\r\n```\r\n\r\nAnd the strace of `run-params` is here:\r\n\r\n```\r\nlinaro@linaro-developer:~/lightning-auto-test/lightning$ strace lightningd/test/run-params\r\nexecve(\"lightningd/test/run-params\", [\"lightningd/test/run-params\"], 0xfffff85b00e0 /* 21 vars */) = 0\r\nbrk(NULL)                               = 0xaaaadde35000\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.nohwcap\", F_OK) = -1 ENOENT (No such file or directory)\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.preload\", R_OK) = -1 ENOENT (No such file or directory)\r\nopenat(AT_FDCWD, \"/etc/ld.so.cache\", O_RDONLY|O_CLOEXEC) = 3\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=55765, ...}) = 0\r\nmmap(NULL, 55765, PROT_READ, MAP_PRIVATE, 3, 0) = 0xffffbea15000\r\nclose(3)                                = 0\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.nohwcap\", F_OK) = -1 ENOENT (No such file or directory)\r\nopenat(AT_FDCWD, \"/lib/aarch64-linux-gnu/libm.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\267\\0\\1\\0\\0\\0@\\257\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=694360, ...}) = 0\r\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffbe9f6000\r\nmmap(NULL, 757880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffbe93c000\r\nmprotect(0xffffbe9e5000, 61440, PROT_NONE) = 0\r\nmmap(0xffffbe9f4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa8000) = 0xffffbe9f4000\r\nclose(3)                                = 0\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.nohwcap\", F_OK) = -1 ENOENT (No such file or directory)\r\nopenat(AT_FDCWD, \"/usr/lib/aarch64-linux-gnu/libgmp.so.10\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\267\\0\\1\\0\\0\\0\\240\\301\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=463440, ...}) = 0\r\nmmap(NULL, 527144, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffbe8bb000\r\nmprotect(0xffffbe92b000, 61440, PROT_NONE) = 0\r\nmmap(0xffffbe93a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6f000) = 0xffffbe93a000\r\nclose(3)                                = 0\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.nohwcap\", F_OK) = -1 ENOENT (No such file or directory)\r\nopenat(AT_FDCWD, \"/usr/lib/aarch64-linux-gnu/libsqlite3.so.0\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\267\\0\\1\\0\\0\\0@\\367\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=997008, ...}) = 0\r\nmmap(NULL, 1062544, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffbe7b7000\r\nmprotect(0xffffbe8a5000, 65536, PROT_NONE) = 0\r\nmmap(0xffffbe8b5000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xee000) = 0xffffbe8b5000\r\nmmap(0xffffbe8ba000, 1680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffffbe8ba000\r\nclose(3)                                = 0\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.nohwcap\", F_OK) = -1 ENOENT (No such file or directory)\r\nopenat(AT_FDCWD, \"/lib/aarch64-linux-gnu/libz.so.1\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\267\\0\\1\\0\\0\\0`$\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=117032, ...}) = 0\r\nmmap(NULL, 180616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffbe78a000\r\nmprotect(0xffffbe7a6000, 61440, PROT_NONE) = 0\r\nmmap(0xffffbe7b5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0xffffbe7b5000\r\nclose(3)                                = 0\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.nohwcap\", F_OK) = -1 ENOENT (No such file or directory)\r\nopenat(AT_FDCWD, \"/lib/aarch64-linux-gnu/libc.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\3\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\267\\0\\1\\0\\0\\0 \\10\\2\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=1349776, ...}) = 0\r\nmmap(NULL, 1422168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffbe62e000\r\nmprotect(0xffffbe771000, 61440, PROT_NONE) = 0\r\nmmap(0xffffbe780000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x142000) = 0xffffbe780000\r\nmmap(0xffffbe786000, 13144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffffbe786000\r\nclose(3)                                = 0\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.nohwcap\", F_OK) = -1 ENOENT (No such file or directory)\r\nopenat(AT_FDCWD, \"/lib/aarch64-linux-gnu/libpthread.so.0\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\3\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\267\\0\\1\\0\\0\\0\\360\\\\\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=134688, ...}) = 0\r\nmmap(NULL, 177104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffbe602000\r\nmprotect(0xffffbe619000, 61440, PROT_NONE) = 0\r\nmmap(0xffffbe628000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0xffffbe628000\r\nmmap(0xffffbe62a000, 13264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xffffbe62a000\r\nclose(3)                                = 0\r\nfaccessat(AT_FDCWD, \"/etc/ld.so.nohwcap\", F_OK) = -1 ENOENT (No such file or directory)\r\nopenat(AT_FDCWD, \"/lib/aarch64-linux-gnu/libdl.so.2\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\267\\0\\1\\0\\0\\0\\320\\16\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=14480, ...}) = 0\r\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffbe600000\r\nmmap(NULL, 78080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffbe5ec000\r\nmprotect(0xffffbe5ee000, 65536, PROT_NONE) = 0\r\nmmap(0xffffbe5fe000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xffffbe5fe000\r\nclose(3)                                = 0\r\nmmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffbe5ea000\r\nmprotect(0xffffbe780000, 16384, PROT_READ) = 0\r\nmprotect(0xffffbe5fe000, 4096, PROT_READ) = 0\r\nmprotect(0xffffbe628000, 4096, PROT_READ) = 0\r\nmprotect(0xffffbe7b5000, 4096, PROT_READ) = 0\r\nmprotect(0xffffbe9f4000, 4096, PROT_READ) = 0\r\nmprotect(0xffffbe8b5000, 12288, PROT_READ) = 0\r\nmprotect(0xffffbe93a000, 4096, PROT_READ) = 0\r\nmprotect(0xaaaac198e000, 4096, PROT_READ) = 0\r\nmprotect(0xffffbea25000, 4096, PROT_READ) = 0\r\nmunmap(0xffffbea15000, 55765)           = 0\r\nset_tid_address(0xffffbe5ea0e0)         = 2601\r\nset_robust_list(0xffffbe5ea0f0, 24)     = 0\r\nrt_sigaction(SIGRTMIN, {sa_handler=0xffffbe607768, sa_mask=[], sa_flags=SA_SIGINFO}, NULL, 8) = 0\r\nrt_sigaction(SIGRT_1, {sa_handler=0xffffbe607838, sa_mask=[], sa_flags=SA_RESTART|SA_SIGINFO}, NULL, 8) = 0\r\nrt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0\r\nprlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0\r\nbrk(NULL)                               = 0xaaaadde35000\r\nbrk(0xaaaadde56000)                     = 0xaaaadde56000\r\nmmap(NULL, 187647121166336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)\r\nbrk(0x15554dde59000)                    = 0xaaaadde56000\r\nmmap(NULL, 187647121297408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)\r\nrt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0\r\nrt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0\r\ngetpid()                                = 2601\r\ngettid()                                = 2601\r\ntgkill(2601, 2601, SIGABRT)             = 0\r\nrt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0\r\n--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=2601, si_uid=1000} ---\r\n+++ killed by SIGABRT +++\r\nAborted\r\n```\r\n\r\nSee [full log](https://gist.github.com/jsarenik/6923be59beb524b75a154fd11b47263a)"}}
{"actor":{"display_login":"jsarenik"}}