You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make check fails with the following, most likely because of something in my environment that does not please it. Is there a way to get detailed logs so I can try to figure out what's wrong ?
make VERBOSE=1 check
make check-TESTS
make[1]: Entering directory '/home/loic/software/tang/tang'
make[2]: Entering directory '/home/loic/software/tang/tang'
FAIL: tests/adv
FAIL: tests/rec
==============================
tang 1: ./test-suite.log
==============================
# TOTAL: 2
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: tests/adv
===============
+ trap on_exit EXIT
+ trap exit ERR
++ which systemd-socket-activate
+ SD_ACTIVATE=
++ which /usr/lib/systemd/systemd-activate
+ SD_ACTIVATE=
++ which /lib/systemd/systemd-activate
+ SD_ACTIVATE=/lib/systemd/systemd-activate
+ :
++ mktemp -d
+ export TMP=/tmp/tmp.pGAEv0JdtK
+ TMP=/tmp/tmp.pGAEv0JdtK
+ mkdir -p /tmp/tmp.pGAEv0JdtK/db
+ mkdir -p /tmp/tmp.pGAEv0JdtK/cache
+ jose gen -t '{"alg": "ES256"}' -o /tmp/tmp.pGAEv0JdtK/db/sig.jwk
+ jose gen -t '{"alg": "ES256"}' -o /tmp/tmp.pGAEv0JdtK/db/.sig.jwk
+ jose gen -t '{"alg": "ES256"}' -o /tmp/tmp.pGAEv0JdtK/db/.oth.jwk
+ jose gen -t '{"kty": "EC", "crv": "P-256", "key_ops": ["deriveKey"] }' -o /tmp/tmp.pGAEv0JdtK/db/exc.jwk
+ ./tangd-update /tmp/tmp.pGAEv0JdtK/db /tmp/tmp.pGAEv0JdtK/cache
+ for addr in '"127.0.0.1"' '"[::1]"'
++ shuf -i 1024-65536 -n 1
+ port=52128
+ export PID=21812
+ PID=21812
+ sleep 0.1
+ /lib/systemd/systemd-activate -l 127.0.0.1:52128 -a ./tangd /tmp/tmp.pGAEv0JdtK/cache
Listening on 127.0.0.1:52128 as 3.
+ wget -t 1 -O- http://127.0.0.1:52128/
--2016-10-18 16:13:07-- http://127.0.0.1:52128/
Connecting to 127.0.0.1:52128... connected.
Communication attempt on fd 3.
HTTP request sent, awaiting response... Connection from 127.0.0.1:44872 to 127.0.0.1:52128
Spawned ./tangd (./tangd /tmp/tmp.pGAEv0JdtK/cache) as PID 21815
Execing ./tangd (./tangd /tmp/tmp.pGAEv0JdtK/cache)
Child 21815 died with code 0
Read error (Connection reset by peer) in headers.
Giving up.
++ jose thp -i /tmp/tmp.pGAEv0JdtK/db/exc.jwk
+ wget -t 1 -O- http://127.0.0.1:52128/adv/RqMsFhQj9TgxDWwnoYxZZXpbnV5y7HYLzTuHQJBHJgg
--2016-10-18 16:13:07-- http://127.0.0.1:52128/adv/RqMsFhQj9TgxDWwnoYxZZXpbnV5y7HYLzTuHQJBHJgg
Connecting to 127.0.0.1:52128... connected.
HTTP request sent, awaiting response... Communication attempt on fd 3.
Connection from 127.0.0.1:44874 to 127.0.0.1:52128
Spawned ./tangd (./tangd /tmp/tmp.pGAEv0JdtK/cache) as PID 21818
Execing ./tangd (./tangd /tmp/tmp.pGAEv0JdtK/cache)
Child 21818 died with code 0
Read error (Connection reset by peer) in headers.
Giving up.
++ jose thp -H sha512 -i /tmp/tmp.pGAEv0JdtK/db/exc.jwk
+ wget -t 1 -O- http://127.0.0.1:52128/adv/-dkjd6QcWvZKek-V6fk6wZ4-2M0xHz8WdnNtD1WOlp09TuakxwxPfY5pdOBc6-AdMtB6esA9VcHMnN5KAUVE2Q
--2016-10-18 16:13:07-- http://127.0.0.1:52128/adv/-dkjd6QcWvZKek-V6fk6wZ4-2M0xHz8WdnNtD1WOlp09TuakxwxPfY5pdOBc6-AdMtB6esA9VcHMnN5KAUVE2Q
Connecting to 127.0.0.1:52128... connected.
Communication attempt on fd 3.
HTTP request sent, awaiting response... Connection from 127.0.0.1:44876 to 127.0.0.1:52128
Spawned ./tangd (./tangd /tmp/tmp.pGAEv0JdtK/cache) as PID 21821
Execing ./tangd (./tangd /tmp/tmp.pGAEv0JdtK/cache)
Child 21821 died with code 0
Read error (Connection reset by peer) in headers.
Giving up.
+ wget -t 1 -O- http://127.0.0.1:52128/adv
--2016-10-18 16:13:07-- http://127.0.0.1:52128/adv
Connecting to 127.0.0.1:52128... connected.
Communication attempt on fd 3.
HTTP request sent, awaiting response... Connection from 127.0.0.1:44878 to 127.0.0.1:52128
Spawned ./tangd (./tangd /tmp/tmp.pGAEv0JdtK/cache) as PID 21823
Execing ./tangd (./tangd /tmp/tmp.pGAEv0JdtK/cache)
Child 21823 died with code 0
Read error (Connection reset by peer) in headers.
Giving up.
++ exit
+ on_exit
+ '[' 21812 ']'
+ kill 21812
+ wait 21812
./tests/adv: line 22: 21812 Terminated $SD_ACTIVATE $INET -l "$addr:$port" -a $VALGRIND ./tangd $TMP/cache
+ true
+ '[' -d /tmp/tmp.pGAEv0JdtK ']'
+ rm -rf /tmp/tmp.pGAEv0JdtK
FAIL tests/adv (exit status: 4)
FAIL: tests/rec
===============
+ trap on_exit EXIT
+ trap exit ERR
++ which systemd-socket-activate
+ SD_ACTIVATE=
++ which /usr/lib/systemd/systemd-activate
+ SD_ACTIVATE=
++ which /lib/systemd/systemd-activate
+ SD_ACTIVATE=/lib/systemd/systemd-activate
+ :
++ mktemp -d
+ export TMP=/tmp/tmp.BYuqFZRDDn
+ TMP=/tmp/tmp.BYuqFZRDDn
+ mkdir -p /tmp/tmp.BYuqFZRDDn/db
+ mkdir -p /tmp/tmp.BYuqFZRDDn/cache
+ jose gen -t '{"alg": "ES256"}' -o /tmp/tmp.BYuqFZRDDn/db/sig.jwk
+ jose gen -t '{"kty": "EC", "crv": "P-256", "key_ops": ["deriveKey"] }' -o /tmp/tmp.BYuqFZRDDn/db/exc.jwk
+ ./tangd-update /tmp/tmp.BYuqFZRDDn/db /tmp/tmp.BYuqFZRDDn/cache
++ jose thp -i /tmp/tmp.BYuqFZRDDn/db/exc.jwk
+ exc_kid=YhOac6MejEFAOWML8XmKC3q5UMXl_rWyTKMxoiG1Cy8
+ jose gen -t '{"kty":"EC","crv":"P-256"}' -o /tmp/tmp.BYuqFZRDDn/exc.jwk
+ jose pub -i /tmp/tmp.BYuqFZRDDn/exc.jwk -o /tmp/tmp.BYuqFZRDDn/exc.pub.jwk
++ shuf -i 1024-65536 -n 1
+ port=10697
+ export PID=21944
+ PID=21944
+ wget -t1 -O- http://127.0.0.1:10697/rec
+ /lib/systemd/systemd-activate -l 127.0.0.1:10697 -a ./tangd /tmp/tmp.BYuqFZRDDn/cache
Listening on 127.0.0.1:10697 as 3.
--2016-10-18 16:13:07-- http://127.0.0.1:10697/rec
Connecting to 127.0.0.1:10697... connected.
Communication attempt on fd 3.
HTTP request sent, awaiting response... Connection from 127.0.0.1:49144 to 127.0.0.1:10697
Spawned ./tangd (./tangd /tmp/tmp.BYuqFZRDDn/cache) as PID 21946
Execing ./tangd (./tangd /tmp/tmp.BYuqFZRDDn/cache)
Child 21946 died with code 0
Read error (Connection reset by peer) in headers.
Giving up.
+ wget -t1 -O- http://127.0.0.1:10697/rec/
--2016-10-18 16:13:07-- http://127.0.0.1:10697/rec/
Connecting to 127.0.0.1:10697... connected.
HTTP request sent, awaiting response... Communication attempt on fd 3.
Connection from 127.0.0.1:49146 to 127.0.0.1:10697
Spawned ./tangd (./tangd /tmp/tmp.BYuqFZRDDn/cache) as PID 21948
Execing ./tangd (./tangd /tmp/tmp.BYuqFZRDDn/cache)
Child 21948 died with code 0
Read error (Connection reset by peer) in headers.
Giving up.
++ jose exc -l /tmp/tmp.BYuqFZRDDn/exc.jwk -r /tmp/tmp.BYuqFZRDDn/db/exc.jwk
+ good='{"crv":"P-256","kty":"EC","x":"OKj0KMYNDvIXOblwmnj9HwQG0F6dFrqChsOMEmWJpWc","y":"zjDuYqNhNVFWxHgsImbhjcyLWgW5CTwjMDX-TQpFMj0"}'
+++ cat /tmp/tmp.BYuqFZRDDn/exc.pub.jwk
++ wget -t1 -O- '--post-data={"crv":"P-256","kty":"EC","x":"agdGV1DQcLKAsmAAa_gt4_xXG3Aux15IjyaBCfgjysc","y":"DPhYj87RS0_vbe_UQ0GK80hWKYs42lDOLZvbFTajetQ"}' http://127.0.0.1:10697/rec/YhOac6MejEFAOWML8XmKC3q5UMXl_rWyTKMxoiG1Cy8
--2016-10-18 16:13:07-- http://127.0.0.1:10697/rec/YhOac6MejEFAOWML8XmKC3q5UMXl_rWyTKMxoiG1Cy8
Connecting to 127.0.0.1:10697... connected.
Communication attempt on fd 3.
HTTP request sent, awaiting response... Connection from 127.0.0.1:49148 to 127.0.0.1:10697
Spawned ./tangd (./tangd /tmp/tmp.BYuqFZRDDn/cache) as PID 21953
Execing ./tangd (./tangd /tmp/tmp.BYuqFZRDDn/cache)
Child 21953 died with code 0
Read error (Connection reset by peer) in headers.
Giving up.
+ test=
++ exit
+ on_exit
+ '[' 21944 ']'
+ kill 21944
+ wait 21944
./tests/rec: line 22: 21944 Terminated $SD_ACTIVATE $INET -l 127.0.0.1:$port -a $VALGRIND ./tangd $TMP/cache
+ true
+ '[' -d /tmp/tmp.BYuqFZRDDn ']'
+ rm -rf /tmp/tmp.BYuqFZRDDn
FAIL tests/rec (exit status: 4)
============================================================================
Testsuite summary for tang 1
============================================================================
# TOTAL: 2
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
============================================================================
Makefile:841: recipe for target 'test-suite.log' failed
make[2]: *** [test-suite.log] Error 1
make[2]: Leaving directory '/home/loic/software/tang/tang'
Makefile:947: recipe for target 'check-TESTS' failed
make[1]: *** [check-TESTS] Error 2
make[1]: Leaving directory '/home/loic/software/tang/tang'
Makefile:1159: recipe for target 'check-am' failed
make: *** [check-am] Error 2
The text was updated successfully, but these errors were encountered:
Make check fails with the following, most likely because of something in my environment that does not please it. Is there a way to get detailed logs so I can try to figure out what's wrong ?
The text was updated successfully, but these errors were encountered: