Mailinglist Archive: yast-commit (436 mails)

< Previous Next >
[yast-commit] Build failed in Jenkins: yast-aytests-run-SLE15 » 1,autoyast #8
  • From: jenkins@xxxxxxx
  • Date: Sun, 1 Oct 2017 06:58:26 +0000 (UTC)
  • Message-id: <-16300009.9059.1506841106213.JavaMail.jenkins@ci>
See
<https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=1,label=autoyast/8/display/redirect>

------------------------------------------
[...truncated 208.01 KB...]
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in
`block (3 levels) in run_specs'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in
`map'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in
`block (2 levels) in run_specs'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1835:in
`with_suite_hooks'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:112:in
`block in run_specs'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb:77:in
`report'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:111:in
`run_specs'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:87:in
`run'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in
`run'
#
/usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in
`invoke'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/exe/rspec:4:in `<top
(required)>'
# /usr/bin/rspec:23:in `load'
# /usr/bin/rspec:23:in `<main>'
#
# Showing full backtrace because every line was filtered out.
# See docs for RSpec::Configuration#backtrace_exclusion_patterns and
# RSpec::Configuration#backtrace_inclusion_patterns for more information.
# ------------------
# --- Caused by: ---
# SocketError:
# getaddrinfo: Name or service not known
# /usr/lib64/ruby/2.1.0/socket.rb:232:in `getaddrinfo'

Finished in 615 minutes 32 seconds (files took 0.18207 seconds to load)
2 examples, 2 failures

Failed examples:

rspec ./sles12_all_yast.rb[1:1] # SLES 12 with all yast2 packages installed
check generated AutoYaST profile (bsc#954412)
rspec ./sles12_all_yast.rb[1:2] # SLES 12 with all yast2 packages installed
password are set (bsc#973639, bsc#974220, bsc#971804 and bsc#965852)

I, [2017-10-01T02:56:21.245674 #28774] INFO -- : Running test
first_stage_routing
I, [2017-10-01T02:56:21.384610 #28774] INFO -- : Using definition
/usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/share/veewee/install_definition.rb
I, [2017-10-01T02:56:21.384733 #28774] INFO -- : Creating kvm image
Building Box autoyast with Definition autoyast:
- debug : false
- cwd :
/home/jenkins/workspace/yast-aytests-run-SLE15/GROUP/1/label/autoyast/aytests-workspace
- 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
[2017-10-01 02:56:22] INFO WEBrick 1.3.1
[2017-10-01 02:56:22] INFO ruby 2.1.2 (2014-05-08) [x86_64-linux-gnu]
[2017-10-01 02:56:22] INFO WEBrick::HTTPServer#start: pid=13679 port=8888
Running #after_create hook
[2017-10-01 02:56:22] INFO WEBrick 1.3.1
[2017-10-01 02:56:22] INFO ruby 2.1.2 (2014-05-08) [x86_64-linux-gnu]
[2017-10-01 02:56:22] INFO
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 5478 (0x1566)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=DE, ST=Bavaria, L=Nuremberg, O=YaST testing, CN=aytests
Validity
Not Before: Oct 1 00:56:22 2017 GMT
Not After : Oct 1 01:56:22 2017 GMT
Subject: CN=10.100.24.102
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:b9:f9:97:ec:b8:61:d3:75:db:7c:98:63:22:50:
51:b3:db:17:a8:0c:9b:af:b7:f7:6e:a8:56:1a:46:
40:c2:c5:5f:7f:8f:c0:6f:26:f3:9d:ac:99:31:fe:
7c:80:d1:bb:81:34:1a:02:3a:65:2c:68:be:0e:67:
15:49:76:e4:4e:e2:af:57:00:05:1d:fb:9e:8a:4b:
37:0b:ea:f5:bc:99:bb:6e:35:ab:95:24:e4:65:1b:
83:6f:97:25:34:3e:35:b0:37:0d:6b:d1:94:44:15:
0f:ed:d8:ea:4e:98:47:fa:f2:04:db:55:78:0a:d3:
74:75:ad:9c:89:df:5b:51:24:8e:f4:8e:68:b2:56:
3e:e8:81:10:9e:41:8b:86:38:c5:7f:e0:a3:a3:ea:
87:fa:9c:03:07:02:e4:2e:19:e3:5d:ff:9f:09:87:
74:35:71:ab:5b:85:bd:5d:84:d5:00:6a:6f:e3:bb:
72:f3:4d:3b:a9:3d:3e:0b:96:b3:85:e4:33:54:89:
8c:fc:c9:bb:5e:c3:a8:a0:e7:1e:46:fc:fe:1e:63:
e3:5b:97:eb:4a:67:2b:d4:cc:22:97:ad:9a:e6:0c:
4c:40:9f:ae:8d:bc:eb:73:32:03:d5:e5:8f:20:2e:
1a:1b:cd:54:b7:8d:ca:e6:15:8b:98:d2:3f:f3:76:
2f:09
Exponent: 65537 (0x10001)
Signature Algorithm: sha1WithRSAEncryption
54:39:85:be:d7:f2:2c:eb:95:e4:dd:64:79:0f:bc:cf:c6:70:
cb:15:5b:70:1c:3c:1b:03:3d:ee:d8:41:95:a5:63:17:58:26:
5c:21:f2:d6:10:37:39:2b:c4:e0:3a:99:29:a6:85:60:41:ee:
2a:61:84:68:a1:19:44:46:ef:4f:ba:6d:f0:bf:2f:3f:bd:6b:
3f:d2:ae:ad:75:d4:d8:d8:de:b4:06:58:72:b2:e3:90:6f:bf:
59:43:ec:e5:bf:55:9f:e2:4d:64:3d:6d:3d:bb:69:ac:e8:ed:
a9:67:d2:50:49:c0:b6:97:90:03:27:8b:57:a9:09:7f:0c:9f:
f3:5a:2c:65:9f:59:cb:d5:28:71:37:bf:5b:b8:7a:f4:95:4f:
71:84:a6:8a:dc:ec:3d:96:60:ca:cd:b7:15:dc:2e:d8:69:34:
66:71:7f:30:c2:5d:2a:d2:05:f2:11:1c:a8:62:9a:e7:7a:b1:
25:57:d5:9f:0c:d7:b0:13:4c:9d:2e:f3:2e:eb:c0:db:f2:fe:
f5:47:c3:29:c9:58:0b:dd:06:ba:66:b0:e8:27:07:64:56:db:
5b:48:f8:6a:f6:2c:e3:a6:9e:04:be:3a:8c:da:42:48:96:0e:
6a:b9:ba:7a:39:32:6c:5b:48:f9:c4:c4:af:c9:14:82:e5:ae:
af:ee:e0:c4
[2017-10-01 02:56:22] INFO WEBrick::HTTPServer#start: pid=13679 port=8889
Running #after_up hook
Waiting 10 seconds for the machine to boot
Skipping webserver as no kickstartfile was specified
Sending keystrokes to VNC port :0 - TCP port: 5900
Typing:[1]: <Esc><Enter>
Waiting for ssh login on 192.168.122.98 with user vagrant to sshd on port => 22
to work, timeout=3600 sec
Hook #before_ssh is not defined
.Typing:[2]:
Typing:[3]: linux
Typing:[4]: instmode=dvd
Typing:[5]: textmode=1
Typing:[6]: insecure=1
Typing:[7]: netsetup=dhcp
.Typing:[8]: SetHostname=0
Typing:[9]: autoyast=http://10.100.24.102:8888/autoinst.xml
.Typing:[10]: <Enter>
Done typing.

Hook #after_boot_sequence is not defined
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Ssh
timeout 3600 sec has been reached.
[2017-10-01 03:56:33] INFO going to shutdown ...
[2017-10-01 03:56:33] INFO WEBrick::HTTPServer#start done.
[2017-10-01 03:56:33] INFO going to shutdown ...
[2017-10-01 03:56:33] INFO WEBrick::HTTPServer#start done.
I, [2017-10-01T03:56:33.432122 #28774] INFO -- : Uploading and running
post-install script
I, [2017-10-01T03:56:33.556826 #28774] INFO -- : Uploading
'/usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/share/veewee/postinstall.sh'
failed: #<Net::SSH::Simple::Error: Connection refused - connect(2) for
192.168.122.98:22 @ #<Net::SSH::Simple::Result cmd=:upload
exception=#<Errno::ECONNREFUSED: Connection refused - connect(2) for
192.168.122.98:22> finish_at=2017-10-01 03:56:33 +0200 host="192.168.122.98"
last_event_at=2017-10-01 03:56:33 +0200 op=:scp opts={:user=>"root",
:port=>"22", :password=>"*********", :paranoid=>false,
:scp_src=>"/usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/share/veewee/postinstall.sh",
:scp_dst=>"/root/postinstall.sh", :timeout=>60, :operation_timeout=>3600,
:close_timeout=>5, :keepalive_interval=>60} start_at=2017-10-01 03:56:33 +0200
stderr="" stdout="" success=false>>
I, [2017-10-01T03:56:33.610551 #28774] INFO -- : Running 'env sh
/root/postinstall.sh' failed: #<Net::SSH::Simple::Error: Connection refused -
connect(2) for 192.168.122.98:22 @ #<Net::SSH::Simple::Result
exception=#<Errno::ECONNREFUSED: Connection refused - connect(2) for
192.168.122.98:22> finish_at=2017-10-01 03:56:33 +0200 stderr="" stdout=""
success=false>>
I, [2017-10-01T03:56:33.610647 #28774] INFO -- : Downloading YaST2 logs
I, [2017-10-01T03:56:33.664018 #28774] INFO -- : Running 'sudo /bin/tar -C
/var/log -czf /tmp/logs.tgz YaST2' failed: #<Net::SSH::Simple::Error:
Connection refused - connect(2) for 192.168.122.98:22 @
#<Net::SSH::Simple::Result exception=#<Errno::ECONNREFUSED: Connection refused
- connect(2) for 192.168.122.98:22> finish_at=2017-10-01 03:56:33 +0200
stderr="" stdout="" success=false>>
I, [2017-10-01T03:56:33.718851 #28774] INFO -- : Downloading '/tmp/logs.tgz'
failed: #<Net::SSH::Simple::Error: Connection refused - connect(2) for
192.168.122.98:22 @ #<Net::SSH::Simple::Result cmd=:download
exception=#<Errno::ECONNREFUSED: Connection refused - connect(2) for
192.168.122.98:22> finish_at=2017-10-01 03:56:33 +0200 host="192.168.122.98"
last_event_at=2017-10-01 03:56:33 +0200 op=:scp opts={:user=>"root",
:port=>"22", :password=>"*********", :paranoid=>false,
:scp_src=>"/tmp/logs.tgz",
:scp_dst=>"/home/jenkins/workspace/yast-aytests-run-SLE15/GROUP/1/label/autoyast/aytests-workspace/results/201710010256-first_stage_routing/installation-y2logs.tgz",
:timeout=>60, :operation_timeout=>3600, :close_timeout=>5,
:keepalive_interval=>60} start_at=2017-10-01 03:56:33 +0200 stderr="" stdout=""
success=false>>
I, [2017-10-01T03:56:33.718906 #28774] 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'
'/home/jenkins/workspace/yast-aytests-run-SLE15/GROUP/1/label/autoyast/aytests-workspace/autoyast.box'

To use it:
vagrant init 'autoyast'
vagrant up --provider=libvirt
vagrant ssh
I, [2017-10-01T03:56:35.066842 #28774] INFO -- : Importing kvm image into
Vagrant
Ignoring ruby-libvirt-0.7.0 because its extensions are not built. Try: gem
pristine ruby-libvirt --version 0.7.0
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:///home/jenkins/workspace/yast-aytests-run-SLE15/GROUP/1/label/autoyast/aytests-workspace/autoyast.box
 box: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)==>
box: Successfully added box 'autoyast' (v0) for 'libvirt'!
Vol autoyast_vagrant_box_image_0.img deleted

Ignoring ruby-libvirt-0.7.0 because its extensions are not built. Try: gem
pristine ruby-libvirt --version 0.7.0
==> autoyast_vm: Remove stale volume...
==> autoyast_vm: Domain is not created. Please run `vagrant up` first.
Ignoring ruby-libvirt-0.7.0 because its extensions are not built. Try: gem
pristine ruby-libvirt --version 0.7.0
Bringing machine 'autoyast_vm' up with 'libvirt' provider...
==> autoyast_vm: Uploading base box image as volume into libvirt storage...
Progress: 100%==> 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 (26G)
==> 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: -- TPM Path:
==> 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...
FATAL: command execution failed
java.io.EOFException
at
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2790)
at
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3264)
at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:1002)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:400)
at
hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
at
hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
at
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59)
Caused: java.io.IOException: Unexpected termination of the channel
at
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:73)
Caused: java.io.IOException: Backing channel 'yast-autoyast2' is disconnected.
at
hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:192)
at
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:257)
at com.sun.proxy.$Proxy97.isAlive(Unknown Source)
at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1138)
at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1130)
at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:155)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:730)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490)
at hudson.model.Run.execute(Run.java:1735)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:415)
Build step 'Execute shell' marked build as failure
FATAL: channel is already closed
java.io.EOFException
at
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2790)
at
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3264)
at
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:1002)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:400)
at
hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:48)
at
hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:35)
at
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:59)
Caused: java.io.IOException: Unexpected termination of the channel
at
hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:73)
Caused: hudson.remoting.ChannelClosedException: channel is already closed
at hudson.remoting.Channel.send(Channel.java:613)
at hudson.remoting.Request.call(Request.java:130)
at hudson.remoting.Channel.call(Channel.java:838)
at hudson.Launcher$RemoteLauncher.kill(Launcher.java:1079)
at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:496)
at hudson.model.Run.execute(Run.java:1735)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:415)

< Previous Next >
This Thread
  • No further messages