What are typed by type_string on ipmi physical machine is not correct.
Fail stage: host installation
Fail reason: what are typed out by type_string is not complete
At the last step of installation , 'install and reboot', command 'save_y2logs /tmp/y2logs.tar.bz2 ' is typed to 'save_y2lgs /tmp/y2logs.tar.bz2' which results to 'command y2lgs not found' and exit
Also failed for the similar reason in following build tests.
#2 Updated by okurz almost 6 years ago
Looking at https://openqa.suse.de/tests/491232#step/install_and_reboot/4 I see the failure but also in the previous command it typed 'cattt' instead of 'cat'. I think the IPMI backend is at fault in this case. Either IPMI itself or the backend implementation in os-autoinst.
#5 Updated by xlai almost 6 years ago
I used to open a issue for os-autoinst about this problem https://github.com/os-autoinst/os-autoinst/issues/555, but kulow closed it. And he also claims that the keyboard driver for ipmi is buggy. I think this is the root cause. So I do not think it can be fixed unless supermicro ipmi fixes the buggy problem.
I know that the firmware of ipmi is outdated in nuremburg, however our beijing machines are the latest, it also has ipmi issue that the serial console connection usually breaks. SO I do not think upgrading the firmware can fix the problem.
I have also talked about it with kulow and my manager calen. There will be some discussion at manager level.
#6 Updated by okurz almost 6 years ago
Thanks for the fast answer.
From your github ticket as reference - Typical failure links:
Can you think of a workaround within os-autoinst to detect this?
#8 Updated by okurz almost 6 years ago
Yes, exactly what you wrote. Something like
- try typing
- if wrong, try again up to 7 times
- if still fails for 7 times, abort
The challenging part would be to detect errors in typing. I am thinking of calling the last command typed with script_output and checking against expected. With
fc -n -l -1 one could read the last command executed. This could be compared against what was requested to be typed. If it differs, try again.