Skip to content

Fix linter discrepancies when optional module name is enabled (#16106) #37831

Fix linter discrepancies when optional module name is enabled (#16106)

Fix linter discrepancies when optional module name is enabled (#16106) #37831

Triggered via push January 15, 2025 00:23
Status Failure
Total duration 12m 47s
Artifacts 27

build.yml

on: push
Check secret access
2s
Check secret access
Matrix: test-dotnet
Build NuGet Packages
1m 29s
Build NuGet Packages
Build Visual Studio Extension
12m 33s
Build Visual Studio Extension
Build Playground
3m 21s
Build Playground
Build Highlight Libraries
4m 12s
Build Highlight Libraries
Build Windows Setup
1m 26s
Build Windows Setup
Matrix: test-cli-e2e
PR Comment: Preview Links
5s
PR Comment: Preview Links
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
16s
PR Comment: Dotnet Tests Summary
Matrix: build-cli-nugets
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 28 warnings
Test CLI (live) (linux-musl-x64) (ff)
AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support. Trace ID: 33c107be-e9c4-4bcc-89d6-0754fbe30b00 Correlation ID: 532fe6f3-ca3f-4f55-8677-de4c04629583 Timestamp: 2025-01-15 00:25:51Z Interactive authentication is needed. Please run: az login
Test CLI (live) (linux-musl-x64) (ff)
Login failed with Error: The process '/usr/local/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
Test CLI (live) (osx-x64) (ff)
AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support. Trace ID: ed48db2b-5084-451f-83ae-d4e83bc94300 Correlation ID: e279f528-a4eb-4555-9502-a74c8d8c9254 Timestamp: 2025-01-15 00:25:51Z
Test CLI (live) (osx-x64) (ff)
Interactive authentication is needed. Please run: az login
Test CLI (live) (osx-x64) (ff)
Login failed with Error: The process '/opt/homebrew/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
Test CLI (live) (linux-musl-x64) (prod)
The job was canceled because "ff" failed.
Test CLI (live) (linux-musl-x64) (prod)
The operation was canceled.
Test CLI (live) (linux-x64) (ff)
AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support. Trace ID: 2271f13f-2e3f-4f8b-ba01-fda76d250c00 Correlation ID: 9b3603fd-56ad-4c6e-8620-c26dca98e563 Timestamp: 2025-01-15 00:26:21Z
Test CLI (live) (linux-x64) (ff)
Interactive authentication is needed. Please run: az login
Test CLI (live) (linux-x64) (ff)
Login failed with Error: The process '/usr/bin/az' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
Test CLI (live) (win-x64) (ff)
AADSTS5000224: We are sorry, this resource is not available. If you are seeing this message by mistake, please contact Microsoft support. Trace ID: 598d6b18-b892-4c81-8384-dffaad2f0c00 Correlation ID: 221ff239-2f52-4fdf-9b10-5bc65a108217 Timestamp: 2025-01-15 00:27:07Z
Test CLI (live) (win-x64) (ff)
Interactive authentication is needed. Please run: az login
Test CLI (live) (win-x64) (ff)
Login failed with Error: The process 'C:\Program Files\Microsoft SDKs\Azure\CLI2\wbin\az.cmd' failed with exit code 1. Double check if the 'auth-type' is correct. Refer to https://github.com/Azure/login#readme for more information.
Test: VSCode Extension (macos-latest, false)
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 341\n at Bicep.Core.Registry.ModuleDispatcher.PublishExtension(ArtifactReference reference, ExtensionPackage package) in /home/runner/work/bicep/bicep/src/Bicep.Core/Registry/ModuleDispatcher.cs:line 271\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 87\n at Bicep.Cli.Commands.PublishExtensionCommand.RunAsync(PublishExtensionArguments args) in /home/runner/work/bicep/bicep/src/Bicep.Cli/Commands/PublishExtensionCommand.cs:line 74\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":5021,"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 341\n at Bicep.Core.Registry.ModuleDispatcher.PublishExtension(ArtifactReference reference, Exten
Test CLI (live) (osx-x64) (prod)
Process completed with exit code 1.
Check secret access
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build NuGet Packages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI (osx-arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI (linux-x64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI (win-arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI (osx-x64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI (win-x64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI (linux-arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI (linux-musl-x64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test CLI (live) (linux-musl-x64) (ff)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test CLI (live) (linux-x64) (ff)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test CLI (e2e) (linux-musl-x64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI NuGet Packages (linux-arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Playground
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build: VSCode Extension
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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.
PR Comment: Preview Links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Dotnet (ubuntu-latest) (Core)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test: VSCode Bicep UI (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build Highlight Libraries
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Dotnet (ubuntu-latest) (Others)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test CLI (e2e) (linux-x64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Dotnet (ubuntu-latest) (LangServer)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build CLI NuGet Packages (linux-x64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PR Comment: Dotnet Tests Summary
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test CLI (live) (linux-x64) (prod)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test: VSCode Extension (ubuntu-latest, false)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test CLI (live) (osx-x64) (prod)
The initial run of Bicep Live E2E Tests failed. Retrying...

Artifacts

Produced during runtime
Name Size
Bicep.VSLanguageServerClient.Vsix.vsix
34.9 MB
TestResults
7.63 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.8 MB
bicep-nupkg-win-arm64
43.5 MB
bicep-nupkg-win-x64
43.1 MB
bicep-project-assets-linux-arm64
87.5 KB
bicep-project-assets-linux-musl-x64
87.5 KB
bicep-project-assets-linux-x64
87.5 KB
bicep-project-assets-osx-arm64
87.5 KB
bicep-project-assets-osx-x64
87.5 KB
bicep-project-assets-win-arm64
87.5 KB
bicep-project-assets-win-x64
87.5 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.7 MB
bicep-release-win-arm64
44.4 MB
bicep-release-win-x64
44 MB
bicep-setup-win-x64
36.2 MB
build-binlog-files
1.36 MB
playground
83.1 MB
vscode-bicep.vsix
49.1 MB