-
Notifications
You must be signed in to change notification settings - Fork 132
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
[3.1.107-SDK] git error near end of building source tarball #1718
Comments
How did you get the sources? (And I'm assuming you're still on Debian 11/bullseye under WSL from #1716?) It sounds like you're probably using the GitHub-provided tar.gz/zip, which are not exercised in CI but we can't disable GitHub showing them everywhere. 😕 More info at #1646. The reason I think this is what you're hitting is that We recently added a quick workaround so they work with Lines 34 to 42 in cf4ce12
You should use Git to get your sources for now if you want the smoothest experience. But if this is what's going on, we can have this issue track getting Maybe we could add something like |
I tried two sources, one of which was the github .tar.gz from the releases page (as in the case of the messages quoted above), but I've also tried a git clone of this repo, release-3.1 branch, and had the same issue. I'll give it another try with the workaround tonight and see what I get. |
This should work fine, it's what we test in CI on Debian 9, which should be close enough: https://dev.azure.com/dnceng/public/_build/results?buildId=771154&view=logs&j=9030a8ca-671a-5e0a-1ac4-e5aba92dfe8b&t=15ec4aa2-dea6-5467-a7f9-48e39992b810 I'd strongly recommend not using the Can you You could also check the contents of |
@cerebrate Any info on this? Is this continuing to fail for you? |
I've got it working, but not in a terribly useful way -- for debugging purposes, that is. Which is to say, it was failing (the git version, not the .tar.gz, which consistently fails) right up until it wasn't, and the only thing that changed at the appropriate time was the updating and restarting of a local NFS server which, in theory, had nothing at all to do with the build (all the build folders, etc., were local, and so forth), which leaves me in the rather unhelpful situation of having to say "it works now, but I have no idea why" .) 😦 🤷 |
Hmm... well, from my perspective, the simplest explanation is that you ran a build on a GitHub tar.gz while thinking it was on a Git clone, and when you tried again, it was actually the first time trying it with a Git clone. No idea how likely that is given your setup/process, but it seems to be a pretty specific error that we can't repro without the GitHub tar.gz. If you (or anyone) hits this again with a Git clone, please share the binlogs and more info, and don't clean up the repo so we can do more deep investigation. Would be happy to reopen the issue then and dig deeper into this. |
Shortly after the download of
https://dotnetcli.azureedge.net/source-built-artifacts/assets/Private.SourceBuilt.Artifacts.0.1.0-3.1.106.tar.gz
, the build fails with the error:Tested with target directories within and without the source tree, previously existing and not; the same result persists.
The text was updated successfully, but these errors were encountered: