-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Jobs stuck when trying to untar an archive #282
Comments
Moving to virtual-environments since VM changes broke this. |
Related to #263 |
@alepauly can you verify that this is fixed? ty! |
@thechrisjohnson, the MWEs above are still failing/stuck: https://github.com/eine/setup-msys2/runs/417809983 |
@thejoebourneidentity @eine the issue is already fixed, but the VM image is not deployed yet. It should be available in a week or two. |
@eine the image has been deployed. Could you check the behavior, please? |
@miketimofeev I restarted an old job, and I also pushed some new. In all cases, runs are still stuck: |
@eine thanks for the update, we will continue the investigation |
@eine I'm able to reproduce it. Could you give an example of a successful build with untar? |
I'm not sure I understand what you mean. The following commit shows what was used in setup-msys2 before something broke upstream, and how it was fixed using 7z instead: numworks/setup-msys2@b3452aa Then, I tried all the examples above, none of which did work. Is using Note that I am ok with using 7z. Furthermore, I hope #342 to be merged soon. Therefore, I don't have any actual build where I need to use tar or untar. |
@eine sorry for confusing, I mean successful setup-msys2 with |
@miketimofeev, please, note that this is not the first chapter in the series of "conflicts between multiple installed versions of tar". I do think that the decision to make BSD's tar the default instead of Git for Windows' (MINGW's) was on purpose. See actions/toolkit#165. Precisely, the action (MWE1 above) is expected to handle diferences between versions of tar. Moreover, if/when MSYS2 is installed (see #30 and #342) the environment might change, as it would be sensible to replace Git for Windows' tar with MSYS2's. |
@eine PR has been merged. I will let you know when new image is available |
@eine, unfortunately, this git tar breaks more than fixes. We have to roll back the changes. Please use 7z or consider adding C:\Program Files\Git\usr\bin to the path before your run. |
@miketimofeev, as said, I'm ok with using 7z. However, if |
@ericsciple could you take care of tc.extractTar, please? |
Can you clarify? The function finds For a Adding git tar to the PATH for the hosted Windows runner won't fix for folks using self-hosted Windows runners. If possible, may want to switch to a more common archive format on Windows ( Other options might be:
|
@ericsciple, It seems to be fixed now. ´extractTar´ fails, as expected: https://github.com/eine/setup-msys2/runs/481303190?check_suite_focus=true |
Since today, trying to untar a
tar.xz
archive onwindows-latest
seems not to be possible:tc.extractTar
stucktar -x -J --force-local -f
failuretar -xf distrib
stucktar -xJf distrib
stuck/cc @ericsciple
The text was updated successfully, but these errors were encountered: