commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Kuhtz <andreas.ku...@gmail.com>
Subject Re: [COLLECTIONS] Test failures on Windows
Date Wed, 27 Sep 2017 18:45:01 GMT
Hi,

I'm running Win7 and with "mvn clean verify". Checkout master.

I got the hash code errors, too. But sometimes the tests pass, the next
time they failed with 44 failures (the hash code verification).

As I'm not sure if my antivirus kicks in and keep some files in the target
dir, I ran "mvn clean" and after that "mvn clean verify".
But now I have the 44 failures with jdk-1.7.0_67, jdk-1.8.0_131 and 9+181

Gary:
To get around the issue with ServiceConfiguration sun.util.locale...  I
added the following profile to the pom.xml. After that I only got the 44
errors (hash code) as with Java 7 and 8.

    <profile>
      <id>jdk9-build</id>
      <activation>
        <jdk>9</jdk>
      </activation>
      <build>
        <plugins>
          <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
            <configuration>
              <argLine>-Djava.locale.providers=COMPAT</argLine>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>

I'm not sure if I can help more, but if you need more info just let me know.

Andreas

2017-09-27 19:10 GMT+02:00 Gary Gregory <garydgregory@gmail.com>:

> Using git master and 'mvn clean verify', on Windows 10, with Java 7, I get
> 44 failures, and I think this is all/mostly hash code problems.
>
> With Java 8, all tests pass.
>
> With Java 9, I get ONE failure: ListIteratorWrapperTest.testRemove:116 ╗
> ServiceConfiguration sun.util.locale....
>
> If I checkout the 4.1 tag and use Java 7, I get 44 failures. ARG! What the
> heck?
>
> Gary
>
>
>
> On Mon, Sep 25, 2017 at 12:02 PM, Benedikt Ritter <britter@apache.org>
> wrote:
>
> > Hi,
> >
> > who can help with the test failures on Windows? I’d like to push out the
> > next release soon to get Collections Java 9 ready. I don’t have access
> to a
> > Windows installation and I don’t feel like debugging inside a VM :o)
> >
> > Regards,
> > Benedikt
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message