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

[Flaky Test] Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpBuild.BuildWithCommandLine Test Failure #18204

Open
333fred opened this issue Mar 27, 2017 · 20 comments · Fixed by #57584
Assignees
Milestone

Comments

@333fred
Copy link
Member

333fred commented Mar 27, 2017

Failed in https://ci.dot.net/job/dotnet_roslyn/job/dev16/job/windows_release_vs-integration/24/. The logs only contain that the build failed with exit code 0, due to assert ordering. Submitted #18203 to address that issue.

@333fred 333fred added Area-IDE Flaky Test Test failures in roslyn-CI and removed Area-IDE labels Mar 27, 2017
@333fred
Copy link
Member Author

333fred commented Mar 27, 2017

FYI @jasonmalinowski

@Pilchie Pilchie added this to the 15.3 milestone Mar 27, 2017
@333fred
Copy link
Member Author

333fred commented Mar 29, 2017

Merged #18203 so we can start seeing logs of what actually failed during tests. My PR build for that failed with the following message:

Assert.Contains() Failure
Not found: Rebuild All: 1 succeeded, 0 failed, 0 skipped
In value: 
The following files were specified on the command line:

  C:\\Users\\dotnet-bot\\AppData\\Local\\Temp\\u5jtezlr.grp\\CSharpBuild.sln

These files could not be found and will not be loaded.

333fred added a commit to 333fred/roslyn that referenced this issue Mar 30, 2017
333fred added a commit that referenced this issue Mar 30, 2017
Disable BuildWithCommandLine until #18204 is fixed
@MattGertz MattGertz modified the milestones: 15.5, 15.3 Jun 30, 2017
@jinujoseph jinujoseph modified the milestones: 15.5, Unknown Nov 2, 2017
@jasonmalinowski
Copy link
Member

@jinujoseph @chborl Looks like this is the bug that's tracking that the devenv /build test is currently flaky and disabled. Let's re-enable this as a part of that other bug since it would have caught this.

@jinujoseph jinujoseph modified the milestones: Unknown, 15.6 Feb 2, 2018
@333fred 333fred reopened this Mar 1, 2018
@jasonmalinowski
Copy link
Member

@jinujoseph we might need somebody to look at this one. History has shown that if we disable this test we will break it. Repeatedly.

@sharwell
Copy link
Member

sharwell commented Mar 3, 2018

Yep, I've seen it a few times. May be stabilized as part of #25151.

@jinujoseph jinujoseph assigned sharwell and unassigned jasonmalinowski and chborl Mar 4, 2018
@jinujoseph
Copy link
Contributor

Lets see if we hit this again after 25151

@333fred
Copy link
Member Author

333fred commented Mar 5, 2018

Skip PR is merged.

@jinujoseph jinujoseph modified the milestones: 15.7, 15.8 Apr 18, 2018
@jinujoseph jinujoseph modified the milestones: 15.8, Unknown Jun 3, 2018
@heejaechang
Copy link
Contributor

let me re-enable it

@Youssef1313
Copy link
Member

@333fred
Copy link
Member Author

333fred commented Jul 14, 2021

@sharwell the flakiness here has drastically picked up over the past few weeks: the test currently has a 97% pass rating and I've seen the failure 3 times today:
https://dev.azure.com/dnceng/public/_build/results?buildId=1238555&view=ms.vss-test-web.build-test-results-tab
https://dev.azure.com/dnceng/public/_build/results?buildId=1238493&view=logs&j=922f7fe3-0735-5839-4d76-f6d8a5e047bd&t=d3c89a87-2123-56c4-3b91-63fa06060730&s=d654deb9-056d-50a2-1717-90c08683d50a (attempt 1 failed).
https://dev.azure.com/dnceng/public/_build/results?buildId=1238177&view=ms.vss-test-web.build-test-results-tab

Can you please investigate.

@sharwell
Copy link
Member

@333fred Based on the test history, the test here isn't flaky. The failure is a true failure of devenv build to build a project. It looks like the first step to resolving this is capturing a heap dump of the devenv process which failed to complete a build and attaching it as a build artifact.

@sharwell
Copy link
Member

sharwell commented Jul 19, 2021

@333fred This is probably related to AB#1289921. A heap dump from the deadlock is attached to the most recent build of #54851.

@allisonchou
Copy link
Contributor

I opened a PR to skip this test until the underlying issue is resolved, since we're hitting this pretty often in merge flow integration test runs: #55243

@allisonchou
Copy link
Contributor

allisonchou commented Jul 30, 2021

Internal tracking issue (thanks Sam for link): AB#1363609

@jasonmalinowski
Copy link
Member

@sharwell @allisonchou Should this test be re-enabled again?

@allisonchou
Copy link
Contributor

Re-opening this as it still seems to be flaky.
Re-enabled in #57687.

@allisonchou allisonchou reopened this Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants