Skip to content

Applied suggested error handling (#3411) #333

Applied suggested error handling (#3411)

Applied suggested error handling (#3411) #333

Triggered via push August 9, 2023 15:42
Status Failure
Total duration 5m 15s
Artifacts
Initialize pipeline
18s
Initialize pipeline
Module  /  Static validation
1m 20s
Module / Static validation
Matrix: Module / PSRule validation
Matrix: Module / Deployment validation
Module  /  Publishing
0s
Module / Publishing
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 4 warnings
Module / PSRule validation (.test/accessPolicies/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/disk-encryption-sets/.test/accessPolicies/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/compute/disk-encryption-sets/.test/accessPolicies/main.test.bicep' was not valid. An error occurred evaluating expression '[equals(parameters('rbacAuthorizationEnabled'), true())]' line 488. Null object cannot be converted to a value type."
Module / PSRule validation (.test/accessPolicies/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (.test/accessPolicies/main.test.bicep)
Process completed with exit code 1.
Module / Static validation
[-] [compute/disk-encryption-sets] Set-ModuleReadMe script should not apply any updates. 4.72s (4.72s|1ms)
Module / Static validation
Process completed with exit code 1.
Module / PSRule validation (.test/common/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/disk-encryption-sets/.test/common/main.test.bicep'. Exception calling "GetBicepResources" with "2" argument(s): "Unable to expand resources because the source file '/home/runner/work/ResourceModules/ResourceModules/modules/compute/disk-encryption-sets/.test/common/main.test.bicep' was not valid. An error occurred evaluating expression '[equals(parameters('rbacAuthorizationEnabled'), true())]' line 491. Null object cannot be converted to a value type."
Module / PSRule validation (.test/common/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (.test/common/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (.test/accessPolicies/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (.test/accessPolicies/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (.test/common/main.test.bicep)
The option 'Execution.SuppressedRuleWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.
Module / PSRule validation (.test/common/main.test.bicep)
The option 'Execution.NotProcessedWarning' is deprecated and will be removed with PSRule v3. See http://aka.ms/ps-rule/deprecations for more detail.