Bug #17212

Occasional port number conflicts in integration tests

Added by Tom Clegg 12 months ago. Updated 12 days ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Tests
Target version:
Start date:
02/04/2021
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

Example from https://ci.arvados.org/job/developer-run-tests-remainder/2312/consoleText at 2f8da8b76071a44b0ce28638cf5322b24e15c73d

[z3333] [/usr/lib/postgresql/11/bin/postgres] 2020-12-11 05:59:05.875 UTC [5417] LOG:  listening on IPv6 address "::1", port 46561
[z3333] [/usr/lib/postgresql/11/bin/postgres] 2020-12-11 05:59:05.875 UTC [5417] LOG:  listening on IPv4 address "127.0.0.1", port 46561
...
[z1111] time="2020-12-11T05:59:31.950763287Z" level=info msg=executing PID=4071 command="[bundle exec passenger start -p 46561 --log-file /dev/stderr --log-level 4 --no-friendly-error-pages --pid-file /tmp/arvados-server-boot-327913257/passenger.services_api.pid]" dir=services/api
...
[z1111] [services/api: passenger] 2020/12/11 05:59:32 [emerg] 6131#0: bind() to 0.0.0.0:46561 failed (98: Address already in use)
[z1111] [services/api: passenger] nginx: [emerg] bind() to 0.0.0.0:46561 failed (98: Address already in use)

Ideally passenger and postgresql should both be listening on 127.0.0.11 instead of 0.0.0.0.


Subtasks

Task #17321: Review 17212-fix-port-conflictsResolvedTom Clegg

Associated revisions

Revision 69260a60
Added by Tom Clegg 10 months ago

Merge branch '17212-fix-port-conflicts'

fixes #17212

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <>

History

#2 Updated by Tom Clegg 10 months ago

  • Target version set to 2021-02-17 sprint
  • Assigned To set to Tom Clegg
  • Status changed from New to In Progress

17212-fix-port-conflicts @ 64cec283d576c6a5f156cce36dd8622d28f84a9a -- https://ci.arvados.org/view/Developer/job/developer-run-tests/2287/

(based on branch from #16306 even though it's not merged yet)

#4 Updated by Ward Vandewege 10 months ago

#5 Updated by Tom Clegg 10 months ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Resolved

#6 Updated by Peter Amstutz 12 days ago

  • Release set to 41

Also available in: Atom PDF