novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

Conflicting port issue with PeerTest #569

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I am using OpenJDK7 and trying to build the project with Maven. It appears the 
PeerTest test case fails when building the project because of conflicting port 
issue of some sort. Attached you will find the Surefire reports.

Tests in error: 
  fastCatchup[2](com.google.bitcoin.core.PeerTest): Address already in use
  fastCatchup[2](com.google.bitcoin.core.PeerTest)
  chainDownloadEnd2End[2](com.google.bitcoin.core.PeerTest): Address already in use
  chainDownloadEnd2End[2](com.google.bitcoin.core.PeerTest)
  acceptTimeLockedDependencyNew[2](com.google.bitcoin.core.PeerTest): Address already in use
  acceptTimeLockedDependencyNew[2](com.google.bitcoin.core.PeerTest)
  acceptTimeLockedDependencyOld[2](com.google.bitcoin.core.PeerTest): Address already in use
[..]

--
Environment details
$ mvn -version
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_55, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-i386/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.5.0-51-generic", arch: "i386", family: "unix"

$ java -version
java version "1.7.0_55"
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.12.10.1)
OpenJDK Client VM (build 24.51-b03, mixed mode, sharing)

$ uname -a
Linux ubuntu 3.5.0-51-generic #76-Ubuntu SMP Thu May 15 21:19:44 UTC 2014 i686 
i686 i686 GNU/Linux

Original issue reported on code.google.com by omar...@gmail.com on 13 Jul 2014 at 2:08

Attachments:

GoogleCodeExporter commented 9 years ago
One thing that came to my mind is maybe you're running some kind of anti virus 
software that blocks ports.

Original comment by andreas....@gmail.com on 13 Jul 2014 at 2:14

GoogleCodeExporter commented 9 years ago

Original comment by mh.in.en...@gmail.com on 13 Jul 2014 at 2:14

GoogleCodeExporter commented 9 years ago
I didn't install anything explicitly in this environment. I do however have 
apparmor module loaded which comes with distro, not sure if that is something 
that would cause an issue.

Original comment by omar...@gmail.com on 13 Jul 2014 at 2:24