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

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

Open

Description

@seth-priya

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

Activity

  1. seth-priya commented on Feb 2, 2018

    @seth-priya
    Author

    Has anyone else run into a similar issue before?

  2. Cousjava commented on Feb 22, 2018

    @Cousjava

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions