See <https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=0,label=autoyast/8/display/redirect> ------------------------------------------ [...truncated 308.22 KB...] # /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 33 seconds (files took 0.18679 seconds to load) 6 examples, 6 failures Failed examples: rspec ./first_stage_dns.rb[1:1] # SLES 15 configures DNS when running first stage only, vagrant user has been created rspec ./first_stage_dns.rb[1:2] # SLES 15 configures DNS when running first stage only, YaST2 packages are not installed rspec ./first_stage_dns.rb[1:3] # SLES 15 configures DNS when running first stage only, second stage was not run rspec ./first_stage_dns.rb[1:4] # SLES 15 configures DNS when running first stage only, network has been set up (bnc#944942) rspec ./first_stage_dns.rb[1:5] # SLES 15 configures DNS when running first stage only, DNS config written as expected rspec ./first_stage_dns.rb[1:6] # SLES 15 configures DNS when running first stage only, password are set (bsc#973639, bsc#974220, bsc#971804 and bsc#965852) I, [2017-10-01T02:53:27.485537 #18880] INFO -- : Running test self_update I, [2017-10-01T02:53:27.610295 #18880] INFO -- : Using definition /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/share/veewee/install_definition.rb I, [2017-10-01T02:53:27.610415 #18880] INFO -- : Creating kvm image Building Box autoyast with Definition autoyast: - debug : false - cwd : /home/jenkins/workspace/yast-aytests-run-SLE15/GROUP/0/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:53:28] INFO WEBrick 1.3.1 [2017-10-01 02:53:28] INFO ruby 2.1.2 (2014-05-08) [x86_64-linux-gnu] [2017-10-01 02:53:28] INFO WEBrick::HTTPServer#start: pid=2553 port=8888 Running #after_create hook [2017-10-01 02:53:28] INFO WEBrick 1.3.1 [2017-10-01 02:53:28] INFO ruby 2.1.2 (2014-05-08) [x86_64-linux-gnu] [2017-10-01 02:53:28] INFO Certificate: Data: Version: 3 (0x2) Serial Number: 9559 (0x2557) Signature Algorithm: sha1WithRSAEncryption Issuer: C=DE, ST=Bavaria, L=Nuremberg, O=YaST testing, CN=aytests Validity Not Before: Oct 1 00:53:28 2017 GMT Not After : Oct 1 01:53:28 2017 GMT Subject: CN=10.100.24.103 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (2048 bit) Modulus: 00:b4:03:7c:c9:6d:96:1a:41:ea:29:93:b0:fb:dd: 05:aa:3a:50:23:e3:b9:38:c0:2e:48:70:01:d8:2a: 28:27:f6:e0:55:bc:71:ad:fe:0a:34:7a:02:8e:60: 3f:91:13:a2:f8:a6:32:95:11:a6:fc:48:a4:1f:08: 8d:9b:a6:cd:05:ce:25:40:6c:74:24:ad:db:89:a4: 7f:0f:e1:4e:68:e1:5b:84:0a:e6:6f:d6:7a:42:ac: d3:89:2b:42:38:b2:81:1b:07:15:12:bb:16:37:d1: 93:94:ae:b4:85:00:6f:0c:3c:58:18:23:c7:59:97: ef:e3:a5:20:78:2b:c1:bd:60:a4:3a:af:03:e5:d9: fc:b4:5f:df:e8:77:85:a4:74:23:3a:64:6d:4d:ab: 86:65:8d:ce:c2:32:f1:fe:32:8f:8f:a8:e9:ba:16: 05:8b:4c:58:9a:ad:da:40:46:e6:7a:7f:38:d6:bf: cc:df:01:ec:9f:12:39:15:43:f9:3b:c7:7e:3f:e9: cc:6c:85:c8:96:5a:54:9f:04:06:f9:1e:97:25:a3: 24:24:c8:09:e6:7e:ca:99:53:de:65:26:84:ba:74: 7d:00:8b:27:5c:fc:7e:a4:58:55:eb:f9:b7:7d:35: bc:d4:9e:6e:1b:94:e8:6d:02:c8:a0:16:39:7f:7b: 6c:b9 Exponent: 65537 (0x10001) Signature Algorithm: sha1WithRSAEncryption 30:9f:50:ce:2f:3c:25:bb:a6:a5:aa:55:c2:ab:27:01:d2:b9: a1:c6:95:4a:54:da:31:99:54:ca:5e:bf:90:26:1b:42:0a:32: 66:8d:62:a8:7f:97:f4:32:cf:ab:c0:02:c1:64:eb:ad:ff:30: 14:91:50:16:6b:be:2b:f6:be:33:89:a5:f5:00:c3:c2:10:c3: 36:53:d1:a6:b1:f0:16:ee:12:55:fb:34:08:53:f9:be:03:84: 7c:7e:47:03:74:87:76:74:29:2a:82:e0:e6:74:cb:c5:3c:a3: 35:1d:75:74:52:8e:5e:37:a6:9a:fd:5a:4e:9b:7a:d5:eb:07: cd:1f:dd:1e:ff:5f:7d:64:ba:d2:8e:ef:07:d0:de:56:39:9f: 41:2e:93:51:9c:fd:db:87:f2:d0:31:38:74:c6:8d:e7:cd:d0: 9c:49:c3:f3:94:b2:e6:b0:54:18:ad:d3:76:8d:a8:fb:4b:71: d3:3b:33:25:05:69:85:d5:7b:3c:46:a4:71:bd:05:dc:b4:03: f7:fd:f6:29:6f:23:02:23:09:b2:b7:c4:4e:47:d6:99:b2:fa: 9e:1d:b8:00:5b:48:1e:e2:ff:38:40:18:e4:86:d4:ea:ec:75: 45:52:8d:07:d6:c8:88:b4:14:c5:6a:b1:0b:3c:f9:ae:d6:22: 33:8a:d9:68 [2017-10-01 02:53:28] INFO WEBrick::HTTPServer#start: pid=2553 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.103:8888/autoinst.xml dud=http://10.100.24.103:8888/static/duds/add-on-products-sle12.dud insecure=1 ..Typing:[10]: <Enter> Done typing. Hook #after_boot_sequence is not defined ........192.168.122.98 - - [01/Oct/2017:02:54:56 CEST] "GET /static/duds/add-on-products-sle12.dud HTTP/1.1" 200 3876 - -> /static/duds/add-on-products-sle12.dud ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Ssh timeout 3600 sec has been reached. [2017-10-01 03:53:39] INFO going to shutdown ... [2017-10-01 03:53:39] INFO going to shutdown ... [2017-10-01 03:53:39] INFO WEBrick::HTTPServer#start done. [2017-10-01 03:53:39] INFO WEBrick::HTTPServer#start done. I, [2017-10-01T03:53:39.681633 #18880] INFO -- : Uploading and running post-install script I, [2017-10-01T03:53:39.763977 #18880] 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:53:39 +0200 host="192.168.122.98" last_event_at=2017-10-01 03:53:39 +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:53:39 +0200 stderr="" stdout="" success=false>> I, [2017-10-01T03:53:39.787619 #18880] 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:53:39 +0200 stderr="" stdout="" success=false>> I, [2017-10-01T03:53:39.787726 #18880] INFO -- : Downloading YaST2 logs I, [2017-10-01T03:53:39.810680 #18880] 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:53:39 +0200 stderr="" stdout="" success=false>> I, [2017-10-01T03:53:39.834945 #18880] 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:53:39 +0200 host="192.168.122.98" last_event_at=2017-10-01 03:53:39 +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/0/label/autoyast/aytests-workspace/results/201710010253-self_update/installation-y2logs.tgz", :timeout=>60, :operation_timeout=>3600, :close_timeout=>5, :keepalive_interval=>60} start_at=2017-10-01 03:53:39 +0200 stderr="" stdout="" success=false>> I, [2017-10-01T03:53:39.834990 #18880] 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/0/label/autoyast/aytests-workspace/autoyast.box' To use it: vagrant init 'autoyast' vagrant up --provider=libvirt vagrant ssh I, [2017-10-01T03:53:41.151595 #18880] 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/0/label/autoyast/aytests-workspace/autoyast.box [K box: Progress: 0% (Rate: 0/s, Estimated time remaining: --:--:--)[K==> 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... [KProgress: 100%[K==> 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-autoyast3' 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)