action #40670
Updated by SLindoMansilla over 6 years ago
## Observation
Url is not typed correctly in boot options. A mutex_wait is right after typing it and VERY_SLOW_TYPING_SPEED is already used.
Sample from **autoinst-log.txt**
```
[2018-10-10T10:24:10.0807 CEST] [debug] <<< testapi::type_string(string=' regurl=http://Server-0421.proxy.scc.suse.de', max_interval=4, wait_screen_changes=0, wait_still_screen=0)
```
Sample from **YaST2/y2log**
```
2018-10-10 04:26:33 <1> install(3575) [Ruby] registration/registration.rb:277 Using custom registration URL: "http://Server-0421.proxy.scc.suse.e"
```
(Note: interesting date-time difference)
## Reproducible
On PPC, it failed once since at Build **41.4**
- [sle-15-SP1-Installer-DVD-ppc64le-create_hdd_pcm_azure@ppc64le:welcome](https://openqa.suse.de/tests/2058508/modules/welcome/steps/4)
On x86_64, it failed at least 6 times in last 100 runs:
- [sle-12-SP4-Server-DVD-x86_64-RAID1@64bit:bootloader](https://openqa.suse.de/tests/2163577/modules/bootloader/steps/8)
## Acceptance criteria
- **AC1:** <s>The reason why typed characters are missing is known.</s> fulfilled
- **AC2:** Workers on OSD use at least qemu-2.11.2
- **AC3:** It is not possible to reproduce the issue on 100 runs.
## Suggestions
#### Hypotheses
- **H1.1** It is caused by os-autoinst backend (qemu). **SUPPORTED BY E1.1-2**
- **H2.1** It is not worker specific. **SUPPORTED BY E1.1-1**
- **H3.1** Making os-autoinst type even slower doesn't help. **SUPPORTED BY E3.1-1**
- **H3.2** Making os-autoinst type even slower doesn't solve the issue. **SUPPORTED BY E3.1-1**
- **H4.1** Product changes causes this issue.
#### Experiments
- **E1.1-1** Perform statistical investigation with current qemu version (qemu 2.9.1).
- **R1.1-1** 2018-09-24 [100 job runs](https://openqa.suse.de/tests/overview?distri=sle&version=15-SP1&build=poo40670_welcome_investigation&groupid=132)
- **85 of 100** failed jobs. (jobs are gone, not possible to inspect logs)
- Just space is missed, like here (...linuxYDEBUG=1 instead of ...linux YDEBUG=1);
- Space and "Y" character are missed, like here (...linuxDEBUG=1 instead of ...linux YDEBUG=1);
- **R1.1-1** 2018-10-17 [101 job runs](https://openqa.suse.de/tests/overview?build=misstyped_linuxrc_poo40670)
- **12/101** fail (The number of failures has been reduced since last time the experiment was conducted: assuming that the new qemu version released meanwhile causes these improvements)
- QEMU emulator version **2.9.1**(openSUSE Leap 42.3)
- It fails on different workers.
- It doesn't fail always on the same workers.
- **E1.1-2** Perform statistical investigation with a different version of qemu (2.11.2)
- **R1.1-2** 2018-10-17 [101 job runs](http://slindomansilla-vm.qa.suse.de/tests/overview?build=misstyped_linuxrc_poo40670)
- **0/101** fail
- QEMU emulator version **2.11.2**(openSUSE Leap 15.0)
- **E3.1-1** Try 100 job runs with slower typing.
- use constant EXTREME_SLOW_TYPING_SPEED => 2;
- registration_bootloader_params(utils::EXTREME_SLOW_TYPING_SPEED);
- **R3.1-1** 2018-10-18 [101 job runs](https://openqa.suse.de/tests/overview?build=misstyped-linuxrc-poo40670-B)
- **16/101** fail
- It is still failing
- **E4.1-1** Try with an older version of the product (SLE15-GM-668.1).
- **R4.1-1** 2018-10-19 (101 job runs)[https://openqa.suse.de/tests/overview?build=misstyped-linuxrc-poo40670-C]
- **?/101** fail
## Expected result
Last good: [35.18](https://openqa.suse.de/tests/2035119) (or more recent)
## Further details
Always latest result in these scenarios:
- [sle-15-SP1-Installer-DVD-ppc64le-create_hdd_pcm_azure@ppc64le:latest](https://openqa.suse.de/tests/latest?distri=sle&flavor=Installer-DVD&arch=ppc64le&machine=ppc64le&version=15-SP1&test=create_hdd_pcm_azure)
- [sle-12-SP4-Server-DVD-x86_64-RAID1@64bit:bootloader](https://openqa.suse.de/tests/latest?version=12-SP4&machine=64bit&arch=x86_64&test=RAID1&distri=sle&flavor=Server-DVD)
## Workaround
Retrigger tests