Bug#798792: libhttp-proxy-perl: non-deterministic FTBFS: timing in 23connect.t

Niko Tyni ntyni at debian.org
Sat Sep 12 18:42:16 UTC 2015


Package: libhttp-proxy-perl
Version: 0.304-1
Severity: important
Tags: upstream
Forwarded: https://github.com/book/HTTP-Proxy/issues/7

There's apparently a timing problem in t/23connect.t
that makes it fail non-determistically with

  t/23connect.t .. 
  1..4
  ok - The proxy accepts CONNECT requests
  not ok - Read some data from the socket
  not ok - CONNECTed to the TCP server and got the banner
  
  #   Failed test 'Read some data from the socket'
  #   at t/23connect.t line 78.
  
  #   Failed test 'CONNECTed to the TCP server and got the banner'
  #   at t/23connect.t line 79.
  #          got: undef
  #     expected: 'President_of_Earth Barbarella Professor_Ping Stomoxys Dildano
  # '
  
I was able to reproduce it locally by running the test in a loop
and loading the build system with other tasks at the same time.

This is also discussed upstream in
<https://github.com/book/HTTP-Proxy/issues/7>
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list