archiva-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Graham <chrisgw...@gmail.com>
Subject Archiva Trunk Build Failures
Date Mon, 25 Feb 2013 10:04:03 GMT
Hey All.

I'm getting some build failures for Archiva on Windows under the IBM VM.

The order of the XML is wrong.

-Chris

Tests run: 34, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 10.203 sec
<<< FAILURE!
testGetGroupMetadataProxiedOnLocalMultipleRemote(org.apache.archiva.proxy.MetadataTransferTest)
Time elapsed: 0.485 sec  <<< FAILURE!
java.lang.AssertionError: expected:<<?xml version="1.0" encoding="UTF-8"?>

<metadata>
  <groupId>org.apache.maven.test.groups.get-on-multiple-repos</groupId>
  <plugins>
    <plugin>
      <prefix>plugin1</prefix>
      <artifactId>plugin1-maven-plugin</artifactId>
      <name>The plugin1 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin2</prefix>
      <artifactId>plugin2-maven-plugin</artifactId>
      <name>The plugin2 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin4</prefix>
      <artifactId>plugin4-maven-plugin</artifactId>
      <name>The plugin4 Plugin</name>
    </plugin>
  </plugins>
</metadata>
> but was:<<?xml version="1.0" encoding="UTF-8"?>

<metadata>
  <groupId>org.apache.maven.test.groups.get-on-multiple-repos</groupId>
  <plugins>
    <plugin>
      <prefix>plugin1</prefix>
      <artifactId>plugin1-maven-plugin</artifactId>
      <name>The plugin1 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin4</prefix>
      <artifactId>plugin4-maven-plugin</artifactId>
      <name>The plugin4 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin2</prefix>
      <artifactId>plugin2-maven-plugin</artifactId>
      <name>The plugin2 Plugin</name>
    </plugin>
  </plugins>
</metadata>
>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:743)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at
org.apache.archiva.proxy.MetadataTransferTest.assertMetadataEquals(MetadataTransferTest.java:1097)
        at
org.apache.archiva.proxy.MetadataTransferTest.assertGroupMetadata(MetadataTransferTest.java:1185)
        at
org.apache.archiva.proxy.MetadataTransferTest.assertGroupMetadataContents(MetadataTransferTest.java:1139)
        at
org.apache.archiva.proxy.MetadataTransferTest.testGetGroupMetadataProxiedOnLocalMultipleRemote(MetadataTransferTest.java:919)

testGetGroupMetadataProxiedNotLocalMultipleRemotes(org.apache.archiva.proxy.MetadataTransferTest)
Time elapsed: 0.391 sec  <<< FAILURE!
java.lang.AssertionError: expected:<<?xml version="1.0" encoding="UTF-8"?>

<metadata>
  <groupId>org.apache.maven.test.groups.get-default-layout</groupId>
  <plugins>
    <plugin>
      <prefix>plugin2</prefix>
      <artifactId>plugin2-maven-plugin</artifactId>
      <name>The plugin2 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin1</prefix>
      <artifactId>plugin1-maven-plugin</artifactId>
      <name>The plugin1 Plugin</name>
    </plugin>
  </plugins>
</metadata>
> but was:<<?xml version="1.0" encoding="UTF-8"?>

<metadata>
  <groupId>org.apache.maven.test.groups.get-default-layout</groupId>
  <plugins>
    <plugin>
      <prefix>plugin1</prefix>
      <artifactId>plugin1-maven-plugin</artifactId>
      <name>The plugin1 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin2</prefix>
      <artifactId>plugin2-maven-plugin</artifactId>
      <name>The plugin2 Plugin</name>
    </plugin>
  </plugins>
</metadata>
>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:743)
        at org.junit.Assert.assertEquals(Assert.java:118)
        at org.junit.Assert.assertEquals(Assert.java:144)
        at
org.apache.archiva.proxy.MetadataTransferTest.assertMetadataEquals(MetadataTransferTest.java:1097)
        at
org.apache.archiva.proxy.MetadataTransferTest.assertGroupMetadata(MetadataTransferTest.java:1185)
        at
org.apache.archiva.proxy.MetadataTransferTest.assertGroupMetadataContents(MetadataTransferTest.java:1139)
        at
org.apache.archiva.proxy.MetadataTransferTest.testGetGroupMetadataProxiedNotLocalMultipleRemotes(MetadataTransferTest.java:842)

Running org.apache.archiva.proxy.SnapshotTransferTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.094 sec

Results :

Failed tests:

MetadataTransferTest.testGetGroupMetadataProxiedOnLocalMultipleRemote:919->assertGroupMetadataContents:1139->assertGroupMetadata:1185->assertMetadataEquals:1097
expected:<<?xml v
ersion="1.0" encoding="UTF-8"?>

<metadata>
  <groupId>org.apache.maven.test.groups.get-on-multiple-repos</groupId>
  <plugins>
    <plugin>
      <prefix>plugin1</prefix>
      <artifactId>plugin1-maven-plugin</artifactId>
      <name>The plugin1 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin2</prefix>
      <artifactId>plugin2-maven-plugin</artifactId>
      <name>The plugin2 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin4</prefix>
      <artifactId>plugin4-maven-plugin</artifactId>
      <name>The plugin4 Plugin</name>
    </plugin>
  </plugins>
</metadata>
> but was:<<?xml version="1.0" encoding="UTF-8"?>

<metadata>
  <groupId>org.apache.maven.test.groups.get-on-multiple-repos</groupId>
  <plugins>
    <plugin>
      <prefix>plugin1</prefix>
      <artifactId>plugin1-maven-plugin</artifactId>
      <name>The plugin1 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin4</prefix>
      <artifactId>plugin4-maven-plugin</artifactId>
      <name>The plugin4 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin2</prefix>
      <artifactId>plugin2-maven-plugin</artifactId>
      <name>The plugin2 Plugin</name>
    </plugin>
  </plugins>
</metadata>
>

MetadataTransferTest.testGetGroupMetadataProxiedNotLocalMultipleRemotes:842->assertGroupMetadataContents:1139->assertGroupMetadata:1185->assertMetadataEquals:1097
expected:<<?xml
 version="1.0" encoding="UTF-8"?>

<metadata>
  <groupId>org.apache.maven.test.groups.get-default-layout</groupId>
  <plugins>
    <plugin>
      <prefix>plugin2</prefix>
      <artifactId>plugin2-maven-plugin</artifactId>
      <name>The plugin2 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin1</prefix>
      <artifactId>plugin1-maven-plugin</artifactId>
      <name>The plugin1 Plugin</name>
    </plugin>
  </plugins>
</metadata>
> but was:<<?xml version="1.0" encoding="UTF-8"?>

<metadata>
  <groupId>org.apache.maven.test.groups.get-default-layout</groupId>
  <plugins>
    <plugin>
      <prefix>plugin1</prefix>
      <artifactId>plugin1-maven-plugin</artifactId>
      <name>The plugin1 Plugin</name>
    </plugin>
    <plugin>
      <prefix>plugin2</prefix>
      <artifactId>plugin2-maven-plugin</artifactId>
      <name>The plugin2 Plugin</name>
    </plugin>
  </plugins>
</metadata>
>

Tests run: 118, Failures: 2, Errors: 0, Skipped: 0


This is with:C:\Workspaces\RACV2\archiva-trunk>"%java_home%\bin\java"
-version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwi3260sr9fp1ifix-20110329_01(SR9
FP1+IZ95654+IZ91385+IZ95150))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows XP x86-32
jvmwi3260sr9-20110324_78506 (JIT enabled, AOT enabled)
J9VM - 20110324_078506
JIT  - r9_20101028_17488ifx3
GC   - 20101027_AA)
JCL  - 20110203_01

-Chris

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