See http://river.suse.de/job/autoyast-integration-test/234/changes
Changes:
[igonzalezsosa] Add SUSE Connect Rubygem
------------------------------------------
[...truncated 59553 lines...]
........................................................................................................................................................................................................................................................
Transferring /tmp/.veewee_version20150903-2553-rbq16c to .veewee_version
..
Waiting for ssh login on 192.168.122.155 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Transferring /tmp/.veewee_params20150903-2553-103naiv to .veewee_params
..
Hook #before_postinstall is not defined
Waiting for ssh login on 192.168.122.155 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Transferring http://river.suse.de/job/autoyast-integration-test/ws/kiwi/definitions/autoy... to postinstall.sh
..
Waiting for ssh login on 192.168.122.155 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Executing command: chmod +x "postinstall.sh"
Waiting for ssh login on 192.168.122.155 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Executing command: echo 'vagrant'|sudo -S sh './postinstall.sh'
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
root's password: % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 409 100 409 0 0 651 0 --:--:-- --:--:-- --:--:-- 651
update sudoers ...
speed-up remote logins ...
Hook #after_postinstall is not defined
The box autoyast was built successfully!
You can now login to the box with:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22 -l vagrant 192.168.122.155
[2015-09-03 17:13:19] INFO going to shutdown ...
[2015-09-03 17:13:19] INFO WEBrick::HTTPServer#start done.
**** Exporting KVM image into box file ****
Vagrant requires the box to be shutdown, before it can export
Sudo also needs to work for user vagrant
Performing a clean shutdown now.
Machine autoyast is powered off cleanly
Creating a temporary directory for export
Adding additional files
Creating Vagrantfile
Copying the box volume
Packaging the box
Cleaning up temporary directory
To import it into vagrant type:
vagrant box add 'autoyast' 'http://river.suse.de/job/autoyast-integration-test/ws/kiwi/autoyast.box'
To use it:
vagrant init 'autoyast'
vagrant up --provider=libvirt
vagrant ssh
Vol vagrant_autoyast_vm.img deleted
****** Importing vagrant box into pennyworth ******
Bundler is using a binstub that was created for a different gem.
This is deprecated, in future versions you may need to `bundle binstub pennyworth` to work around a system/bundle conflict.
Importing box 'autoyast' into vagrant...
****** Running test on created system ******
..Boot machine 'autoyast_vm' : 103.101779098
Minimal partition checks, if user -vagrant- has been created : 0.57244052
Minimal partition checks, if partition_id order fits : 0.493313492
Finished in 1 minute 55.5 seconds (files took 1.26 seconds to load)
2 examples, 0 failures
---------------------------------------------------------------------------------
********** Running test sles12 **********
---------------------------------------------------------------------------------
****** Creating KVM image ******
**** Building KVM image ****
Building Box autoyast with Definition autoyast:
- debug : false
- cwd : http://river.suse.de/job/autoyast-integration-test/ws/kiwi
- force : true
- nogui : false
- auto : true
- checksum : false
- postinstall_include : []
- postinstall_exclude : []
- skip_to_postinstall : false
- use_emulation : false
- network_name : default
The isofile testing.iso already exists.
Running #before_create hook
[2015-09-03 17:17:49] INFO WEBrick 1.3.1
[2015-09-03 17:17:49] INFO ruby 2.1.2 (2014-05-08) [x86_64-linux-gnu]
[2015-09-03 17:17:49] INFO WEBrick::HTTPServer#start: pid=19336 port=8888
Hook #after_create is not defined
Hook #after_up is not defined
Waiting 10 seconds for the machine to boot
Skipping webserver as no kickstartfile was specified
Sending keystrokes to VNC port :1 - TCP port: 5901
Typing:[1]: <Esc><Enter>
Typing:[2]: linux
Typing:[3]: netdevice=eth0
Typing:[4]: instmode=dvd
Typing:[5]: textmode=1
Typing:[6]: insecure=1
Typing:[7]: netsetup=dhcp
Typing:[8]: autoyast=http://10.100.13.63:8888/autoinst.xml
Typing:[9]: <Enter>
Done typing.
Hook #after_boot_sequence is not defined
Waiting for ssh login on 192.168.122.111 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
...................192.168.122.111 - - [03/Sep/2015:17:20:24 CEST] "GET /autoinst.xml HTTP/1.1" 200 21607
- -> /autoinst.xml
192.168.122.111 - - [03/Sep/2015:17:20:24 CEST] "GET /autoinst.xml HTTP/1.1" 200 21607
- -> /autoinst.xml
...............................................................................................................................................................................................................................................................
Transferring /tmp/.veewee_version20150903-19336-qw9gnf to .veewee_version
..
Waiting for ssh login on 192.168.122.111 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Transferring /tmp/.veewee_params20150903-19336-wbp5hf to .veewee_params
..
Hook #before_postinstall is not defined
Waiting for ssh login on 192.168.122.111 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Transferring http://river.suse.de/job/autoyast-integration-test/ws/kiwi/definitions/autoy... to postinstall.sh
..
Waiting for ssh login on 192.168.122.111 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Executing command: chmod +x "postinstall.sh"
Waiting for ssh login on 192.168.122.111 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Executing command: echo 'vagrant'|sudo -S sh './postinstall.sh'
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
root's password: % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 409 100 409 0 0 556 0 --:--:-- --:--:-- --:--:-- 556
100 409 100 409 0 0 555 0 --:--:-- --:--:-- --:--:-- 0
update sudoers ...
speed-up remote logins ...
Hook #after_postinstall is not defined
The box autoyast was built successfully!
You can now login to the box with:
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 22 -l vagrant 192.168.122.111
[2015-09-03 17:41:48] INFO going to shutdown ...
[2015-09-03 17:41:48] INFO WEBrick::HTTPServer#start done.
**** Exporting KVM image into box file ****
Vagrant requires the box to be shutdown, before it can export
Sudo also needs to work for user vagrant
Performing a clean shutdown now.
Machine autoyast is powered off cleanly
Creating a temporary directory for export
Adding additional files
Creating Vagrantfile
Copying the box volume
Packaging the box
Cleaning up temporary directory
To import it into vagrant type:
vagrant box add 'autoyast' 'http://river.suse.de/job/autoyast-integration-test/ws/kiwi/autoyast.box'
To use it:
vagrant init 'autoyast'
vagrant up --provider=libvirt
vagrant ssh
Vol vagrant_autoyast_vm.img deleted
****** Importing vagrant box into pennyworth ******
Bundler is using a binstub that was created for a different gem.
This is deprecated, in future versions you may need to `bundle binstub pennyworth` to work around a system/bundle conflict.
Importing box 'autoyast' into vagrant...
****** Running test on created system ******
............FBoot machine 'autoyast_vm' : 96.871748819
SLES 12 checks, if user -vagrant- has been created : 0.566390701
SLES 12 checks, if root has /root home : 0.49069375
SLES 12 checks, if files can be downloaded from tftp server : 0.575432671
SLES 12 checks, if dns server and network is available : 5.692276206
SLES 12 checks, if user scripts have been run : 0.541516496
SLES 12 checks, if partition_id order fits : 0.630350717
SLES 12 checks, if no tmpfs device in autoinst.xml : 0.5096931
SLES 12 checks, if subvolumes are correctly in autoinst.xml : 0.505567809
SLES 12 checks, if registration is not in autoinst.xml : 0.50525502
SLES 12 checks, if ntp time syncing has been passed : 0.550281033
SLES 12 checks, after installation snapshot has been created : 0.827055044
SLES 12 checks, do not reinstall packages in the second stage : 0.501886935
SLES 12 checks, all expected sections are present in autoinst.xml : 0.508148826
Failures:
1) SLES 12 checks, all expected sections are present in autoinst.xml
Failure/Error: run_test_script("profile_sections.sh")
Pennyworth::ExecutionFailed:
Execution of "ssh -o UserKnownHostsFile\=/dev/null -o StrictHostKeyChecking\=no root@192.168.121.79 LC_ALL\=C su -l root -c source\\\ /tmp/profile_sections.sh" failed with status 1: Warning: Permanently added '192.168.121.79' (ECDSA) to the list of known hosts.
.
Standard output:
[DEBUG] missing sections: kdump
Error output:
Warning: Permanently added '192.168.121.79' (ECDSA) to the list of known hosts.
# ./helper/spec_helper.rb:27:in `run_test_script'
# ./spec/sles12.rb:61:in `block (2 levels) in