dsccommunity / dsccommunity/DscResource.Test
Configuration keyword is not supported on ARM64 processors
Open
Nobody has claimed this yet.
enhancement
help wanted
- Dominant language
- PowerShell
- Stars
- 6
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
Details of the scenario you tried and the problem that is occurring
When running examples HQRM test on arm64 the HQRM trst runs fail.
Suggest to skip those affected tests on arm64.
[-] Should compile the MOF schema for the example correctly 2ms (2ms|0ms)
at } | Should -Not -Throw, /../SqlServerDsc/output/RequiredModules/DscResource.Test/0.17.2/Tests/QA/ExampleFiles.common.v5.Tests.ps1:214
at <ScriptBlock>, /../SqlServerDsc/output/RequiredModules/DscResource.Test/0.17.2/Tests/QA/ExampleFiles.common.v5.Tests.ps1:89
Expected no exception to be thrown, but an exception "At /../SqlServerDsc/source/Examples/Resources/SqlAudit/5-RemoveAudit.ps1:6 char:1
+ Configuration Example
+ ~~~~~~~~~~~~~
Configuration keyword is not supported on ARM64 processors.
At /../SqlServerDsc/source/Examples/Resources/SqlAudit/5-RemoveAudit.ps1:7 char:1
Steps to reproduce the problem
Expected behavior
Current behavior
Suggested solution to the issue
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the module that was used
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the failing HQRM test in output/RequiredModules/DscResource.Test/0.17.2/Tests/QA/ExampleFiles.common.v5.Tests.ps1, especially the checks around lines 89 and 214, and inspect the referenced SqlAudit example. Confirm which affected example tests fail on ARM64, then verify that those tests are skipped there while remaining runnable on supported processors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100