Skip to content
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

When PR validation spans a UTC day, the Installer build may fail due to a package version mismatch #1089

Closed
dagood opened this issue Dec 20, 2019 · 9 comments · Fixed by #1835
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner

Comments

@dagood
Copy link
Member

dagood commented Dec 20, 2019

Seen in #1059 (comment)

That looks like a build issue. @ViktorHofer @dagood I thought the live-live build was working now? That looks like it's referencing packages from yesterday?

#839 documents that you need to do a fresh build whenever you cross a day boundary. Looks like it applies to CI as well.

I believe this is a combination of:

It looks like the original error was also caused by UTC day tickover. Here's the timestamp on the first line of a failing Installer build step in attempt 1:

2019-12-20T00:03:04.6739571Z

Core-Setup stopped having this problem once it moved off BuildTools onto Arcade. Now we've got it again because of global dotnet/runtime settings.

Right now, any build where Libraries => Installer spans a UTC day should fail this way.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Dec 20, 2019
@dagood
Copy link
Member Author

dagood commented Dec 20, 2019

@dotnet/runtime-infrastructure

@safern
Copy link
Member

safern commented Dec 23, 2019

@dagood what is the recommended fix here? Should these dependencies flow differently rather than via nuget packages?

@dagood
Copy link
Member Author

dagood commented Dec 23, 2019

I would recommend stopping using date-based versions for non-official builds. IIRC there was some DLL versioning issue in CoreCLR that was tied to this, but I don't see it written down anywhere.

Bypassing packages in asset flow would also work, but could require more work.

@safern
Copy link
Member

safern commented Dec 23, 2019

Bypassing packages in asset flow would also work, but could require more work.

I agree, but wouldn't that be the best long term solution?

@dagood
Copy link
Member Author

dagood commented Dec 23, 2019

Yep. However I do think that we should do both, either way, for the reasons in #246.

@safern
Copy link
Member

safern commented Jan 16, 2020

We just hit this in: https://dev.azure.com/dnceng/public/_build/results?buildId=483315&view=logs&jobId=6fbc756c-b955-5d25-715b-83193faff4f9

Might be worth bumping the priority of this issue.

@dagood
Copy link
Member Author

dagood commented Jan 16, 2020

Fired off #1835 to remove the date number and see what breaks. This isn't currently on my backlog though.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants