See https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=2,label=autoyast/18/disp...
Changes:
[teclator] Write and export ssh authorized keys for root
[teclator] Bump version & changelog.
[teclator] Take in account vagrant ssh authorized key.
[teclator] Revert "Take in account vagrant ssh authorized key."
[teclator] Fix typo
------------------------------------------
[...truncated 394.16 KB...]
# /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 `'
# /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'
2) SLES 12 Users Report error for duplicate user names. (bnc#995397)
Failure/Error: raise Net::SSH::Simple::Error, [e, @result]
Net::SSH::Simple::Error:
getaddrinfo: Name or service not known @ # finish_at=2017-12-01 01:39:37 +0100 host="autoyast_vm" last_event_at=2017-12-01 01:39:37 +0100 op=:scp opts={:config=>#https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=2,label=autoyast/ws/ayte...,> :scp_src=>"https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=2,label=autoyast/ws/aytests/double_users.sh", :scp_dst=>"/tmp/double_users.sh", :timeout=>60, :operation_timeout=>3600, :close_timeout=>5, :keepalive_interval=>60} start_at=2017-12-01 01:39:37 +0100 stderr="" stdout="" success=false>
Shared Example Group: "test_scripts" called from ./users.rb:4
# /usr/lib64/ruby/gems/2.1.0/gems/net-ssh-simple-1.7.0/lib/net/ssh/simple.rb:640:in `rescue in with_session'
# /usr/lib64/ruby/gems/2.1.0/gems/net-ssh-simple-1.7.0/lib/net/ssh/simple.rb:626:in `with_session'
# /usr/lib64/ruby/gems/2.1.0/gems/net-ssh-simple-1.7.0/lib/net/ssh/simple.rb:666:in `scp'
# /usr/lib64/ruby/gems/2.1.0/gems/net-ssh-simple-1.7.0/lib/net/ssh/simple.rb:338:in `scp_put'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/vagrant_runner.rb:66:in `block in run'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/vagrant_runner.rb:90:in `with_conn'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/vagrant_runner.rb:64:in `run'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/test_helpers.rb:56:in `remote_run_test_script'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/test_helpers.rb:44:in `run_test_script'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/spec_helper.rb:49:in `block (3 levels) in '
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `instance_exec'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `block in run'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `block in with_around_and_singleton_context_hooks'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `block in with_around_example_hooks'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `block in run'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `run'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `with_around_example_hooks'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `with_around_and_singleton_context_hooks'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:251:in `run'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:627:in `block in run_examples'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `map'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `run_examples'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:589:in `run'
# /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 `'
# /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'
3) SLES 12 Users password are set (bsc#973639, bsc#974220, bsc#971804 and bsc#965852)
Failure/Error: raise Net::SSH::Simple::Error, [e, @result]
Net::SSH::Simple::Error:
getaddrinfo: Name or service not known @ # finish_at=2017-12-01 01:39:37 +0100 host="autoyast_vm" last_event_at=2017-12-01 01:39:37 +0100 op=:scp opts={:config=>#https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=2,label=autoyast/ws/ayte...,> :scp_src=>"https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=2,label=autoyast/ws/aytests/set_passwords.sh", :scp_dst=>"/tmp/set_passwords.sh", :timeout=>60, :operation_timeout=>3600, :close_timeout=>5, :keepalive_interval=>60} start_at=2017-12-01 01:39:37 +0100 stderr="" stdout="" success=false>
Shared Example Group: "test_scripts" called from ./users.rb:4
# /usr/lib64/ruby/gems/2.1.0/gems/net-ssh-simple-1.7.0/lib/net/ssh/simple.rb:640:in `rescue in with_session'
# /usr/lib64/ruby/gems/2.1.0/gems/net-ssh-simple-1.7.0/lib/net/ssh/simple.rb:626:in `with_session'
# /usr/lib64/ruby/gems/2.1.0/gems/net-ssh-simple-1.7.0/lib/net/ssh/simple.rb:666:in `scp'
# /usr/lib64/ruby/gems/2.1.0/gems/net-ssh-simple-1.7.0/lib/net/ssh/simple.rb:338:in `scp_put'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/vagrant_runner.rb:66:in `block in run'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/vagrant_runner.rb:90:in `with_conn'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/vagrant_runner.rb:64:in `run'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/test_helpers.rb:56:in `remote_run_test_script'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/test_helpers.rb:44:in `run_test_script'
# /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/spec_helper.rb:49:in `block (3 levels) in '
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `instance_exec'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `block in run'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `block in with_around_and_singleton_context_hooks'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `block in with_around_example_hooks'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `block in run'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `run'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `with_around_example_hooks'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `with_around_and_singleton_context_hooks'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:251:in `run'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:627:in `block in run_examples'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `map'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `run_examples'
# /usr/lib64/ruby/gems/2.1.0/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:589:in `run'
# /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 `'
# /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 6.13 seconds (files took 0.22135 seconds to load)
3 examples, 3 failures
Failed examples:
rspec ./users.rb[1:1] # SLES 12 Users No error report for not defined user UIDs. (bnc#996823)
rspec ./users.rb[1:2] # SLES 12 Users Report error for duplicate user names. (bnc#995397)
rspec ./users.rb[1:3] # SLES 12 Users password are set (bsc#973639, bsc#974220, bsc#971804 and bsc#965852)
giving following tests an additional try:
["aytests/lvm.rb", "aytests/partition.rb", "aytests/self_update_reg.rb", "aytests/sles12_insserv.rb", "aytests/tftp.rb", "aytests/sles12_minimal.rb", "aytests/sles12_minimal_network.rb", "aytests/users.rb"]
I, [2017-12-01T01:39:39.934627 #2283] INFO -- : Running test lvm
I, [2017-12-01T01:39:40.068772 #2283] INFO -- : Using definition /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/share/veewee/install_definition.rb
I, [2017-12-01T01:39:40.069241 #2283] INFO -- : Creating kvm image
Building Box autoyast with Definition autoyast:
- debug : false
- cwd : https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=2,label=autoyast/ws/ayte...
- 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-12-01 01:39:41] INFO WEBrick 1.3.1
[2017-12-01 01:39:41] INFO ruby 2.1.2 (2014-05-08) [x86_64-linux-gnu]
[2017-12-01 01:39:41] INFO WEBrick::HTTPServer#start: pid=9008 port=8888
Running #after_create hook
[2017-12-01 01:39:41] INFO WEBrick 1.3.1
[2017-12-01 01:39:41] INFO ruby 2.1.2 (2014-05-08) [x86_64-linux-gnu]
[2017-12-01 01:39:41] INFO
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 5233 (0x1471)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=DE, ST=Bavaria, L=Nuremberg, O=YaST testing, CN=aytests
Validity
Not Before: Dec 1 00:39:41 2017 GMT
Not After : Dec 1 01:39:41 2017 GMT
Subject: CN=10.100.24.101
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
00:e0:f5:28:77:ac:5c:7c:87:11:84:e8:f2:d7:2c:
bc:04:42:cd:6c:bc:08:5e:85:68:5f:6c:b6:5d:9c:
7c:e0:e8:77:82:ba:c7:d1:06:ef:f1:d6:04:0a:fb:
64:5c:75:ee:ca:7e:e2:a1:89:71:6d:15:b0:22:9b:
f0:e9:52:35:11:05:c7:b2:d5:ce:d3:6b:d7:c6:ea:
d4:90:da:fb:c6:15:c4:f6:9c:bb:39:e7:5b:8e:60:
a2:cb:18:95:c7:0f:e6:df:52:32:4d:5b:5f:0b:75:
04:7b:d8:d8:63:98:01:ad:e3:64:e4:5b:7d:00:d3:
02:8a:c0:97:27:86:49:62:99:62:fc:99:ee:db:79:
35:27:52:6e:17:af:bc:ae:32:97:4b:ed:80:88:3a:
c3:ce:e2:49:a8:47:4d:50:03:10:2b:db:84:94:e0:
db:f1:e3:a0:cc:2f:45:3f:b6:8a:9e:d6:f7:4c:c6:
0f:cb:ad:a1:da:7f:2e:bc:b9:2c:7f:56:2b:70:f6:
ce:45:9c:9c:09:a6:9c:08:6c:af:43:49:5a:2a:85:
30:37:aa:38:61:5c:95:d0:71:d2:cd:91:a2:6c:93:
4e:08:1e:16:c1:dc:38:04:ae:c2:26:c5:67:4d:cc:
52:08:bc:6b:16:75:02:61:5f:de:62:c9:59:9a:2b:
de:3b
Exponent: 65537 (0x10001)
Signature Algorithm: sha1WithRSAEncryption
9a:62:8b:da:06:e1:da:fd:91:62:87:ba:8a:1d:7c:b5:21:33:
a2:32:5e:72:c7:78:2f:9f:94:88:72:29:9c:65:1c:af:27:7a:
e9:34:59:63:ca:18:ed:28:50:a0:b6:70:50:7e:3e:40:1c:8d:
41:32:b2:9d:ec:20:78:e1:e4:08:4b:fe:a7:ae:48:72:ba:92:
0b:cb:08:ec:83:91:05:77:7c:65:2c:57:d3:07:98:e5:99:7d:
a7:f1:49:f3:03:25:66:7f:ad:d2:2c:d6:58:8c:ae:bb:0c:3c:
ee:d2:b1:64:77:af:81:b4:bc:75:68:8f:0d:24:9e:41:8a:80:
ec:72:30:3c:f7:ea:94:77:b8:2a:70:72:e8:26:82:e2:31:2f:
a1:0a:12:71:9e:93:1a:d3:9d:3b:c6:47:b7:55:fc:d8:c3:e4:
71:40:cd:24:ec:4e:2b:d9:6c:75:b7:37:f2:42:71:5e:05:43:
46:df:33:95:48:0b:6a:c1:43:d8:36:29:f8:b1:df:b7:b4:7b:
26:48:fa:61:10:9c:a3:65:a5:be:9d:4d:ff:c8:f8:ac:da:5d:
e5:bb:9d:d3:fb:62:12:f7:ab:f2:ef:fe:ec:00:60:3d:27:a3:
ea:9a:f4:d6:66:23:d3:3f:32:cd:d1:2f:32:83:84:0d:3d:71:
c3:c1:c7:8e
[2017-12-01 01:39:41] INFO WEBrick::HTTPServer#start: pid=9008 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.101:8888/autoinst.xml
.Typing:[10]: <Enter>
Done typing.
Hook #after_boot_sequence is not defined
..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Ssh timeout 3600 sec has been reached.
[2017-12-01 02:39:52] INFO going to shutdown ...
[2017-12-01 02:39:52] INFO WEBrick::HTTPServer#start done.
[2017-12-01 02:39:52] INFO going to shutdown ...
[2017-12-01 02:39:52] INFO WEBrick::HTTPServer#start done.
/usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/image_builder.rb:235:in `chdir': No such file or directory @ dir_chdir - https://ci.suse.de/job/yast-aytests-run-SLE15/GROUP=2,label=autoyast/ws/ (Errno::ENOENT)
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/image_builder.rb:235:in `build'
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/image_builder.rb:112:in `install'
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/test_runner.rb:81:in `build'
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/test_runner.rb:44:in `run'
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/cli.rb:119:in `test_result'
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/cli.rb:55:in `block in test'
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/cli.rb:54:in `each'
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/lib/aytests/cli.rb:54:in `test'
from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'
from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'
from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'
from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'
from /usr/lib64/ruby/gems/2.1.0/gems/aytests-1.0.51/bin/aytests:9:in `'
from /usr/bin/aytests:23:in `load'
from /usr/bin/aytests:23:in `<main>'
Build step 'Execute shell' marked build as failure