Skip to content

Update pipeline: use ubuntu instead of windows, fix code bugs that happen in ubuntu #277

Update pipeline: use ubuntu instead of windows, fix code bugs that happen in ubuntu

Update pipeline: use ubuntu instead of windows, fix code bugs that happen in ubuntu #277

Triggered via pull request May 28, 2024 09:19
Status Failure
Total duration 52s
Artifacts

pipeline.yml

on: pull_request

Annotations

3 errors and 10 warnings
MovieProject.InterceptionTests.GetMovieTests ► When_UserAsksForMovie_ButWrongUrl_Then_FindResponseInPreApproved: Examples/MovieProject/MovieProject.Tests/MovieProject.InterceptionUnhappyTests/GetMovieTests.cs#L49
Failed test found in: TestResults/_fv-az770-693_2024-05-28_09_19_56.trx Error: Expected string "Error: GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=matrix received exception [Name or service not known]" to contain at least one of the strings: {"GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=matrix received exception [No such host is known.]", "GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=gibberish received exception [Name or service not known]"}. Expected string "Recording [omdb/pre-approved/happy/matrix] reason GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=matrix received exception [Name or service not known]" to contain at least one of the strings: {"GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=matrix received exception [No such host is known.]", "GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=gibberish received exception [Name or service not known]"}.
build
Failed test were found and 'fail-on-error' option is set to true
build
Process completed with exit code 1.
build
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build
A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference.
build
A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference.
build
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: Tool/SystemTestingTools.UnitTests/RecordingManagerTests.cs#L137
Public method 'CopyFilesRecursively' on test class 'RecordingManagerTests' should be marked as a Theory. (https://xunit.github.io/xunit.analyzers/rules/xUnit1013)
build: Tool/SystemTestingTools.UnitTests/RecordingManagerTests.cs#L145
Public method 'CopyFolderAndFiles' on test class 'RecordingManagerTests' should be marked as a Theory. (https://xunit.github.io/xunit.analyzers/rules/xUnit1013)
build
A PackageReference to Microsoft.AspNetCore.App is not necessary when targeting .NET Core 3.0 or higher. If Microsoft.NET.Sdk.Web is used, the shared framework will be referenced automatically. Otherwise, the PackageReference should be replaced with a FrameworkReference.
build
The target framework 'netcoreapp3.1' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
build: Tool/SystemTestingTools.UnitTests/RecordingManagerTests.cs#L137
Public method 'CopyFilesRecursively' on test class 'RecordingManagerTests' should be marked as a Theory. (https://xunit.github.io/xunit.analyzers/rules/xUnit1013)
build: Tool/SystemTestingTools.UnitTests/RecordingManagerTests.cs#L145
Public method 'CopyFolderAndFiles' on test class 'RecordingManagerTests' should be marked as a Theory. (https://xunit.github.io/xunit.analyzers/rules/xUnit1013)