Skip to content

Build(deps): Bump fastify from 4.28.1 to 5.0.0 in /TestProjects/NodeJS.Service #1175

Build(deps): Bump fastify from 4.28.1 to 5.0.0 in /TestProjects/NodeJS.Service

Build(deps): Bump fastify from 4.28.1 to 5.0.0 in /TestProjects/NodeJS.Service #1175

GitHub Actions / Test results failed Oct 7, 2024 in 0s

112 passed, 1 failed and 6 skipped

Tests failed

❌ Source/Bake.Tests/TestResults/_fv-az1432-833_2024-10-07_22_19_07.trx

119 tests were completed in 261s with 112 passed, 1 failed and 6 skipped.

Test suite Passed Failed Skipped Time
Bake.Tests.ExplicitTests.GitHubReleaseCookTests 1⚪ 7ms
Bake.Tests.ExplicitTests.GitHubTests 3⚪ 0ms
Bake.Tests.IntegrationTests.BakeTests.DockerFileSimpleTests 2✅ 3s
Bake.Tests.IntegrationTests.BakeTests.GoLangServiceTests 1✅ 46s
Bake.Tests.IntegrationTests.BakeTests.HelmChartTests 5✅ 5s
Bake.Tests.IntegrationTests.BakeTests.MkDocsSimple 1✅ 15s
Bake.Tests.IntegrationTests.BakeTests.NetCoreConsoleTests 18✅ 106s
Bake.Tests.IntegrationTests.BakeTests.NetCorePackageTests 1✅ 6s
Bake.Tests.IntegrationTests.BakeTests.NetCoreServiceTests 1✅ 10s
Bake.Tests.IntegrationTests.BakeTests.NetV8ServiceTests 1✅ 8s
Bake.Tests.IntegrationTests.BakeTests.NodeJSService 1❌ 24s
Bake.Tests.IntegrationTests.BakeTests.Python3FlaskTests 1✅ 37s
Bake.Tests.IntegrationTests.ServiceTests.DotNetComposerServiceTests 1✅ 155ms
Bake.Tests.IntegrationTests.ServiceTests.GitHubTests 1⚪ 0ms
Bake.Tests.LicenseHeader 1⚪ 0ms
Bake.Tests.UnitTests.Commands.CommandFactoryTests 2✅ 18ms
Bake.Tests.UnitTests.Cooking.Ingredients.Gathers.ReleaseNotesGatherTests 3✅ 18ms
Bake.Tests.UnitTests.Core.CredentialsTests 1✅ 3ms
Bake.Tests.UnitTests.Core.EnvironmentVariablesTests 1✅ 4ms
Bake.Tests.UnitTests.Core.FileSystemTests 1✅ 4ms
Bake.Tests.UnitTests.Core.GitRemoteParserTests 2✅ 1ms
Bake.Tests.UnitTests.Core.NuGetConfigurationTests 1✅ 8ms
Bake.Tests.UnitTests.Core.SemVerTests 14✅ 2ms
Bake.Tests.UnitTests.Extensions.StringExtensionsTests 3✅ 1ms
Bake.Tests.UnitTests.Ingredients.Gathers.GitHubGatherTests 3✅ 7ms
Bake.Tests.UnitTests.Services.BakeProjectParserTests 1✅ 3ms
Bake.Tests.UnitTests.Services.ChangeLogBuilderTests 1✅ 29ms
Bake.Tests.UnitTests.Services.ComposerOrderingTests 2✅ 44ms
Bake.Tests.UnitTests.Services.ContainerTagParserTests 7✅ 3ms
Bake.Tests.UnitTests.Services.CsProjParserTests 1✅ 5ms
Bake.Tests.UnitTests.Services.DescriptionLimiterTests 4✅ 5ms
Bake.Tests.UnitTests.Services.DestinationParserTests 9✅ 5ms
Bake.Tests.UnitTests.Services.DotNetTfmParserTests 8✅ 5ms
Bake.Tests.UnitTests.Services.GoModParserTests 8✅ 4ms
Bake.Tests.UnitTests.Services.PlatformParserTests 2✅ 2ms
Bake.Tests.UnitTests.Services.ReleaseNotesParserTests 1✅ 2ms
Bake.Tests.UnitTests.Services.RunnerFactoryTests 1✅ 18ms
Bake.Tests.UnitTests.Services.YamlTests 4✅ 8ms

✅ Bake.Tests.ExplicitTests.GitHubReleaseCookTests

⚪ CreateRelease

✅ Bake.Tests.ExplicitTests.GitHubTests

⚪ GetCommits
⚪ GetPullRequest_NonExisting
⚪ GetPullRequests

✅ Bake.Tests.IntegrationTests.BakeTests.DockerFileSimpleTests

✅ NamedDockerfile
✅ Run

✅ Bake.Tests.IntegrationTests.BakeTests.GoLangServiceTests

✅ Run

✅ Bake.Tests.IntegrationTests.BakeTests.HelmChartTests

✅ PushToChartMuseum
✅ PushToOctopusDeploy("bake_credentials_octopusdeploy_apikey")
✅ PushToOctopusDeploy("bake_credentials_octopusdeploy_localhost_apikey")
✅ PushToOctopusDeploy("octopus_deploy_apikey")
✅ Run

✅ Bake.Tests.IntegrationTests.BakeTests.MkDocsSimple

✅ Run

✅ Bake.Tests.IntegrationTests.BakeTests.NetCoreConsoleTests

✅ ARM
✅ BasicArgsTest("--help")
✅ BasicArgsTest("--version")
✅ BasicArgsTest("-?")
✅ BasicArgsTest("-h")
✅ BasicArgsTest("-v")
✅ BasicArgsTest("apply","--help")
✅ BasicArgsTest("plan","--help")
✅ BasicArgsTest("run","--help")
✅ ExitCodeTests(257)
✅ Minimal
✅ PlanThenApply(Debug)
✅ PlanThenApply(Error)
✅ PlanThenApply(Fatal)
✅ PlanThenApply(Information)
✅ PlanThenApply(Verbose)
✅ PlanThenApply(Warning)
✅ Run

✅ Bake.Tests.IntegrationTests.BakeTests.NetCorePackageTests

✅ Run

✅ Bake.Tests.IntegrationTests.BakeTests.NetCoreServiceTests

✅ Run

✅ Bake.Tests.IntegrationTests.BakeTests.NetV8ServiceTests

✅ Run

❌ Bake.Tests.IntegrationTests.BakeTests.NodeJSService

❌ Run
	Expected success to be True, but found False.

✅ Bake.Tests.IntegrationTests.BakeTests.Python3FlaskTests

✅ Run

✅ Bake.Tests.IntegrationTests.ServiceTests.DotNetComposerServiceTests

✅ TestIt

✅ Bake.Tests.IntegrationTests.ServiceTests.GitHubTests

⚪ GetPullRequestInformationAsync

✅ Bake.Tests.LicenseHeader

⚪ UpdateHeaders

✅ Bake.Tests.UnitTests.Commands.CommandFactoryTests

✅ TestCreation
✅ ThrowException

✅ Bake.Tests.UnitTests.Cooking.Ingredients.Gathers.ReleaseNotesGatherTests

✅ PickExpectedVersion("1.0.129","1.1,1.0-alpha,0.9","1.0-alpha")
✅ PickExpectedVersion("1.0.129","1.1,1.0,0.9","1.0")
✅ PickExpectedVersion("1.0","1.1,1.0,0.9","1.0")

✅ Bake.Tests.UnitTests.Core.CredentialsTests

✅ GetNuGetApiKeyAsync("http://localhost:5555/v3/index.json","bake_credentials_nuget_localhost_apikey","acd0b30512ac4fa39f62eb7a61fcf56c")

✅ Bake.Tests.UnitTests.Core.EnvironmentVariablesTests

✅ GetAsync

✅ Bake.Tests.UnitTests.Core.FileSystemTests

✅ FindFilesAsync

✅ Bake.Tests.UnitTests.Core.GitRemoteParserTests

✅ TryParse("[email protected]:rasmus/Bake.git","git","github.com","/rasmus/Bake.git")
✅ TryParse("https://github.com/rasmus/Bake.git","https","github.com","/rasmus/Bake.git")

✅ Bake.Tests.UnitTests.Core.NuGetConfigurationTests

✅ GenerateAsync

✅ Bake.Tests.UnitTests.Core.SemVerTests

✅ Compare("0.0.1 0.1.0 1.0.0","1.0.0","0.0.1","0.1.0")
✅ Compare("1.0 1.0-alpha","1.0","1.0-alpha")
✅ Compare("1.0.0 1.1.0 1.1.1","1.1.1","1.0.0","1.1.0")
✅ IsSubset("1.2.0","1.2.0",True)
✅ IsSubset("1.2.1","1.2.0",False)
✅ IsSubset("1.2","1.2.0",True)
✅ IsSubset("1.2","1.2.5",True)
✅ IsSubset("2.1.1","1.2.1",False)
✅ ValidVersions("1.2.3-meta",1,2,3,"meta")
✅ ValidVersions("1.2",1,2,null,null)
✅ ValidVersions("3",3,null,null,null)
✅ ValidVersions("321.231.132-magic",321,231,132,"magic")
✅ ValidVersions("v1.2.3",1,2,3,null)
✅ ValidVersions("version 1.2.3",1,2,3,null)

✅ Bake.Tests.UnitTests.Extensions.StringExtensionsTests

✅ ToSlug("abc","abc")
✅ ToSlug("æøå","aoa")
✅ ToSlug("kjcasd )=(/=)(/& cadsÆØÅÆhcadjskchj/(/7856","kjcasd-cadsaoaahcadjskchj-7856")

✅ Bake.Tests.UnitTests.Ingredients.Gathers.GitHubGatherTests

✅ Verify("https://github.com/rasmus/Bake.git","rasmus","Bake","https://api.github.com/")
✅ Verify("https://github.com/rasmus/Bake","rasmus","Bake","https://api.github.com/")
✅ Verify("https://github.schibsted.com/rasmus-mikkelsen/Bake","rasmus-mikkelsen","Bake","https://github.schibsted.com/api/v3")

✅ Bake.Tests.UnitTests.Services.BakeProjectParserTests

✅ SimpleCase

✅ Bake.Tests.UnitTests.Services.ChangeLogBuilderTests

✅ Build

✅ Bake.Tests.UnitTests.Services.ComposerOrderingTests

✅ BasicOrdering
✅ Current

✅ Bake.Tests.UnitTests.Services.ContainerTagParserTests

✅ SuccessTryParse("containers.example.org/my-org/my-path/somecontainer:v1.2.3","containers.example.org","my-org/my-path","somecontainer","v1.2.3")
✅ SuccessTryParse("localhost:5000/path/image","localhost:5000","path","image","latest")
✅ SuccessTryParse("localhost/image:2","localhost","","image","2")
✅ SuccessTryParse("localhost/image:v1.2.3","localhost","","image","v1.2.3")
✅ SuccessTryParse("localhost/path/image:2","localhost","path","image","2")
✅ SuccessTryParse("registry:2","","","registry","2")
✅ SuccessTryParse("registry","","","registry","latest")

✅ Bake.Tests.UnitTests.Services.CsProjParserTests

✅ IsTool

✅ Bake.Tests.UnitTests.Services.DescriptionLimiterTests

✅ CutsAtHeadline
✅ CutsAtHeadlineSimple
✅ Fallback
✅ LessThanMaxIsAccepted

✅ Bake.Tests.UnitTests.Services.DestinationParserTests

✅ DockerRegistry("container>localhost:5000","localhost:5000/")
✅ DockerRegistry("container>localhost:5000/","localhost:5000/")
✅ DockerRegistry("container>rasmus","rasmus/")
✅ Dynamics("container>github","container","github")
✅ Dynamics("nuget>github","nuget","github")
✅ Dynamics("release>github","release","github")
✅ HelmChart("helm-chart>octopus@https://localhost:4321/","https://localhost:4321/")
✅ NuGetRegistry("nuget","https://api.nuget.org/v3/index.json")
✅ NuGetRegistry("nuget>http://localhost:5555/v3/index.json","http://localhost:5555/v3/index.json")

✅ Bake.Tests.UnitTests.Services.DotNetTfmParserTests

✅ Success("net35","3.5.0",NetFramework)
✅ Success("net403","4.0.3",NetFramework)
✅ Success("net452","4.5.2",NetFramework)
✅ Success("net48","4.8.0",NetFramework)
✅ Success("net5.0","5.0.0",Net)
✅ Success("netcoreapp2.0","2.0.0",Net)
✅ Success("netcoreapp3.1","3.1.0",Net)
✅ Success("netstandard2.1","2.1.0",NetStandard)

✅ Bake.Tests.UnitTests.Services.GoModParserTests

✅ Success("module example.com/mymodule","mymodule","")
✅ Success("module example.com/mymodule/v2","mymodule","2")
✅ Success("module example.com/path/my.module/v2","my.module","2")
✅ Success("module example.com/path/mymodule/v2","mymodule","2")
✅ Success("module my-module/v3","my-module","3")
✅ Success("module my.module/v3","my.module","3")
✅ Success("module mymodule","mymodule","")
✅ Success("module mymodule/v3","mymodule","3")

✅ Bake.Tests.UnitTests.Services.PlatformParserTests

✅ Success("linux/x64",Linux,Intel64)
✅ Success("win/x86",Windows,Intel32)

✅ Bake.Tests.UnitTests.Services.ReleaseNotesParserTests

✅ CanParse

✅ Bake.Tests.UnitTests.Services.RunnerFactoryTests

✅ ReadStdOut

✅ Bake.Tests.UnitTests.Services.YamlTests

✅ DeserializeSemVer("1.2.3")
✅ Recipe
✅ Recipes
✅ SerializeSemVer("1.2.3")

Annotations

Check failure on line 162 in Source/Bake.Tests/Helpers/TestProject.cs

See this annotation in the file changed.

@github-actions github-actions / Test results

Bake.Tests.IntegrationTests.BakeTests.NodeJSService ► Run

Failed test found in:
  Source/Bake.Tests/TestResults/_fv-az1432-833_2024-10-07_22_19_07.trx
Error:
  Expected success to be True, but found False.
Raw output
Expected success to be True, but found False.
   at FluentAssertions.Execution.LateBoundTestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Primitives.BooleanAssertions`1.BeTrue(String because, Object[] becauseArgs)
   at Bake.Tests.Helpers.TestProject.AssertContainerPingsAsync(DockerArguments arguments, String path, CancellationToken cancellationToken) in /home/runner/work/Bake/Bake/Source/Bake.Tests/Helpers/TestProject.cs:line 162
   at Bake.Tests.IntegrationTests.BakeTests.NodeJSService.Run() in /home/runner/work/Bake/Bake/Source/Bake.Tests/IntegrationTests/BakeTests/NodeJSService.cs:line 55
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)