question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CreateFileWithoutClose tests failed in Mac CI build

See original GitHub issue

Failing 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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jeschu1commented, Feb 26, 2019

I just got a repro of this, so definitely bumping the priority on my side

1reaction
nickgracommented, Feb 26, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found