[yast-commit] Build failed in Jenkins: yast-security-master #5
See <https://ci.suse.de/job/yast-security-master/5/changes> Changes: [teclator] Chaned dependency from yast2-mail to yast2 ------------------------------------------ [...truncated 593 lines...] [ 6s] -rw-r--r-- jenkins/users 822 2016-03-17 10:01 yast2-security-3.2.2/doc/Todo.txt [ 6s] -rw-r--r-- jenkins/users 728 2016-03-17 10:01 yast2-security-3.2.2/doc/Makefile.am [ 6s] -rw-r--r-- jenkins/users 3393 2016-03-17 10:01 yast2-security-3.2.2/doc/add.html [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 10:01 yast2-security-3.2.2/doc/misc/ [ 6s] -rw-r--r-- jenkins/users 8757 2016-03-17 10:01 yast2-security-3.2.2/doc/misc/draft.txt [ 6s] -rw-r--r-- jenkins/users 9628 2016-03-17 10:01 yast2-security-3.2.2/doc/misc/login_defs.txt [ 6s] -rw-r--r-- jenkins/users 3551 2016-03-17 10:01 yast2-security-3.2.2/doc/misc/draft_old.txt [ 6s] -rwxr-xr-x jenkins/users 537 2016-03-17 10:01 yast2-security-3.2.2/doc/misc/login_defs.sh [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 10:01 yast2-security-3.2.2/test/ [ 6s] -rw-r--r-- jenkins/users 1546 2016-03-17 10:01 yast2-security-3.2.2/test/test_helper.rb [ 6s] -rw-r--r-- jenkins/users 1793 2016-03-17 10:01 yast2-security-3.2.2/test/SCRStub.rb [ 6s] -rwxr-xr-x jenkins/users 2176 2016-03-17 10:01 yast2-security-3.2.2/test/levels_test.rb [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 10:01 yast2-security-3.2.2/test/data/ [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/ [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/ [ 6s] -rw-r--r-- jenkins/users 8510 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/login.defs [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysconfig/ [ 6s] -rw-r--r-- jenkins/users 378 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysconfig/services [ 6s] -rw-r--r-- jenkins/users 2705 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysconfig/clock [ 6s] -rw-r--r-- jenkins/users 1877 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysconfig/cron [ 6s] -rw-r--r-- jenkins/users 3667 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysconfig/displaymanager [ 6s] -rw-r--r-- jenkins/users 1821 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysconfig/security [ 6s] -rw-r--r-- jenkins/users 19 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysconfig/locate [ 6s] -rw-r--r-- jenkins/users 1144 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysconfig/mail [ 6s] -rw-r--r-- jenkins/users 675 2016-03-17 10:01 yast2-security-3.2.2/test/data/system/etc/sysctl.conf [ 6s] -rwxr-xr-x jenkins/users 23957 2016-03-17 10:01 yast2-security-3.2.2/test/security_test.rb [ 6s] -rw-r--r-- jenkins/users 3522 2016-03-17 10:01 yast2-security-3.2.2/CONTRIBUTING.md [ 6s] -rw-r--r-- jenkins/users 132 2016-03-17 10:01 yast2-security-3.2.2/Rakefile [ 6s] -rw-r--r-- jenkins/users 18092 2016-03-17 10:01 yast2-security-3.2.2/COPYING [ 6s] + STATUS=0 [ 6s] + '[' 0 -ne 0 ']' [ 6s] + cd yast2-security-3.2.2 [ 6s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 6s] + exit 0 [ 6s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OdUajd [ 6s] + umask 022 [ 6s] + cd /home/abuild/rpmbuild/BUILD [ 6s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64 [ 6s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64 [ 6s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 6s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64 [ 6s] + cd yast2-security-3.2.2 [ 6s] + exit 0 [ 6s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IqUp02 [ 6s] + umask 022 [ 6s] + cd /home/abuild/rpmbuild/BUILD [ 6s] + cd yast2-security-3.2.2 [ 6s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 6s] + '[' -f Rakefile ']' [ 6s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64 [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/ [ 6s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/modules' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/include' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/scrconf' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/data' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/lib/YaST2/ [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 6s] cp -r 'src/autoyast-rnc/security.rnc' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/' [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/var/adm/fillup-templates/ [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/applications/YaST2/ [ 6s] cp -r 'src/desktop/security.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/applications/YaST2/' [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/doc/packages/yast2-security/ [ 6s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/doc/packages/yast2-security/' [ 6s] cp -r 'COPYING' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/doc/packages/yast2-security/' [ 6s] cp -r 'CONTRIBUTING.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/doc/packages/yast2-security/' [ 6s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 6s] + for f in '$(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64//usr/share/applications/YaST2/ -name '\''*.desktop'\'')' [ 6s] + d=security.desktop [ 6s] + /usr/lib/rpm/suse_update_desktop_file.sh -d ycc_security security [ 6s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/yast2-security-3.2.2 [ 6s] + /usr/lib/rpm/brp-compress [ 6s] + /usr/lib/rpm/brp-suse [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 6s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 6s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 6s] setting /var/adm/ to root:root 0755. (wrong owner/group abuild:abuild) [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 7s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 7s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 7s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 7s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WXt8aV [ 7s] + umask 022 [ 7s] + cd /home/abuild/rpmbuild/BUILD [ 7s] + cd yast2-security-3.2.2 [ 7s] + '[' '!' -f /usr/share/YaST2/data/devtools/NO_MAKE_CHECK ']' [ 7s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 7s] + '[' -f Rakefile ']' [ 7s] + rake test:unit [ 7s] rspec --color --format doc 'test/levels_test.rb' 'test/security_test.rb' [ 8s] [ 8s] Levels [ 8s] reads the settings from the yaml files [ 8s] together with Security [ 8s] defines the system behavior [ 8s] [ 8s] #<Yast::SecurityClass:0x00000002e6a508> [ 8s] #ReadServiceSettings [ 8s] only with mandatory services [ 8s] sets settings for services as 'secure' [ 8s] with mandatory and extra services [ 8s] sets settings for extra services as 'insecure' [ 8s] without all mandatory services and extra ones [ 8s] sets settings for services as 'insecure' [ 8s] with services that are aliases of optional services [ 8s] sets settings for extra services as 'secure' [ 8s] with no services [ 8s] sets settings for mandatory to 'insecure' [ 8s] #Write [ 8s] writes and applies all the settings [ 8s] #write_to_locations [ 8s] does not write nil values [ 8s] does not write unchanged values (FAILED - 1) [ 8s] adds missing values [ 8s] updates changed values [ 8s] #write_kernel_settings [ 8s] writing to sysctl.conf [ 8s] does not write invalid values [ 8s] does not write unchanged values [ 8s] writes changed values [ 8s] setting sysrq [ 8s] does not write invalid values [ 8s] writes valid values [ 8s] #ReadConsoleShutdown [ 8s] when systemd is installed [ 8s] on a non s390 architecture [ 8s] when ctrl+alt+del file not exist [ 8s] returns 'reboot' [ 8s] when ctrl+del+alt file exist [ 8s] returns 'ignore' by default [ 8s] returns 'halt' if links to poweroff.target [ 8s] returns 'reboot' if links to reboot.target [ 8s] returns 'reboot' if links to ctrl-alt-del.target [ 8s] on a s390 architecture [ 8s] when ctrl+alt+del file not exist [ 8s] returns 'reboot' [ 8s] when ctrl+del+alt file exist [ 8s] returns 'ignore' by default [ 8s] returns 'halt' if links to poweroff.target [ 8s] returns 'reboot' if links to reboot.target [ 8s] returns 'halt' if links to ctrl-alt-del.target [ 8s] when systemd is not installed but inittab exist [ 8s] always returns nil [ 8s] on a non s390 architecture [ 8s] when no inittab ca entry [ 8s] returns 'reboot' [ 8s] when inittab ca entry exist [ 8s] sets settings for shutdown as 'ignore' by default [ 8s] sets settings for shutdown as 'halt' if contains 'halt' or ' -h' [ 8s] sets settings for shutdown as 'reboot' if contains 'reboot' or -r [ 8s] on a s390 architecture [ 8s] when no inittab ca entry [ 8s] returns 'halt' [ 8s] when inittab ca entry exist [ 8s] sets settings for shutdown as 'ignore' by default [ 8s] sets settings for shutdown as 'halt' if contains 'halt' or ' -h' [ 8s] sets settings for shutdown as 'reboot' if contains 'reboot' or -r [ 8s] #read_pam_settings [ 8s] sets passwd encryption setting based on /etc/login.defs [ 8s] sets cracklib settings [ 8s] sets password remember history settings [ 8s] #read_permissions [ 8s] depending on current persission [ 8s] sets security permission to 'easy' if contains easy [ 8s] sets security permission to 'paranoid' if contains paranoid [ 8s] sets secure by default [ 8s] #read_polkit_settings [ 8s] depending on current polkit config [ 8s] sets correctly hibernate system settings to 'anyone' [ 8s] sets correctly hibernate settings to 'auth_admin' [ 8s] sets correctly hibernate settings to 'active_console' as default [ 8s] #read_kernel_settings [ 8s] sets kernel settings based on /etc/sysctl.conf [ 8s] #read_from_locations [ 8s] when display manager is gdm [ 8s] allows everybody to shutdown by default [ 8s] sets login definitions based on /etc/login.defs [ 8s] sets different settings based on /etc/sysconfig/* [ 8s] when display manager is kdm [ 8s] sets login definitions based on /etc/login.defs [ 8s] sets login definitions based on /etc/login.defs [ 8s] sets kde4 allow shutdown based on kdmrc [ 8s] sets different settings based on /etc/sysconfig/* [ 8s] #Read [ 8s] reads settings and returns true [ 8s] #Import [ 8s] doest not touch current Settings if given settings are empty [ 8s] when Settings keys exists in given settings [ 8s] imports given settings without modify [ 8s] when Settings keys do not exist in given settings [ 8s] imports SYSCTL settings modifying key names and adapting values [ 8s] imports LOGIN DEFS settings transforming key name [ 8s] does not modify not given settings [ 8s] [ 8s] Failures: [ 8s] [ 8s] 1) #<Yast::SecurityClass:0x00000002e6a508> #write_to_locations does not write unchanged values [ 8s] Failure/Error: Security.write_to_locations [ 8s] (Yast::SCR).Write(#<Yast::Path:0x000000034b1510 @components=["sysconfig", "mail", "SMTPD_LISTEN_REMOTE"]>, "no") [ 8s] expected: 0 times with arguments: (#<Yast::Path:0x00000003713ec0 @components=["sysconfig", "mail", "SMTPD_LISTEN_REMOTE"]>, anything) [ 8s] received: 1 time with arguments: (#<Yast::Path:0x000000034b1510 @components=["sysconfig", "mail", "SMTPD_LISTEN_REMOTE"]>, "no") [ 8s] # ./src/modules/Security.rb:514:in `block (2 levels) in write_to_locations' [ 8s] # ./src/modules/Security.rb:511:in `each' [ 8s] # ./src/modules/Security.rb:511:in `block in write_to_locations' [ 8s] # ./src/modules/Security.rb:510:in `each' [ 8s] # ./src/modules/Security.rb:510:in `write_to_locations' [ 8s] # ./test/security_test.rb:137:in `block (3 levels) in <module:Yast>' [ 8s] [ 8s] Finished in 0.42366 seconds (files took 0.54025 seconds to load) [ 8s] 59 examples, 1 failure [ 8s] [ 8s] Failed examples: [ 8s] [ 8s] rspec ./test/security_test.rb:132 # #<Yast::SecurityClass:0x00000002e6a508> #write_to_locations does not write unchanged values [ 8s] [ 8s] rake aborted! [ 8s] Command failed with status (1): [rspec --color --format doc 'test/levels_te...] [ 8s] [ 8s] Tasks: TOP => test:unit [ 8s] (See full trace by running task with --trace) [ 8s] error: Bad exit status from /var/tmp/rpm-tmp.WXt8aV (%check) [ 8s] [ 8s] [ 8s] RPM build errors: [ 8s] Bad exit status from /var/tmp/rpm-tmp.WXt8aV (%check) Skipping verification of package signatures Writing build configuration Running build The buildroot was: /var/tmp/build-root-SLE-12-SP2-GA rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Build step 'Execute shell' marked build as failure
See <https://ci.suse.de/job/yast-security-master/6/> ------------------------------------------ [...truncated 589 lines...] [ 6s] -rw-r--r-- jenkins/users 3551 2016-03-17 15:34 yast2-security-3.2.2/doc/misc/draft_old.txt [ 6s] -rwxr-xr-x jenkins/users 537 2016-03-17 15:34 yast2-security-3.2.2/doc/misc/login_defs.sh [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 15:34 yast2-security-3.2.2/test/ [ 6s] -rw-r--r-- jenkins/users 1546 2016-03-17 15:34 yast2-security-3.2.2/test/test_helper.rb [ 6s] -rw-r--r-- jenkins/users 1793 2016-03-17 15:34 yast2-security-3.2.2/test/SCRStub.rb [ 6s] -rwxr-xr-x jenkins/users 2176 2016-03-17 15:34 yast2-security-3.2.2/test/levels_test.rb [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 15:34 yast2-security-3.2.2/test/data/ [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/ [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/ [ 6s] -rw-r--r-- jenkins/users 8510 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/login.defs [ 6s] drwxr-xr-x jenkins/users 0 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysconfig/ [ 6s] -rw-r--r-- jenkins/users 378 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysconfig/services [ 6s] -rw-r--r-- jenkins/users 2705 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysconfig/clock [ 6s] -rw-r--r-- jenkins/users 1877 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysconfig/cron [ 6s] -rw-r--r-- jenkins/users 3667 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysconfig/displaymanager [ 6s] -rw-r--r-- jenkins/users 1821 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysconfig/security [ 6s] -rw-r--r-- jenkins/users 19 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysconfig/locate [ 6s] -rw-r--r-- jenkins/users 1144 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysconfig/mail [ 6s] -rw-r--r-- jenkins/users 675 2016-03-17 15:34 yast2-security-3.2.2/test/data/system/etc/sysctl.conf [ 6s] -rwxr-xr-x jenkins/users 23957 2016-03-17 15:34 yast2-security-3.2.2/test/security_test.rb [ 6s] -rw-r--r-- jenkins/users 3522 2016-03-17 15:34 yast2-security-3.2.2/CONTRIBUTING.md [ 6s] -rw-r--r-- jenkins/users 132 2016-03-17 15:34 yast2-security-3.2.2/Rakefile [ 6s] -rw-r--r-- jenkins/users 18092 2016-03-17 15:34 yast2-security-3.2.2/COPYING [ 6s] + STATUS=0 [ 6s] + '[' 0 -ne 0 ']' [ 6s] + cd yast2-security-3.2.2 [ 6s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 6s] + exit 0 [ 6s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1MMpy0 [ 6s] + umask 022 [ 6s] + cd /home/abuild/rpmbuild/BUILD [ 6s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64 [ 6s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64 [ 6s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 6s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64 [ 6s] + cd yast2-security-3.2.2 [ 6s] + exit 0 [ 6s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WNY0IR [ 6s] + umask 022 [ 6s] + cd /home/abuild/rpmbuild/BUILD [ 6s] + cd yast2-security-3.2.2 [ 6s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 6s] + '[' -f Rakefile ']' [ 6s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64 [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/ [ 6s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/modules' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/include' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/scrconf' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] cp -r 'src/data' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/' [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/lib/YaST2/ [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 6s] cp -r 'src/autoyast-rnc/security.rnc' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/' [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/var/adm/fillup-templates/ [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/applications/YaST2/ [ 6s] cp -r 'src/desktop/security.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/applications/YaST2/' [ 6s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/doc/packages/yast2-security/ [ 6s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/doc/packages/yast2-security/' [ 6s] cp -r 'COPYING' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/doc/packages/yast2-security/' [ 6s] cp -r 'CONTRIBUTING.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64/usr/share/doc/packages/yast2-security/' [ 6s] ++ /usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64//usr/share/applications/YaST2/ -name '*.desktop' [ 6s] + for f in '$(/usr/bin/find /home/abuild/rpmbuild/BUILDROOT/yast2-security-3.2.2-1.x86_64//usr/share/applications/YaST2/ -name '\''*.desktop'\'')' [ 6s] + d=security.desktop [ 6s] + /usr/lib/rpm/suse_update_desktop_file.sh -d ycc_security security [ 6s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/yast2-security-3.2.2 [ 6s] + /usr/lib/rpm/brp-compress [ 6s] + /usr/lib/rpm/brp-suse [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 6s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 6s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 6s] setting /var/adm/ to root:root 0755. (wrong owner/group abuild:abuild) [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 6s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 6s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 7s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 7s] WARNING: '/usr/lib/rpm/brp-desktop.data/custom.menu' does not exist [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 7s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 7s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rZtrpL [ 7s] + umask 022 [ 7s] + cd /home/abuild/rpmbuild/BUILD [ 7s] + cd yast2-security-3.2.2 [ 7s] + '[' '!' -f /usr/share/YaST2/data/devtools/NO_MAKE_CHECK ']' [ 7s] + '[' -f configure.in.in -o -f configure.ac.in ']' [ 7s] + '[' -f Rakefile ']' [ 7s] + rake test:unit [ 7s] rspec --color --format doc 'test/levels_test.rb' 'test/security_test.rb' [ 8s] [ 8s] Levels [ 8s] reads the settings from the yaml files [ 8s] together with Security [ 8s] defines the system behavior [ 8s] [ 8s] #<Yast::SecurityClass:0x00000002862688> [ 8s] #ReadServiceSettings [ 8s] only with mandatory services [ 8s] sets settings for services as 'secure' [ 8s] with mandatory and extra services [ 8s] sets settings for extra services as 'insecure' [ 8s] without all mandatory services and extra ones [ 8s] sets settings for services as 'insecure' [ 8s] with services that are aliases of optional services [ 8s] sets settings for extra services as 'secure' [ 8s] with no services [ 8s] sets settings for mandatory to 'insecure' [ 8s] #Write [ 8s] writes and applies all the settings [ 8s] #write_to_locations [ 8s] does not write nil values [ 8s] does not write unchanged values (FAILED - 1) [ 8s] adds missing values [ 8s] updates changed values [ 8s] #write_kernel_settings [ 8s] writing to sysctl.conf [ 8s] does not write invalid values [ 8s] does not write unchanged values [ 8s] writes changed values [ 8s] setting sysrq [ 8s] does not write invalid values [ 8s] writes valid values [ 8s] #ReadConsoleShutdown [ 8s] when systemd is installed [ 8s] on a non s390 architecture [ 8s] when ctrl+alt+del file not exist [ 8s] returns 'reboot' [ 8s] when ctrl+del+alt file exist [ 8s] returns 'ignore' by default [ 8s] returns 'halt' if links to poweroff.target [ 8s] returns 'reboot' if links to reboot.target [ 8s] returns 'reboot' if links to ctrl-alt-del.target [ 8s] on a s390 architecture [ 8s] when ctrl+alt+del file not exist [ 8s] returns 'reboot' [ 8s] when ctrl+del+alt file exist [ 8s] returns 'ignore' by default [ 8s] returns 'halt' if links to poweroff.target [ 8s] returns 'reboot' if links to reboot.target [ 8s] returns 'halt' if links to ctrl-alt-del.target [ 8s] when systemd is not installed but inittab exist [ 8s] always returns nil [ 8s] on a non s390 architecture [ 8s] when no inittab ca entry [ 8s] returns 'reboot' [ 8s] when inittab ca entry exist [ 8s] sets settings for shutdown as 'ignore' by default [ 8s] sets settings for shutdown as 'halt' if contains 'halt' or ' -h' [ 8s] sets settings for shutdown as 'reboot' if contains 'reboot' or -r [ 8s] on a s390 architecture [ 8s] when no inittab ca entry [ 8s] returns 'halt' [ 8s] when inittab ca entry exist [ 8s] sets settings for shutdown as 'ignore' by default [ 8s] sets settings for shutdown as 'halt' if contains 'halt' or ' -h' [ 8s] sets settings for shutdown as 'reboot' if contains 'reboot' or -r [ 8s] #read_pam_settings [ 8s] sets passwd encryption setting based on /etc/login.defs [ 8s] sets cracklib settings [ 8s] sets password remember history settings [ 8s] #read_permissions [ 8s] depending on current persission [ 8s] sets security permission to 'easy' if contains easy [ 8s] sets security permission to 'paranoid' if contains paranoid [ 8s] sets secure by default [ 8s] #read_polkit_settings [ 8s] depending on current polkit config [ 8s] sets correctly hibernate system settings to 'anyone' [ 8s] sets correctly hibernate settings to 'auth_admin' [ 8s] sets correctly hibernate settings to 'active_console' as default [ 8s] #read_kernel_settings [ 8s] sets kernel settings based on /etc/sysctl.conf [ 8s] #read_from_locations [ 8s] when display manager is gdm [ 8s] allows everybody to shutdown by default [ 8s] sets login definitions based on /etc/login.defs [ 8s] sets different settings based on /etc/sysconfig/* [ 8s] when display manager is kdm [ 8s] sets login definitions based on /etc/login.defs [ 8s] sets login definitions based on /etc/login.defs [ 8s] sets kde4 allow shutdown based on kdmrc [ 8s] sets different settings based on /etc/sysconfig/* [ 8s] #Read [ 8s] reads settings and returns true [ 8s] #Import [ 8s] doest not touch current Settings if given settings are empty [ 8s] when Settings keys exists in given settings [ 8s] imports given settings without modify [ 8s] when Settings keys do not exist in given settings [ 8s] imports SYSCTL settings modifying key names and adapting values [ 8s] imports LOGIN DEFS settings transforming key name [ 8s] does not modify not given settings [ 8s] [ 8s] Failures: [ 8s] [ 8s] 1) #<Yast::SecurityClass:0x00000002862688> #write_to_locations does not write unchanged values [ 8s] Failure/Error: Security.write_to_locations [ 8s] (Yast::SCR).Write(#<Yast::Path:0x00000002e214c0 @components=["sysconfig", "mail", "SMTPD_LISTEN_REMOTE"]>, "no") [ 8s] expected: 0 times with arguments: (#<Yast::Path:0x000000030d3e98 @components=["sysconfig", "mail", "SMTPD_LISTEN_REMOTE"]>, anything) [ 8s] received: 1 time with arguments: (#<Yast::Path:0x00000002e214c0 @components=["sysconfig", "mail", "SMTPD_LISTEN_REMOTE"]>, "no") [ 8s] # ./src/modules/Security.rb:514:in `block (2 levels) in write_to_locations' [ 8s] # ./src/modules/Security.rb:511:in `each' [ 8s] # ./src/modules/Security.rb:511:in `block in write_to_locations' [ 8s] # ./src/modules/Security.rb:510:in `each' [ 8s] # ./src/modules/Security.rb:510:in `write_to_locations' [ 8s] # ./test/security_test.rb:137:in `block (3 levels) in <module:Yast>' [ 8s] [ 8s] Finished in 0.43981 seconds (files took 0.55499 seconds to load) [ 8s] 59 examples, 1 failure [ 8s] [ 8s] Failed examples: [ 8s] [ 8s] rspec ./test/security_test.rb:132 # #<Yast::SecurityClass:0x00000002862688> #write_to_locations does not write unchanged values [ 8s] [ 8s] rake aborted! [ 8s] Command failed with status (1): [rspec --color --format doc 'test/levels_te...] [ 8s] [ 8s] Tasks: TOP => test:unit [ 8s] (See full trace by running task with --trace) [ 8s] error: Bad exit status from /var/tmp/rpm-tmp.rZtrpL (%check) [ 8s] [ 8s] [ 8s] RPM build errors: [ 8s] Bad exit status from /var/tmp/rpm-tmp.rZtrpL (%check) Building yast2-security.spec for SLE-12-SP2-GA/x86_64 Getting buildinfo from server and store to <https://ci.suse.de/job/yast-security-master/ws/Devel>:YaST:Head/yast2-security/.osc/_buildinfo-SLE-12-SP2-GA-x86_64.xml Getting buildconfig from server and store to <https://ci.suse.de/job/yast-security-master/ws/Devel>:YaST:Head/yast2-security/.osc/_buildconfig-SLE-12-SP2-GA-x86_64 Updating cache of required packages 0.0% cache miss. 202/202 dependencies cached. Skipping verification of package signatures Writing build configuration Running build The buildroot was: /var/tmp/build-root-SLE-12-SP2-GA rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Build step 'Execute shell' marked build as failure
participants (1)
-
jenkins@suse.de