dotnet / dotnet/msbuild

[Flaky test] BinaryLoggerShouldEmbedFilesViaTaskOutput

Open
#9,412 0 comments 0 reactions 0 assignees View on GitHub
Area: Our Own Build Priority:3 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Context

**`BinaryLoggerShouldEmbedFilesViaTaskOutput`** is failing occassionaly

Error message:
```
Shouldly.ShouldAssertException : zipArchive.Entries\r\n should contain an element satisfying the condition\r\nzE.Name.EndsWith("testtaskoutputfile.txt")\r\n but does not\r\n\r\nAdditional Info:\r\n Embedded files:

```

Stack trace:
```
at Microsoft.Build.UnitTests.BinaryLoggerTests.BinaryLoggerShouldEmbedFilesViaTaskOutput() in /home/vsts/work/1/s/src/Build.UnitTests/BinaryLogger_Tests.cs:line 285
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
```

Sample failing build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=465808&view=ms.vss-test-web.build-test-results-tab&runId=10577032&resultId=101823

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.