Skip to content

[Modules] Added waf-aligned test (#4193) #721

[Modules] Added waf-aligned test (#4193)

[Modules] Added waf-aligned test (#4193) #721

Triggered via push November 7, 2023 06:12
Status Success
Total duration 42m 37s
Artifacts
Initialize pipeline
30s
Initialize pipeline
Module  /  Static validation
2m 12s
Module / Static validation
Matrix: Module / PSRule validation
Matrix: Module / Deployment validation
Fit to window
Zoom out
Zoom in

Annotations

26 errors and 14 warnings
Module / PSRule validation (tests/e2e/windows.min/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/virtual-machine/tests/e2e/windows.min/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/virtual-machine/tests/e2e/windows.min/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 1126. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (tests/e2e/windows.min/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (tests/e2e/windows.min/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/linux/main.test.bicep)
AZR-000242: ***cvmlincom failed Azure.VM.DiskCaching. Check disk caching is configured correctly for the workload.
Module / PSRule validation (tests/e2e/linux/main.test.bicep)
AZR-000317: ***cvmlincom failed Azure.VM.MigrateAMA. Use Azure Monitor Agent as replacement for Log Analytics Agent.
Module / PSRule validation (tests/e2e/linux/main.test.bicep)
AZR-000345: ***cvmlincom failed Azure.VM.AMA. Use Azure Monitor Agent for collecting monitoring data.
Module / PSRule validation (tests/e2e/linux/main.test.bicep)
One or more assertions failed. One or more rules reported failure.
Module / PSRule validation (tests/e2e/linux/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/linux.atmg/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/virtual-machine/tests/e2e/linux.atmg/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/virtual-machine/tests/e2e/linux.atmg/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 1244. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (tests/e2e/linux.atmg/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (tests/e2e/linux.atmg/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/linux.min/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/virtual-machine/tests/e2e/linux.min/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/virtual-machine/tests/e2e/linux.min/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 1219. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (tests/e2e/linux.min/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (tests/e2e/linux.min/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/windows/main.test.bicep)
AZR-000242: ***cvmwincom failed Azure.VM.DiskCaching. Check disk caching is configured correctly for the workload.
Module / PSRule validation (tests/e2e/windows/main.test.bicep)
AZR-000243: ***cvmwincom failed Azure.VM.UseHybridUseBenefit. Use Azure Hybrid Benefit for applicable virtual machine (VM) workloads.
Module / PSRule validation (tests/e2e/windows/main.test.bicep)
AZR-000317: ***cvmwincom failed Azure.VM.MigrateAMA. Use Azure Monitor Agent as replacement for Log Analytics Agent.
Module / PSRule validation (tests/e2e/windows/main.test.bicep)
AZR-000345: ***cvmwincom failed Azure.VM.AMA. Use Azure Monitor Agent for collecting monitoring data.
Module / PSRule validation (tests/e2e/windows/main.test.bicep)
One or more assertions failed. One or more rules reported failure.
Module / PSRule validation (tests/e2e/windows/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/windows.atmg/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/virtual-machine/tests/e2e/windows.atmg/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/virtual-machine/tests/e2e/windows.atmg/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 1136. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (tests/e2e/windows.atmg/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (tests/e2e/windows.atmg/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/windows.ssecmk/main.test.bicep)
Failed to expand bicep source '/home/runner/work/ResourceModules/ResourceModules/modules/compute/virtual-machine/tests/e2e/windows.ssecmk/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/virtual-machine/tests/e2e/windows.ssecmk/main.test.bicep' was not valid. An error occurred evaluating expression '[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]' line 1250. The parameter named 'lock' was not set or a defaultValue was defined."
Module / PSRule validation (tests/e2e/windows.ssecmk/main.test.bicep)
One or more assertions failed. One or more errors occured.
Module / PSRule validation (tests/e2e/windows.ssecmk/main.test.bicep)
Process completed with exit code 1.
Module / PSRule validation (tests/e2e/windows.min/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 (tests/e2e/windows.min/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 (tests/e2e/linux/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 (tests/e2e/linux/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 (tests/e2e/linux.atmg/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 (tests/e2e/linux.atmg/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 (tests/e2e/linux.min/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 (tests/e2e/linux.min/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 (tests/e2e/windows/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 (tests/e2e/windows/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 (tests/e2e/windows.atmg/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 (tests/e2e/windows.atmg/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 (tests/e2e/windows.ssecmk/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 (tests/e2e/windows.ssecmk/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.