runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

link.exe fails with no error message

Open rayzchen opened this issue 3 years ago • 11 comments

Description

Happens randomly for only some versions of Python, all on windows-latest.

https://github.com/pyunity/pyunity/runs/6478387670?check_suite_focus=true https://github.com/pyunity/pyunity/runs/6478387830?check_suite_focus=true https://github.com/pyunity/pyunity/runs/6478270707?check_suite_focus=true

Virtual environments affected

  • [ ] Ubuntu 18.04
  • [ ] Ubuntu 20.04
  • [ ] Ubuntu 22.04
  • [ ] macOS 10.15
  • [ ] macOS 11
  • [ ] macOS 12
  • [ ] Windows Server 2019
  • [X] Windows Server 2022

Image version and build link

Environment: windows-2022 Version: 20220511.2 Included Software: https://github.com/actions/virtual-environments/blob/win22/20220511.2/images/win/Windows2022-Readme.md Image Release: https://github.com/actions/virtual-environments/releases/tag/win22%2F20220511.2

Is it regression?

No response

Expected behavior

No error

Actual behavior

https://github.com/pyunity/pyunity/runs/6478333635?check_suite_focus=true

Repro steps

Clone https://github.com/pyunity/pyunity Run python setup.py build_ext

rayzchen avatar May 17 '22 20:05 rayzchen

Hi @rayzchen!

We will take a look.

mikhailkoliada avatar May 18 '22 08:05 mikhailkoliada

https://github.com/pyunity/pyunity/runs/6478489421?check_suite_focus=true Same commit as the failing build, yet it still worked perfectly.

rayzchen avatar May 18 '22 11:05 rayzchen

Hi @rayzchen!

We will take a look.

@mikhailkoliada Has there been any progress?

rayzchen avatar May 19 '22 20:05 rayzchen

Another failing build: https://github.com/pyunity/pyunity/runs/6535898575?check_suite_focus=true And its successful rerun: https://github.com/pyunity/pyunity/runs/6535927114?check_suite_focus=true

rayzchen avatar May 21 '22 08:05 rayzchen

Any progress?

rayzchen avatar May 27 '22 15:05 rayzchen

@rayzchen I'm afraid we didn't have a chance to take a look yet

miketimofeev avatar May 31 '22 08:05 miketimofeev

Hi @rayzchen, is this issue still actual for you?

vsafonkin avatar Jun 21 '22 07:06 vsafonkin

Yeah, seems to be around 1 in every 3 Windows builds.

rayzchen avatar Jun 21 '22 08:06 rayzchen

Is there any reason why this happens?

rayzchen avatar Jul 26 '22 20:07 rayzchen

Sorry @rayzchen, I can't find any reasons from our side.

vsafonkin avatar Jul 27 '22 07:07 vsafonkin

After disabling parallel compilation, the error seems to have disappeared, however parallel compilation works on Linux Github Actions, MacOS Github Actions, my Windows home computer and a Windows VPS that I tested on. This is enabled with python setup.py build_ext -j <cpu>. Would there be any reason why parallel compilation would crash?

rayzchen avatar Jul 27 '22 20:07 rayzchen

@rayzchen hey! Is it still a problem?

mikhailkoliada avatar Feb 05 '23 15:02 mikhailkoliada

I've taken a rest of 6 months from programming, but I think I may be coming back to my project soon. Funnily enough, the Windows builds of 6 months ago seemed to be successful, but I'll let you know how it goes once I return to programming.

Here's a list of the most recent builds: https://github.com/pyunity/pyunity/actions/workflows/windows.yml

rayzchen avatar Feb 05 '23 15:02 rayzchen

Oops, my bad. The logs have expired since 6 months ago and my previous comment also stated that I had disabled parallel compilation, which seemed to have been the cause.

rayzchen avatar Feb 05 '23 15:02 rayzchen

@rayzchen Just going to close the ticket for now then to indicate nothing happens here for long (as the problem seems to be rather specific), feel free to reopen if you hit something similar in the future :)

mikhailkoliada avatar Feb 05 '23 16:02 mikhailkoliada