See https://ci.suse.de/job/yast-autoyast-integration-test/211/
------------------------------------------
[...truncated 7429 lines...]
Waiting for ssh login on 192.168.123.98 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.Typing:[2]:
Typing:[3]: linux
Typing:[4]: netdevice=eth0
Typing:[5]: instmode=dvd
Typing:[6]: textmode=1
Typing:[7]: insecure=1
.Typing:[8]: netsetup=dhcp
Typing:[9]: autoyast=http://10.100.51.105:8888/autoinst.xml
.Typing:[10]: vnc=1 vncpassword=12345678
Typing:[11]: <Enter>
Done typing.
Hook #after_boot_sequence is not defined
....................................................................................192.168.123.98 - - [03/Feb/2016:15:53:41 CET] "GET /autoinst.xml HTTP/1.1" 200 21114
- -> /autoinst.xml
192.168.123.98 - - [03/Feb/2016:15:53:41 CET] "GET /autoinst.xml HTTP/1.1" 200 21114
- -> /autoinst.xml
...........192.168.123.98 - - [03/Feb/2016:15:54:36 CET] "HEAD /static/repos/sles12/repodata/repomd.xml HTTP/1.1" 200 0
- -> /static/repos/sles12/repodata/repomd.xml
[2016-02-03 15:54:36] ERROR `/static/repos/sles12/repodata/repomd.xml.asc' not found.
192.168.123.98 - - [03/Feb/2016:15:54:36 CET] "GET /static/repos/sles12/repodata/repomd.xml.asc HTTP/1.1" 404 317
- -> /static/repos/sles12/repodata/repomd.xml.asc
[2016-02-03 15:54:36] ERROR `/static/repos/sles12/repodata/repomd.xml.key' not found.
192.168.123.98 - - [03/Feb/2016:15:54:36 CET] "GET /static/repos/sles12/repodata/repomd.xml.key HTTP/1.1" 404 317
- -> /static/repos/sles12/repodata/repomd.xml.key
192.168.123.98 - - [03/Feb/2016:15:54:36 CET] "GET /static/repos/sles12/repodata/repomd.xml HTTP/1.1" 200 1497
- -> /static/repos/sles12/repodata/repomd.xml
192.168.123.98 - - [03/Feb/2016:15:54:36 CET] "GET /static/repos/sles12/repodata/441164f1641d5ce5e5233363d11f61d80526d99d327ac1475c32f4784748c5ab-primary.xml.gz HTTP/1.1" 200 609
- -> /static/repos/sles12/repodata/441164f1641d5ce5e5233363d11f61d80526d99d327ac1475c32f4784748c5ab-primary.xml.gz
[2016-02-03 15:54:37] ERROR `/static/repos/sles12/directory.yast' not found.
192.168.123.98 - - [03/Feb/2016:15:54:37 CET] "GET /static/repos/sles12/directory.yast HTTP/1.1" 404 308
- -> /static/repos/sles12/directory.yast
[2016-02-03 15:54:37] ERROR `/static/repos/sles12/content.asc' not found.
192.168.123.98 - - [03/Feb/2016:15:54:37 CET] "GET /static/repos/sles12/content.asc HTTP/1.1" 404 305
- -> /static/repos/sles12/content.asc
[2016-02-03 15:54:37] ERROR `/static/repos/sles12/content.key' not found.
192.168.123.98 - - [03/Feb/2016:15:54:37 CET] "GET /static/repos/sles12/content.key HTTP/1.1" 404 305
- -> /static/repos/sles12/content.key
[2016-02-03 15:54:37] ERROR `/static/repos/sles12/content' not found.
192.168.123.98 - - [03/Feb/2016:15:54:37 CET] "GET /static/repos/sles12/content HTTP/1.1" 404 301
- -> /static/repos/sles12/content
[2016-02-03 15:54:37] ERROR `/static/repos/sles12/directory.yast' not found.
192.168.123.98 - - [03/Feb/2016:15:54:37 CET] "GET /static/repos/sles12/directory.yast HTTP/1.1" 404 308
- -> /static/repos/sles12/directory.yast
.................................................................................................................................................................................................................................................................................................................................................................................................................192.168.123.98 - - [03/Feb/2016:16:28:41 CET] "GET /static/repos/sles12/repodata/repomd.xml HTTP/1.1" 200 1497
- -> /static/repos/sles12/repodata/repomd.xml
..................................................
Transferring /tmp/.veewee_version20160203-26019-1jdlscp to .veewee_version
..
Waiting for ssh login on 192.168.123.98 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Transferring /tmp/.veewee_params20160203-26019-13vmnqc to .veewee_params
..
Hook #before_postinstall is not defined
Waiting for ssh login on 192.168.123.98 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/aytests-workspace/d... to postinstall.sh
..
Waiting for ssh login on 192.168.123.98 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.123.98 with user vagrant to sshd on port => 22 to work, timeout=10000 sec
Hook #before_ssh is not defined
.
Executing command: echo 'nots3cr3t'|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 496 0 --:--:-- --:--:-- --:--:-- 496
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.123.98
[2016-02-03 16:32:59] INFO going to shutdown ...
[2016-02-03 16:32:59] INFO WEBrick::HTTPServer#start done.
I, [2016-02-03T16:32:59.635713 #12565] INFO -- : 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/aytests-workspace/autoyast.box'
To use it:
vagrant init 'autoyast'
vagrant up --provider=libvirt
vagrant ssh
I, [2016-02-03T16:33:37.189915 #12565] INFO -- : Importing kvm image into Vagrant
WARN environment: No local data path is set. Local data cannot be stored.
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'autoyast' (v0) for provider:
box: Unpacking necessary files from: file://https://ci.suse.de/job/yast-autoyast-integration-test/ws/aytests-workspace/a...
box: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)
box: Progress: 6% (Rate: 125M/s, Estimated time remaining: 0:00:14)
box: Progress: 13% (Rate: 125M/s, Estimated time remaining: 0:00:13)
box: Progress: 19% (Rate: 122M/s, Estimated time remaining: 0:00:12)
box: Progress: 25% (Rate: 119M/s, Estimated time remaining: 0:00:12)
box: Progress: 31% (Rate: 117M/s, Estimated time remaining: 0:00:11)
box: Progress: 38% (Rate: 119M/s, Estimated time remaining: 0:00:10)
box: Progress: 41% (Rate: 106M/s, Estimated time remaining: 0:00:10)
box: Progress: 48% (Rate: 107M/s, Estimated time remaining: 0:00:09)
box: Progress: 54% (Rate: 107M/s, Estimated time remaining: 0:00:08)
box: Progress: 59% (Rate: 101M/s, Estimated time remaining: 0:00:07)
box: Progress: 65% (Rate: 98.4M/s, Estimated time remaining: 0:00:06)
box: Progress: 72% (Rate: 111M/s, Estimated time remaining: 0:00:05)
box: Progress: 78% (Rate: 111M/s, Estimated time remaining: 0:00:04)
box: Progress: 84% (Rate: 109M/s, Estimated time remaining: 0:00:03)
box: Progress: 90% (Rate: 115M/s, Estimated time remaining: 0:00:02)
box: Progress: 94% (Rate: 109M/s, Estimated time remaining: 0:00:01)
==> box: Successfully added box 'autoyast' (v0) for 'libvirt'!
error: Failed to delete vol autoyast_vagrant_box_image_0.img
error: cannot unlink file '/var/lib/libvirt/images/autoyast_vagrant_box_image_0.img': Success
==> autoyast_vm: Remove stale volume...
==> autoyast_vm: Domain is not created. Please run `vagrant up` first.
Bringing machine 'autoyast_vm' up with 'libvirt' provider...
==> autoyast_vm: Creating image (snapshot of base box volume).
==> autoyast_vm: Creating domain with the following settings...
==> autoyast_vm: -- Name: vagrant_autoyast_vm
==> autoyast_vm: -- Domain type: kvm
==> autoyast_vm: -- Cpus: 1
==> autoyast_vm: -- Memory: 1024M
==> autoyast_vm: -- Management MAC:
==> autoyast_vm: -- Loader:
==> autoyast_vm: -- Base box: autoyast
==> autoyast_vm: -- Storage pool: default
==> autoyast_vm: -- Image: /var/lib/libvirt/images/vagrant_autoyast_vm.img (20G)
==> autoyast_vm: -- Volume Cache: none
==> autoyast_vm: -- Kernel:
==> autoyast_vm: -- Initrd:
==> autoyast_vm: -- Graphics Type: vnc
==> autoyast_vm: -- Graphics Port: 5900
==> autoyast_vm: -- Graphics IP: 127.0.0.1
==> autoyast_vm: -- Graphics Password: Not defined
==> autoyast_vm: -- Video Type: cirrus
==> autoyast_vm: -- Video VRAM: 9216
==> autoyast_vm: -- Keymap: en-us
==> autoyast_vm: -- INPUT: type=mouse, bus=ps2
==> autoyast_vm: -- Command line :
==> autoyast_vm: Creating shared folders metadata...
==> autoyast_vm: Starting domain.
==> autoyast_vm: Waiting for domain to get an IP address...
==> autoyast_vm: Waiting for SSH to become available...
autoyast_vm:
autoyast_vm: Vagrant insecure key detected. Vagrant will automatically replace
autoyast_vm: this with a newly generated keypair for better security.
autoyast_vm:
autoyast_vm: Inserting generated public key within guest...
autoyast_vm: Removing insecure key from the guest if it's present...
autoyast_vm: Key inserted! Disconnecting and reconnecting using new SSH key...
==> autoyast_vm: Configuring and enabling network interfaces...
................F==> autoyast_vm: Halting domain...
==> autoyast_vm: Removing domain...
Failures:
1) SLES 12 network installation Check udev network rules were written (bsc#956605)
Failure/Error: DEFAULT_FAILURE_NOTIFIER = lambda { |failure, _opts| raise failure }
+ [[ -f /etc/udev/rules.d/70-persistent-net.rules.aytests ]]
+ NET_RULES_FILE=/etc/udev/rules.d/70-persistent-net.rules.aytests
+ grep coolname /etc/udev/rules.d/70-persistent-net.rules.aytests
Shared Example Group: "test_scripts" called from ./sles12_network.rb:5
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-support-3.4.1/lib/rspec/support.rb:87:in `block in module:Support'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-support-3.4.1/lib/rspec/support.rb:96:in `call'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-support-3.4.1/lib/rspec/support.rb:96:in `notify_failure'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-expectations-3.4.0/lib/rspec/expectations/fail_with.rb:27:in `fail_with'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb:38:in `handle_failure'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-expectations-3.4.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-expectations-3.4.0/lib/rspec/expectations/expectation_target.rb:54:in `to'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.5/lib/aytests/test_helpers.rb:55:in `remote_run_test_script'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.5/lib/aytests/test_helpers.rb:42:in `run_test_script'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.5/lib/aytests/spec_helper.rb:51:in `block (3 levels) in