[ 
https://issues.apache.org/jira/browse/SAMZA-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14268422#comment-14268422
 ] 

Navina Ramesh commented on SAMZA-468:
-------------------------------------

I tried it out on my Linux box. I had setup the auth keys. However, it prompted 
for password anyway. So, I am not sure which one it used. I did not get any 
auth exception. 
However, my tests failed as it could not connect to Kafka broker.

2015-01-07 14:33:11,132 kafka [ERROR] Unable to connect to kafka broker at :9092
Traceback (most recent call last):
  File 
"/tmp/samza-tests/samza-integration-tests/lib/python2.6/site-packages/kafka/conn.py",
 line 192, in reinit
    self._sock = socket.create_connection((self.host, self.port), self.timeout)
  File "/usr/lib64/python2.6/socket.py", line 553, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known
2015-01-07 14:33:11,133 kafka [WARNING] Could not send request 
['\x00\x00\x00,\x00\x03\x00\x00\x00\x00\x00\x03\x00\x0ckafka-python\x00\x00\x00\x01\x00\x10samza-test-topic']
 to server :9092, trying next server: Kafka @ :9092 went away
2015-01-07 14:33:11,138 kafka [WARNING] No partitions for samza-test-topic

Digging in more to see why it didn't connect to the Kafka broker. 


> Create an integration test suite
> --------------------------------
>
>                 Key: SAMZA-468
>                 URL: https://issues.apache.org/jira/browse/SAMZA-468
>             Project: Samza
>          Issue Type: Test
>          Components: test
>            Reporter: Navina Ramesh
>            Assignee: Navina Ramesh
>         Attachments: SAMZA-468-1.patch, SAMZA-468-2.patch, SAMZA-468-3.patch, 
> SAMZA-468-4.patch, SAMZA-468-5.patch, SAMZA-468-6.patch, SAMZA-468-7.patch, 
> SAMZA-INT-TEST.patch, zopkio1.png, zopkio2.png, zopkio3.png, zopkio4.png, 
> zopkio5.png
>
>
> We don't have a standardized test framework for integration tests. This task 
> explores Zopkio as a potential test framework and prototypes a simple 
> functional integration test for Samza.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to