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

[BUG]: Post-job: Checkout task takes ages #4857

Open
1 of 4 tasks
kevinerhardt-basf opened this issue Jun 19, 2024 · 2 comments
Open
1 of 4 tasks

[BUG]: Post-job: Checkout task takes ages #4857

kevinerhardt-basf opened this issue Jun 19, 2024 · 2 comments

Comments

@kevinerhardt-basf
Copy link

What happened?

At job finalization the Post-job: Checkout**** task takes several minutes to complete. After investigation I found following log entries repeating, which seem to be the cause.

Versions

  • Agent Version 3.240.1
  • Ubuntu 20.04
  • Arch: ARM64

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 20.04 (ARM64)

Version controll system

Git

Relevant log output

`
[2024-06-19 11:45:50Z INFO VisualStudioServices] Starting operation Location.GetConnectionData
[2024-06-19 11:45:50Z WARN VisualStudioServices] Attempt 1 of GET request to https://spsprodweu1.vssps.visualstudio.com/A48c364b5-47ea-4d6b-aeba-e5d364883a51/_apis/connectionData failed (Socket Error: ConnectionReset). The operation will be retried in 11.106363 seconds.
[2024-06-19 11:46:01Z WARN VisualStudioServices] Attempt 2 of GET request to https://spsprodweu1.vssps.visualstudio.com/A48c364b5-47ea-4d6b-aeba-e5d364883a51/_apis/connectionData failed (Socket Error: ConnectionReset). The operation will be retried in 13.0322013 seconds.
[2024-06-19 11:46:14Z WARN VisualStudioServices] Attempt 3 of GET request to https://spsprodweu1.vssps.visualstudio.com/A48c364b5-47ea-4d6b-aeba-e5d364883a51/_apis/connectionData failed (Socket Error: ConnectionReset). The operation will be retried in 17.0371565 seconds.
[2024-06-19 11:46:31Z ERR  VisualStudioServices] Attempt 4 of GET request to https://spsprodweu1.vssps.visualstudio.com/A48c364b5-47ea-4d6b-aeba-e5d364883a51/_apis/connectionData failed (Socket Error: ConnectionReset). The maximum number of attempts has been reached.
[2024-06-19 11:46:31Z INFO VisualStudioServices] Finished operation Location.GetConnectionData
`
@kevinerhardt-basf
Copy link
Author

I tried this workaround. And it fixes the issue, but now I see this warning:

##[warning] Knob: UseLegacyHttpHandler = true Source: ${AZP_AGENT_USE_LEGACY_HTTP} (DEPRECATED) ##[warning]Legacy http handler will be removed in one of the next agent releases with migration to .Net Core 6. We are highly recommend to not use it.

@kevinerhardt-basf kevinerhardt-basf changed the title [BUG]: Post-job: Checkout jobs takes ages [BUG]: Post-job: Checkout task takes ages Jun 19, 2024
@ismayilov-ismayil
Copy link
Contributor

Hi @kevinerhardt-basf thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants