Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

jersey-core-server tests failing on Ubuntu 16.04 #3766

Open
seth-priya opened this issue Jan 29, 2018 · 2 comments
Open

jersey-core-server tests failing on Ubuntu 16.04 #3766

seth-priya opened this issue Jan 29, 2018 · 2 comments

Comments

@seth-priya
Copy link

Hi,

I am getting the following error while running mvn install on Ubuntu 16.04/x86_64

Failed tests:
AggregatingTrimmerTest.simpleCheck:71->AbstractNanosReservoirTest.checkInNanos:65->AbstractNanosReservoirTest.checkInNanos:88 Total count does not match! expected:<2> but was:<1>
AggregatingTrimmerTest.testAggregatingTrimmer:91->AbstractNanosReservoirTest.checkInNanos:65->AbstractNanosReservoirTest.checkInNanos:88 Total count does not match! expected:<2> but was:<1>
AggregatingTrimmerTest.testAggregatingTrimmerDoubleValues:105->AbstractNanosReservoirTest.checkInNanos:65->AbstractNanosReservoirTest.checkInNanos:92 Expected interval does not match! expected:<12> but was:<16>
AggregatingTrimmerTest.testAggregatingTrimmerMultipleDoubleValuesInOneChunk:127->AbstractNanosReservoirTest.checkInNanos:65->AbstractNanosReservoirTest.checkInNanos:92 Expected interval does not match! expected:<16> but was:<20>
AggregatingTrimmerTest.trimSlidingWindowBeforeAggregatedWindow:81->AbstractNanosReservoirTest.checkInNanos:65->AbstractNanosReservoirTest.checkInNanos:88 Total count does not match! expected:<2> but was:<1>
Tests in error:
ResourceConfigTest.initializationError ? Method testInvalidateResourceFinders...
org.glassfish.jersey.server.internal.scanning.PackageNamesScannerTest.initializationError(org.glassfish.jersey.server.internal.scanning.PackageNamesScannerTest)
Run 1: PackageNamesScannerTest.initializationError ? Method testInputStreamClosedAft...
Run 2: PackageNamesScannerTest.initializationError ? Method testInputStreamClosedAft...
Run 3: PackageNamesScannerTest.initializationError ? Method testInputStreamClosedAft...

Tests run: 898, Failures: 5, Errors: 2, Skipped: 12

System and environment details

uname -a

Linux 2e964c1cb33a 4.4.0-22-generic #39-Ubuntu SMP Thu May 5 16:53:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

java -version

openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

mvn -version
Apache Maven 3.3.9
Maven home: /usr/share/maven

Steps used:
git clone https://github.com/jersey/jersey
cd jersey
mvn install

Any help would be greatly appreciated, thanks!

Regards,
Priya

@seth-priya
Copy link
Author

Has anyone else run into a similar issue before?

@Cousjava
Copy link

I found I was able to fix this by changing jmockit.version to 1.24 in the parent pom.xml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants