Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ci][202012] Fix collect log error in azp template #800

Merged
merged 2 commits into from
Jun 30, 2023

Conversation

xumia
Copy link
Collaborator

@xumia xumia commented Jun 22, 2023

Fix collect log error in azp template

@xumia xumia changed the title [Ci] Fix collect log error in azp template [Ci][202012] Fix collect log error in azp template Jun 22, 2023
zbud-msft
zbud-msft previously approved these changes Jun 22, 2023
@xumia
Copy link
Collaborator Author

xumia commented Jun 28, 2023

Found an issue, may relative to package version change.

2023-06-23T09:16:43.9334931Z /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:790: 
2023-06-23T09:16:43.9335119Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2023-06-23T09:16:43.9335185Z 
2023-06-23T09:16:43.9335337Z self = <docker.transport.unixconn.UnixHTTPConnectionPool object at 0x7f711e578e80>
2023-06-23T09:16:43.9335524Z conn = <docker.transport.unixconn.UnixHTTPConnection object at 0x7f711e2e23a0>
2023-06-23T09:16:43.9335756Z method = 'GET', url = '/version', body = None
2023-06-23T09:16:43.9336096Z headers = {'User-Agent': 'docker-sdk-python/4.4.1', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'}
2023-06-23T09:16:43.9336451Z retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
2023-06-23T09:16:43.9336770Z timeout = Timeout(connect=60, read=60, total=None), chunked = False
2023-06-23T09:16:43.9337141Z response_conn = <docker.transport.unixconn.UnixHTTPConnection object at 0x7f711e2e23a0>
2023-06-23T09:16:43.9339332Z preload_content = False, decode_content = False, enforce_content_length = True
2023-06-23T09:16:43.9339513Z 
2023-06-23T09:16:43.9339739Z     def _make_request(
2023-06-23T09:16:43.9339952Z         self,
....

2023-06-23T09:16:43.9391747Z         # urllib3.request. It also calls makefile (recv) on the socket.
2023-06-23T09:16:43.9392004Z         try:
2023-06-23T09:16:43.9392214Z >           conn.request(
2023-06-23T09:16:43.9392413Z                 method,
2023-06-23T09:16:43.9392615Z                 url,
2023-06-23T09:16:43.9392814Z                 body=body,
2023-06-23T09:16:43.9393030Z                 headers=headers,
2023-06-23T09:16:43.9393259Z                 chunked=chunked,
2023-06-23T09:16:43.9393512Z                 preload_content=preload_content,
2023-06-23T09:16:43.9393764Z                 decode_content=decode_content,
2023-06-23T09:16:43.9394059Z                 enforce_content_length=enforce_content_length,
2023-06-23T09:16:43.9394304Z             )
2023-06-23T09:16:43.9394728Z E           TypeError: request() got an unexpected keyword argument 'chunked'

@xumia
Copy link
Collaborator Author

xumia commented Jun 29, 2023

@zbud-msft , please help review again, thanks.

@xumia xumia merged commit c942d74 into sonic-net:202012 Jun 30, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants