Closed jauggy closed 2 years ago
This looks like a network issue.
On Thu 27 Aug 2020 at 17:23, jauggy notifications@github.com wrote:
Before opening an issue please read this https://github.com/geeklearningio/gl-vsts-tasks-yarn/wiki/How-to-Report-an-issue .
Are you reporting a bug or a feature request ?
[ x] Bug
Feature request
Description
[image: image] https://user-images.githubusercontent.com/1305569/91408329-0cba8200-e887-11ea-8f78-2e211e9a8146.png
Expected behavior
Install packages
Reproduction
I created a pipeline in Azure Devops.
I added this repo: https://gitlab.com/joshua.augustinus/vc-portal-coreui.git
I add the following tasks to the agent job:
Yarn Tool Installer (I didn't change any settings)
Yarn task (I didn't change any settings)
MANDATORY FOR BUGS: Insert debug trace
Raw logs:
https://dev.azure.com/jauggy0098/a98a4eb7-6a58-4ff9-b696-10872cb62235/_apis/build/builds/5/logs/12
System information
VSTS or TFS:
[ x] VSTS
TFS
Agent:
[x ] Hosted
Custom
OS:
[x ] Windows
Mac
Linux
Yarn version:
1.x
Node version:
*Node version**
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/geeklearningio/gl-vsts-tasks-yarn/issues/84, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUJPJUTOROPWOZKEIIQUOLSCYCW3ANCNFSM4QMVCWPA .
Does this mean I just need to contact Azure support?
OK I think I may have solved the issue. You need to add the following argument when using yarn task:
install --network-timeout 1000000
@jauggy Can confirm. I saw the same issue with Microsoft hosted agents in DevOps. Even when using their own Artifacts registry. Increasing the timeout has prevented those issues.
OK I think I may have solved the issue. You need to add the following argument when using yarn task:
install --network-timeout 1000000
Can confirm too. yarn install succeeded at worst around 7 minutes.
for me it seems only happen on Windows agent. Ubuntu agent is much faster.
Before opening an issue please read this.
Are you reporting a bug or a feature request ?
Description
Expected behavior
Install packages
Reproduction
I created a pipeline in Azure Devops. I added this repo: https://gitlab.com/joshua.augustinus/vc-portal-coreui.git I add the following tasks to the agent job:
Raw logs: https://dev.azure.com/jauggy0098/a98a4eb7-6a58-4ff9-b696-10872cb62235/_apis/build/builds/5/logs/12
System information
VSTS or TFS:
Agent:
OS:
Yarn version: 1.x
Node version: *Node version**