Discuss.FOLIO.org is no longer used. This is a static snapshot of the website as of February 14, 2023.

Error in Okapi tests “Address already in use”

mgarcia
3 May '22

Dear FOLIO community, I’m starting with FOLIO and I was trying to get a “hello world.” I tried to compile from sources in a test server (VM), but tests are failing with “Bind Address already in use”

INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   OkapiClientTest.test1 » Bind Address already in use
[ERROR]   OkapiClientTest.testBogus » TestTimedOut test timed out after 10 seconds
[ERROR]   OkapiClientTest.testClosed1 » Bind Address already in use
(...)

The compilation finish when I used the -DskipTests.

I’m using

  • openjdk-11-jdk:amd64
  • maven 3.6.0
  • Ubuntu 18.04.6 LTS

I put more information on this gist:

https://gist.github.com/marcelomgarcia/7780345b54517edb1db41a182fd92a85

I’m following this document:

https://github.com/folio-org/okapi/blob/master/doc/guide.md#compiling-and-running

Thank you.

Marcelo