Hello community, here is the log from the commit of package aytests-tests for openSUSE:Factory checked in at 2018-01-13 21:47:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aytests-tests (Old) and /work/SRC/openSUSE:Factory/.aytests-tests.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aytests-tests" Sat Jan 13 21:47:47 2018 rev:2 rq:563556 version:1.2.12 Changes: -------- --- /work/SRC/openSUSE:Factory/aytests-tests/aytests-tests.changes 2017-12-14 11:03:05.611364865 +0100 +++ /work/SRC/openSUSE:Factory/.aytests-tests.new/aytests-tests.changes 2018-01-13 21:47:48.497625024 +0100 @@ -1,0 +2,14 @@ +Tue Jan 9 07:34:43 UTC 2018 - [email protected] + +- Check firewalld support (fate#323460) and SuSEFirewall2 profiles + backward compatibility. +- 1.2.12 + +------------------------------------------------------------------- +Tue Dec 19 10:29:41 UTC 2017 - [email protected] + +- Check chrony suport (FATE#323432) and disklabel element handling + (bsc#1073307) +- 1.2.11 + +------------------------------------------------------------------- Old: ---- aytests-tests-1.2.10.tar.bz2 New: ---- aytests-tests-1.2.12.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aytests-tests.spec ++++++ --- /var/tmp/diff_new_pack.VUMDVN/_old 2018-01-13 21:47:49.105596680 +0100 +++ /var/tmp/diff_new_pack.VUMDVN/_new 2018-01-13 21:47:49.117596121 +0100 @@ -1,7 +1,7 @@ # # spec file for package aytests-tests # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: aytests-tests -Version: 1.2.10 +Version: 1.2.12 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ aytests-tests-1.2.10.tar.bz2 -> aytests-tests-1.2.12.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/chrony.sh new/aytests-tests-1.2.12/aytests/chrony.sh --- old/aytests-tests-1.2.10/aytests/chrony.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/chrony.sh 2018-01-11 09:51:13.344657920 +0100 @@ -0,0 +1,9 @@ +#!/bin/bash + +set -e -x + +# Check whether the chrony service configured and running (FATE#323432) + +systemctl is-active chronyd +grep "pool cz.pool.ntp.org" /etc/chrony.conf +echo "AUTOYAST OK" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/disklabel-msdos.sh new/aytests-tests-1.2.12/aytests/disklabel-msdos.sh --- old/aytests-tests-1.2.10/aytests/disklabel-msdos.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/disklabel-msdos.sh 2018-01-11 09:51:13.344657920 +0100 @@ -0,0 +1,8 @@ +#!/bin/bash + +set -e -x + +# Check the used partition type (bsc#1073307) + +partprobe --summary --dry-run /dev/vda | grep msdos +echo "AUTOYAST OK" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/firewalld.sh new/aytests-tests-1.2.12/aytests/firewalld.sh --- old/aytests-tests-1.2.10/aytests/firewalld.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/firewalld.sh 2018-01-11 09:51:13.344657920 +0100 @@ -0,0 +1,14 @@ +#!/bin/bash + +set -e -x + +INTERFACES=`firewall-offline-cmd --zone=external --list-interfaces` +SERVICES=`firewall-offline-cmd --zone=external --list-services` +PORTS=`firewall-offline-cmd --zone=external --list-ports` +DEFAULT_ZONE=`firewall-offline-cmd --get-default-zone` + +test "$INTERFACES" == "eth0" +test "$SERVICES" == "ssh dhcp dhcpv6 samba vnc-server" +test "$PORTS" == "21/udp 22/udp 80/tcp 443/tcp 8080/tcp" +test "$DEFAULT_ZONE" == "dmz" +echo "AUTOYAST OK" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/lvm.vars new/aytests-tests-1.2.12/aytests/lvm.vars --- old/aytests-tests-1.2.10/aytests/lvm.vars 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/lvm.vars 2018-01-11 09:51:13.344657920 +0100 @@ -0,0 +1,3 @@ +MSG_TIMEOUT=5 +VERSION=15 +ARCH=x86_64 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/lvm.xml new/aytests-tests-1.2.12/aytests/lvm.xml --- old/aytests-tests-1.2.10/aytests/lvm.xml 2017-10-10 14:22:44.808882171 +0200 +++ new/aytests-tests-1.2.12/aytests/lvm.xml 2018-01-11 09:51:13.344657920 +0100 @@ -15,6 +15,26 @@ <accept_non_trusted_gpg_key config:type="boolean">true</accept_non_trusted_gpg_key> </signature-handling> </general> + <suse_register> + <do_registration config:type="boolean">true</do_registration> + <email> + </email> + <reg_code>{{SCC_REGCODE}}</reg_code> + <install_updates config:type="boolean">true</install_updates> + <reg_server>{{SCC_URL}}</reg_server> + <addons config:type="list"> + <addon> + <name>sle-module-basesystem</name> + <version>{{VERSION}}</version> + <arch>{{ARCH}}</arch> + </addon> + <addon> + <name>sle-module-server-applications</name> + <version>{{VERSION}}</version> + <arch>{{ARCH}}</arch> + </addon> + </addons> + </suse_register> <scripts> <post-scripts config:type="list"> <script> @@ -64,22 +84,22 @@ <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> - <timeout config:type="integer">5</timeout> + <timeout config:type="integer">{{MSG_TIMEOUT}}</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> - <timeout config:type="integer">5</timeout> + <timeout config:type="integer">{{MSG_TIMEOUT}}</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> - <timeout config:type="integer">5</timeout> + <timeout config:type="integer">{{MSG_TIMEOUT}}</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> - <timeout config:type="integer">5</timeout> + <timeout config:type="integer">{{MSG_TIMEOUT}}</timeout> </yesno_messages> </report> @@ -130,8 +150,9 @@ <software> <patterns config:type="list"> - <pattern>Minimal</pattern> <pattern>base</pattern> + <pattern>basesystem</pattern> + <pattern>minimal_base</pattern> </patterns> <packages config:type="list"> <package>sudo</package> @@ -143,6 +164,9 @@ <remove-packages config:type="list"> <package>zsh</package> </remove-packages> + <products config:type="list"> + <product>SLES15</product> + </products> </software> <users config:type="list"> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15.list new/aytests-tests-1.2.12/aytests/sles15.list --- old/aytests-tests-1.2.10/aytests/sles15.list 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15.list 2018-01-11 09:51:13.344657920 +0100 @@ -0,0 +1,3 @@ +user.sh # vagrant user has been created +chrony.sh # ntp (FATE#323432) +disklabel-msdos.sh # disklabel element support (bsc#1073307) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15.rb new/aytests-tests-1.2.12/aytests/sles15.rb --- old/aytests-tests-1.2.10/aytests/sles15.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15.rb 2018-01-11 09:51:13.344657920 +0100 @@ -0,0 +1,5 @@ +require "aytests/spec_helper" + +describe "SLES 15 checks," do + include_examples "test_scripts", "sles15" +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15.vars new/aytests-tests-1.2.12/aytests/sles15.vars --- old/aytests-tests-1.2.10/aytests/sles15.vars 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15.vars 2018-01-11 09:51:13.344657920 +0100 @@ -0,0 +1 @@ +INIT_SCRIPT_URL=http://{{IP}}:{{PORT}}/static/scripts/init_script.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15.xml new/aytests-tests-1.2.12/aytests/sles15.xml --- old/aytests-tests-1.2.10/aytests/sles15.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15.xml 2018-01-11 09:51:13.344657920 +0100 @@ -0,0 +1,250 @@ +<?xml version="1.0"?> +<!DOCTYPE profile> +<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> + <add-on> + <add_on_products config:type="list"> + <listentry> + <media_url><![CDATA[http://dist.suse.de/ibs/SUSE:/SLE-15:/GA/standard/]]></media_url> + <product>sle-15-ga</product> + <product_dir>/</product_dir> + <name>SLE 15 GA</name> + </listentry> + </add_on_products> + </add-on> + <deploy_image> + <image_installation config:type="boolean">false</image_installation> + </deploy_image> + <firewall> + <enable_firewall config:type="boolean">false</enable_firewall> + <start_firewall config:type="boolean">false</start_firewall> + </firewall> + <general> + <mode> + <confirm config:type="boolean">false</confirm> + </mode> + <signature-handling> + <accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum> + <accept_non_trusted_gpg_key config:type="boolean">true</accept_non_trusted_gpg_key> + <accept_unknown_gpg_key config:type="boolean">true</accept_unknown_gpg_key> + <accept_unsigned_file config:type="boolean">true</accept_unsigned_file> + <accept_verification_failed config:type="boolean">false</accept_verification_failed> + <import_gpg_key config:type="boolean">true</import_gpg_key> + </signature-handling> + <storage> + <start_multipath config:type="boolean">false</start_multipath> + </storage> + </general> + <keyboard> + <keymap>spanish</keymap> + </keyboard> + <language> + <language>en_US</language> + <languages/> + </language> + <partitioning config:type="list"> + <drive> + <device>/dev/vda</device> + <disklabel>msdos</disklabel> + <use>all</use> + <partitions config:type="list"> + <partition> + <filesystem config:type="symbol">ext4</filesystem> + <size>max</size> + <mount>/</mount> + <label>root</label> + </partition> + <partition> + <filesystem config:type="symbol">swap</filesystem> + <mount>swap</mount> + <size>auto</size> + </partition> + </partitions> + </drive> + </partitioning> + <networking> + <dhcp_options> + <dhclient_client_id/> + <dhclient_hostname_option>AUTO</dhclient_hostname_option> + </dhcp_options> + <dns> + <dhcp_hostname config:type="boolean">true</dhcp_hostname> + <domain>suse.local</domain> + <hostname>linux-nwlk</hostname> + <resolv_conf_policy>auto</resolv_conf_policy> + <write_hostname config:type="boolean">false</write_hostname> + </dns> + <interfaces config:type="list"> + <interface> + <bootproto>dhcp</bootproto> + <device>eth0</device> + <dhclient_set_default_route>yes</dhclient_set_default_route> + <startmode>auto</startmode> + </interface> + <interface> + <bootproto>static</bootproto> + <device>lo</device> + <firewall>no</firewall> + <ipaddr>127.0.0.1</ipaddr> + <netmask>255.0.0.0</netmask> + <network>127.0.0.0</network> + <prefixlen>8</prefixlen> + <startmode>nfsroot</startmode> + <usercontrol>no</usercontrol> + </interface> + </interfaces> + <ipv6 config:type="boolean">true</ipv6> + <keep_install_network config:type="boolean">true</keep_install_network> + <routing> + <ipv4_forward config:type="boolean">false</ipv4_forward> + <ipv6_forward config:type="boolean">false</ipv6_forward> + </routing> + </networking> + <ntp-client> + <ntp_policy>auto</ntp_policy> + <ntp_servers config:type="list"> + <ntp_server> + <iburst config:type="boolean">false</iburst> + <address>cz.pool.ntp.org</address> + <offline config:type="boolean">true</offline> + </ntp_server> + </ntp_servers> + <ntp_sync>systemd</ntp_sync> + </ntp-client> + <report> + <errors> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </errors> + <messages> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </messages> + <warnings> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </warnings> + <yesno_messages> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </yesno_messages> + </report> + <software> + <image/> + <install_recommended config:type="boolean">true</install_recommended> + <instsource/> + <packages config:type="list"> + <package>snapper</package> + <package>sles-release</package> + <package>shim</package> + <package>openssh</package> + <package>mokutil</package> + <package>kexec-tools</package> + <package>grub2-x86_64-efi</package> + <package>glibc</package> + <package>e2fsprogs</package> + <package>dosfstools</package> + <package>btrfsprogs</package> + <package>sudo</package> + <package>curl</package> + <package>chrony</package> + </packages> + <patterns config:type="list"> + <pattern>base</pattern> + <pattern>minimal_base</pattern> + </patterns> + <products config:type="list"> + <listentry>SLES15</listentry> + </products> + </software> + <ssh_import> + <copy_config config:type="boolean">false</copy_config> + <import config:type="boolean">false</import> + </ssh_import> + <timezone> + <hwclock>UTC</hwclock> + <timezone>Europe/Berlin</timezone> + </timezone> + <user_defaults> + <expire/> + <group>100</group> + <groups/> + <home>/home</home> + <inactive>-1</inactive> + <no_groups config:type="boolean">true</no_groups> + <shell>/bin/bash</shell> + <skel>/etc/skel</skel> + <umask>022</umask> + </user_defaults> + <users config:type="list"> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>vagrant</fullname> + <gid>100</gid> + <home>/home/vagrant</home> + <shell>/bin/bash</shell> + <uid>1000</uid> + <user_password>nots3cr3t</user_password> + <username>vagrant</username> + </user> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>root</fullname> + <gid>0</gid> + <home>/root</home> + <shell>/bin/bash</shell> + <uid>0</uid> + <user_password>nots3cr3t</user_password> + <username>root</username> + </user> + <!-- user with uncommon home directory (not in home) (bnc#966867)--> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>System Admin Emergency Login</fullname> + <gid>999</gid> + <home>/admin</home> + <password_settings> + <expire></expire> + <flag></flag> + <inact></inact> + <max></max> + <min></min> + <warn></warn> + </password_settings> + <shell>/bin/bash</shell> + <uid>999</uid> + <groups></groups> + <username>sysadm</username> + <user_password>testeradmin</user_password> + </user> + </users> + <scripts> + <init-scripts config:type="list"> + <script> + <filename>init_download.sh</filename> + <interpreter>shell</interpreter> + <location><![CDATA[{{INIT_SCRIPT_URL}}]]></location> + </script> + <script> + <filename>init_ssh.sh</filename> + <chrooted config:type="boolean">true</chrooted> + <interpreter>shell</interpreter> + <source><![CDATA[ + systemctl enable sshd + systemctl start sshd +]]></source> + </script> + </init-scripts> + </scripts> + <services-manager> + <default_target>multi-user</default_target> + <services> + <disable config:type="list"> + <service>sshd</service> + </disable> + </services> + </services-manager> +</profile> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15_firewalld.list new/aytests-tests-1.2.12/aytests/sles15_firewalld.list --- old/aytests-tests-1.2.10/aytests/sles15_firewalld.list 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15_firewalld.list 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1,2 @@ +user.sh # vagrant user has been created +firewalld.sh # Firewalld configured with firewalld new profile schema (fate#320794) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15_firewalld.rb new/aytests-tests-1.2.12/aytests/sles15_firewalld.rb --- old/aytests-tests-1.2.10/aytests/sles15_firewalld.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15_firewalld.rb 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1,5 @@ +require "aytests/spec_helper" + +describe "SLES 15 import Firewalld based profile checks," do + include_examples "test_scripts", "sles15_firewalld" +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15_firewalld.vars new/aytests-tests-1.2.12/aytests/sles15_firewalld.vars --- old/aytests-tests-1.2.10/aytests/sles15_firewalld.vars 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15_firewalld.vars 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1 @@ +INIT_SCRIPT_URL=http://{{IP}}:{{PORT}}/static/scripts/init_script.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15_firewalld.xml new/aytests-tests-1.2.12/aytests/sles15_firewalld.xml --- old/aytests-tests-1.2.10/aytests/sles15_firewalld.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15_firewalld.xml 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1,274 @@ +<?xml version="1.0"?> +<!DOCTYPE profile> +<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> + <add-on> + <add_on_products config:type="list"> + <listentry> + <media_url><![CDATA[http://dist.suse.de/ibs/SUSE:/SLE-15:/GA/standard/]]></media_url> + <product>sle-15-ga</product> + <product_dir>/</product_dir> + <name>SLE 15 GA</name> + </listentry> + </add_on_products> + </add-on> + <deploy_image> + <image_installation config:type="boolean">false</image_installation> + </deploy_image> + <firewall> + <enable_firewall config:type="boolean">true</enable_firewall> + <start_firewall config:type="boolean">true</start_firewall> + <log_denied_packets>unicast</log_denied_packets> + <default_zone>dmz</default_zone> + <zones config:type="list"> + <zone> + <name>external</name> + <interfaces config:type="list"> + <interface>eth0</interface> + </interfaces> + <services config:type="list"> + <service>ssh</service> + <service>dhcp</service> + <service>dhcpv6</service> + <service>samba</service> + <service>vnc-server</service> + </services> + <ports config:type="list"> + <port>21/udp</port> + <port>22/udp</port> + <port>80/tcp</port> + <port>443/tcp</port> + <port>8080/tcp</port> + </ports> + </zone> + </zones> + </firewall> + <general> + <mode> + <confirm config:type="boolean">false</confirm> + </mode> + <signature-handling> + <accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum> + <accept_non_trusted_gpg_key config:type="boolean">true</accept_non_trusted_gpg_key> + <accept_unknown_gpg_key config:type="boolean">true</accept_unknown_gpg_key> + <accept_unsigned_file config:type="boolean">true</accept_unsigned_file> + <accept_verification_failed config:type="boolean">false</accept_verification_failed> + <import_gpg_key config:type="boolean">true</import_gpg_key> + </signature-handling> + <storage> + <start_multipath config:type="boolean">false</start_multipath> + </storage> + </general> + <keyboard> + <keymap>spanish</keymap> + </keyboard> + <language> + <language>en_US</language> + <languages/> + </language> + <partitioning config:type="list"> + <drive> + <device>/dev/vda</device> + <disklabel>msdos</disklabel> + <use>all</use> + <partitions config:type="list"> + <partition> + <filesystem config:type="symbol">ext4</filesystem> + <size>max</size> + <mount>/</mount> + <label>root</label> + </partition> + <partition> + <filesystem config:type="symbol">swap</filesystem> + <mount>swap</mount> + <size>auto</size> + </partition> + </partitions> + </drive> + </partitioning> + <networking> + <dhcp_options> + <dhclient_client_id/> + <dhclient_hostname_option>AUTO</dhclient_hostname_option> + </dhcp_options> + <dns> + <dhcp_hostname config:type="boolean">true</dhcp_hostname> + <domain>suse.local</domain> + <hostname>linux-nwlk</hostname> + <resolv_conf_policy>auto</resolv_conf_policy> + <write_hostname config:type="boolean">false</write_hostname> + </dns> + <interfaces config:type="list"> + <interface> + <bootproto>dhcp</bootproto> + <device>eth0</device> + <dhclient_set_default_route>yes</dhclient_set_default_route> + <startmode>auto</startmode> + </interface> + <interface> + <bootproto>static</bootproto> + <device>lo</device> + <firewall>no</firewall> + <ipaddr>127.0.0.1</ipaddr> + <netmask>255.0.0.0</netmask> + <network>127.0.0.0</network> + <prefixlen>8</prefixlen> + <startmode>nfsroot</startmode> + <usercontrol>no</usercontrol> + </interface> + </interfaces> + <ipv6 config:type="boolean">true</ipv6> + <keep_install_network config:type="boolean">true</keep_install_network> + <routing> + <ipv4_forward config:type="boolean">false</ipv4_forward> + <ipv6_forward config:type="boolean">false</ipv6_forward> + </routing> + </networking> + <ntp-client> + <ntp_policy>auto</ntp_policy> + <ntp_servers config:type="list"> + <ntp_server> + <iburst config:type="boolean">false</iburst> + <address>cz.pool.ntp.org</address> + <offline config:type="boolean">true</offline> + </ntp_server> + </ntp_servers> + <ntp_sync>systemd</ntp_sync> + </ntp-client> + <report> + <errors> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </errors> + <messages> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </messages> + <warnings> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </warnings> + <yesno_messages> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </yesno_messages> + </report> + <software> + <image/> + <install_recommended config:type="boolean">true</install_recommended> + <instsource/> + <packages config:type="list"> + <package>snapper</package> + <package>sles-release</package> + <package>shim</package> + <package>openssh</package> + <package>mokutil</package> + <package>kexec-tools</package> + <package>grub2-x86_64-efi</package> + <package>glibc</package> + <package>e2fsprogs</package> + <package>dosfstools</package> + <package>btrfsprogs</package> + <package>sudo</package> + <package>curl</package> + <package>firewalld</package> + </packages> + <patterns config:type="list"> + <pattern>base</pattern> + <pattern>minimal_base</pattern> + </patterns> + <products config:type="list"> + <listentry>SLES15</listentry> + </products> + </software> + <ssh_import> + <copy_config config:type="boolean">false</copy_config> + <import config:type="boolean">false</import> + </ssh_import> + <timezone> + <hwclock>UTC</hwclock> + <timezone>Europe/Berlin</timezone> + </timezone> + <user_defaults> + <expire/> + <group>100</group> + <groups/> + <home>/home</home> + <inactive>-1</inactive> + <no_groups config:type="boolean">true</no_groups> + <shell>/bin/bash</shell> + <skel>/etc/skel</skel> + <umask>022</umask> + </user_defaults> + <users config:type="list"> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>vagrant</fullname> + <gid>100</gid> + <home>/home/vagrant</home> + <shell>/bin/bash</shell> + <uid>1000</uid> + <user_password>nots3cr3t</user_password> + <username>vagrant</username> + </user> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>root</fullname> + <gid>0</gid> + <home>/root</home> + <shell>/bin/bash</shell> + <uid>0</uid> + <user_password>nots3cr3t</user_password> + <username>root</username> + </user> + <!-- user with uncommon home directory (not in home) (bnc#966867)--> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>System Admin Emergency Login</fullname> + <gid>999</gid> + <home>/admin</home> + <password_settings> + <expire></expire> + <flag></flag> + <inact></inact> + <max></max> + <min></min> + <warn></warn> + </password_settings> + <shell>/bin/bash</shell> + <uid>999</uid> + <groups></groups> + <username>sysadm</username> + <user_password>testeradmin</user_password> + </user> + </users> + <scripts> + <init-scripts config:type="list"> + <script> + <filename>init_download.sh</filename> + <interpreter>shell</interpreter> + <location><![CDATA[{{INIT_SCRIPT_URL}}]]></location> + </script> + <script> + <filename>init_ssh.sh</filename> + <chrooted config:type="boolean">true</chrooted> + <interpreter>shell</interpreter> + <source><![CDATA[ + systemctl enable sshd + systemctl start sshd +]]></source> + </script> + </init-scripts> + </scripts> + <services-manager> + <default_target>multi-user</default_target> + <services> + <disable config:type="list"> + <service>sshd</service> + </disable> + </services> + </services-manager> +</profile> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15_suse_firewall.list new/aytests-tests-1.2.12/aytests/sles15_suse_firewall.list --- old/aytests-tests-1.2.10/aytests/sles15_suse_firewall.list 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15_suse_firewall.list 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1,2 @@ +user.sh # vagrant user has been created +suse_firewall.sh # Firewalld configured with a SuSEFirewall2 profile (fate#320794) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15_suse_firewall.rb new/aytests-tests-1.2.12/aytests/sles15_suse_firewall.rb --- old/aytests-tests-1.2.10/aytests/sles15_suse_firewall.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15_suse_firewall.rb 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1,5 @@ +require "aytests/spec_helper" + +describe "SLES 15 import SuSEFirewall based profile checks," do + include_examples "test_scripts", "sles15_suse_firewall" +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15_suse_firewall.vars new/aytests-tests-1.2.12/aytests/sles15_suse_firewall.vars --- old/aytests-tests-1.2.10/aytests/sles15_suse_firewall.vars 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15_suse_firewall.vars 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1 @@ +INIT_SCRIPT_URL=http://{{IP}}:{{PORT}}/static/scripts/init_script.sh diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/sles15_suse_firewall.xml new/aytests-tests-1.2.12/aytests/sles15_suse_firewall.xml --- old/aytests-tests-1.2.10/aytests/sles15_suse_firewall.xml 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/sles15_suse_firewall.xml 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1,255 @@ +<?xml version="1.0"?> +<!DOCTYPE profile> +<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> + <add-on> + <add_on_products config:type="list"> + <listentry> + <media_url><![CDATA[http://dist.suse.de/ibs/SUSE:/SLE-15:/GA/standard/]]></media_url> + <product>sle-15-ga</product> + <product_dir>/</product_dir> + <name>SLE 15 GA</name> + </listentry> + </add_on_products> + </add-on> + <deploy_image> + <image_installation config:type="boolean">false</image_installation> + </deploy_image> + <firewall> + <FW_DEV_EXT>eth0</FW_DEV_EXT> + <FW_CONFIGURATIONS_EXT>apache2 apache2-ssl sshd</FW_CONFIGURATIONS_EXT> + <FW_CONFIGURATIONS_DMZ>any</FW_CONFIGURATIONS_EXT> + <FW_SERVICES_EXT_TCP>8080</FW_SERVICES_EXT_TCP> + <FW_SERVICES_EXT_UDP>9090</FW_SERVICES_EXT_UDP> + <enable_firewall config:type="boolean">true</enable_firewall> + <start_firewall config:type="boolean">true</start_firewall> + </firewall> + <general> + <mode> + <confirm config:type="boolean">false</confirm> + </mode> + <signature-handling> + <accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum> + <accept_non_trusted_gpg_key config:type="boolean">true</accept_non_trusted_gpg_key> + <accept_unknown_gpg_key config:type="boolean">true</accept_unknown_gpg_key> + <accept_unsigned_file config:type="boolean">true</accept_unsigned_file> + <accept_verification_failed config:type="boolean">false</accept_verification_failed> + <import_gpg_key config:type="boolean">true</import_gpg_key> + </signature-handling> + <storage> + <start_multipath config:type="boolean">false</start_multipath> + </storage> + </general> + <keyboard> + <keymap>spanish</keymap> + </keyboard> + <language> + <language>en_US</language> + <languages/> + </language> + <partitioning config:type="list"> + <drive> + <device>/dev/vda</device> + <disklabel>msdos</disklabel> + <use>all</use> + <partitions config:type="list"> + <partition> + <filesystem config:type="symbol">ext4</filesystem> + <size>max</size> + <mount>/</mount> + <label>root</label> + </partition> + <partition> + <filesystem config:type="symbol">swap</filesystem> + <mount>swap</mount> + <size>auto</size> + </partition> + </partitions> + </drive> + </partitioning> + <networking> + <dhcp_options> + <dhclient_client_id/> + <dhclient_hostname_option>AUTO</dhclient_hostname_option> + </dhcp_options> + <dns> + <dhcp_hostname config:type="boolean">true</dhcp_hostname> + <domain>suse.local</domain> + <hostname>linux-nwlk</hostname> + <resolv_conf_policy>auto</resolv_conf_policy> + <write_hostname config:type="boolean">false</write_hostname> + </dns> + <interfaces config:type="list"> + <interface> + <bootproto>dhcp</bootproto> + <device>eth0</device> + <dhclient_set_default_route>yes</dhclient_set_default_route> + <startmode>auto</startmode> + </interface> + <interface> + <bootproto>static</bootproto> + <device>lo</device> + <firewall>no</firewall> + <ipaddr>127.0.0.1</ipaddr> + <netmask>255.0.0.0</netmask> + <network>127.0.0.0</network> + <prefixlen>8</prefixlen> + <startmode>nfsroot</startmode> + <usercontrol>no</usercontrol> + </interface> + </interfaces> + <ipv6 config:type="boolean">true</ipv6> + <keep_install_network config:type="boolean">true</keep_install_network> + <routing> + <ipv4_forward config:type="boolean">false</ipv4_forward> + <ipv6_forward config:type="boolean">false</ipv6_forward> + </routing> + </networking> + <ntp-client> + <ntp_policy>auto</ntp_policy> + <ntp_servers config:type="list"> + <ntp_server> + <iburst config:type="boolean">false</iburst> + <address>cz.pool.ntp.org</address> + <offline config:type="boolean">true</offline> + </ntp_server> + </ntp_servers> + <ntp_sync>systemd</ntp_sync> + </ntp-client> + <report> + <errors> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </errors> + <messages> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </messages> + <warnings> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </warnings> + <yesno_messages> + <log config:type="boolean">true</log> + <show config:type="boolean">true</show> + <timeout config:type="integer">5</timeout> + </yesno_messages> + </report> + <software> + <image/> + <install_recommended config:type="boolean">true</install_recommended> + <instsource/> + <packages config:type="list"> + <package>snapper</package> + <package>sles-release</package> + <package>shim</package> + <package>openssh</package> + <package>mokutil</package> + <package>kexec-tools</package> + <package>grub2-x86_64-efi</package> + <package>glibc</package> + <package>e2fsprogs</package> + <package>dosfstools</package> + <package>btrfsprogs</package> + <package>sudo</package> + <package>curl</package> + <package>firewalld</package> + </packages> + <patterns config:type="list"> + <pattern>base</pattern> + <pattern>minimal_base</pattern> + </patterns> + <products config:type="list"> + <listentry>SLES15</listentry> + </products> + </software> + <ssh_import> + <copy_config config:type="boolean">false</copy_config> + <import config:type="boolean">false</import> + </ssh_import> + <timezone> + <hwclock>UTC</hwclock> + <timezone>Europe/Berlin</timezone> + </timezone> + <user_defaults> + <expire/> + <group>100</group> + <groups/> + <home>/home</home> + <inactive>-1</inactive> + <no_groups config:type="boolean">true</no_groups> + <shell>/bin/bash</shell> + <skel>/etc/skel</skel> + <umask>022</umask> + </user_defaults> + <users config:type="list"> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>vagrant</fullname> + <gid>100</gid> + <home>/home/vagrant</home> + <shell>/bin/bash</shell> + <uid>1000</uid> + <user_password>nots3cr3t</user_password> + <username>vagrant</username> + </user> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>root</fullname> + <gid>0</gid> + <home>/root</home> + <shell>/bin/bash</shell> + <uid>0</uid> + <user_password>nots3cr3t</user_password> + <username>root</username> + </user> + <!-- user with uncommon home directory (not in home) (bnc#966867)--> + <user> + <encrypted config:type="boolean">false</encrypted> + <fullname>System Admin Emergency Login</fullname> + <gid>999</gid> + <home>/admin</home> + <password_settings> + <expire></expire> + <flag></flag> + <inact></inact> + <max></max> + <min></min> + <warn></warn> + </password_settings> + <shell>/bin/bash</shell> + <uid>999</uid> + <groups></groups> + <username>sysadm</username> + <user_password>testeradmin</user_password> + </user> + </users> + <scripts> + <init-scripts config:type="list"> + <script> + <filename>init_download.sh</filename> + <interpreter>shell</interpreter> + <location><![CDATA[{{INIT_SCRIPT_URL}}]]></location> + </script> + <script> + <filename>init_ssh.sh</filename> + <chrooted config:type="boolean">true</chrooted> + <interpreter>shell</interpreter> + <source><![CDATA[ + systemctl enable sshd + systemctl start sshd +]]></source> + </script> + </init-scripts> + </scripts> + <services-manager> + <default_target>multi-user</default_target> + <services> + <disable config:type="list"> + <service>sshd</service> + </disable> + </services> + </services-manager> +</profile> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/suse_firewall.sh new/aytests-tests-1.2.12/aytests/suse_firewall.sh --- old/aytests-tests-1.2.10/aytests/suse_firewall.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/aytests-tests-1.2.12/aytests/suse_firewall.sh 2018-01-11 09:51:13.348657941 +0100 @@ -0,0 +1,21 @@ +#!/bin/bash + +set -e -x + +# FW_DEV_EXT = "eth0" +INTERFACES=`firewall-offline-cmd --zone=public --list-interfaces` +# FW_DEV_DMZ = "any" +DEFAULT_ZONE=`firewall-offline-cmd --get-default-zone` + +# FW_CONFIGURATIONS_EXT="apache2 apache2-ssl sshd" +SERVICES=`firewall-offline-cmd --zone=public --list-services` + +# FW_SERVICES_EXT_TCP = "8080" +# FW_SERVICES_EXT_UDP = "9090" +PORTS=`firewall-offline-cmd --zone=public --list-ports` + +test "$INTERFACES" == "eth0" +test "$SERVICES" == "http https ssh" +test "$PORTS" == "8080/tcp 9090/udp" +test "$DEFAULT_ZONE" == "dmz" +echo "AUTOYAST OK" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/tftp.vars new/aytests-tests-1.2.12/aytests/tftp.vars --- old/aytests-tests-1.2.10/aytests/tftp.vars 2017-05-29 15:46:00.526339092 +0200 +++ new/aytests-tests-1.2.12/aytests/tftp.vars 2018-01-11 09:51:13.348657941 +0100 @@ -1 +1,4 @@ -POST_SCRIPT_URL=http://{{IP}}:{{PORT}}/static/scripts/post_script.sh \ No newline at end of file +POST_SCRIPT_URL=http://{{IP}}:{{PORT}}/static/scripts/post_script.sh +MSG_TIMEOUT=5 +VERSION=15 +ARCH=x86_64 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/aytests/tftp.xml new/aytests-tests-1.2.12/aytests/tftp.xml --- old/aytests-tests-1.2.10/aytests/tftp.xml 2017-08-15 16:32:40.394308073 +0200 +++ new/aytests-tests-1.2.12/aytests/tftp.xml 2018-01-11 09:51:13.348657941 +0100 @@ -22,6 +22,26 @@ </accept_unknown_gpg_key> </signature-handling> </general> + <suse_register> + <do_registration config:type="boolean">true</do_registration> + <email> + </email> + <reg_code>{{SCC_REGCODE}}</reg_code> + <install_updates config:type="boolean">true</install_updates> + <reg_server>{{SCC_URL}}</reg_server> + <addons config:type="list"> + <addon> + <name>sle-module-basesystem</name> + <version>{{VERSION}}</version> + <arch>{{ARCH}}</arch> + </addon> + <addon> + <name>sle-module-server-applications</name> + <version>{{VERSION}}</version> + <arch>{{ARCH}}</arch> + </addon> + </addons> + </suse_register> <scripts> <init-scripts config:type="list"> <script> @@ -97,36 +117,38 @@ <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> - <!-- Error popup of not supported YaST modules must disapper - after 10 seconds in order not stopping the installation. Bug 925381 --> - <timeout config:type="integer">10</timeout> + <timeout config:type="integer">{{MSG_TIMEOUT}}</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> - <timeout config:type="integer">5</timeout> + <timeout config:type="integer">{{MSG_TIMEOUT}}</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> - <timeout config:type="integer">5</timeout> + <timeout config:type="integer">{{MSG_TIMEOUT}}</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> - <timeout config:type="integer">5</timeout> + <timeout config:type="integer">{{MSG_TIMEOUT}}</timeout> </yesno_messages> </report> <software> <patterns config:type="list"> - <pattern>Minimal</pattern> <pattern>base</pattern> + <pattern>basesystem</pattern> + <pattern>minimal_base</pattern> </patterns> <packages config:type="list"> <package>xinetd</package> <package>tftp</package> </packages> + <products config:type="list"> + <product>SLES15</product> + </products> </software> <tftp-server> @@ -164,73 +186,6 @@ <ntp-client> <ntp_policy>auto</ntp_policy> - <peers config:type="list"> - <peer> - <address>/var/lib/ntp/drift/ntp.drift</address> - <comment> -# Clients from this (example!) subnet have unlimited access, but only if -# cryptographically authenticated. -#restrict 192.168.123.0 mask 255.255.255.0 notrust - -## -## Miscellaneous stuff -## - -</comment> - <type>driftfile</type> - </peer> - <peer> - <address>/var/log/ntp</address> - <comment># path for drift file - -</comment> - <type>logfile</type> - </peer> - <peer> - <address>/etc/ntp.keys</address> - <comment># alternate log file -# logconfig =syncstatus + sysevents -# logconfig =all - -# statsdir /tmp/ # directory for statistics files -# filegen peerstats file peerstats type day enable -# filegen loopstats file loopstats type day enable -# filegen clockstats file clockstats type day enable - -# -# Authentication stuff -# -</comment> - <type>keys</type> - </peer> - <peer> - <address>1</address> - <comment># path for keys file -</comment> - <type>trustedkey</type> - </peer> - <peer> - <address>1</address> - <comment># define trusted keys -</comment> - <type>requestkey</type> - </peer> - <peer> - <address>1</address> - <comment># key (7) for accessing server variables -</comment> - <type>controlkey</type> - </peer> - <peer> - <address>ntp.suse.de</address> - <options> iburst</options> - <type>server</type> - </peer> - </peers> - <start_at_boot config:type="boolean">true</start_at_boot> - <start_in_chroot config:type="boolean">false</start_in_chroot> - <sync_interval config:type="integer">5</sync_interval> - <synchronize_time config:type="boolean">false</synchronize_time> </ntp-client> </profile> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/package/aytests-tests.changes new/aytests-tests-1.2.12/package/aytests-tests.changes --- old/aytests-tests-1.2.10/package/aytests-tests.changes 2017-11-30 14:20:20.964410067 +0100 +++ new/aytests-tests-1.2.12/package/aytests-tests.changes 2018-01-11 09:51:13.348657941 +0100 @@ -1,4 +1,18 @@ ------------------------------------------------------------------- +Tue Jan 9 07:34:43 UTC 2018 - [email protected] + +- Check firewalld support (fate#323460) and SuSEFirewall2 profiles + backward compatibility. +- 1.2.12 + +------------------------------------------------------------------- +Tue Dec 19 10:29:41 UTC 2017 - [email protected] + +- Check chrony suport (FATE#323432) and disklabel element handling + (bsc#1073307) +- 1.2.11 + +------------------------------------------------------------------- Tue Nov 28 11:21:04 UTC 2017 - [email protected] - Check that ssh authorized keys for root are written and exported diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aytests-tests-1.2.10/package/aytests-tests.spec new/aytests-tests-1.2.12/package/aytests-tests.spec --- old/aytests-tests-1.2.10/package/aytests-tests.spec 2017-11-30 14:20:20.964410067 +0100 +++ new/aytests-tests-1.2.12/package/aytests-tests.spec 2018-01-11 09:51:13.348657941 +0100 @@ -17,7 +17,7 @@ Name: aytests-tests -Version: 1.2.10 +Version: 1.2.12 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build
