CreateFileWithoutClose tests failed in Mac CI build
See original GitHub issueFailing tests were added in #734
Errors, Failures and Warnings
1) Failed : GVFS.FunctionalTests.Tests.GitCommands.StatusTests(False).CreateFileWithoutClose()
status Output Lines
status Output Lines counts do not match. was: 2 expected: 5
Extra: nothing to commit, working tree clean
Missing: Untracked files:
Missing: (use "git add <file>..." to include in what will be committed)
Missing: CreateFileWithoutClose.md
Missing: nothing added to commit but untracked files present (use "git add" to track)
at GVFS.Tests.Should.EnumerableShouldExtensions.ShouldMatchInOrder[T](IEnumerable`1 group, IEnumerable`1 expectedValues, Func`3 equals, String message) in /Users/gvfsadmin/agent/_work/5/s/GVFS/GVFS.Tests/Should/EnumerableShouldExtensions.cs:line 119
at GVFS.FunctionalTests.Tools.GitHelpers.ValidateGitCommand(GVFSFunctionalTestEnlistment enlistment, ControlGitRepo controlGitRepo, String command, Object[] args) in /Users/gvfsadmin/agent/_work/5/s/GVFS/GVFS.FunctionalTests/Tools/GitHelpers.cs:line 109
at GVFS.FunctionalTests.Tests.GitCommands.GitRepoTests.ValidateGitCommand(String command, Object[] args) in /Users/gvfsadmin/agent/_work/5/s/GVFS/GVFS.FunctionalTests/Tests/GitCommands/GitRepoTests.cs:line 205
at GVFS.FunctionalTests.Tests.GitCommands.StatusTests.CreateFileWithoutClose() in /Users/gvfsadmin/agent/_work/5/s/GVFS/GVFS.FunctionalTests/Tests/GitCommands/StatusTests.cs:line 46
2) Failed : GVFS.FunctionalTests.Tests.GitCommands.StatusTests(True).CreateFileWithoutClose()
status Output Lines
status Output Lines counts do not match. was: 2 expected: 5
Extra: nothing to commit, working tree clean
Missing: Untracked files:
Missing: (use "git add <file>..." to include in what will be committed)
Missing: CreateFileWithoutClose.md
Missing: nothing added to commit but untracked files present (use "git add" to track)
at GVFS.Tests.Should.EnumerableShouldExtensions.ShouldMatchInOrder[T](IEnumerable`1 group, IEnumerable`1 expectedValues, Func`3 equals, String message) in /Users/gvfsadmin/agent/_work/5/s/GVFS/GVFS.Tests/Should/EnumerableShouldExtensions.cs:line 119
at GVFS.FunctionalTests.Tools.GitHelpers.ValidateGitCommand(GVFSFunctionalTestEnlistment enlistment, ControlGitRepo controlGitRepo, String command, Object[] args) in /Users/gvfsadmin/agent/_work/5/s/GVFS/GVFS.FunctionalTests/Tools/GitHelpers.cs:line 109
at GVFS.FunctionalTests.Tests.GitCommands.GitRepoTests.ValidateGitCommand(String command, Object[] args) in /Users/gvfsadmin/agent/_work/5/s/GVFS/GVFS.FunctionalTests/Tests/GitCommands/GitRepoTests.cs:line 205
at GVFS.FunctionalTests.Tests.GitCommands.StatusTests.CreateFileWithoutClose() in /Users/gvfsadmin/agent/_work/5/s/GVFS/GVFS.FunctionalTests/Tests/GitCommands/StatusTests.cs:line 46
https://dev.azure.com/mseng/AzureDevOps/_build/results?buildId=8581014
(Build has been marked for retention)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Xcode Cloud macOS won't run test scheme
Now I am trying to add a Test action; the testing target builds but won't run, and the error indicates it can't find...
Read more >Mac app tests fail with hardened runtime enabled
I recently discovered that unit tests and UI tests for a macOS Xcode project will fail with obscure error messages if the hardened...
Read more >CI Tests failed on MacOS-12 since 2023-06-18 #690
Description Since 2023-06-18, the Python CI tests are failed because _bz2 is not installed. The full stack is as below, ...
Read more >Xcode test failing does not failed Github action pipeline
1 Answer. You need to return a non-zero value to fail the step. Try adding this to the xcodebuild command. There are some...
Read more >Test a .NET class library using Visual Studio for Mac
Create a unit test project for a .NET class library. Verify that a .NET class library works correctly with unit tests.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just got a repro of this, so definitely bumping the priority on my side
@wilbaker Apologies for the trouble, this was broken when we moved to installing the product as part of the Functional Tests. I’ve updated the task group to run the kext log upload and uninstallation even if the tests fail.