action #34897
closed[sle][functional][y][hard] smt test fails due to command 'smt-sync' times out
0%
Description
smt-sync hangs on "Downloading Subscription information". Downloading Product & Repo information seems to pass without any visible problem.
Similar issue happened several months ago https://openqa.suse.de/tests/1394785#step/smt/21.
Observation¶
openQA test in scenario sle-12-SP4-Server-DVD-x86_64-smt@64bit fails in
smt
Reproducible¶
Fails since (at least) Build 0236 (current job)
Expected result¶
Last good: 0235 (or more recent)
Further details¶
Always latest result in this scenario: latest
Files
Updated by okurz almost 6 years ago
- Subject changed from [sle][functional] smt test fails due to command 'smt-sync' times out to [sle][functional][y] smt test fails due to command 'smt-sync' times out
- Due date set to 2018-06-05
- Target version set to Milestone 16
Updated by okurz almost 6 years ago
This is an autogenerated message for openQA integration by the openqa_review script:
This bug is still referenced in a failing openQA test: smt
https://openqa.suse.de/tests/1683200
Updated by riafarov almost 6 years ago
- Subject changed from [sle][functional][y] smt test fails due to command 'smt-sync' times out to [sle][functional][y][sporadic] smt test fails due to command 'smt-sync' times out
- Status changed from New to Workable
Updated by zluo almost 6 years ago
- Status changed from Workable to In Progress
- Assignee set to zluo
take over
Updated by zluo almost 6 years ago
found:
# Test died: smt wizard failed at /var/lib/openqa/cache/e13.suse.de/tests/sle/lib/repo_tools.pm line 62.
wait_serial("yast2-smt-wizard-0", 400) || die 'smt wizard failed';
Updated by zluo almost 6 years ago
found:
# Test died: smt wizard failed at /var/lib/openqa/cache/e13.suse.de/tests/sle/lib/repo_tools.pm line 62.
wait_serial("yast2-smt-wizard-0", 400) || die 'smt wizard failed';
Updated by zluo almost 6 years ago
http://e13.suse.de/tests/2530#step/smt/23
shows problem with fetching subscription data.
compared with successful test run, it doesn't effect further progress:
http://e13.suse.de/tests/2529#step/smt/21
--
http://e13.suse.de/tests/2530#step/smt/23
I see 'pos' command on screen which reflects a problem for typing smt-repos ?
Updated by zluo almost 6 years ago
the problem is Running synchronization check. It just stucks.
Updated by zluo almost 6 years ago
repo_tools.pm
wait_serial("yast2-smt-wizard-0", 400) || die 'smt wizard failed';
doesn't work in this case.
Updated by zluo almost 6 years ago
in addition timeout issue because bad network connection, for this I increase timout to 800 or 900 for try.
Updated by zluo almost 6 years ago
- File smt-sync.png smt-sync.png added
I found that a pop up shows up if smt-sync script failed, that might explain why test died. Need here workaround, the problem that we don't have a chance to see this pop up after test run....
enable screenshot here at first.
Updated by zluo almost 6 years ago
- File shell-init.png shell-init.png added
disable systemd timers, check type_string "yast2 smt-wizard;echo yast2-smt-wizard-\$? > /dev/$serialdev\n" is correctly executed. But I found shell-init issue. see screenshot for this.
Updated by zluo almost 6 years ago
http://e13.suse.de/tests/2590#step/smt/24
just for record, wait_serial successful... but later failed for smt-sync...
Updated by zluo almost 6 years ago
The problems are not sporadic. we have different issues with smt-wizard (wait_serial), smt-sync (failure: performance, systemd timers screensaver etc), smt-repos (failure or timeout).
Updated by zluo almost 6 years ago
successful test run:
Updated by zluo almost 6 years ago
after long time investigation, we found that this problem is related to connection to smt. subscription data cannot be fetched sometimes. So for this kind of issue I can provide softfaill atm.
Updated by riafarov almost 6 years ago
- Due date changed from 2018-06-05 to 2018-06-19
Updated by riafarov almost 6 years ago
- Target version changed from Milestone 16 to Milestone 17
Updated by zluo almost 6 years ago
- Subject changed from [sle][functional][y][sporadic] smt test fails due to command 'smt-sync' times out to [sle][functional][y] smt test fails due to command 'smt-sync' times out
Changes:
smt.pm
assert_script_run "dbus-launch gsettings set org.gnome.desktop.session idle-delay 0"; works without errors.
repo_tools.pm
wait_serial("yast2-smt-wizard-0", 800) || record_soft_failure 'smt wizard failed because of connection issue, poo#34897';
At moment I don't see a way to fix the issue on openqa side directly. Both scripts 'smt-sync', 'smt-repos' works in general. So I cannot file a bug against them.
Updated by mgriessmeier almost 6 years ago
- Subject changed from [sle][functional][y] smt test fails due to command 'smt-sync' times out to [sle][functional][y][hard] smt test fails due to command 'smt-sync' times out
Updated by zluo almost 6 years ago
using credential for openQA solves the smt-sync timeout issue.
PR:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5178
Updated by okurz almost 6 years ago
- Target version changed from Milestone 17 to Milestone 17