Opened 9 years ago

Closed 8 years ago

#953 closed defect (worksforme)

asiodns IOFetchTest.TcpSendReceive2 test failure: Address already in use

Reported by: jreed Owned by: jreed
Priority: medium Milestone:
Component: Unclassified Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 0.0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

In asiodns/tests:

[ RUN      ] IOFetchTest.TcpPrematureStop
[       OK ] IOFetchTest.TcpPrematureStop
[ RUN      ] IOFetchTest.TcpTimeout
2011-05-19 22:49:47 ERROR [unittest.asiolink] ASIODNS_OPENSOCK, error 111 opening TCP socket to 127.0.0.1(5301)
[       OK ] IOFetchTest.TcpTimeout
[ RUN      ] IOFetchTest.TcpSendReceive2
terminate called after throwing an instance of 'asio::system_error'
  what():  Address already in use
/bin/sh: line 5:  5143 Aborted                 ${dir}$tst
FAIL: run_unittests
===================================

A few minutes later netstat showed many (maybe 10) TIME_WAIT for 5301:

tcp        0      0 127.0.0.1:39450         127.0.0.1:5301          TIME_WAIT   -               
....

So nothing connected, but recent.

I guess really two jobs were doing exact same thing at same time -- hard to imagine that though.

Subtickets

Change History (3)

comment:1 Changed 9 years ago by shane

  • Milestone New Tasks deleted

comment:2 Changed 8 years ago by shane

  • Owner set to jreed
  • Status changed from new to assigned

Jeremy, have you seen this any more?

comment:3 Changed 8 years ago by jreed

  • Resolution set to worksforme
  • Status changed from assigned to closed

I haven't seen this happen lately so closing my ticket.

Note: See TracTickets for help on using tickets.