openSUSE Project Management Tool: Issueshttps://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842023-06-09T04:51:18ZopenSUSE Project Management Tool
Redmine qe-yam - action #130573 (New): Adapt base class for agama test to be more generichttps://progress.opensuse.org/issues/1305732023-06-09T04:51:18Zcoolgwwegao@suse.com
<a name="Motivation"></a>
<h4 >Motivation<a href="#Motivation" class="wiki-anchor">¶</a></h4>
<p>Current lib/yam/agama/agama_base.pm we use for auto-installation includes few things we don't need.<br>
We should update agama_base.pm to more generic base class which can be used by other modules such as patch_agama etc..</p>
<a name="Acceptance-criteria"></a>
<h4 >Acceptance criteria<a href="#Acceptance-criteria" class="wiki-anchor">¶</a></h4>
<p><strong>AC1</strong>: Generilize agama_base and consider how or where to use the specific parts.</p>
<a name="Additional-information"></a>
<h4 >Additional information<a href="#Additional-information" class="wiki-anchor">¶</a></h4>
<p>Try not create more than one level of inheritance there and consider to use libraries, the inheritance is nice to use to not include in the test layer things unrelated with tests but we should avoid to have too many parent class or we would end up as the current hierarchy for sle test.<br>
<a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17228" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17228</a></p>
openQA Project - action #127568 (New): Openqa log can not show detail syntax errorhttps://progress.opensuse.org/issues/1275682023-04-13T02:32:20Zcoolgwwegao@suse.com
<p>Openqa can not show detail compile error <br>
If you check <a href="https://openqa.suse.de/tests/10911002" class="external">https://openqa.suse.de/tests/10911002</a></p>
<p>ONLY show following error<br>
"Reason: tests died: unable to load main.pm, check the log for the cause (e.g. syntax error)"</p>
<p>Actually i need following error which currently show in github CI:<br>
Global symbol "%args" requires explicit package name (did you forget to declare "my %args"?) at lib/Installation/ProductSelection/ProductSelectionController.pm line 41.</p>
openQA Infrastructure - action #121507 (New): Iscsi issue on OSD worker https://progress.opensuse.org/issues/1215072022-12-06T07:29:51Zcoolgwwegao@suse.com
<p>This ticket used for tracking fix progress on worker ibft issue.</p>
<p>After trying following actions we still encounter issue popup on iscsi.<br>
1)Try to use ip instead of url on sanhook parameter<br>
<a href="https://github.com/os-autoinst/os-autoinst/pull/2219" class="external">https://github.com/os-autoinst/os-autoinst/pull/2219</a><br>
2)Base <a href="https://openqa.suse.de/tests/overview?distri=sle&version=15-SP5&build=wegao_iscis_investigation_use_ip_url" class="external">https://openqa.suse.de/tests/overview?distri=sle&version=15-SP5&build=wegao_iscis_investigation_use_ip_url</a> , we found ONLY worker3 has issue on ibft, so disable worker3 ibft test temporarily until someone can investigate further and fix the problem eventually.<br>
MR for remove worker3 ibft test<br>
<a href="https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/472#note_454772" class="external">https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/472#note_454772</a></p>
<p>NOTE: we also try to use external iscsi server instead of OSD tgt server and below result show good.<br>
<a href="https://openqa.suse.de/tests/overview?distri=sle&version=15-SP5&build=wegao_iscis_investigation_private_server_openqa_salt_command" class="external">https://openqa.suse.de/tests/overview?distri=sle&version=15-SP5&build=wegao_iscis_investigation_private_server_openqa_salt_command</a></p>
qe-yam - action #119170 (New): Upload correct log /var/log/zypper.solverTestCase and the /var/log...https://progress.opensuse.org/issues/1191702022-10-21T09:49:41Zcoolgwwegao@suse.com
<a name="Motivation"></a>
<h4 >Motivation<a href="#Motivation" class="wiki-anchor">¶</a></h4>
<p>According to the <a href="https://bugzilla.suse.com/show_bug.cgi?id=1204572" class="external">bug</a> we might need some new test module to enable the debugging and only upload the log on that case.<br>
But first we will need to think about refactoring those patching modules.</p>
<p>upload correct log /var/log/zypper.solverTestCase and the /var/log/zypper.log after patch_sle failed</p>
<p>base <a href="https://openqa.suse.de/tests/9759142#step/zypper_patch/20" class="external">https://openqa.suse.de/tests/9759142#step/zypper_patch/20</a> result, we can not get zypper log</p>
<a name="Acceptance-criteria"></a>
<h4 >Acceptance criteria<a href="#Acceptance-criteria" class="wiki-anchor">¶</a></h4>
<p><strong>AC1</strong>: /var/log/zypper.solverTestCase and the /var/log/zypper.log should be upload if patch_sle failed</p>
<p>*NOTE:<br>
following function used to collect info: upload_solvertestcase_logs</p>
openQA Tests - action #104358 (In Progress): [sle][migration][backlog]test fails in check_upgrade...https://progress.opensuse.org/issues/1043582021-12-27T01:54:46Zcoolgwwegao@suse.com
<a name="Observation"></a>
<h2 >Observation<a href="#Observation" class="wiki-anchor">¶</a></h2>
<p>openQA test in scenario sle-15-SP4-Regression-on-Migration-from-SLE12-SPx-s390x-offline_sles12sp4_ltss_pscc_sdk-asmm-contm-lgm-tcm-wsm_all_full@s390x-kvm-sle12 fails in<br>
<a href="https://openqa.nue.suse.com/tests/7900515/modules/check_upgraded_service/steps/64" class="external">check_upgraded_service</a></p>
<a name="Test-suite-description"></a>
<h2 >Test suite description<a href="#Test-suite-description" class="wiki-anchor">¶</a></h2>
<a name="Reproducible"></a>
<h2 >Reproducible<a href="#Reproducible" class="wiki-anchor">¶</a></h2>
<p>Fails since (at least) Build <a href="https://openqa.nue.suse.com/tests/7888695" class="external">77.1</a></p>
<a name="Expected-result"></a>
<h2 >Expected result<a href="#Expected-result" class="wiki-anchor">¶</a></h2>
<p>Last good: <a href="https://openqa.nue.suse.com/tests/7863534" class="external">74.1</a> (or more recent)</p>
<a name="Further-details"></a>
<h2 >Further details<a href="#Further-details" class="wiki-anchor">¶</a></h2>
<p>Always latest result in this scenario: <a href="https://openqa.nue.suse.com/tests/latest?arch=s390x&distri=sle&flavor=Regression-on-Migration-from-SLE12-SPx&machine=s390x-kvm-sle12&test=offline_sles12sp4_ltss_pscc_sdk-asmm-contm-lgm-tcm-wsm_all_full&version=15-SP4" class="external">latest</a></p>
openQA Tests - action #93991 (New): [sle][Migration][backlog] investigate service check another s...https://progress.opensuse.org/issues/939912021-06-15T01:40:00Zcoolgwwegao@suse.com
<p>This ticket used for investigate following items:<br>
1)Is that possible call autoinst::loadtest dynamic, insert module during case running.<br>
2)This solution can work or not in openqa.</p>
openQA Tests - action #90572 (Blocked): [sle][migration][backlog] tracking 1183405 L3: Delayed ou...https://progress.opensuse.org/issues/905722021-04-01T02:14:33Zcoolgwwegao@suse.com
<p>This ticket used for tracking 1183405, to check whether any action point can be done from migration team view.</p>
openQA Tests - action #70168 (Blocked): [SLE][Migration][backlog]: sssd.pm integrate into service...https://progress.opensuse.org/issues/701682020-08-18T08:18:35Zcoolgwwegao@suse.comopenQA Tests - action #68563 (Blocked): [SLE][Migration][backlog]: check wheter ldap can be integ...https://progress.opensuse.org/issues/685632020-07-02T03:35:54Zcoolgwwegao@suse.comopenQA Project - action #67558 (Resolved): testapi::wait_serial: can not get correct msg with pvm...https://progress.opensuse.org/issues/675582020-06-02T06:22:36Zcoolgwwegao@suse.com
<p>This issue happen on pvm_hmc backend:<br>
<a href="http://openqa.nue.suse.com/tests/4288223#step/zypper_migration/2">http://openqa.nue.suse.com/tests/4288223#step/zypper_migration/2</a><br>
Base <a href="http://openqa.nue.suse.com/tests/4288223/file/autoinst-log.txt">http://openqa.nue.suse.com/tests/4288223/file/autoinst-log.txt</a>, when execute "script_output("zypper migration", proceed_on_failure => 1)", you will get "[32m[2020-05-27T12:11:37.959 CEST] [debug] >>> testapi::wait_serial: SCRIPT_FINISHEDt3nSs-\d+-: fail" error msg.</p>
<p>But when you open <a href="http://openqa.nue.suse.com/tests/4288223/file/serial0.txt">http://openqa.nue.suse.com/tests/4288223/file/serial0.txt</a> you already can see string "SCRIPT_FINISHEDt3nSs" output from serial log file.</p>
<p>So i suspect the wait_serial function in os-autoinst/backend/baseclass.pm:829 has something wrong, maybe can not handle some specific string triggered from new backend pvm_hmc. </p>
<p>HEI4V-0-<br>
cDJHr-0-<br>
rci3z-0-<br>
2vdJ6-0-<br>
HxwnK-0-<br>
Z2Aej-0-<br>
mkfifo: cannot create fifo '/dev/sshserial': File exists<br>
LVZ8_<br>
rollback-helper-1.0+git20181218.5394d6e-4.3.1.noarch<br>
yast2-migration-4.1.2-7.3.2.noarch<br>
zypper-migration-plugin-0.12.1580220831.7102be8-6.4.1.noarch<br>
SCRIPT_FINISHEDLVZ8_-0-<br>
INwHk-0-<br>
t3nSs</p>
<p>Executing 'zypper patch-check --updatestack-only'</p>
<p>Refreshing service 'Basesystem_Module_15_SP1_ppc64le'.<br>
Refreshing service 'SUSE_Linux_Enterprise_Server_15_SP1_ppc64le'.<br>
Refreshing service 'Server_Applications_Module_15_SP1_ppc64le'.<br>
Loading repository data...<br>
Reading installed packages...</p>
<p>0 patches needed (0 security patches)</p>
<p>Executing 'zypper refresh'</p>
<p>Repository 'SLE-Module-Basesystem15-SP1-Pool' is up to date.<br>
Repository 'SLE-Module-Basesystem15-SP1-Updates' is up to date.<br>
Repository 'SLES15-SP1-15.1-0' is up to date.<br>
Repository 'SLE-Product-SLES15-SP1-Pool' is up to date.<br>
Repository 'SLE-Product-SLES15-SP1-Updates' is up to date.<br>
Repository 'SLE-Module-Server-Applications15-SP1-Pool' is up to date.<br>
Repository 'SLE-Module-Server-Applications15-SP1-Updates' is up to date.<br>
All repositories have been refreshed.<br>
Available migrations:</p>
<pre><code>1 | SUSE Linux Enterprise Server 15 SP2 ppc64le
Basesystem Module 15 SP2 ppc64le
Python 2 Module 15 SP2 ppc64le
Server Applications Module 15 SP2 ppc64le
</code></pre>
<p>[num/q]: [num/q]: [num/q]: [num/q]: <br>
Standard input seems to be closed, please use '--non-interactive' option<br>
SCRIPT_FINISHEDt3nSs-1- <================== this already show "SCRIPT_FINISHEDt3nSs"<br>
GEhX~<br>
SCRIPT_FINISHEDGEhX~-1-</p>
openQA Project - action #61019 (Resolved): new needle can not download during development modehttps://progress.opensuse.org/issues/610192019-12-13T03:35:09Zcoolgwwegao@suse.com
<p>Step:<br>
1) open development mode <br>
2) after assert specific screen timeout, then open needle edit, add new needle accept_license-license-agreement-s390-11sp4-20191213<br>
3) back to develpment mode and resume the test, but error report show needle_dir not exist and download for new needle failed</p>
<p>Detail log you can check:<br>
<a href="https://openqa.suse.de/tests/3702259/file/autoinst-log.txt" class="external">https://openqa.suse.de/tests/3702259/file/autoinst-log.txt</a></p>
<p>[2019-12-13T04:08:17.179 CET] [debug] isotovideo: pausing test execution on timeout as requested at installation-accept_license<br>
[2019-12-13T04:11:51.348 CET] [debug] isotovideo: test execution will be resumed<br>
Use of uninitialized value $needle_dir in concatenation (.) or string at /usr/lib/os-autoinst/OpenQA/Isotovideo/NeedleDownloader.pm line 76.<br>
Use of uninitialized value $needle_dir in concatenation (.) or string at /usr/lib/os-autoinst/OpenQA/Isotovideo/NeedleDownloader.pm line 76.<br>
[2019-12-13T04:11:51.353 CET] [debug] download new needle: <a href="http://openqa.suse.de/needles/18687/json" class="external">http://openqa.suse.de/needles/18687/json</a> => /accept_license-license-agreement-s390-11sp4-20191213.json<br>
[2019-12-13T04:11:51.381 CET] [debug] unable to store download under /accept_license-license-agreement-s390-11sp4-20191213.json<br>
[2019-12-13T04:11:51.381 CET] [debug] download new needle: <a href="http://openqa.suse.de/needles/18687/image" class="external">http://openqa.suse.de/needles/18687/image</a> => /accept_license-license-agreement-s390-11sp4-20191213.png<br>
[2019-12-13T04:11:51.403 CET] [debug] unable to store download under /accept_license-license-agreement-s390-11sp4-20191213.png<br>
[2019-12-13T04:11:51.498 CET] [debug] init needles from /var/lib/openqa/cache/openqa.suse.de/tests/sle/products/sle/needles<br>
[2019-12-13T04:11:53.331 CET] [debug] loaded 10361 needles<br>
[2019-12-13T04:11:53.816 CET] [debug] no match: 29.9s, best candidate: accept_license-license-agreement--20190510 (0.00)<br>
[2019-12-13T04:11:54.797 CET] [debug] no change: 28.9s<br>
[2019-12-13T04:11:55.794 CET] [debug] no change: 27.9s<br>
[2019-12-13T04:11:56.798 CET] [debug] no change: 26.9s</p>
openQA Project - action #60371 (Resolved): Fix variable precedence and predence overriding in job...https://progress.opensuse.org/issues/603712019-11-28T02:37:27Zcoolgwwegao@suse.com
<a name="Motivation"></a>
<h2 >Motivation<a href="#Motivation" class="wiki-anchor">¶</a></h2>
<p>Base on the <a href="http://open.qa/docs/#_variable_precedence" class="external">http://open.qa/docs/#_variable_precedence</a> it is possible to use a plus prefix in front of a variable name to override precedence which is currently not support in job template YAML documents nor does the job template seem to have higher precedence</p>
<a name="Suggestions"></a>
<h2 >Suggestions<a href="#Suggestions" class="wiki-anchor">¶</a></h2>
<ul>
<li>Make sure the variables in job templates have highest predence</li>
<li>Allow to prefix values with + in YAML job templates</li>
<li>Ensure predence overriding works in YAML job templates</li>
</ul>
openQA Project - action #58625 (Resolved): add new medium faild if you first search itemhttps://progress.opensuse.org/issues/586252019-10-24T04:57:42Zcoolgwwegao@suse.com
<p>1) go <a href="https://openqa.suse.de/admin/products" class="external">https://openqa.suse.de/admin/products</a> page<br>
2) put some string in search input box, such as "wegao"<br>
3) click New medium button, then you will find error happen (see attachment pic)</p>
openQA Project - action #58490 (Resolved): 400 bad request error msg popup after load_templates -...https://progress.opensuse.org/issues/584902019-10-22T07:06:23Zcoolgwwegao@suse.com
<p>Try to do update operation but 400 back.</p>
<pre><code>linux-4360:/usr/share/openqa/script # ./dump_templates --host localhost --group "cc" --json --full >bb.json
linux-4360:/usr/share/openqa/script # ./load_templates bb.json --update
{
JobGroups => [
{
group_name => "cc",
template => "defaults:\n x86_64:\n machine: 64bit\n priority: 50\nproducts:\n aa-aa-Server-DVD-x86_64:\n distri: aa\n flavor: Server-DVD\n version: aa\nscenarios:\n x86_64:\n aa-aa-Server-DVD-x86_64:\n - '1'\n",
},
],
JobTemplates => [
{
group_name => "cc",
machine => { name => "64bit" },
prio => 50,
product => {
arch => "x86_64",
distri => "aa",
flavor => "Server-DVD",
group => "aa-aa-Server-DVD",
version => "aa",
},
test_suite => { name => 1 },
},
],
Machines => [
{
backend => "qemu",
name => "64bit",
settings => [
{ key => "HDDSIZEGB", value => 20 },
{ key => "QEMUCPU", value => "qemu64" },
{ key => "VIRTIO_CONSOLE", value => 1 },
{ key => "WORKER_CLASS", value => "qemu_x86_64" },
],
},
],
Products => [
{
arch => "x86_64",
distri => "aa",
flavor => "Server-DVD",
settings => [],
version => "aa",
},
],
TestSuites => [{ name => 1, settings => [] }],
}
ERROR: 400 - Bad Request
{
error => [
"Job template name '1' with aa-aa-Server-DVD-x86_64 and 64bit is already used in job group 'cc'",
],
error_status => 400,
id => 3,
}
{
JobGroups => { added => 0, of => 1 },
JobTemplates => { added => 0, of => 1 },
Machines => { added => 1, of => 1 },
Products => { added => 1, of => 1 },
TestSuites => { added => 1, of => 1 },
}
</code></pre> openQA Project - action #48452 (Resolved): needledir not found after run openqa-clone-custom-git-...https://progress.opensuse.org/issues/484522019-02-27T08:36:35Zcoolgwwegao@suse.com
<p>Reproduce step:</p>
<pre><code>linux-4360:/home/suse/test # /usr/share/openqa/script/openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6650 http://openqa.suse.de/tests/2500366
Created job #2500418: sle-15-SP1-Installer-DVD-POST-x86_64-Buildpoo2495012_investigation-gaow_poo2495012_010@64bit -> http://openqa.suse.de/t2500418
</code></pre>
<p>If you check the autoinst log, you can find some error happen:</p>
<pre><code>[2019-02-27T04:02:25.687 CET] [debug] QEMU: QEMU emulator version 2.9.1(openSUSE Leap 42.3)
[2019-02-27T04:02:25.687 CET] [debug] QEMU: Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
[2019-02-27T04:02:25.692 CET] [debug] Snapshots are supported
[2019-02-27T04:02:25.695 CET] [debug] ||| starting version_switch_origin_system tests/migration/version_switch_origin_system.pm
[2019-02-27T04:02:26.532 CET] [debug] Backend process died, backend errors are reported below in the following lines:
needledir not found: os-autoinst-distri-opensuse/products/sle/needles/ (check vars.json?) at /usr/lib/os-autoinst/needle.pm line 278. <=== error
[2019-02-27T04:02:26.532 CET] [info] ::: OpenQA::Qemu::Proc::save_state: Saving QEMU state to qemu_state.json
last frame
[2019-02-27T04:02:28.644 CET] [info] ::: OpenQA::Qemu::Proc::save_state: Saving QEMU state to qemu_state.json
[2019-02-27T04:02:28.645 CET] [debug] QEMU: qemu-system-x86_64: terminating on signal 15 from pid 12581 (/usr/bin/isotovideo: backen)
[2019-02-27T04:02:28.645 CET] [debug] sending magic and exit
[2019-02-27T04:02:28.646 CET] [debug] received magic close
[2019-02-27T04:02:28.646 CET] [debug] THERE IS NOTHING TO READ 15 4 3
[2019-02-27T04:02:28.654 CET] [debug] backend process exited: 0
[2019-02-27T04:02:28.658 CET] [debug] commands process exited: 0
[2019-02-27T04:02:29.659 CET] [debug] sysread failed:
[2019-02-27T04:02:29.659 CET] [debug] /var/lib/openqa/pool/1/os-autoinst-distri-opensuse/tests/migration/version_switch_origin_system.pm:39 called testapi::record_info
[2019-02-27T04:02:29.659 CET] [debug] <<< testapi::record_info(title='Version', output='VERSION=15', result='ok')
[2019-02-27T04:02:29.660 CET] [debug] /var/lib/openqa/pool/1/os-autoinst-distri-opensuse/tests/migration/version_switch_origin_system.pm:40 called migration::reset_consoles_tty
[2019-02-27T04:02:29.660 CET] [debug] <<< testapi::console(testapi_console='x11')
[2019-02-27T04:02:29.661 CET] [debug] /var/lib/openqa/pool/1/os-autoinst-distri-opensuse/tests/migration/version_switch_origin_system.pm:40 called migration::reset_consoles_tty
[2019-02-27T04:02:29.661 CET] [debug] <<< backend::console_proxy::__ANON__(wrapped_call={
'console' => 'x11',
'args' => [
2
],
'function' => 'set_tty'
})
[2019-02-27T04:02:29.664 CET] [debug] syswrite failed Broken pipe at /usr/lib/os-autoinst/myjsonrpc.pm line 40. <=== error
myjsonrpc::send_json('GLOB(0x6d982a0)', 'HASH(0x6f3fe70)') called at /usr/lib/os-autoinst/autotest.pm line 313
autotest::query_isotovideo('backend_last_screenshot_data') called at /usr/lib/os-autoinst/basetest.pm line 521
basetest::_result_add_screenshot('version_switch_origin_system=HASH(0x60b6a38)', 'HASH(0x6f3ff00)') called at /usr/lib/os-autoinst/basetest.pm line 357
basetest::runtest('version_switch_origin_system=HASH(0x60b6a38)') called at /usr/lib/os-autoinst/autotest.pm line 357
eval {...} called at /usr/lib/os-autoinst/autotest.pm line 357
autotest::runalltests() called at /usr/lib/os-autoinst/autotest.pm line 214
eval {...} called at /usr/lib/os-autoinst/autotest.pm line 214
autotest::run_all() called at /usr/lib/os-autoinst/autotest.pm line 267
autotest::__ANON__('Mojo::IOLoop::ReadWriteProcess=HASH(0x6d408e8)') called at /usr/lib/perl5/vendor_perl/5.18.2/Mojo/IOLoop/ReadWriteProcess.pm line 325
eval {...} called at /usr/lib/perl5/vendor_perl/5.18.2/Mojo/IOLoop/ReadWriteProcess.pm line 325
Mojo::IOLoop::ReadWriteProcess::_fork('Mojo::IOLoop::ReadWriteProcess=HASH(0x6d408e8)', 'CODE(0x6daa8e0)') called at /usr/lib/perl5/vendor_perl/5.18.2/Mojo/IOLoop/ReadWriteProcess.pm line 476
Mojo::IOLoop::ReadWriteProcess::start('Mojo::IOLoop::ReadWriteProcess=HASH(0x6d408e8)') called at /usr/lib/os-autoinst/autotest.pm line 268
autotest::start_process() called at /usr/bin/isotovideo line 251
</code></pre>