openSUSE Project Management Tool: Issueshttps://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842020-08-07T10:15:47ZopenSUSE Project Management Tool
Redmine openQA Project - action #69700 (New): Predefined QEMU hardware profiles in os-autoinsthttps://progress.opensuse.org/issues/697002020-08-07T10:15:47ZMDouchamartin.doucha@suse.com
<p>We've recently had a <a href="https://bugzilla.suse.com/show_bug.cgi?id=1174887" class="external">regression</a> that made our kernels unbootable in QEMU VMs created in virt-manager. The regression was missed by OpenQA tests because os-autoinst uses VMs with minimal hardware configuration which didn't trigger the bug.</p>
<p>We should define multiple QEMU hardware profiles (named sets of extra device options for QEMU) which can then be selected through job settings. The hardware profiles don't need to cover every possible combination of devices, it'll be enough if each device model appears in them at least once. One of the profiles should be as close to virt-manager defaults as possible. Then it'll be sufficient to boot the existing LTP jobs on different hardware profiles. We don't need any extra tests beyond checking that the kernel is bootable.</p>
<p>Example profile that would trigger the regression:</p>
<pre><code>-machine pc-q35-4.2,accel=kvm,usb=off,vmport=off,dump-guest-core=off
-device pcie-root-port,port=0x10,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2
-device pcie-root-port,port=0x11,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1
-device pcie-pci-bridge,id=pci.9,bus=pci.2,addr=0x0
</code></pre> openQA Project - action #67429 (New): Raw text console capabilityhttps://progress.opensuse.org/issues/674292020-05-28T16:28:29Zlivdywanliv.dywan@suse.com
<ul>
<li>Replace <code>is_serial_terminal</code> in favor of <code>direct_write_text</code>.</li>
</ul>
<p>This is the console analogue of <a class="issue tracker-4 status-1 priority-3 priority-lowest child" title="action: Raw text backend capability (New)" href="https://progress.opensuse.org/issues/67426">#67426</a>.</p>
openQA Project - action #67426 (New): Raw text backend capabilityhttps://progress.opensuse.org/issues/674262020-05-28T16:26:07Zlivdywanliv.dywan@suse.com
<ul>
<li>Move <code>select_serial_terminal</code> logic into each backend subclass</li>
</ul>
openQA Project - action #67423 (New): Persistent console backend capabilityhttps://progress.opensuse.org/issues/674232020-05-28T16:24:16Zlivdywanliv.dywan@suse.com
<ul>
<li>Replace <code>s390x</code> and <code>is_pvm</code> checks which guard ssh console/ reboot availability (via <code>keepconsole => 1</code>).</li>
<li>Remove redundant checks for the backend in favor of relying on the backend itself.</li>
</ul>
<p>This is the backend capability analoguous to <a class="issue tracker-4 status-1 priority-3 priority-lowest child" title="action: Persistent console console capability (New)" href="https://progress.opensuse.org/issues/67420">#67420</a>.</p>
openQA Project - action #67420 (New): Persistent console console capabilityhttps://progress.opensuse.org/issues/674202020-05-28T16:22:11Zlivdywanliv.dywan@suse.com
<ul>
<li>Replace <code>persistent => 1</code> in add_console (via <code>%backend_args</code>)</li>
</ul>
openQA Project - action #67417 (New): Remote backend capabilityhttps://progress.opensuse.org/issues/674172020-05-28T16:21:24Zlivdywanliv.dywan@suse.com
<ul>
<li>Replace <code>is_remote_backend</code> in favor of "remote" capability in each subclass</li>
<li>Replace <code>has_ttys</code> where it serves the same purpose</li>
</ul>