Actions
Wiki » History » Revision 1
Revision 1/10
| Next »
jlausuch, 2022-09-05 14:14
SLE Micro Test Cases¶
Basic checks¶
microos/networking.pm¶
Basic network and connectivity check.
- Print network configuration (ip addr show and resolv.conf)
- Ping localhost 127.0.0.1 (IPv4) and ::1 (IPv6)
- Curl to openqa.opensuse.org and github.com
microos/libzypp_config.pm¶
Check that zypper configuration is customized for MicroOS.
- egrep -x "solver.onlyRequires ?= ?true" /etc/zypp/zypp.conf
- egrep -x "rpm.install.excludedocs ?= ?yes" /etc/zypp/zypp.conf
- egrep -x "multiversion ?=" /etc/zypp/zypp.conf
microos/image_checks.pm¶
Simple image specific checks:
- Verify that openQA resized the disk image
- Verify that there is no unpartitioned space left
- Verify that the filesystem mounted at /var grew beyond the default 5GiB
- Verify that combustion ran
microos/one_line_checks.pm¶
Simple checks after installation.
- Check that snapper is configured (snapper list)
- Subvolume check (btrfs subvolume show /var)
- kubectl is not installable if SYSTEM_ROLE=microos (only openSUSE MicroOS)
- crio should be installed if SYSTEM_ROLE=kubeadm (only openSUSE MicroOS)
microos/services_enabled.pm¶
Check that services are enables based on system role
The following services should be enabled by default:
- issue-add-ssh-keys
- issue-generator
- transactional-update.timer
- sshd On other system roles (MicroOS only), other services might be checked to be enabled.
microos/cockpit_service.pm¶
Basic check for cockpit service.
- Install
cockpit
package if not installed - Install
cockpit-networkmanager
package if the system is running network-manager. - Install
cockpit-wicked
package if the system is running wicked. - Install
cockpit-machines
andcockpit-tukit
if packages are available. - Enable and start
cockpit.socket service
and check that Cockpit is active and accessible on http://localhost:9090 - Test Cockpit service survives a reboot (it's active automatically after rebooting)
Specific transactional system tests¶
transactional/trup_smoke.pm¶
TBD
transactional/filesystem_ro.pm¶
TBD
transactional/transactional_update.pm¶
TBD
transactional/rebootmgr.pm¶
TBD
transactional/health_check.pm¶
TBD
Updated by jlausuch over 2 years ago · 1 revisions