VM-HOT-RESIZE bug - nonsense logging in the test run-time
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 333
- Forks
- 250
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 20
Description
12/16/2019 22:34:38 : [INFO ] The VM can be resized to the following sizes: Standard_DS14-4_v2
This VM size is illegal.
Here is another nonsense logs in VM-HOT-RESIZE.
01/03/2020 19:56:30 : [INFO ] The VM can be resized to the following sizes: Standard_A5
01/03/2020 19:56:31 : [INFO ] --------------------------------------------------------
01/03/2020 19:56:31 : [INFO ] Resizing the VM to size: Standard_A5
01/03/2020 19:57:32 : [INFO ] Resize the VM from Standard_A4 to Standard_A5 successfully
01/03/2020 19:57:35 : [DEBUG] dos2unix: converting file C:\LISAv2\XK78\TestResults\2020-03-01-19-51-14-4241\VM-HOT-RESIZE\runtest.sh to Unix format...
01/03/2020 19:57:35 : [DEBUG] Uploading C:\LISAv2\XK78\TestResults\2020-03-01-19-51-14-4241\VM-HOT-RESIZE\runtest.sh to lisa @ 52.183.75.31 : 22 using password authentication
01/03/2020 19:57:59 : [WARN ] Error in upload, attempt 1, retrying
01/03/2020 19:58:09 : [DEBUG] Uploading C:\LISAv2\XK78\TestResults\2020-03-01-19-51-14-4241\VM-HOT-RESIZE\runtest.sh to lisa @ 52.183.75.31 : 22 using password authentication
01/03/2020 19:58:11 : [DEBUG] Upload successful after 2 attempt
01/03/2020 19:58:11 : [DEBUG] .\Tools\plink.exe -ssh -t -pw ****** -P 22 lisa@52.183.75.31 "nproc"
01/03/2020 19:58:12 : [DEBUG] nproc executed successfully in 0.91 seconds.
01/03/2020 19:58:12 : [DEBUG] dos2unix: converting file C:\LISAv2\XK78\TestResults\2020-03-01-19-51-14-4241\VM-HOT-RESIZE\runtest.sh to Unix format...
01/03/2020 19:58:12 : [DEBUG] Uploading C:\LISAv2\XK78\TestResults\2020-03-01-19-51-14-4241\VM-HOT-RESIZE\runtest.sh to lisa @ 52.183.75.31 : 22 using password authentication
01/03/2020 19:58:13 : [DEBUG] Upload successful after 1 attempt
01/03/2020 19:58:13 : [DEBUG] .\Tools\plink.exe -ssh -t -pw ****** -P 22 lisa@52.183.75.31 "grep -i memtotal /proc/meminfo | awk '{ print $2 }'"
01/03/2020 19:58:14 : [DEBUG] grep -i memtotal /proc/meminfo | awk '{ print $2 }' executed successfully in 0.65 seconds.
01/03/2020 19:58:14 : [INFO ] Expected CPU Count: 2
01/03/2020 19:58:14 : [INFO ] Actual CPU Count: 2
01/03/2020 19:58:14 : [INFO ] Expected Memory Size in MB: 14336
01/03/2020 19:58:14 : [INFO ] Actual Memory Size in MB: 13993
01/03/2020 19:58:14 : [INFO ] CPU count verification is successful
01/03/2020 19:58:14 : [WARN ] Memory size within VM is NOT equal to the expected memory size
01/03/2020 19:58:14 : [INFO ] The VM can be resized to the following sizes: Standard_D5_v2_Promo
01/03/2020 19:58:14 : [INFO ] The Standard_D5_v2_Promo is not supported by current subscription. Skip it.
01/03/2020 19:58:15 : [INFO ] --------------------------------------------------------
01/03/2020 19:58:15 : [INFO ] Resizing the VM to size: Standard_M208ms_v2
01/03/2020 19:58:17 : [INFO ] Resize the VM with Standard_M208ms_v2 failed. It's expected.
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 by reproducing the VM-HOT-RESIZE test run and tracing the code that emits the logged VM size, memory verification, and resize-result messages. Done means the run no longer reports unsupported sizes or misleading outcomes, and the memory and resize status logs match the observed results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- cloud, infrastructure, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100