maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@codehaus.org>
Subject [jira] (WAGON-386) build failure with jdk 1.7
Date Fri, 01 Feb 2013 20:53:13 GMT

    [ https://jira.codehaus.org/browse/WAGON-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318516#comment-318516
] 

Oleg Kalnichevski commented on WAGON-386:
-----------------------------------------

Now webdav tests ;-)

---
[INFO] Surefire report directory: /home/oleg/src/apache.org/maven/maven-wagon/wagon-providers/wagon-webdav-jackrabbit/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.wagon.providers.webdav.WebDavWagonTest
Tests run: 63, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.694 sec
Running org.apache.maven.wagon.providers.webdav.PathNavigatorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
Running org.apache.maven.wagon.providers.webdav.WebDavsWagonTest
Tests run: 63, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 18.929 sec <<< FAILURE!
testStreamingWagon(org.apache.maven.wagon.providers.webdav.WebDavsWagonTest)  Time elapsed:
0.048 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 
  Unexpected method call transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:37816/newfolder/folder2/]|null|test-resource[len
= 18; mod = 1359751683000]], [B@2b358b73, 17):
    transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:37816/newfolder/folder2/]|null|test-resource[len
= 18; mod = 1359751683000]], [B@394047fa, 0): expected: 1, actual: 2
	at org.easymock.MockControl$4.invoke(MockControl.java:148)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
	at $Proxy0.transferProgress(Unknown Source)
	at org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress(TransferEventSupport.java:121)
	at org.apache.maven.wagon.AbstractWagon.fireTransferProgress(AbstractWagon.java:515)
	at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:500)
	at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:339)
	at org.apache.maven.wagon.StreamWagon.getIfNewerToStream(StreamWagon.java:227)
	at org.apache.maven.wagon.StreamWagon.getToStream(StreamWagon.java:242)
	at org.apache.maven.wagon.StreamingWagonTestCase.getStream(StreamingWagonTestCase.java:292)
	at org.apache.maven.wagon.StreamingWagonTestCase.streamRoundTripTesting(StreamingWagonTestCase.java:218)
	at org.apache.maven.wagon.StreamingWagonTestCase.testStreamingWagon(StreamingWagonTestCase.java:50)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

testWagonGetIfNewerToStreamIsOlder(org.apache.maven.wagon.providers.webdav.WebDavsWagonTest)
 Time elapsed: 0.062 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 
  Unexpected method call transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:45027/newfolder/folder2/]|null|test-resource[len
= 18; mod = 1359751683000]], [B@6ed27650, 17):
    transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:45027/newfolder/folder2/]|null|test-resource[len
= 18; mod = 1359751683000]], [B@5eb5c1fb, 0): expected: 1, actual: 2
	at org.easymock.MockControl$4.invoke(MockControl.java:148)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
	at $Proxy0.transferProgress(Unknown Source)
	at org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress(TransferEventSupport.java:121)
	at org.apache.maven.wagon.AbstractWagon.fireTransferProgress(AbstractWagon.java:515)
	at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:500)
	at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:339)
	at org.apache.maven.wagon.StreamWagon.getIfNewerToStream(StreamWagon.java:227)
	at org.apache.maven.wagon.StreamingWagonTestCase.getIfNewerToStream(StreamingWagonTestCase.java:152)
	at org.apache.maven.wagon.StreamingWagonTestCase.testWagonGetIfNewerToStreamIsOlder(StreamingWagonTestCase.java:121)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

testWagon(org.apache.maven.wagon.providers.webdav.WebDavsWagonTest)  Time elapsed: 0.069 sec
 <<< FAILURE!
junit.framework.AssertionFailedError: 
  Unexpected method call transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:49576/newfolder/folder2/]|null|test-resource[len
= 18; mod = 1359751684000]], [B@1dea3324, 17):
    transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:49576/newfolder/folder2/]|null|test-resource[len
= 18; mod = 1359751684000]], [B@19bc5ea7, 0): expected: 1, actual: 2
	at org.easymock.MockControl$4.invoke(MockControl.java:148)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
	at $Proxy0.transferProgress(Unknown Source)
	at org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress(TransferEventSupport.java:121)
	at org.apache.maven.wagon.AbstractWagon.fireTransferProgress(AbstractWagon.java:515)
	at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:500)
	at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:339)
	at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:310)
	at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:287)
	at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:97)
	at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
	at org.apache.maven.wagon.WagonTestCase.getFile(WagonTestCase.java:957)
	at org.apache.maven.wagon.WagonTestCase.fileRoundTripTesting(WagonTestCase.java:1069)
	at org.apache.maven.wagon.WagonTestCase.testWagon(WagonTestCase.java:248)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

testWagonGetIfNewerIsOlder(org.apache.maven.wagon.providers.webdav.WebDavsWagonTest)  Time
elapsed: 0.038 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 
  Unexpected method call transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:34997/newfolder/folder2/]|null|test-resource[len
= 18; mod = 1359751684000]], [B@54e3322b, 17):
    transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:34997/newfolder/folder2/]|null|test-resource[len
= 18; mod = 1359751684000]], [B@79af126e, 0): expected: 1, actual: 2
	at org.easymock.MockControl$4.invoke(MockControl.java:148)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
	at $Proxy0.transferProgress(Unknown Source)
	at org.apache.maven.wagon.events.TransferEventSupport.fireTransferProgress(TransferEventSupport.java:121)
	at org.apache.maven.wagon.AbstractWagon.fireTransferProgress(AbstractWagon.java:515)
	at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:500)
	at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:339)
	at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:310)
	at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:287)
	at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:97)
	at org.apache.maven.wagon.WagonTestCase.getIfNewer(WagonTestCase.java:306)
	at org.apache.maven.wagon.WagonTestCase.testWagonGetIfNewerIsOlder(WagonTestCase.java:293)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)


Results :

Failed tests:   testStreamingWagon(org.apache.maven.wagon.providers.webdav.WebDavsWagonTest):
(..)
  testWagonGetIfNewerToStreamIsOlder(org.apache.maven.wagon.providers.webdav.WebDavsWagonTest):
(..)
  testWagon(org.apache.maven.wagon.providers.webdav.WebDavsWagonTest): (..)
  testWagonGetIfNewerIsOlder(org.apache.maven.wagon.providers.webdav.WebDavsWagonTest): (..)

Tests run: 127, Failures: 4, Errors: 0, Skipped: 0
---

Oleg
                
> build failure with jdk 1.7
> --------------------------
>
>                 Key: WAGON-386
>                 URL: https://jira.codehaus.org/browse/WAGON-386
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http, wagon-http-lightweight
>    Affects Versions: 2.4
>         Environment: jdk 1.7
>            Reporter: Olivier Lamy
>            Assignee: Olivier Lamy
>             Fix For: 2.4
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message