Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 876937 Details for
Bug 1078979
httpcomponents-core ftbfs on multiple arches
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
httpcomponents-core build failure i386
httpcomponents-core.log (text/x-log), 34.18 KB, created by
Brent Baude
on 2014-03-20 16:47:33 UTC
(
hide
)
Description:
httpcomponents-core build failure i386
Filename:
MIME Type:
Creator:
Brent Baude
Created:
2014-03-20 16:47:33 UTC
Size:
34.18 KB
patch
obsolete
>Mock Version: 1.1.35 >ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/httpcomponents-core.spec'], False, '/var/lib/mock/fedora-rawhide-i386/root/', None, 0, True, False, 1000, 988, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=<mockbuild.trace_decorator.getLog object at 0x8d9772c>) >Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i686 --nodeps builddir/build/SPECS/httpcomponents-core.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} >Building target platforms: i686 >Building for target i686 >Wrote: /builddir/build/SRPMS/httpcomponents-core-4.3-1.fc21.src.rpm >Child return code was: 0 >LEAVE do --> > >ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/httpcomponents-core.spec'], False, '/var/lib/mock/fedora-rawhide-i386/root/', None, 0, True, False, 1000, 988, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=<mockbuild.trace_decorator.getLog object at 0x8d9772c>) >Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/httpcomponents-core.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} >Building target platforms: i686 >Building for target i686 >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TD6Fu6 >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf httpcomponents-core-4.3 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/httpcomponents-core-4.3-src.tar.gz >+ /usr/bin/tar -xf - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd httpcomponents-core-4.3 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-checkstyle-plugin >+ python /usr/share/java-utils/pom_editor.py pom_disable_module httpcore-osgi >+ python /usr/share/java-utils/pom_editor.py pom_disable_module httpcore-ab >+ for module in httpcore httpcore-nio >+ python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:packaging httpcore >+ python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project '<packaging>bundle</packaging>' httpcore >+ python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:build/pom:plugins ' > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <extensions>true</extensions> > <configuration> > <instructions> > <Export-Package>*</Export-Package> > <Private-Package></Private-Package> > <_nouses>true</_nouses> > </instructions> > </configuration> > </plugin>' httpcore >+ for module in httpcore httpcore-nio >+ python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:packaging httpcore-nio >+ python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project '<packaging>bundle</packaging>' httpcore-nio >+ python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:build/pom:plugins ' > <plugin> > <groupId>org.apache.felix</groupId> > <artifactId>maven-bundle-plugin</artifactId> > <extensions>true</extensions> > <configuration> > <instructions> > <Export-Package>*</Export-Package> > <Private-Package></Private-Package> > <_nouses>true</_nouses> > </instructions> > </configuration> > </plugin>' httpcore-nio >+ python /usr/share/java-utils/mvn_file.py ':{*}' httpcomponents/@1 >+ exit 0 >Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C4khFD >+ umask 022 >+ cd /builddir/build/BUILD >+ cd httpcomponents-core-4.3 >+ python /usr/share/java-utils/mvn_build.py -n httpcomponents-core >[INFO] Scanning for projects... >[WARNING] >[WARNING] Some problems were encountered while building the effective model for org.apache.httpcomponents:httpcore:bundle:4.3 >[WARNING] 'build.plugins.plugin.version' for com.agilejava.docbkx:docbkx-maven-plugin is missing. @ org.apache.httpcomponents:httpcomponents-core:4.3, /builddir/build/BUILD/httpcomponents-core-4.3/pom.xml, line 133, column 15 >[WARNING] >[WARNING] Some problems were encountered while building the effective model for org.apache.httpcomponents:httpcore-nio:bundle:4.3 >[WARNING] 'build.plugins.plugin.version' for com.agilejava.docbkx:docbkx-maven-plugin is missing. @ org.apache.httpcomponents:httpcomponents-core:4.3, /builddir/build/BUILD/httpcomponents-core-4.3/pom.xml, line 133, column 15 >[WARNING] >[WARNING] Some problems were encountered while building the effective model for org.apache.httpcomponents:httpcomponents-core:pom:4.3 >[WARNING] 'build.plugins.plugin.version' for com.agilejava.docbkx:docbkx-maven-plugin is missing. @ line 133, column 15 >[WARNING] >[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. >[WARNING] >[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. >[WARNING] >[INFO] ------------------------------------------------------------------------ >[INFO] Reactor Build Order: >[INFO] >[INFO] Apache HttpComponents Core >[INFO] Apache HttpCore >[INFO] Apache HttpCore NIO >[INFO] >[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 >[INFO] >[INFO] ------------------------------------------------------------------------ >[INFO] Building Apache HttpComponents Core 4.3 >[INFO] ------------------------------------------------------------------------ >[INFO] >[INFO] >>> maven-source-plugin:2.2.1:jar (attach-sources) @ httpcomponents-core >>> >[INFO] >[INFO] <<< maven-source-plugin:2.2.1:jar (attach-sources) @ httpcomponents-core <<< >[INFO] >[INFO] --- maven-source-plugin:2.2.1:jar (attach-sources) @ httpcomponents-core --- >[INFO] >[INFO] --- maven-javadoc-plugin:2.9.1:jar (attach-javadocs) @ httpcomponents-core --- >[INFO] Not executing Javadoc as the project is not a Java classpath-capable package >[INFO] >[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ httpcomponents-core --- >[INFO] >[INFO] ------------------------------------------------------------------------ >[INFO] Building Apache HttpCore 4.3 >[INFO] ------------------------------------------------------------------------ >[INFO] >[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ httpcore --- >[INFO] Source directory: /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/src/main/java-deprecated added. >[INFO] >[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ httpcore --- >[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! >[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! >[INFO] Copying 1 resource >[INFO] >[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ httpcore --- >[INFO] Changes detected - recompiling the module! >[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! >[INFO] Compiling 224 source files to /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/target/classes >[WARNING] /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java: Some input files use or override a deprecated API. >[WARNING] /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java: Recompile with -Xlint:deprecation for details. >[INFO] >[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ httpcore --- >[WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy filtered resources, i.e. build is platform dependent! >[INFO] skip non existing resourceDirectory /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/src/test/resources >[INFO] >[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ httpcore --- >[INFO] Changes detected - recompiling the module! >[WARNING] File encoding has not been set, using platform encoding ANSI_X3.4-1968, i.e. build is platform dependent! >[INFO] Compiling 83 source files to /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/target/test-classes >[WARNING] /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/src/test/java/org/apache/http/impl/TestBHttpConnectionBase.java: Some input files use or override a deprecated API. >[WARNING] /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/src/test/java/org/apache/http/impl/TestBHttpConnectionBase.java: Recompile with -Xlint:deprecation for details. >[INFO] >[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ httpcore --- >[INFO] Surefire report directory: /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/target/surefire-reports >------------------------------------------------------- > T E S T S >------------------------------------------------------- >Running org.apache.http.util.TestAsserts >Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec - in org.apache.http.util.TestAsserts >Running org.apache.http.util.TestEntityUtils >Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in org.apache.http.util.TestEntityUtils >Running org.apache.http.util.TestByteArrayBuffer >Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec - in org.apache.http.util.TestByteArrayBuffer >Running org.apache.http.util.TestLangUtils >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.apache.http.util.TestLangUtils >Running org.apache.http.util.TestEncodingUtils >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec - in org.apache.http.util.TestEncodingUtils >Running org.apache.http.util.TestCharArrayBuffer >Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in org.apache.http.util.TestCharArrayBuffer >Running org.apache.http.util.TestArgs >Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.apache.http.util.TestArgs >Running org.apache.http.TestHttpHost >Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.apache.http.TestHttpHost >Running org.apache.http.TestHttpExceptions >Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.http.TestHttpExceptions >Running org.apache.http.TestHttpVersion >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.http.TestHttpVersion >Running org.apache.http.integration.TestSyncHttp >Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.399 sec - in org.apache.http.integration.TestSyncHttp >Running org.apache.http.protocol.TestHttpService >Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.307 sec - in org.apache.http.protocol.TestHttpService >Running org.apache.http.protocol.TestUriHttpRequestHandlerMapper >Tests run: 5, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.056 sec <<< FAILURE! - in org.apache.http.protocol.TestUriHttpRequestHandlerMapper >testWildCardMatchingWithQuery(org.apache.http.protocol.TestUriHttpRequestHandlerMapper) Time elapsed: 0.05 sec <<< ERROR! >java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses > at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:23) > at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:42) > at org.apache.http.protocol.UriPatternMatcher$$EnhancerByMockitoWithCGLIB$$6d0d649c.register(<generated>) > at org.apache.http.protocol.UriHttpRequestHandlerMapper.register(UriHttpRequestHandlerMapper.java:75) > at org.apache.http.protocol.TestUriHttpRequestHandlerMapper.testWildCardMatchingWithQuery(TestUriHttpRequestHandlerMapper.java:85) >testRegisterUnregister(org.apache.http.protocol.TestUriHttpRequestHandlerMapper) Time elapsed: 0.001 sec <<< ERROR! >java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses > at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:23) > at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:42) > at org.apache.http.protocol.UriPatternMatcher$$EnhancerByMockitoWithCGLIB$$6d0d649c.register(<generated>) > at org.apache.http.protocol.UriHttpRequestHandlerMapper.register(UriHttpRequestHandlerMapper.java:75) > at org.apache.http.protocol.TestUriHttpRequestHandlerMapper.testRegisterUnregister(TestUriHttpRequestHandlerMapper.java:45) >testLookup(org.apache.http.protocol.TestUriHttpRequestHandlerMapper) Time elapsed: 0.001 sec <<< ERROR! >java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses > at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:23) > at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:42) > at org.apache.http.protocol.UriPatternMatcher$$EnhancerByMockitoWithCGLIB$$6d0d649c.lookup(<generated>) > at org.apache.http.protocol.TestUriHttpRequestHandlerMapper.testLookup(TestUriHttpRequestHandlerMapper.java:61) >Running org.apache.http.protocol.TestHttpRequestExecutor >Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.102 sec <<< FAILURE! - in org.apache.http.protocol.TestHttpRequestExecutor >testExecutionRuntimeException(org.apache.http.protocol.TestHttpRequestExecutor) Time elapsed: 0.016 sec <<< ERROR! >org.mockito.exceptions.misusing.UnfinishedVerificationException: >Missing method call for verify(mock) here: >-> at org.apache.http.protocol.TestUriHttpRequestHandlerMapper.testLookup(TestUriHttpRequestHandlerMapper.java:61) >Example of correct verification: > verify(mock).doSomething() >Also, this error might show up because you verify either of: final/private/equals()/hashCode() methods. >Those methods *cannot* be stubbed/verified. > at org.apache.http.protocol.TestHttpRequestExecutor.testExecutionRuntimeException(TestHttpRequestExecutor.java:436) >Running org.apache.http.protocol.TestUriPatternMatcher >Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.http.protocol.TestUriPatternMatcher >Running org.apache.http.protocol.TestStandardInterceptors >Tests run: 70, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.066 sec - in org.apache.http.protocol.TestStandardInterceptors >Running org.apache.http.protocol.TestChainBuilder >Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.http.protocol.TestChainBuilder >Running org.apache.http.protocol.TestHttpExecutionContext >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.http.protocol.TestHttpExecutionContext >Running org.apache.http.pool.TestPoolEntry >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in org.apache.http.pool.TestPoolEntry >Running org.apache.http.pool.TestRouteSpecificPool >Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec - in org.apache.http.pool.TestRouteSpecificPool >Running org.apache.http.pool.TestConnPool >Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.672 sec - in org.apache.http.pool.TestConnPool >Running org.apache.http.impl.TestEnglishReasonPhraseCatalog >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.http.impl.TestEnglishReasonPhraseCatalog >Running org.apache.http.impl.TestBasicRequest >Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.http.impl.TestBasicRequest >Running org.apache.http.impl.TestDefaultConnectionReuseStrategy >Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.apache.http.impl.TestDefaultConnectionReuseStrategy >Running org.apache.http.impl.io.TestContentLengthInputStream >Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.http.impl.io.TestContentLengthInputStream >Running org.apache.http.impl.io.TestIdentityOutputStream >Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.http.impl.io.TestIdentityOutputStream >Running org.apache.http.impl.io.TestResponseParser >Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.http.impl.io.TestResponseParser >Running org.apache.http.impl.io.TestChunkCoding >Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in org.apache.http.impl.io.TestChunkCoding >Running org.apache.http.impl.io.TestIdentityInputStream >Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.http.impl.io.TestIdentityInputStream >Running org.apache.http.impl.io.TestContentLengthOutputStream >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in org.apache.http.impl.io.TestContentLengthOutputStream >Running org.apache.http.impl.io.TestSessionInOutBuffers >Tests run: 20, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.085 sec <<< FAILURE! - in org.apache.http.impl.io.TestSessionInOutBuffers >testWriteSmallFragmentNoBuffering(org.apache.http.impl.io.TestSessionInOutBuffers) Time elapsed: 0.021 sec <<< ERROR! >java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses > at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:23) > at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:42) > at $java.io.ByteArrayOutputStream$$EnhancerByMockitoWithCGLIB$$27998aba.write(<generated>) > at org.apache.http.impl.io.SessionOutputBufferImpl.write(SessionOutputBufferImpl.java:186) > at org.apache.http.impl.io.TestSessionInOutBuffers.testWriteSmallFragmentNoBuffering(TestSessionInOutBuffers.java:351) >testWriteSmallFragmentBuffering(org.apache.http.impl.io.TestSessionInOutBuffers) Time elapsed: 0.006 sec <<< ERROR! >java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses > at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:23) > at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:42) > at $java.io.ByteArrayOutputStream$$EnhancerByMockitoWithCGLIB$$27998aba.write(<generated>) > at org.apache.http.impl.io.TestSessionInOutBuffers.testWriteSmallFragmentBuffering(TestSessionInOutBuffers.java:341) >Running org.apache.http.impl.io.TestRequestParser >Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.013 sec - in org.apache.http.impl.io.TestRequestParser >Running org.apache.http.impl.io.TestMessageParser >Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.http.impl.io.TestMessageParser >Running org.apache.http.impl.TestBHttpConnectionBase >Tests run: 22, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 0.181 sec <<< FAILURE! - in org.apache.http.impl.TestBHttpConnectionBase >testPrepareInputLengthDelimited(org.apache.http.impl.TestBHttpConnectionBase) Time elapsed: 0.047 sec <<< ERROR! >org.mockito.exceptions.misusing.UnfinishedVerificationException: >Missing method call for verify(mock) here: >-> at org.apache.http.impl.io.TestSessionInOutBuffers.testWriteSmallFragmentBuffering(TestSessionInOutBuffers.java:341) >Example of correct verification: > verify(mock).doSomething() >Also, this error might show up because you verify either of: final/private/equals()/hashCode() methods. >Those methods *cannot* be stubbed/verified. > at org.apache.http.impl.TestBHttpConnectionBase.setUp(TestBHttpConnectionBase.java:69) >testConnectionShutdown(org.apache.http.impl.TestBHttpConnectionBase) Time elapsed: 0.001 sec <<< ERROR! >org.mockito.exceptions.misusing.InvalidUseOfMatchersException: >Misplaced argument matcher detected here: >-> at org.apache.http.impl.io.TestSessionInOutBuffers.testWriteSmallFragmentBuffering(TestSessionInOutBuffers.java:341) >You cannot use argument matchers outside of verification or stubbing. >Examples of correct usage of argument matchers: > when(mock.get(anyInt())).thenReturn(null); > doThrow(new RuntimeException()).when(mock).someVoidMethod(anyObject()); > verify(mock).someMethod(contains("foo")) >Also, this error might show up because you use argument matchers with methods that cannot be mocked. >Following methods *cannot* be stubbed/verified: final/private/equals()/hashCode(). > at org.apache.http.impl.TestBHttpConnectionBase.setUp(TestBHttpConnectionBase.java:69) >testAwaitInputInBuffer(org.apache.http.impl.TestBHttpConnectionBase) Time elapsed: 0.032 sec <<< ERROR! >java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses > at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:23) > at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:42) > at $java.io.ByteArrayInputStream$$EnhancerByMockitoWithCGLIB$$29c22471.read(<generated>) > at org.apache.http.impl.TestBHttpConnectionBase.testAwaitInputInBuffer(TestBHttpConnectionBase.java:296) >testNotStaleWhenHasData(org.apache.http.impl.TestBHttpConnectionBase) Time elapsed: 0.001 sec <<< ERROR! >org.mockito.exceptions.misusing.UnfinishedVerificationException: >Missing method call for verify(mock) here: >-> at org.apache.http.impl.TestBHttpConnectionBase.testAwaitInputInBuffer(TestBHttpConnectionBase.java:296) >Example of correct verification: > verify(mock).doSomething() >Also, this error might show up because you verify either of: final/private/equals()/hashCode() methods. >Those methods *cannot* be stubbed/verified. > at org.apache.http.impl.TestBHttpConnectionBase.setUp(TestBHttpConnectionBase.java:69) >testPrepareOutputLengthDelimited(org.apache.http.impl.TestBHttpConnectionBase) Time elapsed: 0.002 sec <<< ERROR! >org.mockito.exceptions.misusing.InvalidUseOfMatchersException: >Misplaced argument matcher detected here: >-> at org.apache.http.impl.TestBHttpConnectionBase.testAwaitInputInBuffer(TestBHttpConnectionBase.java:296) >You cannot use argument matchers outside of verification or stubbing. >Examples of correct usage of argument matchers: > when(mock.get(anyInt())).thenReturn(null); > doThrow(new RuntimeException()).when(mock).someVoidMethod(anyObject()); > verify(mock).someMethod(contains("foo")) >Also, this error might show up because you use argument matchers with methods that cannot be mocked. >Following methods *cannot* be stubbed/verified: final/private/equals()/hashCode(). > at org.apache.http.impl.TestBHttpConnectionBase.setUp(TestBHttpConnectionBase.java:69) >testAwaitInputInSocket(org.apache.http.impl.TestBHttpConnectionBase) Time elapsed: 0.003 sec <<< ERROR! >java.lang.RuntimeException: Unable to set MockitoNamingPolicy on cglib generator which creates FastClasses > at org.mockito.internal.creation.cglib.CGLIBHacker.setMockitoNamingPolicy(CGLIBHacker.java:23) > at org.mockito.internal.creation.MethodInterceptorFilter.intercept(MethodInterceptorFilter.java:42) > at $java.io.ByteArrayInputStream$$EnhancerByMockitoWithCGLIB$$29c22471.read(<generated>) > at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136) > at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152) > at org.apache.http.impl.BHttpConnectionBase.fillInputBuffer(BHttpConnectionBase.java:336) > at org.apache.http.impl.BHttpConnectionBase.awaitInput(BHttpConnectionBase.java:346) > at org.apache.http.impl.TestBHttpConnectionBase.testAwaitInputInSocket(TestBHttpConnectionBase.java:310) >Running org.apache.http.impl.TestNoConnectionReuseStrategy >Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec - in org.apache.http.impl.TestNoConnectionReuseStrategy >Running org.apache.http.impl.TestDefaultBHttpClientConnection >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec - in org.apache.http.impl.TestDefaultBHttpClientConnection >Running org.apache.http.impl.TestDefaultBHttpServerConnection >Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.http.impl.TestDefaultBHttpServerConnection >Running org.apache.http.impl.pool.TestBasicConnPool >Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.292 sec - in org.apache.http.impl.pool.TestBasicConnPool >Running org.apache.http.impl.entity.TestDisallowIdentityContentLengthStrategy >Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.http.impl.entity.TestDisallowIdentityContentLengthStrategy >Running org.apache.http.impl.entity.TestLaxContentLengthStrategy >Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in org.apache.http.impl.entity.TestLaxContentLengthStrategy >Running org.apache.http.impl.entity.TestStrictContentLengthStrategy >Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 sec - in org.apache.http.impl.entity.TestStrictContentLengthStrategy >Running org.apache.http.concurrent.TestBasicFuture >Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 sec - in org.apache.http.concurrent.TestBasicFuture >Running org.apache.http.entity.TestInputStreamEntity >Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.http.entity.TestInputStreamEntity >Running org.apache.http.entity.TestSerializableEntity >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.http.entity.TestSerializableEntity >Running org.apache.http.entity.TestAbstractHttpEntity >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.http.entity.TestAbstractHttpEntity >Running org.apache.http.entity.TestContentType >Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.http.entity.TestContentType >Running org.apache.http.entity.TestHttpEntityWrapper >Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.http.entity.TestHttpEntityWrapper >Running org.apache.http.entity.TestStringEntity >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.http.entity.TestStringEntity >Running org.apache.http.entity.TestBasicHttpEntity >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.http.entity.TestBasicHttpEntity >Running org.apache.http.entity.TestEntityTemplate >Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.http.entity.TestEntityTemplate >Running org.apache.http.entity.TestBufferedHttpEntity >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.http.entity.TestBufferedHttpEntity >Running org.apache.http.entity.TestByteArrayEntity >Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.http.entity.TestByteArrayEntity >Running org.apache.http.entity.TestFileEntity >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.http.entity.TestFileEntity >Running org.apache.http.config.TestRegistry >Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.http.config.TestRegistry >Running org.apache.http.message.TestRequestLine >Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.http.message.TestRequestLine >Running org.apache.http.message.TestBasicHeaderValueFormatter >Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.http.message.TestBasicHeaderValueFormatter >Running org.apache.http.message.TestBasicHttpResponse >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.http.message.TestBasicHttpResponse >Running org.apache.http.message.TestBasicTokenIterator >Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.apache.http.message.TestBasicTokenIterator >Running org.apache.http.message.TestHeaderElement >Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.http.message.TestHeaderElement >Running org.apache.http.message.TestBasicLineParser >Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.http.message.TestBasicLineParser >Running org.apache.http.message.TestBufferedHeader >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec - in org.apache.http.message.TestBufferedHeader >Running org.apache.http.message.TestBasicHeaderElementIterator >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.http.message.TestBasicHeaderElementIterator >Running org.apache.http.message.TestBasicHeaderIterator >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.http.message.TestBasicHeaderIterator >Running org.apache.http.message.TestBasicHeaderValueParser >Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec - in org.apache.http.message.TestBasicHeaderValueParser >Running org.apache.http.message.TestNameValuePair >Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.http.message.TestNameValuePair >Running org.apache.http.message.TestBasicMessages >Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.http.message.TestBasicMessages >Running org.apache.http.message.TestBasicLineFormatter >Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.http.message.TestBasicLineFormatter >Running org.apache.http.message.TestAbstractMessage >Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.http.message.TestAbstractMessage >Running org.apache.http.message.TestStatusLine >Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.apache.http.message.TestStatusLine >Running org.apache.http.message.TestHeader >Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.http.message.TestHeader >Running org.apache.http.message.TestHeaderGroup >Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.http.message.TestHeaderGroup >Results : >Tests in error: > TestUriHttpRequestHandlerMapper.testWildCardMatchingWithQuery:85 ? Runtime Una... > TestUriHttpRequestHandlerMapper.testRegisterUnregister:45 ? Runtime Unable to ... > TestUriHttpRequestHandlerMapper.testLookup:61 ? Runtime Unable to set MockitoN... > TestHttpRequestExecutor.testExecutionRuntimeException:436 UnfinishedVerification > TestSessionInOutBuffers.testWriteSmallFragmentNoBuffering:351 ? Runtime Unable... > TestSessionInOutBuffers.testWriteSmallFragmentBuffering:341 ? Runtime Unable t... > TestBHttpConnectionBase.setUp:69 UnfinishedVerification >Missing method call f... > TestBHttpConnectionBase.setUp:69 InvalidUseOfMatchers >Misplaced argument matc... > TestBHttpConnectionBase.testAwaitInputInBuffer:296 ? Runtime Unable to set Moc... > TestBHttpConnectionBase.setUp:69 UnfinishedVerification >Missing method call f... > TestBHttpConnectionBase.setUp:69 InvalidUseOfMatchers >Misplaced argument matc... > TestBHttpConnectionBase.testAwaitInputInSocket:310 ? Runtime Unable to set Moc... >Tests run: 601, Failures: 0, Errors: 12, Skipped: 0 >[INFO] >[INFO] ------------------------------------------------------------------------ >[INFO] Skipping Apache HttpComponents Core >[INFO] This project has been banned from the build due to previous failures. >[INFO] ------------------------------------------------------------------------ >[INFO] ------------------------------------------------------------------------ >[INFO] Reactor Summary: >[INFO] >[INFO] Apache HttpComponents Core ........................ SUCCESS [ 1.821 s] >[INFO] Apache HttpCore ................................... FAILURE [ 18.661 s] >[INFO] Apache HttpCore NIO ............................... SKIPPED >[INFO] ------------------------------------------------------------------------ >[INFO] BUILD FAILURE >[INFO] ------------------------------------------------------------------------ >[INFO] Total time: 22.269 s >[INFO] Finished at: 2014-03-20T11:43:31-06:00 >[INFO] Final Memory: 20M/261M >[INFO] ------------------------------------------------------------------------ >[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project httpcore: There are test failures. >[ERROR] >[ERROR] Please refer to /builddir/build/BUILD/httpcomponents-core-4.3/httpcore/target/surefire-reports for the individual test results. >[ERROR] -> [Help 1] >[ERROR] >[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. >[ERROR] Re-run Maven using the -X switch to enable full debug logging. >[ERROR] >[ERROR] For more information about the errors and possible solutions, please read the following articles: >[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >[ERROR] >[ERROR] After correcting the problems, you can resume the build with the command >[ERROR] mvn <goals> -rf :httpcore >error: Bad exit status from /var/tmp/rpm-tmp.C4khFD (%build) > Bad exit status from /var/tmp/rpm-tmp.C4khFD (%build) >RPM build errors: >Child return code was: 1 >EXCEPTION: Command failed. See logs for output. > # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/httpcomponents-core.spec'] >Traceback (most recent call last): > File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace > result = func(*args, **kw) > File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do > raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >Error: Command failed. See logs for output. > # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/httpcomponents-core.spec'] >LEAVE do --> EXCEPTION RAISED >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1078979
: 876937