-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/42656/#review119561
-----------------------------------------------------------



Master (9d642dc) is red with this patch.
  ./build-support/jenkins/build.sh

                           handler = ReadOnlySchedulerHandler()
                           processor = 
ReadOnlyScheduler.Processor(handler)
                           pfactory = 
TJSONProtocol.TJSONProtocolFactory()
                           server = THttpServer.THttpServer(processor, 
('localhost', 0), pfactory)
                           server_thread = Thread(target=server.serve)
                           server_thread.start()
                           _, server_port = 
server.httpd.socket.getsockname()
                         
                           try:
                             transport = 
TRequestsTransport('http://localhost:%d' % server_port)
                             protocol = 
TJSONProtocol.TJSONProtocol(transport)
                             client = ReadOnlyScheduler.Client(protocol)
                     >       client.getRoleSummary()
                     
                     
src/test/python/apache/aurora/common/test_transport.py:194: 
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     
.pants.d/python-setup/chroots/62842f64d44dfb8a1ac3e9b3ead8f6af1e207916/.deps/api.src.main.thrift.org.apache.aurora.gen._api_c7736d29-0.0.0-py2-none-any.whl/gen/apache/aurora/api/ReadOnlyScheduler.py:147:
 in getRoleSummary
                         self.send_getRoleSummary()
                     
.pants.d/python-setup/chroots/62842f64d44dfb8a1ac3e9b3ead8f6af1e207916/.deps/api.src.main.thrift.org.apache.aurora.gen._api_c7736d29-0.0.0-py2-none-any.whl/gen/apache/aurora/api/ReadOnlyScheduler.py:155:
 in send_getRoleSummary
                         self._oprot.trans.flush()
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     
                     self = <apache.aurora.common.transport.TRequestsTransport 
instance at 0x7f47aa91b248>
                     
                         def flush(self):
                           data = self.__wbuf.getvalue()
                           self.__wbuf = BytesIO()
                         
                     >     self._session.headers['Content-Type'] = 
'application/x-thrift'
                     E     AttributeError: 'NoneType' object has no 
attribute 'headers'
                     
                     
.pants.d/python-setup/chroots/62842f64d44dfb8a1ac3e9b3ead8f6af1e207916/apache/aurora/common/transport.py:117:
 AttributeError
                      generated xml file: 
/home/jenkins/jenkins-slave/workspace/AuroraBot/dist/test-results/415337499eb72578eab327a6487c1f5c9452b3d6.xml
 
                      7 failed, 655 passed, 5 skipped, 1 warnings in 
332.52 seconds 
                     
FAILURE


00:19:32 06:29   [complete]
               FAILURE


I will refresh this build result if you post a review containing "@ReviewBot 
retry"

- Aurora ReviewBot


On Feb. 18, 2016, 12:01 a.m., Kunal Thakar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42656/
> -----------------------------------------------------------
> 
> (Updated Feb. 18, 2016, 12:01 a.m.)
> 
> 
> Review request for Aurora and Stephan Erb.
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> As an API consumer, I want the API client to reuse open connections and not 
> create a new one for every query.
> 
> 
> Diffs
> -----
> 
>   src/main/python/apache/aurora/common/transport.py 
> 909021ac203185862267d4359d332fc169a06b7e 
>   src/test/python/apache/aurora/common/test_transport.py 
> 1f589a9ae08e1f13be34ad6002ceb11a43fdeb5f 
> 
> Diff: https://reviews.apache.org/r/42656/diff/
> 
> 
> Testing
> -------
> 
> ./pants test.pytest src/test/python::
> 
> 
> Thanks,
> 
> Kunal Thakar
> 
>

Reply via email to