[tor-bugs] #29585 [Core Tor/Tor]: Intermittent test failures in dir/dirserv_read_measured_bandwidths

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 25 23:11:34 UTC 2019


#29585: Intermittent test failures in dir/dirserv_read_measured_bandwidths
------------------------------------------+--------------------------------
 Reporter:  teor                          |          Owner:  (none)
     Type:  defect                        |         Status:  new
 Priority:  High                          |      Milestone:  Tor:
                                          |  unspecified
Component:  Core Tor/Tor                  |        Version:  Tor:
                                          |  unspecified
 Severity:  Normal                        |     Resolution:
 Keywords:  tor-ci, tor-test, tor-bwauth  |  Actual Points:
Parent ID:                                |         Points:  1
 Reviewer:                                |        Sponsor:
------------------------------------------+--------------------------------

Old description:

> I observed this failure in 1/10 tests when testing #29541 on commit:
> {{{
> commit 5614960e94 (HEAD, tor-github/pr/723/merge)
> Merge: 69238ca2da 065e7da8e6
> }}}
>
> Here is the test error:
> {{{
> dir/dirserv_read_measured_bandwidths: [forking]
>   FAIL ../src/test/test_dir.c:1802: assert(0 OP_EQ
> dirserv_read_measured_bandwidths(fname, NULL, bw_file_headers, NULL)): 0
> vs -1
>   [dirserv_read_measured_bandwidths FAILED]
> }}}
>
> It looks like this test was last modified in #26698 in master.
>
> Is it an obvious fix?
> If not, let's see if it happens again.

New description:

 I observed this failure once out of about 10 tests when testing #29541 on
 commit:
 {{{
 commit 5614960e94 (HEAD, tor-github/pr/723/merge)
 Merge: 69238ca2da 065e7da8e6
 }}}

 Here is the test error:
 {{{
 dir/dirserv_read_measured_bandwidths: [forking]
   FAIL ../src/test/test_dir.c:1802: assert(0 OP_EQ
 dirserv_read_measured_bandwidths(fname, NULL, bw_file_headers, NULL)): 0
 vs -1
   [dirserv_read_measured_bandwidths FAILED]
 }}}

 It looks like this test was last modified in #26698 in master.

 Is it an obvious fix?
 If not, let's see if it happens again.

--

Comment (by teor):

 Be more precise: it only failed once

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29585#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list