View Issue Details

IDProjectCategoryView StatusLast Update
0002304GNUnettransport servicepublic2024-05-03 14:01
ReporterChristian Grothoff Assigned ToMatthias Wachs  
PriorityhighSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002304: test_transport_api_reliability_http fails on buildbot, "body did not match"
Description.May 06 04:09:23-679441 test_transport_api_reliability_http-27643 ERROR Expected message 27 with bits 27, but body did not match
May 06 04:09:23-679618 test_transport_api_reliability_http-27643 ERROR Peers got connected
FAIL: test_transport_api_reliability_http
Additional Informationhttps://gnunet.org/buildbot/builders/debian-amd64-grothoff/builds/2969/steps/tests%20transport/logs/stdio
TagsNo tags attached.

Activities

Christian Grothoff

2012-05-06 15:11

manager   ~0005787

Not easy to reproduce, tried running 100x on my home system without getting the issue. libcurl/libmicrohttpd version-specific issue, maybe? MHD was 0.9.18 at the time the issue arose on the BB.

Christian Grothoff

2012-05-06 17:43

manager   ~0005789

Reproduced on 'buildslave', but clearly random and rare:

while true
> do
> ./test_transport_api_reliability_http || break
> done
......................................................................................................
Throughput was 41460 kb/s
......................................................................................................
Throughput was 41056 kb/s
......................................................................................................

Throughput was 40492 kb/s
......................................................................................................
Throughput was 40160 kb/s
......................................................................................................
Throughput was 41344 kb/s
......................................................................................................
Throughput was 38894 kb/s
......................................................................................................
Throughput was 40381 kb/s
......................................................................................................
Throughput was 39017 kb/s
......................................................................................................
Throughput was 37054 kb/s
......................................................................................................
Throughput was 39567 kb/s
......................................................................................................
Throughput was 38010 kb/s
......................................................................................................
Throughput was 41228 kb/s
......................................................................................................
Throughput was 40687 kb/s
......................................................................................................
Throughput was 39861 kb/s
......................................................................................................
Throughput was 40051 kb/s
......................................................................................................
Throughput was 38010 kb/s
......................................................................................................
Throughput was 40913 kb/s
......................................................................................................
Throughput was 38306 kb/s
......................................................................................................

Throughput was 38709 kb/s
......................................................................................................
Throughput was 40188 kb/s
......................................................................................................
Throughput was 39303 kb/s
......................................................................................................
Throughput was 39329 kb/s
......................................................................................................
Throughput was 38010 kb/s
......................................................................................................
Throughput was 37815 kb/s
......................................................................................................
Throughput was 39434 kb/s
......................................................................................................
Throughput was 40436 kb/s
......................................................................................................
Throughput was 38734 kb/s
......................................................................................................
Throughput was 38306 kb/s
......................................................................................................
Throughput was 39673 kb/s
......................................................................................................
Throughput was 41084 kb/s
......................................................................................................
Throughput was 40436 kb/s
......................................................................................................

Throughput was 41315 kb/s
......................................................................................................
Throughput was 38633 kb/s
......................................................................................................
Throughput was 39700 kb/s
......................................................................................................
Throughput was 37839 kb/s
.May 06 17:43:06-289848 test_transport_api_reliability_http-21154 ERROR Expected message 27 with bits 27, but body did not match
May 06 17:43:06-290024 test_transport_api_reliability_http-21154 ERROR Peers got connected

Christian Grothoff

2012-05-06 17:44

manager   ~0005790

Last edited: 2012-05-06 17:44

At least curl is very recent on buildslave:

# curl --version
curl 7.23.1 (x86_64-pc-linux-gnu) libcurl/7.23.1 OpenSSL/1.0.0g zlib/1.2.3.4 libidn/1.23 libssh2/1.2.8 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp
Features: Debug TrackMemory GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz

Christian Grothoff

2012-05-11 01:09

manager   ~0005882

Last edited: 2012-05-11 01:09

Did not occur once in way over 100 runs on my home system; then tried on buildslave, got it quickly:

buildslave:/home/buildslave/full/build/src/transport# while true
> do
> ./test_transport_api_reliability_http || break
> done
......................................................................................................
Throughput was 38059 kb/s
......................................................................................................
Throughput was 39942 kb/s
......................................................................................................
Throughput was 40857 kb/s
......................................................................................................

Throughput was 40575 kb/s
......................................................................................................
Throughput was 37742 kb/s
......................................................................................................
Throughput was 37526 kb/s
......................................................................................................
Throughput was 36616 kb/s
......................................................................................................
Throughput was 39251 kb/s
......................................................................................................
Throughput was 37936 kb/s
......................................................................................................
Throughput was 38232 kb/s
.May 11 01:09:19-251008 test_transport_api_reliability_http-11207 ERROR Expected message 26 with bits 26, but body did not match
May 11 01:09:19-251186 test_transport_api_reliability_http-11207 ERROR Peers got connected

Christian Grothoff

2012-05-11 07:51

manager   ~0005883

Last edited: 2012-05-11 08:42

Ran the test with valgrind on buildslave overnight --- didn't fail once. With valgrind, it happened again reasonably quickly in the morning.

Issue History

Date Modified Username Field Change
2012-05-06 14:12 Christian Grothoff New Issue
2012-05-06 14:12 Christian Grothoff Status new => assigned
2012-05-06 14:12 Christian Grothoff Assigned To => Matthias Wachs
2012-05-06 15:11 Christian Grothoff Note Added: 0005787
2012-05-06 17:43 Christian Grothoff Note Added: 0005789
2012-05-06 17:44 Christian Grothoff Note Added: 0005790
2012-05-06 17:44 Christian Grothoff Note Edited: 0005790
2012-05-11 01:09 Christian Grothoff Note Added: 0005882
2012-05-11 01:09 Christian Grothoff Note Edited: 0005882
2012-05-11 07:51 Christian Grothoff Note Added: 0005883
2012-05-11 08:42 Christian Grothoff Note Edited: 0005883
2012-06-03 01:15 Christian Grothoff Status assigned => resolved
2012-06-03 01:15 Christian Grothoff Fixed in Version => 0.9.3
2012-06-03 01:15 Christian Grothoff Resolution open => fixed
2012-06-03 01:15 Christian Grothoff Target Version => 0.9.3
2012-06-07 09:34 Christian Grothoff Status resolved => closed
2024-05-03 14:01 Christian Grothoff Category HTTP transport => transport service