Skip to content

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

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 #275

Triggered via pull request May 28, 2024 08:31
Status Failure
Total duration 54s
Artifacts

pipeline.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
SystemTestingTools.UnitTests.RecordingManagerTests ► GetRecordings_Including_Old_One_And_ResendAndUpdate_Works: Tool/SystemTestingTools.UnitTests/RecordingManagerTests.cs#L126
Failed test found in: TestResults/_fv-az702-410_2024-05-28_08_31_55[1].trx Error: Expected string "/home/runner/work/SystemTestingTools/SystemTestingTools/Tool/SystemTestingTools.UnitTests/files/recordings_temp/happy/200_ContainsSomeFields_PacificChallenge.txt" to end with "recordings_temp\happy\200_ContainsSomeFields_PacificChallenge.txt".
MovieProject.InterceptionTests.GetMovieTests ► When_UserAsksForMovie_ButWrongUrl_AndNoRecordingFound_Then_ReturnFallback: Examples/MovieProject/MovieProject.Tests/MovieProject.InterceptionUnhappyTests/GetMovieTests.cs#L106
Failed test found in: TestResults/_fv-az702-410_2024-05-28_08_31_58.trx Error: Expected string to be "Error: GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=gibberish received exception [No such host is known.]" with a length of 121, but "Error: GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=gibberish received exception [Name or service not known]" has a length of 124, differs near "ame" (index 99). Expected string to be "Recording [omdb/pre-approved/happy/last_fallback] reason GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=gibberish received exception [No such host is known.] and could not find better match" with a length of 203, but "Recording [omdb/pre-approved/happy/last_fallback] reason GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=gibberish received exception [Name or service not known] and could not find better match" has a length of 206, differs near "ame" (index 149).
MovieProject.InterceptionTests.GetMovieTests ► When_UserAsksForMovie_ButWrongUrl_Then_FindResponseInPreApproved: Examples/MovieProject/MovieProject.Tests/MovieProject.InterceptionUnhappyTests/GetMovieTests.cs#L46
Failed test found in: TestResults/_fv-az702-410_2024-05-28_08_31_58.trx Error: Expected string to be "Error: GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=matrix received exception [No such host is known.]" with a length of 118, but "Error: GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=matrix received exception [Name or service not known]" has a length of 121, differs near "ame" (index 96). Expected string to be "Recording [omdb/pre-approved/happy/matrix] reason GET http://www.omdbapifake.com/?apikey=863d6589&type=movie&t=matrix received exception [No such host is known.]" with a length of 161, but "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]" has a length of 164, differs near "ame" (index 139).
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)