Project

General

Profile

Actions

action #54857

closed

[functiona][u][sporadic] test fails in apache_ssl: generating RSA key takes too long on arm

Added by dheidler over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2019-07-30
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-12-SP5-Server-DVD-aarch64-textmode+proxy_SCC@aarch64 fails in
apache_ssl

Test suite description

jpupava: Also test invalid SCC URL https://trello.com/c/N09TRZxX/968-3-don-t-crash-on-invalid-regurl-on-linuxrc-commandline

Reproducible

Fails since (at least) Build 0251 (current job)

Expected result

Last good: 0248 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by SLindoMansilla over 4 years ago

  • Priority changed from Normal to High
Actions #2

Updated by okurz over 4 years ago

I suspect it's a product bug. E.g. a passed job
https://openqa.suse.de/tests/3495649/file/autoinst-log.txt shows

[2019-10-19T19:48:36.397 UTC] [debug] <<< testapi::assert_script_run(cmd='gensslcert -n $(hostname) -C $(hostname) -e webmaster@$(hostname)', fail_message='', timeout=900, quiet=undef)
[2019-10-19T19:48:36.398 UTC] [debug] /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/console/apache_ssl.pm:22 called apachetest::setup_apache2
[2019-10-19T19:48:36.398 UTC] [debug] <<< testapi::type_string(string='gensslcert -n $(hostname) -C $(hostname) -e webmaster@$(hostname)', max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2019-10-19T19:48:38.049 UTC] [debug] /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/console/apache_ssl.pm:22 called apachetest::setup_apache2
[2019-10-19T19:48:38.050 UTC] [debug] <<< testapi::type_string(string='; echo HChZq-$?- > /dev/ttyAMA0
', max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2019-10-19T19:48:38.881 UTC] [debug] /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/console/apache_ssl.pm:22 called apachetest::setup_apache2
[2019-10-19T19:48:38.882 UTC] [debug] <<< testapi::wait_serial(quiet=undef, buffer_size=undef, regexp=qr/HChZq-\d+-/, no_regex=0, record_output=undef, expect_not_found=0, timeout=900)
[2019-10-19T19:49:04.222 UTC] [debug] >>> testapi::wait_serial: (?^:HChZq-\d+-): ok

so less than a minute to finish.

The last failed job https://openqa.suse.de/tests/3509235/file/autoinst-log.txt shows

[2019-10-23T07:26:20.138 UTC] [debug] <<< testapi::assert_script_run(cmd='gensslcert -n $(hostname) -C $(hostname) -e webmaster@$(hostname)', fail_message='', quiet=undef, timeout=900)
[2019-10-23T07:26:20.139 UTC] [debug] /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/console/apache_ssl.pm:22 called apachetest::setup_apache2
[2019-10-23T07:26:20.139 UTC] [debug] <<< testapi::type_string(string='gensslcert -n $(hostname) -C $(hostname) -e webmaster@$(hostname)', max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2019-10-23T07:26:21.761 UTC] [debug] /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/console/apache_ssl.pm:22 called apachetest::setup_apache2
[2019-10-23T07:26:21.761 UTC] [debug] <<< testapi::type_string(string='; echo HChZq-$?- > /dev/ttyAMA0
', max_interval=250, wait_screen_changes=0, wait_still_screen=0, timeout=30, similarity_level=47)
[2019-10-23T07:26:22.605 UTC] [debug] /var/lib/openqa/cache/openqa.suse.de/tests/sle/tests/console/apache_ssl.pm:22 called apachetest::setup_apache2
[2019-10-23T07:26:22.606 UTC] [debug] <<< testapi::wait_serial(record_output=undef, buffer_size=undef, no_regex=0, regexp=qr/HChZq-\d+-/, timeout=900, expect_not_found=0, quiet=undef)
[2019-10-23T07:41:24.220 UTC] [debug] >>> testapi::wait_serial: (?^:HChZq-\d+-): fail

so the certificate generation failing after a timeout of 900(!) s and the screenshots show that it's still going on. I recommend to report a product bug rather than drag the ticket around ;)

Actions #3

Updated by SLindoMansilla over 4 years ago

  • Status changed from New to Rejected
Actions #4

Updated by okurz over 4 years ago

  • Status changed from Rejected to New

@SLindoMansilla you might have forgotten that after GM comes the maintenance period – which also pays our bills ;)

I checked if the module has been running in any maintenance tests lately with openqa-db_query_last_use_of_module --openqa-host openqa.suse.de --module apache_ssl | grep aarch64 using https://github.com/okurz/scripts/blob/master/openqa-db_query_last_use_of_module and could not find it in recent maintenance jobs. Maybe this ticket is the reason. Maybe you can just move it over to "[qam]" queue now? If you think different feel free to close again.

Actions #5

Updated by SLindoMansilla over 4 years ago

  • Status changed from New to Rejected

SLE12-SP5 is already GM.

We cannot reproduce this issue in SLE15-SP2:

Actions

Also available in: Atom PDF