action #32458
closed[functional][hyperv][hard][u] test fails in consoletest_setup - switch from X11 to VT is not supported
0%
Description
Updated by zluo almost 7 years ago
- Subject changed from test fails in consoletest_setup - "text log in root" seems to be not working to test fails in consoletest_setup - "text logged in root" seems to be not working
Updated by zluo almost 7 years ago
we have this issue already for quite long time. Need to investigate why this is not working.
Updated by zluo almost 7 years ago
- Subject changed from test fails in consoletest_setup - "text logged in root" seems to be not working to [sles 15][functional] test fails in consoletest_setup - "text logged in root" seems to be not working
Updated by okurz almost 7 years ago
- Subject changed from [sles 15][functional] test fails in consoletest_setup - "text logged in root" seems to be not working to [sles 15][functional][fast] test fails in consoletest_setup - "text logged in root" seems to be not working
- Due date set to 2018-03-13
- Priority changed from Normal to High
- Target version set to Milestone 14
Updated by michalnowak almost 7 years ago
The problem is that switch from X11 to virtual console is not supported on Hyper-V because ctrl
from ctrl-alt-fX
is not being sent thru xfreerdp. We could change to virtual console via chvt
command (I tried that) but it's a bit complicated.
Updated by okurz almost 7 years ago
- Due date changed from 2018-03-13 to 2018-03-27
- Target version changed from Milestone 14 to Milestone 15
Updated by okurz almost 7 years ago
- Status changed from Blocked to Workable
We should use Blocked only with an external reference.
Updated by mgriessmeier almost 7 years ago
- Subject changed from [sles 15][functional][fast] test fails in consoletest_setup - "text logged in root" seems to be not working to [sles 15][functional] test fails in consoletest_setup - "text logged in root" seems to be not working
Updated by zluo almost 7 years ago
- Assignee changed from zluo to michalnowak
Michal, are you still work on this as you mentioned in #6?
I still see same problem at:
http://e13.suse.de/tests/637#step/consoletest_setup/5
Thanks!
Updated by zluo almost 7 years ago
@michalnowak if you have a ticket for this related issue, please let me know. Thanks!
Updated by nicksinger almost 7 years ago
- Subject changed from [sles 15][functional] test fails in consoletest_setup - "text logged in root" seems to be not working to [functional][hyperv][hard] test fails in consoletest_setup - "text logged in root" seems to be not working
Updated by nicksinger almost 7 years ago
- Due date changed from 2018-03-27 to 2018-04-10
- Category changed from Bugs in existing tests to New test
- Start date deleted (
2018-02-28)
Updated by michalnowak almost 7 years ago
- Category changed from New test to Enhancement to existing tests
I do not work on it atm. WIP code is here: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4613. Not sure of a more suitable ticket.
Updated by okurz almost 7 years ago
- Subject changed from [functional][hyperv][hard] test fails in consoletest_setup - "text logged in root" seems to be not working to [functional][hyperv][hard][u] test fails in consoletest_setup - "text logged in root" seems to be not working
Updated by mgriessmeier almost 7 years ago
- Due date changed from 2018-04-10 to 2018-04-24
Updated by mgriessmeier almost 7 years ago
- Due date changed from 2018-04-24 to 2018-05-08
- Target version changed from Milestone 15 to Milestone 16
Updated by mgriessmeier over 6 years ago
- Due date changed from 2018-05-08 to 2018-05-22
Updated by mgriessmeier over 6 years ago
- Due date changed from 2018-05-22 to 2018-06-05
@michal: can you give us an update here?
Updated by michalnowak over 6 years ago
- Subject changed from [functional][hyperv][hard][u] test fails in consoletest_setup - "text logged in root" seems to be not working to [functional][hyperv][hard][u] test fails in consoletest_setup - switch from X11 to VT is not supported
Updated by mgriessmeier over 6 years ago
- Due date changed from 2018-06-05 to 2018-06-19
Updated by okurz over 6 years ago
- Target version changed from Milestone 16 to Milestone 17
we are in M17 by now
Updated by okurz over 6 years ago
- Target version changed from Milestone 17 to Milestone 17
Updated by mgriessmeier over 6 years ago
hey michal - any update on the status here?
Updated by mgriessmeier over 6 years ago
- Due date changed from 2018-06-19 to 2018-07-03
Updated by michalnowak over 6 years ago
- Assignee deleted (
michalnowak)
I replaced 'default' with another test suite in Virtualization-Milestone group so it should not offend in SLE group anywhere anymore, however a proper fix, as https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4613 shows, brings a lot of mess with it.
I am happy for anyone to take this, but for me low prio wrt other virt stuff.
Updated by zluo over 6 years ago
- Status changed from Workable to In Progress
- Assignee set to zluo
take over and try to verify this issue at first...
Updated by zluo over 6 years ago
run test by using latest iso image (GMC2): http://e13.suse.de/tests/5480
Updated by zluo over 6 years ago
the problem atm seems to be at welcome page which it takes very long time. after inst_welcome needle it should go further with send_key for "Next" which is properly not working.
Updated by michalnowak over 6 years ago
The job is run with BETA=1
for a GMC2 ISO.
Updated by zluo over 6 years ago
@michal thanks!
I corrected this in setting and re-triggered it, but the test got cancelled. I found in log:
DIE Error connecting to host <openqaw5-xen-1.qa.suse.de>: IO::Socket::INET: connect: Connection timed out
at /usr/lib/os-autoinst/backend/baseclass.pm line 80.
backend::baseclass::die_handler('OpenQA::Exception::VNCSetupError=HASH(0x6229ca0)') called at /usr/lib/perl5/vendor_perl/5.18.2/Exception/Class/Base.pm line 88
Exception::Class::Base::throw('OpenQA::Exception::VNCSetupError', 'error', 'Error connecting to host <openqaw5-xen-1.qa.suse.de>: IO::Soc...') called at /usr/lib/os-autoinst/consoles/VNC.pm line 151
consoles::VNC::login('consoles::VNC=HASH(0x65282a0)') called at /usr/lib/os-autoinst/consoles/VNC.pm line 842
consoles::VNC::send_update_request('consoles::VNC=HASH(0x65282a0)') called at /usr/lib/os-autoinst/consoles/vnc_base.pm line 82
consoles::vnc_base::request_screen_update('consoles::vnc_base=HASH(0x4322fc0)', undef) called at /usr/lib/os-autoinst/backend/baseclass.pm line 587
backend::baseclass::bouncer('backend::svirt=HASH(0x6ebcc78)', 'request_screen_update', undef) called at /usr/lib/os-autoinst/backend/baseclass.pm line 570
backend::baseclass::request_screen_update('backend::svirt=HASH(0x6ebcc78)') called at /usr/lib/os-autoinst/backend/baseclass.pm line 177
eval {...} called at /usr/lib/os-autoinst/backend/baseclass.pm line 156
backend::baseclass::run_capture_loop('backend::svirt=HASH(0x6ebcc78)') called at /usr/lib/os-autoinst/backend/baseclass.pm line 129
backend::baseclass::run('backend::svirt=HASH(0x6ebcc78)', 5, 8) called at /usr/lib/os-autoinst/backend/driver.pm line 85
backend::driver::start('backend::driver=HASH(0x5ed7ff8)') called at /usr/lib/os-autoinst/backend/driver.pm line 48
backend::driver::new('backend::driver', 'svirt') called at /usr/bin/isotovideo line 236
main::init_backend() called at /usr/bin/isotovideo line 305
It seems the network connection is too bad ?
Updated by zluo over 6 years ago
cancelled at welcome test module
Updated by michalnowak over 6 years ago
I am sorry, had to restart the host recently. Please, retrigger.
Updated by zluo over 6 years ago
re-triggered the test.
it fails at: http://e13.suse.de/tests/6007#step/welcome/15
[2018-06-26T12:01:46.0277 CEST] [debug] >>> testapi::_check_backend_response: match=inst-welcome,inst-welcome-confirm-self-update-server,linuxrc-dhcp-question,no-product-found-on-scc,scc-invalid-url timed out after 500
[2018-06-26T12:01:46.0373 CEST] [debug] 200 OK (1.524126s, 0.656/s)
[2018-06-26T12:01:46.0465 CEST] [debug] # Test died: no candidate needle with tag(s) 'inst-welcome-confirm-self-update-server, scc-invalid-url, inst-welcome, no-product-found-on-scc, linuxrc-dhcp-question' matched
[2018-06-26T12:01:46.0466 CEST] [debug] <<< testapi::check_screen(mustmatch=[
'yast-still-running',
'linuxrc-install-fail',
'linuxrc-repo-not-found'
], timeout=5)
Next seems to be not working...
Updated by michalnowak over 6 years ago
I don't see anything Hyper-V specific there. Probably something wrong with your environment, missing variable or something... I see there remnants of build "503.1", so I wonder how you started the job.
Updated by zluo over 6 years ago
I create the job by:
/usr/share/openqa/script/client --host localhost jobs post --params vars.json WORKER_CLASS=svirt-hyperv ISO=SLE-15-Installer-DVD-x86_64-Build668.1-Media1.iso
I replace the build number now but this is not related to the issue with needles match: inst-welcome,inst-welcome-confirm-self-update-server,linuxrc-dhcp-question,no-product-found-on-scc,scc-invalid-url
Updated by zluo over 6 years ago
I removed welcome needles by mistake :(
@michal: I use your PR to test this right now:
https://github.com/Zaoliang/os-autoinst-distri-opensuse/tree/chvt_on_hyperv
test is running: http://e13.suse.de/tests/6009
Updated by zluo over 6 years ago
await_install: it was too slow and it stops at at end: remain: 00:05, 0 packages - 90%
Trying with TIMEOUT_SCALE=3 for another test run:
Updated by zluo over 6 years ago
http://e13.suse.de/tests/6011#step/reboot_after_installation/8 shows that system boot is not coming up. Before this I saw reboot triggered and logs_from_installation_system got skipped:
sub run {
my ($self) = @_;
return if get_var('REMOTE_CONTROLLER') || is_caasp || is_hyperv_in_gui;
@michal, any suggestion to make reboot_after_installation to get passed? I've already set TIMEOUT_SCALE=3 for the test run.
Thanks!
Updated by michalnowak over 6 years ago
You are running an experimental PR which wasn't updated for three months, I am not surprised at all there are problems along the way. In this particular case the post-install countdown wasn't stopped because select_console('installation')
unsuccessfully tried the hack when it should not, so the job end up in grub screen.
Updated by okurz over 6 years ago
- Blocked by action #37907: [sle][functional][hyperv][u] Various test failures on hyperv - stabilize added
Updated by okurz over 6 years ago
- Due date deleted (
2018-07-03) - Category changed from Enhancement to existing tests to New test
- Status changed from In Progress to Blocked
- Assignee changed from zluo to okurz
- Target version changed from Milestone 17 to Milestone 19
Actually I think the assessment by @nicksinger in #32458#note-15 was correct, it's the category "New Test" also according to our definition in https://progress.opensuse.org/projects/openqatests/wiki/#ticket-workflow . I think we got confused here about what is the current state, what to do and what is expected.
I strongly suggest that we update the description here regarding the expected result before we do anything more in regards of touching code. For now I see this blocked by #37907 including the setup of the new hyperv test instance.
Updated by okurz over 6 years ago
- Status changed from Blocked to Workable
- Assignee deleted (
okurz) - Priority changed from High to Normal
Blocker #37907 resolved, we can pick this up e.g. for SLE15SP1 again
Updated by okurz over 6 years ago
- Status changed from Workable to Rejected
- Assignee set to okurz
we don't have gnome@hyperv anymore and I consider it acceptable to not try to add it. textmode and "default" (also not gnome) should be enough of coverage.
Updated by michalnowak over 6 years ago
- Status changed from Rejected to In Progress
- Assignee changed from okurz to michalnowak
Updated by michalnowak over 6 years ago
- Status changed from In Progress to Resolved
Actually implemented via https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/5713. Closing as such.