[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=313300=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-313300
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 16/Sep/19 21:15
Start Date: 16/Sep/19 21:15
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on pull request #9559: 
[BEAM-8217] Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status 
server
URL: https://github.com/apache/beam/pull/9559
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 313300)
Time Spent: 3h 50m  (was: 3h 40m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-16 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=313299=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-313299
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 16/Sep/19 21:15
Start Date: 16/Sep/19 21:15
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531961392
 
 
   We chatted offline with Hannah and it's part of the issue on Dataflow side.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 313299)
Time Spent: 3h 40m  (was: 3.5h)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312209=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312209
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 17:55
Start Date: 13/Sep/19 17:55
Worklog Time Spent: 10m 
  Work Description: Hannah-Jiang commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531332056
 
 
   My investigation is re-creating a dataflow worker would solve Precommit 
problem.
   From 
[here](https://github.com/apache/beam/blob/release-2.16.0/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py#L947),
 dataflow job used to use an image with `beam-master-20190802` tag as a default 
image, but after we change version from `2.16.0.dev` to `2.16.0` at 
`version.py`, it uses the one with `2.16.0` tag and now cannot find this image. 
   How about just try to create a new image from release branch with `2.16.0` 
and upload to gcr?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312209)
Time Spent: 3h 20m  (was: 3h 10m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312210=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312210
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 17:55
Start Date: 13/Sep/19 17:55
Worklog Time Spent: 10m 
  Work Description: Hannah-Jiang commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531332056
 
 
   My investigation is re-creating a dataflow worker would solve Precommit 
problem.
   From 
[here](https://github.com/apache/beam/blob/release-2.16.0/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py#L947),
 dataflow job used to use an image with `beam-master-20190802` tag as a default 
image, but after we change version from `2.16.0.dev` to `2.16.0` at 
`version.py`, it uses the one with `2.16.0` tag and now cannot find this image. 
   How about just try to create a new image from release branch with `2.16.0` 
tag and upload to gcr?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312210)
Time Spent: 3.5h  (was: 3h 20m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312207=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312207
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 17:53
Start Date: 13/Sep/19 17:53
Worklog Time Spent: 10m 
  Work Description: Hannah-Jiang commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531332056
 
 
   My investigation is re-create dataflow worker would solve Precommit problem.
   From 
[here](https://github.com/apache/beam/blob/release-2.16.0/sdks/python/apache_beam/runners/dataflow/internal/apiclient.py#L947),
 it used to use an image with `beam-master-20190802` tag, but after we change 
version from `2.16.0.dev` to `2.16.0` at `version.py`, it uses the one with 
`2.16.0` tag and now cannot find this image.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312207)
Time Spent: 3h 10m  (was: 3h)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312173=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312173
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 16:45
Start Date: 13/Sep/19 16:45
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531309678
 
 
   yes. It's not merged since current precommit failed due to old dataflow 
container. I'd like to make test pass first. Working on updating dataflow 
container now.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312173)
Time Spent: 3h  (was: 2h 50m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 3h
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312172=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312172
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 16:45
Start Date: 13/Sep/19 16:45
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531309678
 
 
   yes. It's not merged since current precommit failed due to old dataflow 
container. I'd like to make test pass first. Working on update dataflow 
container now.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312172)
Time Spent: 2h 50m  (was: 2h 40m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312171=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312171
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 16:44
Start Date: 13/Sep/19 16:44
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531309678
 
 
   yes. It's not merged since current precommit failed due to old dataflow 
container. I'd like to make test pass first.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312171)
Time Spent: 2h 40m  (was: 2.5h)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312168=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312168
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 16:41
Start Date: 13/Sep/19 16:41
Worklog Time Spent: 10m 
  Work Description: angoenka commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531308746
 
 
   Do you also need to cherrypick #9560 to realease-2. 16 branch? 
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312168)
Time Spent: 2.5h  (was: 2h 20m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312158=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312158
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 16:31
Start Date: 13/Sep/19 16:31
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531305510
 
 
   That's the log from worker in pantheon. You can find it from dataflow 
console.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312158)
Time Spent: 2h 10m  (was: 2h)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312159=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312159
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 16:31
Start Date: 13/Sep/19 16:31
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531305510
 
 
   That's the log from worker in pantheon. You can find an access link from 
dataflow console.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312159)
Time Spent: 2h 20m  (was: 2h 10m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312154=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312154
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 16:18
Start Date: 13/Sep/19 16:18
Worklog Time Spent: 10m 
  Work Description: Hannah-Jiang commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531301072
 
 
   > The error seems to be the same for Python Precommit as well
   > 
   > ```
   > E 2019-09-12T18:47:30.173982702Z Handler for POST /v1.27/images/create 
returned error: manifest for 
gcr.io/cloud-dataflow/v1beta3/python37-fnapi:2.16.0 not found 
   > I 2019-09-12T18:47:30.175284933Z Container image 
gcr.io/cloud-dataflow/v1beta3/python37-fnapi:2.16.0 not found in VM cache. Will 
download. 
   > ```
   
   Where did you see this error? If I check the log from the `Details` link, 
timestamp is different and cannot find the log you pasted.
   It's weird only py2 and py37 failed if it is caused by docker images. 
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312154)
Time Spent: 2h  (was: 1h 50m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 2h
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=312151=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-312151
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 16:12
Start Date: 13/Sep/19 16:12
Worklog Time Spent: 10m 
  Work Description: Hannah-Jiang commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531299232
 
 
   > @Hannah-Jiang is working on a fix that address the Portable_python 
failure. Not sure if Precommit has same root cause.
   
   My PR (#9560)is ready to merge once it passes the failing tests, it is 
waiting for creating new dataflow workers. 
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 312151)
Time Spent: 1h 50m  (was: 1h 40m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311903=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311903
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 07:42
Start Date: 13/Sep/19 07:42
Worklog Time Spent: 10m 
  Work Description: angoenka commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531135424
 
 
   Let me know if you think its ok to merge this PR as the failure error for 
Precommit tests seems to be unrelated.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311903)
Time Spent: 1h 40m  (was: 1.5h)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311902=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311902
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 13/Sep/19 07:42
Start Date: 13/Sep/19 07:42
Worklog Time Spent: 10m 
  Work Description: angoenka commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531135127
 
 
   The error seems to be the same for Python Precommit as well
   
   ```
   E 2019-09-12T18:47:30.173982702Z Handler for POST /v1.27/images/create 
returned error: manifest for 
gcr.io/cloud-dataflow/v1beta3/python37-fnapi:2.16.0 not found 
   I 2019-09-12T18:47:30.175284933Z Container image 
gcr.io/cloud-dataflow/v1beta3/python37-fnapi:2.16.0 not found in VM cache. Will 
download. 
   
   ```
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311902)
Time Spent: 1.5h  (was: 1h 20m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-12 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311794=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311794
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 12/Sep/19 22:42
Start Date: 12/Sep/19 22:42
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531034411
 
 
   @Hannah-Jiang is working on a fix that address the Portable_python failure. 
Not sure if Precommit has same root cause.
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311794)
Time Spent: 1h 20m  (was: 1h 10m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-12 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311739=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311739
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 12/Sep/19 21:10
Start Date: 12/Sep/19 21:10
Worklog Time Spent: 10m 
  Work Description: angoenka commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-531008255
 
 
   @markflyhigh python precommit are failing while pulling the docker image.
   Are you aware of such problem?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311739)
Time Spent: 1h 10m  (was: 1h)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-12 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311665=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311665
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 12/Sep/19 19:53
Start Date: 12/Sep/19 19:53
Worklog Time Spent: 10m 
  Work Description: angoenka commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-530980093
 
 
   Run Portable_Python PreCommit
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311665)
Time Spent: 1h  (was: 50m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-12 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311499=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311499
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 12/Sep/19 16:22
Start Date: 12/Sep/19 16:22
Worklog Time Spent: 10m 
  Work Description: aaltay commented on pull request #9551: [BEAM-8217] 
Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9551
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311499)
Time Spent: 40m  (was: 0.5h)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 40m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-12 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311500=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311500
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 12/Sep/19 16:22
Start Date: 12/Sep/19 16:22
Worklog Time Spent: 10m 
  Work Description: aaltay commented on issue #9551: [BEAM-8217] Encode str 
to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9551#issuecomment-530901257
 
 
   @markflyhigh or @angoenka could one of you cherry pick this to the release 
branch?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311500)
Time Spent: 50m  (was: 40m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-12 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311458=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311458
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 12/Sep/19 15:00
Start Date: 12/Sep/19 15:00
Worklog Time Spent: 10m 
  Work Description: markflyhigh commented on issue #9551: [BEAM-8217] 
Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9551#issuecomment-530866779
 
 
   Is it ready to merge?
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311458)
Time Spent: 0.5h  (was: 20m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-11 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=32=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-32
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 12/Sep/19 01:43
Start Date: 12/Sep/19 01:43
Worklog Time Spent: 10m 
  Work Description: tvalentyn commented on issue #9551: [BEAM-8217] Encode 
str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9551#issuecomment-530629951
 
 
   LGTM, thank you.
   
   On Wed, Sep 11, 2019, 6:11 PM Ankur  wrote:
   
   > *@angoenka* commented on this pull request.
   > --
   >
   > In sdks/python/apache_beam/runners/worker/sdk_worker_main.py
   > :
   >
   > > @@ -74,7 +74,7 @@ def do_GET(self):  # pylint: disable=invalid-name
   >  self.end_headers()
   >
   >  for line in StatusServer.get_thread_dump():
   > -  self.wfile.write(line)
   > +  self.wfile.write(str.encode(line, 'UTF-8'))
   >
   >
   >1. Done
   >2. Done
   >3. checked with 3.5
   >4. TODO
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > 
,
   > or mute the thread
   > 

   > .
   >
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 32)
Time Spent: 20m  (was: 10m)

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Work logged] (BEAM-8217) py3 sdk harness status server does not print thread stack

2019-09-11 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311100=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311100
 ]

ASF GitHub Bot logged work on BEAM-8217:


Author: ASF GitHub Bot
Created on: 12/Sep/19 01:11
Start Date: 12/Sep/19 01:11
Worklog Time Spent: 10m 
  Work Description: angoenka commented on pull request #9551: [BEAM-8217] 
Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9551#discussion_r323521094
 
 

 ##
 File path: sdks/python/apache_beam/runners/worker/sdk_worker_main.py
 ##
 @@ -74,7 +74,7 @@ def do_GET(self):  # pylint: disable=invalid-name
 self.end_headers()
 
 for line in StatusServer.get_thread_dump():
-  self.wfile.write(line)
+  self.wfile.write(str.encode(line, 'UTF-8'))
 
 Review comment:
   1. Done
   2. Done
   3. checked with 3.5
   4. TODO
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 311100)
Remaining Estimate: 0h
Time Spent: 10m

> py3 sdk harness status server does not print thread stack
> -
>
> Key: BEAM-8217
> URL: https://issues.apache.org/jira/browse/BEAM-8217
> Project: Beam
>  Issue Type: Bug
>  Components: sdk-py-harness
>Reporter: Ankur Goenka
>Priority: Blocker
> Fix For: 2.16.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The calls are failing with 
> 
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
> self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
> self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
> self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
> self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
> method()
>   File "a.py", line 70, in do_GET
> self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
> self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)