[collections] unit test failures

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[collections] unit test failures

garydgregory
Hi All:

I currently get 44 unit test failures in [collections] master.

Can anyone duplicate this?

Thank you,
Gary
Reply | Threaded
Open this post in threaded view
|

Re: [collections] unit test failures

Benedikt Ritter-4
I'm not on my laptop, giving it a try later. What do Travis and Jenkis say?

Benedikt

Gary Gregory <[hidden email]> schrieb am Di. 12. Sep. 2017 um 16:47:

> Hi All:
>
> I currently get 44 unit test failures in [collections] master.
>
> Can anyone duplicate this?
>
> Thank you,
> Gary
>
Reply | Threaded
Open this post in threaded view
|

Re: [collections] unit test failures

Bruno P. Kinoshita-2
I built it last night with JVM 7 and the tests were passing (mvn  clean site, but confirmed surefire reports were OK).
Submitted a PR that updates common-parent to version 42 that should fix site generation on JVM 8.
Could you share your `mvn -v` please?
CheersBruno
 
 
  On Wed, 13 Sep 2017 at 3:36, Benedikt Ritter<[hidden email]> wrote:   I'm not on my laptop, giving it a try later. What do Travis and Jenkis say?

Benedikt

Gary Gregory <[hidden email]> schrieb am Di. 12. Sep. 2017 um 16:47:

> Hi All:
>
> I currently get 44 unit test failures in [collections] master.
>
> Can anyone duplicate this?
>
> Thank you,
> Gary
>
 
Reply | Threaded
Open this post in threaded view
|

Re: [collections] unit test failures

garydgregory
I tried with both Java 7, 8 and 9 and I committed the change to
commons-parent 42 already.

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T13:39:06-06:00)
Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_80\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T13:39:06-06:00)
Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_144\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T13:39:06-06:00)
Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 9, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk-9
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Gary

On Tue, Sep 12, 2017 at 2:09 PM, Bruno P. Kinoshita <[hidden email]>
wrote:

> I built it last night with JVM 7 and the tests were passing (mvn  clean
> site, but confirmed surefire reports were OK).
> Submitted a PR that updates common-parent to version 42 that should fix
> site generation on JVM 8.
> Could you share your `mvn -v` please?
> CheersBruno
>
>
>   On Wed, 13 Sep 2017 at 3:36, Benedikt Ritter<[hidden email]>
> wrote:   I'm not on my laptop, giving it a try later. What do Travis and
> Jenkis say?
>
> Benedikt
>
> Gary Gregory <[hidden email]> schrieb am Di. 12. Sep. 2017 um
> 16:47:
>
> > Hi All:
> >
> > I currently get 44 unit test failures in [collections] master.
> >
> > Can anyone duplicate this?
> >
> > Thank you,
> > Gary
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [collections] unit test failures

Bruno P. Kinoshita-3
Hi Gary,

Besides updating the parent to 42, the PR also changes the FindBugs version to use the version defined in the parent properties. This way the `mvn site` command passes on JVM 7 and 8. In case you have time to review it too :) https://github.com/apache/commons-collections/pull/26

Just tried `mvn clean test` and it works (git commit 1068d4cd6a97a700ae5c7ecc312f9aa172fd4840) on the following environments:


* Ubuntu LTS JVM 8 (131) Maven 3.5.0


Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T07:39:06+12:00)
Maven home: /opt/apache-maven-3.5.0
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /opt/jdk1.8.0_131/jre
Default locale: en_NZ, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-33-generic", arch: "amd64", family: "unix"

* Ubuntu LTS JVM 8 (144) Maven 3.5.0

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T07:39:06+12:00)
Maven home: /opt/apache-maven-3.5.0
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: /opt/jdk1.8.0_144/jre
Default locale: en_NZ, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-33-generic", arch: "amd64", family: "unix"
* Ubuntu LTS JVM 7 Maven 3.3.9


Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: /opt/jdk1.7.0_80/jre
Default locale: en_NZ, platform encoding: UTF-8
OS name: "linux", version: "4.10.0-33-generic", arch: "amd64", family: "unix"

Tried Maven 3.5.0 on Ubuntu LTS and it also works.


And it fails (same git commit) on:


* Windows JVM 8 (144) Maven 3.5.0


Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T07:39:06+12:00)
Maven home: C:\Users\kinow\Development\java\apache-maven-3.5.0
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_144\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Tests run: 14276, Failures: 44, Errors: 0, Skipped: 0
The 44 errors are in HashSetValuedHashMapTest. The tests specified in the HashSetValuedHashMapTest class are passing for me in Eclipse. But the inherited tests from AbstractMultiValuedMapTest are failing. So perhaps there's something missing in HashSetValuedHashMap either in the functionality defined in the parent classes, or perhaps there is some issue with JVM on Windows?


Will investigate more later.

Cheers
Bruno

________________________________
From: Gary Gregory <[hidden email]>
To: Commons Developers List <[hidden email]>; "[hidden email]" <[hidden email]>
Cc: "[hidden email]" <[hidden email]>
Sent: Wednesday, 13 September 2017 8:44 AM
Subject: Re: [collections] unit test failures



I tried with both Java 7, 8 and 9 and I committed the change to
commons-parent 42 already.

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T13:39:06-06:00)
Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 1.7.0_80, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.7.0_80\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T13:39:06-06:00)
Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 1.8.0_144, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk1.8.0_144\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T13:39:06-06:00)
Maven home: C:\Java\apache-maven-3.5.0\bin\..
Java version: 9, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk-9
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Gary


On Tue, Sep 12, 2017 at 2:09 PM, Bruno P. Kinoshita <[hidden email]>
wrote:

> I built it last night with JVM 7 and the tests were passing (mvn  clean
> site, but confirmed surefire reports were OK).
> Submitted a PR that updates common-parent to version 42 that should fix
> site generation on JVM 8.
> Could you share your `mvn -v` please?
> CheersBruno
>
>
>   On Wed, 13 Sep 2017 at 3:36, Benedikt Ritter<[hidden email]>
> wrote:   I'm not on my laptop, giving it a try later. What do Travis and
> Jenkis say?
>
> Benedikt
>
> Gary Gregory <[hidden email]> schrieb am Di. 12. Sep. 2017 um
> 16:47:
>
> > Hi All:
> >
> > I currently get 44 unit test failures in [collections] master.
> >
> > Can anyone duplicate this?
> >
> > Thank you,
> > Gary
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [collections] unit test failures

garydgregory
OK, the POM now uses ${commons.findbugs.version}.

Gary

On Tue, Sep 12, 2017 at 4:24 PM, Bruno P. Kinoshita <
[hidden email]> wrote:

> Hi Gary,
>
> Besides updating the parent to 42, the PR also changes the FindBugs
> version to use the version defined in the parent properties. This way the
> `mvn site` command passes on JVM 7 and 8. In case you have time to review
> it too :) https://github.com/apache/commons-collections/pull/26
>
> Just tried `mvn clean test` and it works (git commit
> 1068d4cd6a97a700ae5c7ecc312f9aa172fd4840) on the following environments:
>
>
> * Ubuntu LTS JVM 8 (131) Maven 3.5.0
>
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-04T07:39:06+12:00)
> Maven home: /opt/apache-maven-3.5.0
> Java version: 1.8.0_131, vendor: Oracle Corporation
> Java home: /opt/jdk1.8.0_131/jre
> Default locale: en_NZ, platform encoding: UTF-8
> OS name: "linux", version: "4.10.0-33-generic", arch: "amd64", family:
> "unix"
>
> * Ubuntu LTS JVM 8 (144) Maven 3.5.0
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-04T07:39:06+12:00)
> Maven home: /opt/apache-maven-3.5.0
> Java version: 1.8.0_144, vendor: Oracle Corporation
> Java home: /opt/jdk1.8.0_144/jre
> Default locale: en_NZ, platform encoding: UTF-8
> OS name: "linux", version: "4.10.0-33-generic", arch: "amd64", family:
> "unix"
> * Ubuntu LTS JVM 7 Maven 3.3.9
>
>
> Apache Maven 3.3.9
> Maven home: /usr/share/maven
> Java version: 1.7.0_80, vendor: Oracle Corporation
> Java home: /opt/jdk1.7.0_80/jre
> Default locale: en_NZ, platform encoding: UTF-8
> OS name: "linux", version: "4.10.0-33-generic", arch: "amd64", family:
> "unix"
>
> Tried Maven 3.5.0 on Ubuntu LTS and it also works.
>
>
> And it fails (same git commit) on:
>
>
> * Windows JVM 8 (144) Maven 3.5.0
>
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-04T07:39:06+12:00)
> Maven home: C:\Users\kinow\Development\java\apache-maven-3.5.0
> Java version: 1.8.0_144, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_144\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Tests run: 14276, Failures: 44, Errors: 0, Skipped: 0
> The 44 errors are in HashSetValuedHashMapTest. The tests specified in the
> HashSetValuedHashMapTest class are passing for me in Eclipse. But the
> inherited tests from AbstractMultiValuedMapTest are failing. So perhaps
> there's something missing in HashSetValuedHashMap either in the
> functionality defined in the parent classes, or perhaps there is some issue
> with JVM on Windows?
>
>
> Will investigate more later.
>
> Cheers
> Bruno
>
> ________________________________
> From: Gary Gregory <[hidden email]>
> To: Commons Developers List <[hidden email]>; "
> [hidden email]" <[hidden email]>
> Cc: "[hidden email]" <[hidden email]>
> Sent: Wednesday, 13 September 2017 8:44 AM
> Subject: Re: [collections] unit test failures
>
>
>
> I tried with both Java 7, 8 and 9 and I committed the change to
> commons-parent 42 already.
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T13:39:06-06:00)
> Maven home: C:\Java\apache-maven-3.5.0\bin\..
> Java version: 1.7.0_80, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_80\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows"
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T13:39:06-06:00)
> Maven home: C:\Java\apache-maven-3.5.0\bin\..
> Java version: 1.8.0_144, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_144\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
> 2017-04-03T13:39:06-06:00)
> Maven home: C:\Java\apache-maven-3.5.0\bin\..
> Java version: 9, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk-9
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
>
> Gary
>
>
> On Tue, Sep 12, 2017 at 2:09 PM, Bruno P. Kinoshita <[hidden email]>
> wrote:
>
> > I built it last night with JVM 7 and the tests were passing (mvn  clean
> > site, but confirmed surefire reports were OK).
> > Submitted a PR that updates common-parent to version 42 that should fix
> > site generation on JVM 8.
> > Could you share your `mvn -v` please?
> > CheersBruno
> >
> >
> >   On Wed, 13 Sep 2017 at 3:36, Benedikt Ritter<[hidden email]>
> > wrote:   I'm not on my laptop, giving it a try later. What do Travis and
> > Jenkis say?
> >
> > Benedikt
> >
> > Gary Gregory <[hidden email]> schrieb am Di. 12. Sep. 2017 um
> > 16:47:
> >
> > > Hi All:
> > >
> > > I currently get 44 unit test failures in [collections] master.
> > >
> > > Can anyone duplicate this?
> > >
> > > Thank you,
> > > Gary
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>