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 18:11:13 GMT

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

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

I am getting similar build failures with the latest master and JRE 7.0.07. Can these be related?

---
Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100)
Maven home: /opt/maven
Java version: 1.7.0_07, vendor: Oracle Corporation
Java home: /opt/oracle-jdk-1.7.0.07/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.5.0-22-generic", arch: "amd64", family: "unix"
---

---
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ wagon-http-lightweight ---
[INFO] Surefire report directory: /home/oleg/src/apache.org/maven/maven-wagon/wagon-providers/wagon-http-lightweight/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.maven.wagon.providers.http.TckTest
Tests run: 40, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 62.712 sec
Running org.apache.maven.wagon.providers.http.LightweightHttpWagonTest
Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.288 sec
Running org.apache.maven.wagon.providers.http.LightweightHttpsWagonTest
Tests run: 52, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 17.023 sec <<< FAILURE!
testStreamingWagon(org.apache.maven.wagon.providers.http.LightweightHttpsWagonTest)  Time
elapsed: 0.045 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 
  Unexpected method call transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:34892/]|null|test-resource[len
= 18; mod = 1359741625000]], [B@239de86, 17):
    transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:34892/]|null|test-resource[len
= 18; mod = 1359741625000]], [B@23bdce67, 0): expected: 1, actual: 2
	at org.easymock.MockControl$4.invoke(MockControl.java:148)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
	at $Proxy12.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.http.LightweightHttpsWagonTest)
 Time elapsed: 0.032 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 
  Unexpected method call transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:36723/]|null|test-resource[len
= 18; mod = 1359741625000]], [B@791fbc48, 17):
    transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:36723/]|null|test-resource[len
= 18; mod = 1359741625000]], [B@3f229bc1, 0): expected: 1, actual: 2
	at org.easymock.MockControl$4.invoke(MockControl.java:148)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
	at $Proxy12.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.http.LightweightHttpsWagonTest)  Time elapsed:
0.041 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 
  Unexpected method call transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:47741/]|null|test-resource[len
= 18; mod = 1359741626000]], [B@4cf8744c, 17):
    transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:47741/]|null|test-resource[len
= 18; mod = 1359741626000]], [B@10b2d5e4, 0): expected: 1, actual: 2
	at org.easymock.MockControl$4.invoke(MockControl.java:148)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
	at $Proxy12.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.http.LightweightHttpsWagonTest)
 Time elapsed: 0.05 sec  <<< FAILURE!
junit.framework.AssertionFailedError: 
  Unexpected method call transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:35878/]|null|test-resource[len
= 18; mod = 1359741626000]], [B@5fb47871, 17):
    transferProgress(TransferEvent[GET|PROGRESS|Repository[https://localhost:35878/]|null|test-resource[len
= 18; mod = 1359741626000]], [B@58174505, 0): expected: 1, actual: 2
	at org.easymock.MockControl$4.invoke(MockControl.java:148)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:44)
	at $Proxy12.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)

Running org.apache.maven.wagon.providers.http.LightweightHttpWagonWithPreemptiveAuthenticationTest
Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.089 sec

Results :

Failed tests:   testStreamingWagon(org.apache.maven.wagon.providers.http.LightweightHttpsWagonTest):
(..)
  testWagonGetIfNewerToStreamIsOlder(org.apache.maven.wagon.providers.http.LightweightHttpsWagonTest):
(..)
  testWagon(org.apache.maven.wagon.providers.http.LightweightHttpsWagonTest): (..)
  testWagonGetIfNewerIsOlder(org.apache.maven.wagon.providers.http.LightweightHttpsWagonTest):
(..)

Tests run: 196, Failures: 4, Errors: 0, Skipped: 2

---

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