See https://ci.suse.de/job/yast-autoyast-integration-test/11/changes
Changes:
[igonzalezsosa] Add a test to check that pkgGpgCheck is handled
------------------------------------------
[...truncated 1160 lines...]
building: 97%
building: 98%
building: 98%
building: 98%
building: 98%
building: 98%
building: 98%
building: 98%
building: 99%
building: 99%
building: 99%
building: 99%
building: 99%
building: 99%
building: 100%
calculating sha1...
**** Copy new ISO image to veewee/vagrant environment ****
destination: https://ci.suse.de/job/yast-autoyast-integration-test/ws/build_iso/../kiwi/i...
+ rake 'test[/home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb]'
---------------------------------------------------------------------------------
********** Running test sles12 **********
---------------------------------------------------------------------------------
****** Creating KVM image ******
**** Building KVM image ****
Building Box autoyast with Definition autoyast:
- debug : false
- cwd : https://ci.suse.de/job/yast-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-10-13 11:20:44] INFO WEBrick 1.3.1
[2015-10-13 11:20:44] INFO ruby 2.1.2 (2014-05-08) [x86_64-linux-gnu]
[2015-10-13 11:20:44] INFO WEBrick::HTTPServer#start: pid=3718 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.232 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
..................192.168.122.232 - - [13/Oct/2015:11:23:36 CEST] "GET /autoinst.xml HTTP/1.1" 200 21607
- -> /autoinst.xml
192.168.122.232 - - [13/Oct/2015:11:23:36 CEST] "GET /autoinst.xml HTTP/1.1" 200 21607
- -> /autoinst.xml
.......................................................................................................................................................................................................................................................
Transferring /tmp/.veewee_version20151013-3718-9h04mj to .veewee_version
..
Waiting for ssh login on 192.168.122.232 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Transferring /tmp/.veewee_params20151013-3718-1mzeky7 to .veewee_params
..
Hook #before_postinstall is not defined
Waiting for ssh login on 192.168.122.232 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Transferring https://ci.suse.de/job/yast-autoyast-integration-test/ws/kiwi/definitions/au... to postinstall.sh
..
Waiting for ssh login on 192.168.122.232 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.232 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
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 409 100 409 0 0 503 0 --:--:-- --:--:-- --:--:-- 503
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.232
[2015-10-13 11:44:17] INFO going to shutdown ...
[2015-10-13 11:44:17] 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' 'https://ci.suse.de/job/yast-autoyast-integration-test/ws/kiwi/autoyast.box'
To use it:
vagrant init 'autoyast'
vagrant up --provider=libvirt
vagrant ssh
error: failed to get vol 'vagrant_autoyast_vm.img'
error: Storage volume not found: no storage vol with matching path 'vagrant_autoyast_vm.img'
****** 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 ******
FFFFFFFFFFFFF
Failures:
1) SLES 12 checks, if user -vagrant- has been created
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
2) SLES 12 checks, if root has /root home
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
3) SLES 12 checks, if files can be downloaded from tftp server
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
4) SLES 12 checks, if dns server and network is available
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
5) SLES 12 checks, if user scripts have been run
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
6) SLES 12 checks, if partition_id order fits
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
7) SLES 12 checks, if no tmpfs device in autoinst.xml
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
8) SLES 12 checks, if subvolumes are correctly in autoinst.xml
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
9) SLES 12 checks, if registration is not in autoinst.xml
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
10) SLES 12 checks, if ntp time syncing has been passed
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
11) SLES 12 checks, after installation snapshot has been created
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
12) SLES 12 checks, do not reinstall packages in the second stage
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
13) SLES 12 checks, all expected sections are present in autoinst.xml
Failure/Error: Unable to find matching line from backtrace
Cheetah::ExecutionFailed:
Execution of "vagrant up autoyast_vm" failed with status 1: Name `vagrant_autoyast_vm` of domain about to create is already taken. Please try to run (...).
# /home/jenkins/workspace/autoyast-integration-test/helper/spec_helper.rb:53:in `block (2 levels) in '
Finished in 23.52 seconds (files took 1.51 seconds to load)
13 examples, 13 failures
Failed examples:
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:4 # SLES 12 checks, if user -vagrant- has been created
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:9 # SLES 12 checks, if root has /root home
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:13 # SLES 12 checks, if files can be downloaded from tftp server
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:17 # SLES 12 checks, if dns server and network is available
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:21 # SLES 12 checks, if user scripts have been run
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:26 # SLES 12 checks, if partition_id order fits
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:31 # SLES 12 checks, if no tmpfs device in autoinst.xml
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:36 # SLES 12 checks, if subvolumes are correctly in autoinst.xml
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:41 # SLES 12 checks, if registration is not in autoinst.xml
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:46 # SLES 12 checks, if ntp time syncing has been passed
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:50 # SLES 12 checks, after installation snapshot has been created
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:55 # SLES 12 checks, do not reinstall packages in the second stage
rspec /home/jenkins/workspace/autoyast-integration-test/spec/sles12.rb:60 # SLES 12 checks, all expected sections are present in autoinst.xml
Build step 'Execute shell' marked build as failure