winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.91k stars 194 forks source link

Sporadic ECONNRESET error when running a mid-size test suite #6712

Open asterkin opened 2 months ago

asterkin commented 2 months ago

I tried this:

wing test -t sim test/*.test.w

This happened:

image

I expected this:

The whole test suite to run completely

Is there a workaround?

I could re-run failed tests manually, but it hurts the test automation process.

Anything else?

It does not always happen, only periodically. And it happens when a run a multi-module project build like this: https://github.com/asterkin/endor.w/blob/main/Build.mk Keep in mind that I work with an AWS EC2 t4g.large remote desktop. It might be a contributing factor.

Wing Version

0.74.68

Node.js Version

22.1.0

Platform(s)

Linux

Community Notes

Chriscbr commented 2 months ago

Hey @asterkin - can you share your repository (or a stripped-down version of it that still has the problem) to help us investigate it? Thanks in advance!

asterkin commented 2 months ago

@Chriscbr added you to the endor.w GitHub repository. The problem shows up only at scale, so I doubt whether a stripped down version would help. If you want, we could share screens to show it to you live.