Fix for issue 15396 #38478
build.yml
on: pull_request
Matrix: build-cli
Build: VSCode Extension
3m 16s
Check secret access
1s
Matrix: test-dotnet
Build NuGet Packages
1m 36s
Build Visual Studio Extension
6m 31s
Build Playground
3m 17s
Build Highlight Libraries
4m 12s
Build Windows Setup
1m 38s
Matrix: test-cli-e2e
PR Comment: Preview Links
2s
Matrix: Test: VSCode Bicep UI
Matrix: Test: VSCode Extension
Matrix: test-cli-live-linux-musl-x64
Matrix: test-cli-live
PR Comment: Dotnet Tests Summary
24s
Matrix: build-cli-nugets
Annotations
4 errors and 4 warnings
Test Dotnet (ubuntu-latest) (Core)
Process completed with exit code 1.
|
Test Dotnet (windows-latest) (Core)
Process completed with exit code 1.
|
src/live/local-deploy.test.ts > bicep local-deploy > should publish and run an extension published to a registry:
src/Bicep.Cli.E2eTests/src/utils/command.ts#L84
Error: Process terminated prematurely. result = {"status":null,"signal":"SIGABRT","output":[null,"","WARNING: The 'publish-extension' CLI command group is an experimental feature. Experimental features should be enabled for testing purposes only, as there are no guarantees about the quality or stability of these features. Do not enable these settings for any production usage, or your production environment may be subject to breaking.\nUnhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'bytes')\n at Azure.Containers.ContainerRegistry.ContainerRegistryContentClient.UploadBlobAsync(Stream content, CancellationToken cancellationToken)\n at Azure.Containers.ContainerRegistry.ContainerRegistryContentClient.UploadBlobAsync(BinaryData content, CancellationToken cancellationToken)\n at Bicep.Core.Registry.AzureContainerRegistryManager.PushArtifactAsync(RootConfiguration configuration, IOciArtifactReference artifactReference, String mediaType, String artifactType, OciDescriptor config, IEnumerable`1 layers, OciManifestAnnotationsBuilder annotations) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 85\n at Bicep.Core.Registry.OciArtifactRegistry.PublishExtension(OciArtifactReference reference, ExtensionPackage package) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/OciArtifactRegistry.cs:line 334\n at Bicep.Core.Registry.ModuleDispatcher.PublishExtension(ArtifactReference reference, ExtensionPackage package) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/ModuleDispatcher.cs:line 280\n at Bicep.Cli.Commands.PublishExtensionCommand.PublishExtensionAsync(ArtifactReference target, ExtensionPackage package, Boolean overwriteIfExists) in /home/runner/work/bicep/bicep/src/Bicep.Cli/Commands/PublishExtensionCommand.cs:line 92\n at Bicep.Cli.Commands.PublishExtensionCommand.RunAsync(PublishExtensionArguments args) in /home/runner/work/bicep/bicep/src/Bicep.Cli/Commands/PublishExtensionCommand.cs:line 79\n at Bicep.Cli.Program.RunAsync(String[] args, CancellationToken cancellationToken) in /home/runner/work/bicep/bicep/src/Bicep.Cli/Program.cs:line 96\n at Bicep.Cli.Program.<>c__DisplayClass3_0.<<Main>b__0>d.MoveNext() in /home/runner/work/bicep/bicep/src/Bicep.Cli/Program.cs:line 59\n--- End of stack trace from previous location ---\n at Bicep.Cli.Program.RunWithCancellationAsync(Func`2 runFunc) in /home/runner/work/bicep/bicep/src/Bicep.Cli/Program.cs:line 151\n at Bicep.Cli.Program.Main(String[] args) in /home/runner/work/bicep/bicep/src/Bicep.Cli/Program.cs:line 40\n at Bicep.Cli.Program.<Main>(String[] args)\n"],"pid":6919,"stdout":"","stderr":"WARNING: The 'publish-extension' CLI command group is an experimental feature. Experimental features should be enabled for testing purposes only, as there are no guarantees about the quality or stability of these features. Do not enable these settings for any production usage, or your production environment may be subject to breaking.\nUnhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 'bytes')\n at Azure.Containers.ContainerRegistry.ContainerRegistryContentClient.UploadBlobAsync(Stream content, CancellationToken cancellationToken)\n at Azure.Containers.ContainerRegistry.ContainerRegistryContentClient.UploadBlobAsync(BinaryData content, CancellationToken cancellationToken)\n at Bicep.Core.Registry.AzureContainerRegistryManager.PushArtifactAsync(RootConfiguration configuration, IOciArtifactReference artifactReference, String mediaType, String artifactType, OciDescriptor config, IEnumerable`1 layers, OciManifestAnnotationsBuilder annotations) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/AzureContainerRegistryManager.cs:line 85\n at Bicep.Core.Registry.OciArtifactRegistry.PublishExtension(OciArtifactReference reference, ExtensionPackage package) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/OciArtifactRegistry.cs:line 334\n at Bicep.Core.Registry.ModuleDispatcher.PublishExtension(ArtifactReference reference, Exten
|
Test CLI (live) (osx-x64) (ff)
Process completed with exit code 1.
|
Build: VSCode Extension
This extension consists of 467 files, out of which 104 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension. You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore.
|
All 2 runs failed: MsGraph_namespace_can_be_loaded_dynamically_using_extension_configuration (Bicep.Core.IntegrationTests.MsGraphTypesViaRegistryTests):
Bicep.Core.IntegrationTests.MsGraphTypesViaRegistryTests#L0
TestResults/_fv-az1370-153_2025-02-05_04_57_44.trx [took 0s]
TestResults/runneradmin_fv-az836-378_2025-02-05_04_59_12.trx [took 0s]
|
All 2 runs failed: Providers_are_disabled_unless_feature_is_enabled (Bicep.Core.IntegrationTests.ProviderImportTests):
Bicep.Core.IntegrationTests.ProviderImportTests#L0
TestResults/_fv-az1370-153_2025-02-05_04_57_44.trx [took 0s]
TestResults/runneradmin_fv-az836-378_2025-02-05_04_59_12.trx [took 0s]
|
Test CLI (live) (osx-x64) (ff)
The initial run of Bicep Live E2E Tests failed. Retrying...
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Bicep.VSLanguageServerClient.Vsix.vsix
|
34.9 MB |
|
TestResults
|
5.15 MB |
|
bicep-nupkg-any
|
35.8 MB |
|
bicep-nupkg-linux-arm64
|
41.5 MB |
|
bicep-nupkg-linux-x64
|
41.8 MB |
|
bicep-nupkg-osx-arm64
|
41.3 MB |
|
bicep-nupkg-osx-x64
|
41.7 MB |
|
bicep-nupkg-win-arm64
|
43.5 MB |
|
bicep-nupkg-win-x64
|
43.1 MB |
|
bicep-project-assets-linux-arm64
|
87.7 KB |
|
bicep-project-assets-linux-musl-x64
|
87.7 KB |
|
bicep-project-assets-linux-x64
|
87.7 KB |
|
bicep-project-assets-osx-arm64
|
87.7 KB |
|
bicep-project-assets-osx-x64
|
87.7 KB |
|
bicep-project-assets-win-arm64
|
87.7 KB |
|
bicep-project-assets-win-x64
|
87.7 KB |
|
bicep-release-linux-arm64
|
44.3 MB |
|
bicep-release-linux-musl-x64
|
43.7 MB |
|
bicep-release-linux-x64
|
43.7 MB |
|
bicep-release-osx-arm64
|
44 MB |
|
bicep-release-osx-x64
|
43.6 MB |
|
bicep-release-win-arm64
|
44.4 MB |
|
bicep-release-win-x64
|
44 MB |
|
bicep-setup-win-x64
|
36.3 MB |
|
build-binlog-files
|
1.37 MB |
|
playground
|
83.3 MB |
|
vscode-bicep.vsix
|
49.1 MB |
|