Answered by:
Azure Stack deployment failed.

Question
-
My Azure Stack deployment is failing with the message below:
<test-case description="Retrieve BIOS information from computer 'AZSTACK'." name="Validate-Role.Retrieve BIOS information from computer 'AZSTACK'." time="0.0648" asserts="0" success="True" result="Success" executed="True" />
<test-case description="Retrieve network adapter information from computer 'AZSTACK'." name="Validate-Role.Retrieve network adapter information from computer 'AZSTACK'." time="0.205" asserts="0" success="True" result="Success" executed="True" />
<test-case description="Retrieve network adapter information from computer 'AZSTACK'." name="Validate-Role.Retrieve network adapter information from computer 'AZSTACK'." time="0.0831" asserts="0" success="False" result="Failure" executed="True">
<failure>
<message>You cannot call a method on a null-valued expression.</message>
<stack-trace>at line: 772 in C:\CloudDeployment\Roles\PhysicalMachines\Tests\BareMetal.Tests.ps1</stack-trace>
</failure>
</test-case>
<test-case description="Retrieve SCSI adapter information from computer 'AZSTACK'." name="Validate-Role.Retrieve SCSI adapter information from computer 'AZSTACK'." time="1.1434" asserts="0" success="True" result="Success" executed="True" />
<test-case description="Retrieve GPU information from computer 'AZSTACK'." name="Validate-Role.Retrieve GPU information from computer 'AZSTACK'." time="0.0577" asserts="0" success="True" result="Success" executed="True" />Any advice?
The server should be able to pass Bare Metal tests.
Thank you.
Tuesday, December 10, 2019 1:05 PM
Answers
-
This is a known issue, and for more context on the workaround you can see this thread. Although the error states that it is an issue with the NIC, the validation failure is an issue with some types of memory.
Open up the file at C:\CloudDeployment\Roles\PhysicalMachines\Tests\BareMetal.Tests.ps1 in any editor with a line counter on it. PowerShell ISE worked for me.
Delete the “Memory Information” test, which is from lines 609 to 780, or delete everything from:
#
# Start: Memory information
#
To
#
# Start: SCSI Adapter information
#
- Proposed as answer by TravisCragg_MSFTMicrosoft employee Tuesday, December 10, 2019 11:08 PM
- Marked as answer by RZAzure Saturday, December 14, 2019 2:00 PM
Tuesday, December 10, 2019 11:08 PM
All replies
-
This is a known issue, and for more context on the workaround you can see this thread. Although the error states that it is an issue with the NIC, the validation failure is an issue with some types of memory.
Open up the file at C:\CloudDeployment\Roles\PhysicalMachines\Tests\BareMetal.Tests.ps1 in any editor with a line counter on it. PowerShell ISE worked for me.
Delete the “Memory Information” test, which is from lines 609 to 780, or delete everything from:
#
# Start: Memory information
#
To
#
# Start: SCSI Adapter information
#
- Proposed as answer by TravisCragg_MSFTMicrosoft employee Tuesday, December 10, 2019 11:08 PM
- Marked as answer by RZAzure Saturday, December 14, 2019 2:00 PM
Tuesday, December 10, 2019 11:08 PM -
Ah, thank you.
Thursday, December 12, 2019 9:47 AM -
If this resolved your problem, please mark the post as Answered.Friday, December 13, 2019 8:15 PM