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

Restore failing on our projects #35057

Closed
jaredpar opened this issue Apr 16, 2020 · 8 comments
Closed

Restore failing on our projects #35057

jaredpar opened this issue Apr 16, 2020 · 8 comments
Labels
area-Infrastructure blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Comments

@jaredpar
Copy link
Member

Failure from the restore

      Restore and Build Product (00:02:06.8766666) (CmdLine) Failed
        error Code: .dotnet\sdk\5.0.100-preview.4.20202.8\NuGet.RestoreEx.targets(10,5): error : (NETCORE_ENGINEERING_TELEMETRY=Restore) The project file could not be loaded. Could not find a part of the path 'F:\workspace\_work\1\s\src\libraries\Common\tests\CoreFx.Private.TestUtilities.Unicode\CoreFx.Private.TestUtilities.Unicode.csproj'.  F:\workspace\_work\1\s\src\libraries\Common\tests\CoreFx.Private.TestUtilities.Unicode\CoreFx.Private.TestUtilities.Unicode.csproj
   at Microsoft.Build.Shared.ProjectFileErrorUtilities.VerifyThrowInvalidProjectFile(Boolean condition, String errorSubCategoryResourceName, BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[] args)
   at Microsoft.Build.Shared.ProjectFileErrorUtilities.ThrowInvalidProjectFile(BuildEventFileInfo projectFile, Exception innerException, String resourceName, Object[] args)
   at Microsoft.Build.Construction.ProjectRootElement.LoadDocument(String fullPath, Boolean preserveFormatting, Boolean loadAsReadOnly)
   at Microsoft.Build.Construction.ProjectRootElement..ctor(String path, ProjectRootElementCacheBase projectRootElementCache, Boolean preserveFormatting)
   at Microsoft.Build.Construction.ProjectRootElement.CreateProjectFromPath(String projectFile, ProjectRootElementCacheBase projectRootElementCache, Boolean preserveFormatting)
   at Microsoft.Build.Evaluation.ProjectRootElementCache.Get(String projectFile, OpenProjectRootElement openProjectRootElement, Boolean isExplicitlyLoaded, Nullable`1 preserveFormatting)
   at Microsoft.Build.Construction.ProjectRootElement.OpenProjectOrSolution(String fullPath, IDictionary`2 globalProperties, String toolsVersion, ProjectRootElementCacheBase projectRootElementCache, Boolean isExplicitlyLoaded)
   at Microsoft.Build.Evaluation.Project.ProjectImpl..ctor(Project owner, String projectFile, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project..ctor(String projectFile, IDictionary`2 globalProperties, String toolsVersion, String subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
   at Microsoft.Build.Evaluation.Project.FromFile(String file, ProjectOptions options)
   at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.<>c__DisplayClass37_1.<LoadProjects>b__0(String path, Dictionary`2 properties, ProjectCollection collection)
   at Microsoft.Build.Graph.GraphBuilder.ParseProject(ConfigurationMetadata configurationMetadata)
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at Microsoft.Build.Graph.ParallelWorkSet`2.ExecuteWorkItem()
   at Microsoft.Build.Graph.ParallelWorkSet`2.<CreateProcessorItemTask>b__16_0()
   at Microsoft.Build.Graph.ParallelWorkSet`2.WaitForAllWorkAndComplete()
   at Microsoft.Build.Graph.GraphBuilder.FindGraphNodes()
   at Microsoft.Build.Graph.GraphBuilder.BuildGraph()
   at Microsoft.Build.Graph.ProjectGraph..ctor(IEnumerable`1 entryPoints, ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory, Int32 degreeOfParallelism, CancellationToken cancellationToken)
   at Microsoft.Build.Graph.ProjectGraph..ctor(IEnumerable`1 entryPoints, ProjectCollection projectCollection, ProjectInstanceFactoryFunc projectInstanceFactory)
   at NuGet.Build.Tasks.Console.MSBuildStaticGraphRestore.LoadProjects(IEnumerable`1 entryProjects)
Build Kind Timeline Record
601436 PR #34984 Restore and Build
601436 PR #34984 Restore and Build
601436 PR #34984 Restore and Build
601436 PR #34984 Restore and Build Product
600968 PR #34837 Restore and Build
600968 PR #34837 Restore and Build
600968 PR #34837 Restore and Build
601002 PR #34974 Restore and Build
601002 PR #34974 Restore and Build
601002 PR #34974 Restore and Build
601002 PR #34974 Restore and Build Product
601038 PR #34965 Restore and Build
601038 PR #34965 Restore and Build
601038 PR #34965 Restore and Build
601501 PR #34985 Restore and Build
601501 PR #34985 Restore and Build
601501 PR #34985 Restore and Build
601483 PR #34344 Restore and Build
601483 PR #34344 Restore and Build
601483 PR #34344 Restore and Build
601483 PR #34344 Restore and Build Product
601541 PR #34986 Restore and Build
601541 PR #34986 Restore and Build
601541 PR #34986 Restore and Build Product
601241 PR #34969 Restore and Build
601241 PR #34969 Restore and Build
601241 PR #34969 Restore and Build
601362 PR #34919 Restore and Build
601362 PR #34919 Restore and Build
601362 PR #34919 Restore and Build
601400 PR #34822 Restore and Build
601400 PR #34822 Restore and Build
601400 PR #34822 Restore and Build
601326 PR #34980 Restore and Build
601326 PR #34980 Restore and Build
601326 PR #34980 Restore and Build
601326 PR #34980 Restore and Build Product
601276 Rolling Restore and Build Product
601276 Rolling Restore and Build
601276 Rolling Restore and Build
601276 Rolling Restore and Build Product
601276 Rolling Restore and Build
601051 PR #34204 Restore and Build
601051 PR #34204 Restore and Build
601051 PR #34204 Restore and Build
601051 PR #34204 Restore and Build Product
601180 PR #34979 Restore and Build
601180 PR #34979 Restore and Build
601180 PR #34979 Restore and Build
601180 PR #34979 Restore and Build Product
601118 PR #34840 Restore and Build
601118 PR #34840 Restore and Build
601118 PR #34840 Restore and Build
601118 PR #34840 Restore and Build Product
600804 PR #34666 Restore and Build
600804 PR #34666 Restore and Build
600804 PR #34666 Restore and Build
600923 PR #34927 Restore and Build
600923 PR #34927 Restore and Build
600923 PR #34927 Restore and Build
601159 PR #34825 Restore and Build
601159 PR #34825 Restore and Build
601159 PR #34825 Restore and Build Product
600844 PR #34972 Restore and Build
600844 PR #34972 Restore and Build
600844 PR #34972 Restore and Build
600844 PR #34972 Restore and Build Product
600971 PR #34976 Restore and Build
600971 PR #34976 Restore and Build
600971 PR #34976 Restore and Build
600954 PR #34536 Restore and Build
600954 PR #34536 Restore and Build
600954 PR #34536 Restore and Build
600962 PR #34975 Restore and Build
600962 PR #34975 Restore and Build
600962 PR #34975 Restore and Build Product
600876 PR #34933 Restore and Build
600876 PR #34933 Restore and Build
600876 PR #34933 Restore and Build
600747 PR #34973 Restore and Build
600747 PR #34973 Restore and Build
600747 PR #34973 Restore and Build
600747 PR #34973 Restore and Build Product
600700 PR #32107 Restore and Build Product

Evaluated 100 builds
Impacted 25 builds
Impacted 84 jobs

@jaredpar jaredpar added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Apr 16, 2020
@jaredpar
Copy link
Member Author

@ViktorHofer this looks related to the static graph work.

@ViktorHofer
Copy link
Member

Is the stack trace always the same? If yes then cc @GrabYourPitchforks who renamed that project recently.

@ghost
Copy link

ghost commented Apr 16, 2020

Tagging subscribers to this area: @ViktorHofer
Notify danmosemsft if you want to be subscribed.

@jaredpar
Copy link
Member Author

@ViktorHofer

For the ones I looked at yes these are all the same. That remnids me though that @safern and @GrabYourPitchforks had a post merge conflict yesterday. Possible this is just an artifact of that.

@ViktorHofer
Copy link
Member

That was my assumption as well. I'm fairly certain this was fixed with dd22ce8. Closing, feel free to reopen if this pops up again.

@safern
Copy link
Member

safern commented Apr 16, 2020

Yeah that was closed with the commit @ViktorHofer pointed above. That was a fallout of the rename merged while my PR was open and had green builds and then when I merged it started failing.

@jaredpar
Copy link
Member Author

Gotcha. Looks like our CI just hasn't caught up with that yet

@safern
Copy link
Member

safern commented Apr 16, 2020

Yeah. Note that all the PRs that were open in the timeframe of when the error was discovered and the PR with the merge was merged, will see this symptom unless they update with a push or rebase so that their builds have the fix, so that might be the reason why it still shows on those PRs.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Projects
None yet
Development

No branches or pull requests

3 participants