Comment 0 for bug 1790213

Revision history for this message
Elio Martinez (elio1979) wrote :

ISO:stx-2018-08-30-97.iso
During Sanity testing for latest iso, the following message appears (Virtual Environment):

Test_Install_And_Unlock_Second_Controller :: Validates that second... | FAIL |
Keyword 'Check Property Value' failed after retrying for 20 minutes. The last error was: failed != completed

This is a consequence for timming in order to catch second controller is alive, from:
KEYWORD BuiltIn . Run Keyword If ${rc} == 0, Set To Dictionary, ${result}, stdout=${output.strip()}, ELSE IF, ${fail_if_error} == True, FAIL, ${output}, ELSE, Set To Dictionary, ${result}, stderr=${output}
00:00:00.001 KEYWORD Collections . Set To Dictionary ${result}, rc=${rc}
00:00:00.000 KEYWORD Collections . Log Dictionary ${result}
Documentation:

Logs the size and contents of the dictionary using given level.
Start / End / Elapsed: 20180830 15:48:25.202 / 20180830 15:48:25.202 / 00:00:00.000
15:48:25.202 INFO Dictionary size is 3 and it contains following items:
rc: 0
stderr:
stdout: +---------------------+-----------------------------------------+
| Property | Value |
+---------------------+-----------------------------------------+
| action | none |
| administrative | locked |
| availability | offline |
| bm_ip | None |
| bm_type | None |
| bm_username | None |
| boot_device | sda |
| capabilities | {u'Personality': u'Controller-Standby'} |
| config_applied | None |
| config_status | None |
| config_target | None |
| console | ttyS0,115200 |
| created_at | 2018-08-30T20:39:28.603776+00:00 |
| hostname | controller-1 |
| id | 4 |
| install_output | text |
| install_state | None |
| install_state_info | None |
| invprovision | None |
| location | {} |
| mgmt_ip | 192.168.204.4 |
| mgmt_mac | 52:54:00:99:17:33 |
| operational | disabled |
| personality | controller |
| reserved | False |
| rootfs_device | sda |
| serialid | None |
| software_load | 18.08 |
| task | None |
| tboot | false |
| ttys_dcd | None |
| updated_at | 2018-08-30T20:48:23.041593+00:00 |
| uptime | 0 |
| uuid | 0d854ce9-40a2-4e8d-8747-7b9651d01a01 |
| vim_progress_status | None |
+---------------------+-----------------------------------------+

And the following conditions never is reached
KEYWORD BuiltIn . Wait Until Keyword Succeeds 20 min, 20 sec, Check Property Value, ${second_controller}, install_state, completed
Documentation:

Runs the specified keyword and retries if it fails.
Start / End / Elapsed: 20180830 15:48:25.202 / 20180830 16:08:27.909 / 00:20:02.707
00:00:01.266 KEYWORD Utils . Check Property Value ${second_controller}, install_state, completed
Documentation:

Validates that property is set correctly to the expected value
Start / End / Elapsed: 20180830 15:48:25.203 / 20180830 15:48:26.469 / 00:00:01.266

*********STEPS TO REPRODUCE**********
1. Get iso from http://gaponcec-desk.zpn.intel.com/ISO/
2. Install VM's with 2 controllers 2 computes
3. Provision 1st controller
4. Provision 2nd controller, system should be alive