Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jerseyrobot opened this issue Jan 29, 2018 · 3 comments
Open

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

jerseyrobot opened this issue Jan 29, 2018 · 3 comments

Comments

@jerseyrobot
Copy link
Contributor

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

@jerseyrobot
Copy link
Contributor Author

@seth-priya Commented
Has anyone else run into a similar issue before?

@jerseyrobot
Copy link
Contributor Author

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

@jerseyrobot
Copy link
Contributor Author

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

No branches or pull requests

1 participant