Advertisement
dfarrell07

ubuntu16_5rel_dock.log

Feb 6th, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 167.81 KB | None | 0 0
  1. RS_SET=ubuntu-16-docker INSTALL_METHOD=deb REPO='ppa:odl-team/boron' bundle exec rake beaker
  2. /usr/bin/ruby -I/home/daniel/.gem/ruby/gems/rspec-core-3.5.4/lib:/home/daniel/.gem/ruby/gems/rspec-support-3.5.0/lib /home/daniel/.gem/ruby/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color
  3. /home/daniel/.gem/ruby/gems/beaker-rspec-6.0.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
  4. /home/daniel/.gem/ruby/gems/specinfra-2.66.5/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
  5. Hypervisor for ubuntu-16-docker is docker
  6. Beaker::Hypervisor, found some docker boxes to create
  7. get
  8. /v1.16/version
  9. {}
  10.  
  11. Provisioning docker
  12. provisioning ubuntu-16-docker
  13. Creating image
  14. Dockerfile is FROM ubuntu:16.04
  15. ENV container docker
  16. RUN apt-get update
  17. RUN apt-get install -y openssh-server openssh-client curl ntpdate lsb-release
  18. RUN mkdir -p /var/run/sshd
  19. RUN echo root:root | chpasswd
  20. RUN sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
  21. RUN sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
  22. RUN apt-get install -y software-properties-common
  23. EXPOSE 22
  24. CMD ["sh", "-c", "service ssh start ; tail -f /dev/null"]
  25. post
  26. /v1.16/build
  27. {:rm=>true}
  28. Dockerfile0000640000000000000000000000111513046125275013307 0ustar00wheelwheel00000000000000 FROM ubuntu:16.04
  29. ENV container docker
  30. RUN apt-get update
  31. RUN apt-get install -y openssh-server openssh-client curl ntpdate lsb-release
  32. RUN mkdir -p /var/run/sshd
  33. RUN echo root:root | chpasswd
  34. RUN sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
  35. RUN sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
  36. RUN apt-get install -y software-properties-common
  37. EXPOSE 22
  38. CMD ["sh", "-c", "service ssh start ; tail -f /dev/null"]
  39.  
  40. Creating container from image 951f7d06bc08
  41. post
  42. /v1.16/containers/create
  43. {}
  44. {"Image":"951f7d06bc08","Hostname":"ubuntu-16-docker"}
  45. Starting container 2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679
  46. post
  47. /v1.16/containers/2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679/start
  48. {}
  49. {"PublishAllPorts":true,"Privileged":true}
  50. get
  51. /v1.16/containers/2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679/json
  52. {}
  53.  
  54. Using docker server at 0.0.0.0
  55. get
  56. /v1.16/containers/2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679/json
  57. {}
  58.  
  59. node available as ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@0.0.0.0 -p 32770
  60. get
  61. /v1.16/containers/2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679/json
  62. {}
  63.  
  64. 
  65. ubuntu-16-docker 11:57:31$ cat /etc/resolv.conf
  66.  Attempting ssh connection to 0.0.0.0, user: root, opts: {:password=>"root", :port=>"32770", :forward_agent=>false}
  67.  Warning: Try 1 -- Host 0.0.0.0 unreachable: Errno::ECONNRESET - Connection reset by peer
  68.  Warning: Trying again in 3 seconds
  69.  Attempting ssh connection to 0.0.0.0, user: root, opts: {:password=>"root", :port=>"32770", :forward_agent=>false, :user=>"root"}
  70.  # Generated by NetworkManager
  71. search rdu.redhat.com redhat.com
  72. nameserver 10.11.5.19
  73. nameserver 10.5.30.160
  74. nameserver 10.192.206.245
  75. # NOTE: the libc resolver may not support more than 3 nameservers.
  76. # The nameservers listed below may not be recognized.
  77. nameserver 10.192.20.245
  78. nameserver 10.200.0.246
  79. 
  80. ubuntu-16-docker executed in 3.13 seconds
  81. 
  82. ubuntu-16-docker 11:57:34$ echo '127.0.0.1 localhost localhost.localdomain
  83. 172.17.0.2 ubuntu-16-docker.rdu.redhat.com ubuntu-16-docker
  84. ' >> /etc/hosts
  85. 
  86. ubuntu-16-docker executed in 0.00 seconds
  87. 
  88. ubuntu-16-docker 11:57:34$ dpkg -s curl
  89.  Package: curl
  90. Status: install ok installed
  91. Priority: optional
  92. Section: web
  93. Installed-Size: 330
  94. Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
  95. Architecture: amd64
  96. Multi-Arch: foreign
  97. Version: 7.47.0-1ubuntu2.2
  98. Depends: libc6 (>= 2.17), libcurl3-gnutls (= 7.47.0-1ubuntu2.2), zlib1g (>= 1:1.1.4)
  99. Description: command line tool for transferring data with URL syntax
  100. curl is a command line tool for transferring data with URL syntax, supporting
  101. DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3,
  102. POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP.
  103. .
  104. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form
  105. based upload, proxies, cookies, user+password authentication (Basic, Digest,
  106. NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a
  107. busload of other useful tricks.
  108. Homepage: http://curl.haxx.se
  109. Original-Maintainer: Alessandro Ghedini <ghedo@debian.org>
  110. 
  111. ubuntu-16-docker executed in 0.01 seconds
  112. 
  113. ubuntu-16-docker 11:57:34$ dpkg -s ntpdate
  114.  Package: ntpdate
  115. Status: install ok installed
  116. Priority: optional
  117. Section: net
  118. Installed-Size: 169
  119. Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
  120. Architecture: amd64
  121. Source: ntp
  122. Version: 1:4.2.8p4+dfsg-3ubuntu5.3
  123. Depends: netbase, libc6 (>= 2.17), libssl1.0.0 (>= 1.0.1d)
  124. Pre-Depends: dpkg (>= 1.15.7.2)
  125. Breaks: dhcp3-client (<< 4.1.0-1)
  126. Conffiles:
  127. /etc/default/ntpdate 39415ec9778476795fdbb832adc43b9b
  128. /etc/dhcp/dhclient-exit-hooks.d/ntpdate 1d4c6af64ca132451ee95a08686ea111
  129. /etc/logcheck/ignore.d.server/ntpdate 68d4df7cceb0e97bde87126c3a56b219
  130. /etc/network/if-up.d/ntpdate c94bbab4bcd67eecb0f59bff9cc71c66
  131. Description: client for setting system time from NTP servers
  132. NTP, the Network Time Protocol, is used to keep computer clocks
  133. accurate by synchronizing them over the Internet or a local network,
  134. or by following an accurate hardware receiver that interprets GPS,
  135. DCF-77, NIST or similar time signals.
  136. .
  137. ntpdate is a simple NTP client that sets a system's clock to match
  138. the time obtained by communicating with one or more NTP servers. It
  139. is not sufficient, however, for maintaining an accurate clock in the
  140. long run. ntpdate by itself is useful for occasionally setting the
  141. time on machines that do not have full-time network access, such as
  142. laptops.
  143. .
  144. If the full NTP daemon from the package "ntp" is installed, then
  145. ntpdate is not necessary.
  146. Homepage: http://support.ntp.org/
  147. Original-Maintainer: Debian NTP Team <pkg-ntp-maintainers@lists.alioth.debian.org>
  148. 
  149. ubuntu-16-docker executed in 0.01 seconds
  150. setting local environment on ubuntu-16-docker
  151. 
  152. ubuntu-16-docker 11:57:34$ getent passwd root
  153.  root:x:0:0:root:/root:/bin/bash
  154. 
  155. ubuntu-16-docker executed in 0.00 seconds
  156. 
  157. ubuntu-16-docker 11:57:34$ mktemp -dt .XXXXXX
  158.  /tmp/.cpawhO
  159. 
  160. ubuntu-16-docker executed in 0.01 seconds
  161. 
  162. ubuntu-16-docker 11:57:34$ chown root:root /tmp/.cpawhO
  163. 
  164. ubuntu-16-docker executed in 0.00 seconds
  165. 
  166. ubuntu-16-docker 11:57:34$ echo 'PermitUserEnvironment yes' | cat - /etc/ssh/sshd_config > /tmp/.cpawhO/sshd_config.permit
  167. 
  168. ubuntu-16-docker executed in 0.00 seconds
  169. 
  170. ubuntu-16-docker 11:57:34$ mv /tmp/.cpawhO/sshd_config.permit /etc/ssh/sshd_config
  171. 
  172. ubuntu-16-docker executed in 0.00 seconds
  173. 
  174. ubuntu-16-docker 11:57:34$ service ssh restart
  175.  * Restarting OpenBSD Secure Shell server sshd
  176.  ...done.
  177. 
  178. ubuntu-16-docker executed in 0.04 seconds
  179. 
  180. ubuntu-16-docker 11:57:34$ mkdir -p ~/.ssh
  181. 
  182. ubuntu-16-docker executed in 0.00 seconds
  183. 
  184. ubuntu-16-docker 11:57:34$ chmod 0600 ~/.ssh
  185. 
  186. ubuntu-16-docker executed in 0.00 seconds
  187. 
  188. ubuntu-16-docker 11:57:34$ touch ~/.ssh/environment
  189. 
  190. ubuntu-16-docker executed in 0.00 seconds
  191. 
  192. ubuntu-16-docker 11:57:34$ grep ^PATH=.*\$PATH ~/.ssh/environment
  193. 
  194. ubuntu-16-docker executed in 0.00 seconds
  195. Exited: 1
  196. 
  197. ubuntu-16-docker 11:57:34$ grep ^PATH= ~/.ssh/environment
  198. 
  199. ubuntu-16-docker executed in 0.00 seconds
  200. Exited: 1
  201. 
  202. ubuntu-16-docker 11:57:34$ echo "PATH=$PATH" >> ~/.ssh/environment
  203. 
  204. ubuntu-16-docker executed in 0.00 seconds
  205. will not mirror environment to /etc/profile.d on non-sles/debian platform host
  206. 
  207. ubuntu-16-docker 11:57:34$ echo "/usr/bin"
  208.  /usr/bin
  209. 
  210. ubuntu-16-docker executed in 0.00 seconds
  211. 
  212. ubuntu-16-docker 11:57:34$ echo "/opt/puppet-git-repos/hiera/bin"
  213.  /opt/puppet-git-repos/hiera/bin
  214. 
  215. ubuntu-16-docker executed in 0.00 seconds
  216. 
  217. ubuntu-16-docker 11:57:34$ grep ^PATH=.*\/usr\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin ~/.ssh/environment
  218. 
  219. ubuntu-16-docker executed in 0.00 seconds
  220. Exited: 1
  221. 
  222. ubuntu-16-docker 11:57:34$ grep ^PATH= ~/.ssh/environment
  223.  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  224. 
  225. ubuntu-16-docker executed in 0.00 seconds
  226. 
  227. ubuntu-16-docker 11:57:34$ sed -i -e "s/^PATH=/PATH=\/usr\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin:/" ~/.ssh/environment
  228. 
  229. ubuntu-16-docker executed in 0.00 seconds
  230. will not mirror environment to /etc/profile.d on non-sles/debian platform host
  231. 
  232. ubuntu-16-docker 11:57:34$ grep ^PATH=.*PATH ~/.ssh/environment
  233. 
  234. ubuntu-16-docker executed in 0.00 seconds
  235. Exited: 1
  236. 
  237. ubuntu-16-docker 11:57:34$ grep ^PATH= ~/.ssh/environment
  238.  PATH=/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  239. 
  240. ubuntu-16-docker executed in 0.01 seconds
  241. 
  242. ubuntu-16-docker 11:57:34$ sed -i -e "s/^PATH=/PATH=PATH:/" ~/.ssh/environment
  243. 
  244. ubuntu-16-docker executed in 0.00 seconds
  245. will not mirror environment to /etc/profile.d on non-sles/debian platform host
  246. ssh connection to ubuntu-16-docker has been terminated
  247. 
  248. ubuntu-16-docker 11:57:34$ cat ~/.ssh/environment
  249.  Attempting ssh connection to 0.0.0.0, user: root, opts: {:password=>"root", :port=>"32770", :forward_agent=>false, :user=>"root"}
  250.  PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  251. 
  252. ubuntu-16-docker executed in 0.11 seconds
  253. Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on ubuntu-16-docker
  254. 
  255. ubuntu-16-docker 11:57:35$ echo '127.0.0.1 updates.puppetlabs.com
  256. ' >> /etc/hosts
  257. 
  258. ubuntu-16-docker executed in 0.00 seconds
  259. 
  260. ubuntu-16-docker 11:57:35$ wget -O /tmp/puppet.deb http://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
  261.  --2017-02-06 16:57:35-- http://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb
  262.  Resolving apt.puppetlabs.com (apt.puppetlabs.com)...  192.155.89.90, 2600:3c03::f03c:91ff:fedb:6b1d
  263. Connecting to apt.puppetlabs.com (apt.puppetlabs.com)|192.155.89.90|:80...  connected.
  264.  HTTP request sent, awaiting response...  200 OK
  265. Length: 13662 (13K) [application/x-debian-package]
  266.  Saving to: '/tmp/puppet.deb'
  267. 
  268. 0K .......... ...  100% 549K=0.02s
  269.  2017-02-06 16:57:35 (549 KB/s) - '/tmp/puppet.deb' saved [13662/13662]
  270. 
  271. ubuntu-16-docker executed in 0.10 seconds
  272. 
  273. ubuntu-16-docker 11:57:35$ dpkg -i --force-all /tmp/puppet.deb
  274.  Selecting previously unselected package puppetlabs-release-pc1.
  275.  (Reading database ... 13669 files and directories currently installed.)
  276.  Preparing to unpack /tmp/puppet.deb ...
  277.  Unpacking puppetlabs-release-pc1 (1.1.0-2xenial) ...
  278.  Setting up puppetlabs-release-pc1 (1.1.0-2xenial) ...
  279. 
  280. Configuration file '/etc/apt/sources.list.d/puppetlabs-pc1.list', does not exist on system.
  281. Installing new config file as you requested.
  282. 
  283. Configuration file '/etc/apt/trusted.gpg.d/puppetlabs-pc1-keyring.gpg', does not exist on system.
  284. Installing new config file as you requested.
  285. 
  286. ubuntu-16-docker executed in 0.19 seconds
  287. 
  288. ubuntu-16-docker 11:57:35$ apt-get update
  289.  Ign:1 http://apt.puppetlabs.com xenial InRelease
  290.  Get:2 http://apt.puppetlabs.com xenial Release [13.3 kB]
  291.  Get:3 http://apt.puppetlabs.com xenial Release.gpg [836 B]
  292.  Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease
  293.  Get:5 http://apt.puppetlabs.com xenial/PC1 amd64 Packages [11.6 kB]
  294.  Get:6 http://apt.puppetlabs.com xenial/PC1 all Packages [6786 B]
  295.  Hit:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
  296.  Hit:8 http://archive.ubuntu.com/ubuntu xenial-security InRelease
  297.  Fetched 32.6 kB in 0s (78.8 kB/s)
  298. Reading package lists...
  299. 
  300. ubuntu-16-docker executed in 1.12 seconds
  301. 
  302. ubuntu-16-docker 11:57:36$ echo "/opt/puppetlabs/bin"
  303.  /opt/puppetlabs/bin
  304. 
  305. ubuntu-16-docker executed in 0.00 seconds
  306. 
  307. ubuntu-16-docker 11:57:36$ echo "/opt/puppet-git-repos/hiera/bin"
  308.  /opt/puppet-git-repos/hiera/bin
  309. 
  310. ubuntu-16-docker executed in 0.00 seconds
  311. 
  312. ubuntu-16-docker 11:57:36$ grep ^PATH=.*\/opt\/puppetlabs\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin ~/.ssh/environment
  313. 
  314. ubuntu-16-docker executed in 0.00 seconds
  315. Exited: 1
  316. 
  317. ubuntu-16-docker 11:57:36$ grep ^PATH= ~/.ssh/environment
  318.  PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  319. 
  320. ubuntu-16-docker executed in 0.01 seconds
  321. 
  322. ubuntu-16-docker 11:57:36$ sed -i -e "s/^PATH=/PATH=\/opt\/puppetlabs\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin:/" ~/.ssh/environment
  323. 
  324. ubuntu-16-docker executed in 0.01 seconds
  325. will not mirror environment to /etc/profile.d on non-sles/debian platform host
  326. 
  327. ubuntu-16-docker 11:57:36$ grep ^PATH=.*PATH ~/.ssh/environment
  328.  PATH=/opt/puppetlabs/bin:/opt/puppet-git-repos/hiera/bin:PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
  329. 
  330. ubuntu-16-docker executed in 0.00 seconds
  331. 
  332. ubuntu-16-docker 11:57:36$ apt-get update
  333.  Ign:1 http://apt.puppetlabs.com xenial InRelease
  334.  Hit:2 http://apt.puppetlabs.com xenial Release
  335.  Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease
  336.  Hit:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
  337.  Hit:6 http://archive.ubuntu.com/ubuntu xenial-security InRelease
  338.  Reading package lists...
  339. 
  340. ubuntu-16-docker executed in 1.10 seconds
  341. 
  342. ubuntu-16-docker 11:57:37$ apt-get install --force-yes -y puppet-agent
  343.  Reading package lists...
  344.  Building dependency tree...
  345. Reading state information...
  346.  The following NEW packages will be installed:
  347.  puppet-agent
  348.  0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
  349. Need to get 15.3 MB of archives.
  350. After this operation, 92.2 MB of additional disk space will be used.
  351. Get:1 http://apt.puppetlabs.com xenial/PC1 amd64 puppet-agent amd64 1.9.0-1xenial [15.3 MB]
  352.  perl: warning: Setting locale failed.
  353.  perl: warning: Please check that your locale settings:
  354. LANGUAGE = (unset),
  355. LC_ALL = (unset),
  356.  LC_CTYPE = "en_US.UTF-8",
  357. LANG = "en_US.UTF-8"
  358. are supported and installed on your system.
  359.  perl: warning: Falling back to the standard locale ("C").
  360.  debconf: unable to initialize frontend: Dialog
  361. debconf: (TERM is not set, so the dialog frontend is not usable.)
  362. debconf: falling back to frontend: Readline
  363.  debconf: unable to initialize frontend: Readline
  364. debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 1.)
  365.  debconf: falling back to frontend: Teletype
  366.  dpkg-preconfigure: unable to re-open stdin:
  367.  Fetched 15.3 MB in 3s (5032 kB/s)
  368.  Selecting previously unselected package puppet-agent.
  369.  (Reading database ...  (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50% (Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100%(Reading database ...  13674 files and directories currently installed.)
  370.  Preparing to unpack .../puppet-agent_1.9.0-1xenial_amd64.deb ...
  371.  Unpacking puppet-agent (1.9.0-1xenial) ...
  372.  Processing triggers for libc-bin (2.23-0ubuntu5) ...
  373.  Setting up puppet-agent (1.9.0-1xenial) ...
  374.  Created symlink /etc/systemd/system/multi-user.target.wants/puppet.service, pointing to /lib/systemd/system/puppet.service.
  375.  Created symlink /etc/systemd/system/multi-user.target.wants/mcollective.service, pointing to /lib/systemd/system/mcollective.service.
  376.  Created symlink /etc/systemd/system/multi-user.target.wants/pxp-agent.service, pointing to /lib/systemd/system/pxp-agent.service.
  377.  Removed symlink /etc/systemd/system/multi-user.target.wants/pxp-agent.service.
  378.  Processing triggers for libc-bin (2.23-0ubuntu5) ...
  379.  W: --force-yes is deprecated, use one of the options starting with --allow instead.
  380. 
  381. ubuntu-16-docker executed in 7.55 seconds
  382. 
  383. ubuntu-16-docker 11:57:45$ echo /etc/puppetlabs/code/modules
  384.  /etc/puppetlabs/code/modules
  385. 
  386. ubuntu-16-docker executed in 0.00 seconds
  387. Using scp to transfer /home/daniel/puppet-opendaylight to /etc/puppetlabs/code/modules/opendaylight
  388. localhost $ scp /home/daniel/puppet-opendaylight ubuntu-16-docker:/etc/puppetlabs/code/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
  389. going to ignore (?-mix:((\/|\A)\.bundle(\/|\z))|((\/|\A)\.git(\/|\z))|((\/|\A)\.idea(\/|\z))|((\/|\A)\.vagrant(\/|\z))|((\/|\A)\.vendor(\/|\z))|((\/|\A)vendor(\/|\z))|((\/|\A)acceptance(\/|\z))|((\/|\A)bundle(\/|\z))|((\/|\A)spec(\/|\z))|((\/|\A)tests(\/|\z))|((\/|\A)log(\/|\z))|((\/|\A)\.svn(\/|\z))|((\/|\A)junit(\/|\z))|((\/|\A)pkg(\/|\z))|((\/|\A)example(\/|\z))|((\/|\A)\.(\/|\z))|((\/|\A)\.\.(\/|\z)))
  390. 
  391. ubuntu-16-docker 11:57:46$ rm -rf /etc/puppetlabs/code/modules/opendaylight
  392. 
  393. ubuntu-16-docker executed in 0.00 seconds
  394. 
  395. ubuntu-16-docker 11:57:46$ mv /etc/puppetlabs/code/modules/puppet-opendaylight /etc/puppetlabs/code/modules/opendaylight
  396. 
  397. ubuntu-16-docker executed in 0.00 seconds
  398. 
  399. ubuntu-16-docker 11:57:46$ puppet module install puppetlabs-stdlib
  400.  2017-02-06 16:57:46.780221  WARN puppetlabs.facter -  locale environment variables were bad; continuing with LANG=C LC_ALL=C
  401.  Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
  402.  Notice: Downloading from https://forgeapi.puppet.com ...
  403.  Notice: Installing -- do not interrupt ...
  404.  /etc/puppetlabs/code/environments/production/modules
  405. └── puppetlabs-stdlib (v4.15.0)
  406. 
  407. ubuntu-16-docker executed in 4.56 seconds
  408. 
  409. ubuntu-16-docker 11:57:51$ puppet module install puppetlabs-apt
  410.  2017-02-06 16:57:51.338671  WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  411.  Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
  412.  Notice: Downloading from https://forgeapi.puppet.com ...
  413.  Notice: Installing -- do not interrupt ...
  414.  /etc/puppetlabs/code/environments/production/modules
  415. └─┬ puppetlabs-apt (v2.3.0)
  416. └── puppetlabs-stdlib (v4.15.0)
  417. 
  418. ubuntu-16-docker executed in 6.11 seconds
  419. 
  420. ubuntu-16-docker 11:57:57$ puppet module install puppetlabs-puppet_agent
  421.  2017-02-06 16:57:57.448891  WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  422.  Notice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...
  423.  Notice: Downloading from https://forgeapi.puppet.com ...
  424.  Notice: Installing -- do not interrupt ...
  425.  /etc/puppetlabs/code/environments/production/modules
  426. └─┬ puppetlabs-puppet_agent (v1.3.1)
  427. ├── puppetlabs-apt (v2.3.0)
  428. ├── puppetlabs-inifile (v1.6.0)
  429. ├── puppetlabs-stdlib (v4.15.0)
  430. └── puppetlabs-transition (v0.1.0)
  431. 
  432. ubuntu-16-docker executed in 10.07 seconds
  433. 
  434. opendaylight class
  435. testing install methods
  436. 
  437. ubuntu-16-docker 11:58:07$ mktemp -t apply_manifest.pp.XXXXXX
  438.  /tmp/apply_manifest.pp.c2M4df
  439. 
  440. ubuntu-16-docker executed in 0.00 seconds
  441. localhost $ scp /tmp/beaker20170206-18728-i96eyt ubuntu-16-docker:/tmp/apply_manifest.pp.c2M4df {:ignore => }
  442. 
  443. ubuntu-16-docker 11:58:07$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.c2M4df
  444.  2017-02-06 16:58:07.615899 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  445.  Info: Loading facts
  446.  Info: Loading facts
  447.  Info: Loading facts
  448.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  449. (in /etc/puppetlabs/puppet/hiera.yaml)
  450.  Warning: Undefined variable 'trusted.certname';
  451. (file & line not available)
  452.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  453. (file & line not available)
  454.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  455. (file & line not available)
  456.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  457.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  458. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  459.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  460. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  461.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  462. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  463.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  464. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  465.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.37 seconds
  466.  Info: Applying configuration version '1486400290'
  467.  Notice: /Stage[main]/Apt/File[preferences]/ensure: created
  468.  Info: /Stage[main]/Apt/File[preferences]: Scheduling refresh of Class[Apt::Update]
  469.  Notice: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]/ensure: defined content as '{md5}0962d70c4ec78bbfa6f3544ae0c41974'
  470.  Info: /Stage[main]/Apt/Apt::Setting[conf-update-stamp]/File[/etc/apt/apt.conf.d/15update-stamp]: Scheduling refresh of Class[Apt::Update]
  471.  Notice: /Stage[main]/Opendaylight::Install/Apt::Ppa[ppa:odl-team/boron]/Exec[add-apt-repository-ppa:odl-team/boron]/returns: executed successfully
  472.  Info: /Stage[main]/Opendaylight::Install/Apt::Ppa[ppa:odl-team/boron]/Exec[add-apt-repository-ppa:odl-team/boron]: Scheduling refresh of Class[Apt::Update]
  473.  Info: Class[Apt::Update]: Scheduling refresh of Exec[apt_update]
  474.  Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 events
  475.  Notice: /Stage[main]/Opendaylight::Install/Package[opendaylight]/ensure: created
  476.  Info: Computing checksum on file /opt/opendaylight/etc/jetty.xml
  477.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum 9193aa0b354d9dc21269f4d4c507247b
  478.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}9193aa0b354d9dc21269f4d4c507247b' to '{md5}e9fb34e252734115abb355b035071d25'
  479.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  480.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum 5114b5102808c64edda26ac58c11b9cc
  481.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}5114b5102808c64edda26ac58c11b9cc' to '{md5}711ef6390bfff3e696dec1e89a72fec6'
  482.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  483.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  484.  Error: Could not find init script for 'opendaylight'
  485.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  486.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  487.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  488.  Info: Stage[main]: Unscheduling all events on Stage[main]
  489.  Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
  490.  Notice: Applied catalog in 1588.10 seconds
  491. 
  492. ubuntu-16-docker executed in 1592.06 seconds
  493. Exited: 6
  494.  should work idempotently with no errors (FAILED - 1)
  495. Ppa "ppa:odl-team/boron"
  496. 
  497. ubuntu-16-docker 12:24:39$ /bin/sh -c ls\ /etc/fedora-release
  498.  ls: cannot access '/etc/fedora-release': No such file or directory
  499. 
  500. ubuntu-16-docker executed in 0.01 seconds
  501. Exited: 2
  502. 
  503. ubuntu-16-docker 12:24:39$ /bin/sh -c ls\ /etc/redhat-release
  504.  ls: cannot access '/etc/redhat-release': No such file or directory
  505. 
  506. ubuntu-16-docker executed in 0.00 seconds
  507. Exited: 2
  508. 
  509. ubuntu-16-docker 12:24:39$ /bin/sh -c ls\ /etc/system-release
  510.  ls: cannot access '/etc/system-release': No such file or directory
  511. 
  512. ubuntu-16-docker executed in 0.01 seconds
  513. Exited: 2
  514. 
  515. ubuntu-16-docker 12:24:39$ /bin/sh -c ls\ /var/run/current-system/sw
  516.  ls: cannot access '/var/run/current-system/sw': No such file or directory
  517. 
  518. ubuntu-16-docker executed in 0.00 seconds
  519. Exited: 2
  520. 
  521. ubuntu-16-docker 12:24:39$ /bin/sh -c ls\ /etc/gentoo-release
  522.  ls: cannot access '/etc/gentoo-release': No such file or directory
  523. 
  524. ubuntu-16-docker executed in 0.00 seconds
  525. Exited: 2
  526. 
  527. ubuntu-16-docker 12:24:39$ /bin/sh -c uname\ -sr
  528.  Linux 4.9.5-100.fc24.x86_64
  529. 
  530. ubuntu-16-docker executed in 0.00 seconds
  531. 
  532. ubuntu-16-docker 12:24:39$ /bin/sh -c cat\ /etc/debian_version
  533.  stretch/sid
  534. 
  535. ubuntu-16-docker executed in 0.00 seconds
  536. 
  537. ubuntu-16-docker 12:24:39$ /bin/sh -c lsb_release\ -ir
  538.  Distributor ID: Ubuntu
  539. Release: 16.04
  540. 
  541. ubuntu-16-docker executed in 0.05 seconds
  542. 
  543. ubuntu-16-docker 12:24:39$ /bin/sh -c uname\ -m
  544.  x86_64
  545. 
  546. ubuntu-16-docker executed in 0.01 seconds
  547. 
  548. ubuntu-16-docker 12:24:39$ /bin/sh -c find\ /etc/apt/\ -name\ \*.list\ \|\ xargs\ grep\ -o\ -E\ \"deb\ \+\[\\\"\'\]\?http://ppa.launchpad.net/odl-team/boron\"
  549.  /etc/apt/sources.list.d/odl-team-ubuntu-boron-xenial.list:deb http://ppa.launchpad.net/odl-team/boron
  550. 
  551. ubuntu-16-docker executed in 0.01 seconds
  552.  should exist
  553. 
  554. ubuntu-16-docker 12:24:39$ /bin/sh -c find\ /etc/apt/\ -name\ \*.list\ \|\ xargs\ grep\ -o\ -E\ \"\^deb\ \+\[\\\"\'\]\?http://ppa.launchpad.net/odl-team/boron\"
  555.  /etc/apt/sources.list.d/odl-team-ubuntu-boron-xenial.list:deb http://ppa.launchpad.net/odl-team/boron
  556. 
  557. ubuntu-16-docker executed in 0.01 seconds
  558.  should be enabled
  559. Package "opendaylight"
  560. 
  561. ubuntu-16-docker 12:24:39$ /bin/sh -c dpkg-query\ -f\ \'\$\{Status\}\'\ -W\ opendaylight\ \|\ grep\ -E\ \'\^\(install\|hold\)\ ok\ installed\$\'
  562.  install ok installed
  563. 
  564. ubuntu-16-docker executed in 0.01 seconds
  565.  should be installed
  566. File "/opt/opendaylight/"
  567. 
  568. ubuntu-16-docker 12:24:39$ /bin/sh -c test\ -d\ /opt/opendaylight/
  569. 
  570. ubuntu-16-docker executed in 0.01 seconds
  571.  should be directory
  572. 
  573. ubuntu-16-docker 12:24:39$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/\ \|\ grep\ --\ \\\^odl\\\$
  574.  odl
  575. 
  576. ubuntu-16-docker executed in 0.01 seconds
  577.  should be owned by "odl"
  578. 
  579. ubuntu-16-docker 12:24:39$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/\ \|\ grep\ --\ \\\^odl\\\$
  580.  odl
  581. 
  582. ubuntu-16-docker executed in 0.01 seconds
  583.  should be grouped into "odl"
  584. Service "opendaylight"
  585. 
  586. ubuntu-16-docker 12:24:39$ /bin/sh -c systemctl\ --quiet\ is-enabled\ opendaylight
  587. 
  588. ubuntu-16-docker executed in 0.01 seconds
  589.  should be enabled
  590. 
  591. ubuntu-16-docker 12:24:39$ /bin/sh -c systemctl\ --quiet\ is-enabled\ opendaylight
  592. 
  593. ubuntu-16-docker executed in 0.01 seconds
  594.  should be enabled with level 3
  595. 
  596. ubuntu-16-docker 12:24:39$ /bin/sh -c systemctl\ is-active\ opendaylight
  597.  Failed to connect to bus: No such file or directory
  598. 
  599. ubuntu-16-docker executed in 0.01 seconds
  600. Exited: 1
  601. 
  602. ubuntu-16-docker 12:24:39$ /bin/sh -c ps\ aux\ \|\ grep\ -w\ --\ opendaylight\ \|\ grep\ -qv\ grep
  603. 
  604. ubuntu-16-docker executed in 0.01 seconds
  605. Exited: 1
  606.  should be running (FAILED - 2)
  607. User "odl"
  608. 
  609. ubuntu-16-docker 12:24:39$ /bin/sh -c id\ odl
  610.  uid=107(odl) gid=110(odl) groups=110(odl)
  611. 
  612. ubuntu-16-docker executed in 0.01 seconds
  613.  should exist
  614. 
  615. ubuntu-16-docker 12:24:39$ /bin/sh -c id\ odl\ \|\ sed\ \'s/\ context\=.\*//g\'\ \|\ cut\ -f\ 4\ -d\ \'\=\'\ \|\ grep\ --\ odl
  616.  110(odl)
  617. 
  618. ubuntu-16-docker executed in 0.01 seconds
  619.  should belong to group "odl"
  620. 
  621. ubuntu-16-docker 12:24:39$ /bin/sh -c getent\ passwd\ odl\ \|\ cut\ -f\ 6\ -d\ \':\'\ \|\ grep\ -w\ --\ /opt/opendaylight
  622.  /opt/opendaylight
  623. 
  624. ubuntu-16-docker executed in 0.01 seconds
  625.  should have home directory "/opt/opendaylight"
  626. Group "odl"
  627. 
  628. ubuntu-16-docker 12:24:39$ /bin/sh -c getent\ group\ odl
  629.  odl:x:110:
  630. 
  631. ubuntu-16-docker executed in 0.01 seconds
  632.  should exist
  633. File "/home/odl"
  634. 
  635. ubuntu-16-docker 12:24:39$ /bin/sh -c test\ -d\ /home/odl
  636. 
  637. ubuntu-16-docker executed in 0.01 seconds
  638. Exited: 1
  639.  should not be directory
  640. Process "java"
  641. 
  642. ubuntu-16-docker 12:24:39$ /bin/sh -c ps\ -C\ java\ -o\ pid\=\ \|\ head\ -1
  643. 
  644. ubuntu-16-docker executed in 0.01 seconds
  645.  should be running (FAILED - 3)
  646. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  647. 
  648. ubuntu-16-docker 12:24:39$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  649. 
  650. ubuntu-16-docker executed in 0.01 seconds
  651.  should be file
  652. 
  653. ubuntu-16-docker 12:24:39$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  654.  odl
  655. 
  656. ubuntu-16-docker executed in 0.01 seconds
  657.  should be owned by "odl"
  658. 
  659. ubuntu-16-docker 12:24:39$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  660.  odl
  661. 
  662. ubuntu-16-docker executed in 0.01 seconds
  663.  should be grouped into "odl"
  664. File "/opt/opendaylight/etc/jetty.xml"
  665. 
  666. ubuntu-16-docker 12:24:39$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/jetty.xml
  667. 
  668. ubuntu-16-docker executed in 0.02 seconds
  669.  should be file
  670. 
  671. ubuntu-16-docker 12:24:39$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  672.  odl
  673. 
  674. ubuntu-16-docker executed in 0.01 seconds
  675.  should be owned by "odl"
  676. 
  677. ubuntu-16-docker 12:24:39$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  678.  odl
  679. 
  680. ubuntu-16-docker executed in 0.01 seconds
  681.  should be grouped into "odl"
  682. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  683. 
  684. ubuntu-16-docker 12:24:40$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  685. 
  686. ubuntu-16-docker executed in 0.01 seconds
  687.  should be file
  688. 
  689. ubuntu-16-docker 12:24:40$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  690.  odl
  691. 
  692. ubuntu-16-docker executed in 0.01 seconds
  693.  should be owned by "odl"
  694. 
  695. ubuntu-16-docker 12:24:40$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  696.  odl
  697. 
  698. ubuntu-16-docker executed in 0.01 seconds
  699.  should be grouped into "odl"
  700. File "/lib/systemd/system/opendaylight.service"
  701. 
  702. ubuntu-16-docker 12:24:40$ /bin/sh -c test\ -f\ /lib/systemd/system/opendaylight.service
  703. 
  704. ubuntu-16-docker executed in 0.01 seconds
  705.  should be file
  706. 
  707. ubuntu-16-docker 12:24:40$ /bin/sh -c stat\ -c\ \%U\ /lib/systemd/system/opendaylight.service\ \|\ grep\ --\ \\\^root\\\$
  708.  root
  709. 
  710. ubuntu-16-docker executed in 0.01 seconds
  711.  should be owned by "root"
  712. 
  713. ubuntu-16-docker 12:24:40$ /bin/sh -c stat\ -c\ \%G\ /lib/systemd/system/opendaylight.service\ \|\ grep\ --\ \\\^root\\\$
  714.  root
  715. 
  716. ubuntu-16-docker executed in 0.01 seconds
  717.  should be grouped into "root"
  718. 
  719. ubuntu-16-docker 12:24:40$ /bin/sh -c stat\ -c\ \%a\ /lib/systemd/system/opendaylight.service\ \|\ grep\ --\ \\\^644\\\$
  720.  644
  721. 
  722. ubuntu-16-docker executed in 0.01 seconds
  723.  should be mode "644"
  724. Package "openjdk-8-jre-headless"
  725. 
  726. ubuntu-16-docker 12:24:40$ /bin/sh -c dpkg-query\ -f\ \'\$\{Status\}\'\ -W\ openjdk-8-jre-headless\ \|\ grep\ -E\ \'\^\(install\|hold\)\ ok\ installed\$\'
  727.  install ok installed
  728. 
  729. ubuntu-16-docker executed in 0.01 seconds
  730.  should be installed
  731. testing Karaf config file
  732. using default features
  733. and not passing extra features
  734. 
  735. ubuntu-16-docker 12:24:40$ mktemp -t apply_manifest.pp.XXXXXX
  736.  /tmp/apply_manifest.pp.gVomOz
  737. 
  738. ubuntu-16-docker executed in 0.01 seconds
  739. localhost $ scp /tmp/beaker20170206-18728-qwprmk ubuntu-16-docker:/tmp/apply_manifest.pp.gVomOz {:ignore => }
  740. 
  741. ubuntu-16-docker 12:24:40$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.gVomOz
  742.  2017-02-06 17:24:40.189814 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  743.  Info: Loading facts
  744.  Info: Loading facts
  745.  Info: Loading facts
  746.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  747. (in /etc/puppetlabs/puppet/hiera.yaml)
  748.  Warning: Undefined variable 'trusted.certname';
  749. (file & line not available)
  750.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  751. (file & line not available)
  752.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  753. (file & line not available)
  754.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  755.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  756. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  757.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  758. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  759.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  760. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  761.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  762. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  763.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.36 seconds
  764.  Info: Applying configuration version '1486401883'
  765.  Error: Could not find init script for 'opendaylight'
  766.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  767.  Notice: Applied catalog in 0.09 seconds
  768. 
  769. ubuntu-16-docker executed in 3.97 seconds
  770. Exited: 4
  771.  should work idempotently with no errors (FAILED - 4)
  772. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  773. 
  774. ubuntu-16-docker 12:24:44$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  775. 
  776. ubuntu-16-docker executed in 0.00 seconds
  777.  should be file
  778. 
  779. ubuntu-16-docker 12:24:44$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  780.  odl
  781. 
  782. ubuntu-16-docker executed in 0.00 seconds
  783.  should be owned by "odl"
  784. 
  785. ubuntu-16-docker 12:24:44$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  786.  odl
  787. 
  788. ubuntu-16-docker executed in 0.00 seconds
  789.  should be grouped into "odl"
  790. content
  791. 
  792. ubuntu-16-docker 12:24:44$ /bin/sh -c cat\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  793.  ################################################################################
  794. #
  795. # Licensed to the Apache Software Foundation (ASF) under one or more
  796. # contributor license agreements. See the NOTICE file distributed with
  797. # this work for additional information regarding copyright ownership.
  798. # The ASF licenses this file to You under the Apache License, Version 2.0
  799. # (the "License"); you may not use this file except in compliance with
  800. # the License. You may obtain a copy of the License at
  801. #
  802. # http://www.apache.org/licenses/LICENSE-2.0
  803. #
  804. # Unless required by applicable law or agreed to in writing, software
  805. # distributed under the License is distributed on an "AS IS" BASIS,
  806. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  807. # See the License for the specific language governing permissions and
  808. # limitations under the License.
  809. #
  810. ################################################################################
  811.  
  812. #
  813. # Defines if the startlvl should be respected during feature startup. The default value is true. The default
  814. # behavior for 2.x is false (!) for this property
  815. #
  816. # Be aware that this property is deprecated and will be removed in Karaf 4.0. So, if you need to
  817. # set this to false, please use this only as a temporary solution!
  818. #
  819. #respectStartLvlDuringFeatureStartup=true
  820.  
  821.  
  822. #
  823. # Defines if the startlvl should be respected during feature uninstall. The default value is true.
  824. # If true, means stop bundles respecting the descend order of start level in a certain feature.
  825. #
  826. #respectStartLvlDuringFeatureUninstall=true
  827.  
  828. #
  829. # Comma separated list of features repositories to register by default
  830. #
  831. featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.7/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.7/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.7/xml/features,mvn:org.opendaylight.integration/features-integration-index/0.5.2-Boron-SR2/xml/features
  832.  
  833. #
  834. # Comma separated list of features to install at startup
  835. #
  836. featuresBoot=config,standard,region,package,kar,ssh,management
  837.  
  838. #
  839. # Defines if the boot features are started in asynchronous mode (in a dedicated thread)
  840. #
  841. featuresBootAsynchronous=false
  842.  
  843. #
  844. # Store cfg file for config element in feature
  845. #
  846. #configCfgStore=true
  847. 
  848. ubuntu-16-docker executed in 0.01 seconds
  849.  should match /^featuresBoot=config,standard,region,package,kar,ssh,management/
  850. and passing extra features
  851. 
  852. ubuntu-16-docker 12:24:44$ mktemp -t apply_manifest.pp.XXXXXX
  853.  /tmp/apply_manifest.pp.Mv7DDj
  854. 
  855. ubuntu-16-docker executed in 0.00 seconds
  856. localhost $ scp /tmp/beaker20170206-18728-16aj6o3 ubuntu-16-docker:/tmp/apply_manifest.pp.Mv7DDj {:ignore => }
  857. 
  858. ubuntu-16-docker 12:24:44$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Mv7DDj
  859.  2017-02-06 17:24:44.227491  WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  860.  Info: Loading facts
  861.  Info: Loading facts
  862.  Info: Loading facts
  863.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  864. (in /etc/puppetlabs/puppet/hiera.yaml)
  865.  Warning: Undefined variable 'trusted.certname';
  866. (file & line not available)
  867.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  868. (file & line not available)
  869.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  870. (file & line not available)
  871.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  872.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  873. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  874.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  875. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  876.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  877. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  878.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  879. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  880.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.35 seconds
  881.  Info: Applying configuration version '1486401887'
  882.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  883.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  884.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  885.  Error: Could not find init script for 'opendaylight'
  886.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  887.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  888.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  889.  Info: Stage[main]: Unscheduling all events on Stage[main]
  890.  Notice: Applied catalog in 0.09 seconds
  891. 
  892. ubuntu-16-docker executed in 3.79 seconds
  893. Exited: 6
  894.  should work idempotently with no errors (FAILED - 5)
  895. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  896. 
  897. ubuntu-16-docker 12:24:47$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  898. 
  899. ubuntu-16-docker executed in 0.00 seconds
  900.  should be file
  901. 
  902. ubuntu-16-docker 12:24:47$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  903.  odl
  904. 
  905. ubuntu-16-docker executed in 0.00 seconds
  906.  should be owned by "odl"
  907. 
  908. ubuntu-16-docker 12:24:47$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  909.  odl
  910. 
  911. ubuntu-16-docker executed in 0.00 seconds
  912.  should be grouped into "odl"
  913. content
  914. 
  915. ubuntu-16-docker 12:24:48$ /bin/sh -c cat\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  916.  ################################################################################
  917. #
  918. # Licensed to the Apache Software Foundation (ASF) under one or more
  919. # contributor license agreements. See the NOTICE file distributed with
  920. # this work for additional information regarding copyright ownership.
  921. # The ASF licenses this file to You under the Apache License, Version 2.0
  922. # (the "License"); you may not use this file except in compliance with
  923. # the License. You may obtain a copy of the License at
  924. #
  925. # http://www.apache.org/licenses/LICENSE-2.0
  926. #
  927. # Unless required by applicable law or agreed to in writing, software
  928. # distributed under the License is distributed on an "AS IS" BASIS,
  929. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  930. # See the License for the specific language governing permissions and
  931. # limitations under the License.
  932. #
  933. ################################################################################
  934.  
  935. #
  936. # Defines if the startlvl should be respected during feature startup. The default value is true. The default
  937. # behavior for 2.x is false (!) for this property
  938. #
  939. # Be aware that this property is deprecated and will be removed in Karaf 4.0. So, if you need to
  940. # set this to false, please use this only as a temporary solution!
  941. #
  942. #respectStartLvlDuringFeatureStartup=true
  943.  
  944.  
  945. #
  946. # Defines if the startlvl should be respected during feature uninstall. The default value is true.
  947. # If true, means stop bundles respecting the descend order of start level in a certain feature.
  948. #
  949. #respectStartLvlDuringFeatureUninstall=true
  950.  
  951. #
  952. # Comma separated list of features repositories to register by default
  953. #
  954. featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.7/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.7/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.7/xml/features,mvn:org.opendaylight.integration/features-integration-index/0.5.2-Boron-SR2/xml/features
  955.  
  956. #
  957. # Comma separated list of features to install at startup
  958. #
  959. featuresBoot=config,standard,region,package,kar,ssh,management,odl-base-all,odl-ovsdb-all
  960.  
  961. #
  962. # Defines if the boot features are started in asynchronous mode (in a dedicated thread)
  963. #
  964. featuresBootAsynchronous=false
  965.  
  966. #
  967. # Store cfg file for config element in feature
  968. #
  969. #configCfgStore=true
  970. 
  971. ubuntu-16-docker executed in 0.01 seconds
  972.  should match /^featuresBoot=config,standard,region,package,kar,ssh,management,odl-base-all,odl-ovsdb-all/
  973. overriding default features
  974. and not passing extra features
  975. 
  976. ubuntu-16-docker 12:24:48$ mktemp -t apply_manifest.pp.XXXXXX
  977.  /tmp/apply_manifest.pp.1Xr1da
  978. 
  979. ubuntu-16-docker executed in 0.00 seconds
  980. localhost $ scp /tmp/beaker20170206-18728-1vsoxir ubuntu-16-docker:/tmp/apply_manifest.pp.1Xr1da {:ignore => }
  981. 
  982. ubuntu-16-docker 12:24:48$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.1Xr1da
  983.  2017-02-06 17:24:48.096303 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  984.  Info: Loading facts
  985.  Info: Loading facts
  986. Info: Loading facts
  987.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  988. (in /etc/puppetlabs/puppet/hiera.yaml)
  989.  Warning: Undefined variable 'trusted.certname';
  990. (file & line not available)
  991.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  992. (file & line not available)
  993.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  994. (file & line not available)
  995.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  996.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  997. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  998.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  999. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1000.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  1001. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1002.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  1003. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1004.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.35 seconds
  1005.  Info: Applying configuration version '1486401891'
  1006.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  1007.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1008.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1009.  Error: Could not find init script for 'opendaylight'
  1010.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  1011.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1012.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  1013.  Info: Stage[main]: Unscheduling all events on Stage[main]
  1014.  Notice: Applied catalog in 0.09 seconds
  1015. 
  1016. ubuntu-16-docker executed in 3.83 seconds
  1017. Exited: 6
  1018.  should work idempotently with no errors (FAILED - 6)
  1019. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  1020. 
  1021. ubuntu-16-docker 12:24:51$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  1022. 
  1023. ubuntu-16-docker executed in 0.00 seconds
  1024.  should be file
  1025. 
  1026. ubuntu-16-docker 12:24:51$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1027.  odl
  1028. 
  1029. ubuntu-16-docker executed in 0.00 seconds
  1030.  should be owned by "odl"
  1031. 
  1032. ubuntu-16-docker 12:24:51$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1033.  odl
  1034. 
  1035. ubuntu-16-docker executed in 0.00 seconds
  1036.  should be grouped into "odl"
  1037. content
  1038. 
  1039. ubuntu-16-docker 12:24:51$ /bin/sh -c cat\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1040.  ################################################################################
  1041. #
  1042. # Licensed to the Apache Software Foundation (ASF) under one or more
  1043. # contributor license agreements. See the NOTICE file distributed with
  1044. # this work for additional information regarding copyright ownership.
  1045. # The ASF licenses this file to You under the Apache License, Version 2.0
  1046. # (the "License"); you may not use this file except in compliance with
  1047. # the License. You may obtain a copy of the License at
  1048. #
  1049. # http://www.apache.org/licenses/LICENSE-2.0
  1050. #
  1051. # Unless required by applicable law or agreed to in writing, software
  1052. # distributed under the License is distributed on an "AS IS" BASIS,
  1053. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1054. # See the License for the specific language governing permissions and
  1055. # limitations under the License.
  1056. #
  1057. ################################################################################
  1058.  
  1059. #
  1060. # Defines if the startlvl should be respected during feature startup. The default value is true. The default
  1061. # behavior for 2.x is false (!) for this property
  1062. #
  1063. # Be aware that this property is deprecated and will be removed in Karaf 4.0. So, if you need to
  1064. # set this to false, please use this only as a temporary solution!
  1065. #
  1066. #respectStartLvlDuringFeatureStartup=true
  1067.  
  1068.  
  1069. #
  1070. # Defines if the startlvl should be respected during feature uninstall. The default value is true.
  1071. # If true, means stop bundles respecting the descend order of start level in a certain feature.
  1072. #
  1073. #respectStartLvlDuringFeatureUninstall=true
  1074.  
  1075. #
  1076. # Comma separated list of features repositories to register by default
  1077. #
  1078. featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.7/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.7/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.7/xml/features,mvn:org.opendaylight.integration/features-integration-index/0.5.2-Boron-SR2/xml/features
  1079.  
  1080. #
  1081. # Comma separated list of features to install at startup
  1082. #
  1083. featuresBoot=standard,ssh
  1084.  
  1085. #
  1086. # Defines if the boot features are started in asynchronous mode (in a dedicated thread)
  1087. #
  1088. featuresBootAsynchronous=false
  1089.  
  1090. #
  1091. # Store cfg file for config element in feature
  1092. #
  1093. #configCfgStore=true
  1094. 
  1095. ubuntu-16-docker executed in 0.01 seconds
  1096.  should match /^featuresBoot=standard,ssh/
  1097. and passing extra features
  1098. 
  1099. ubuntu-16-docker 12:24:51$ mktemp -t apply_manifest.pp.XXXXXX
  1100.  /tmp/apply_manifest.pp.Nibgjx
  1101. 
  1102. ubuntu-16-docker executed in 0.00 seconds
  1103. localhost $ scp /tmp/beaker20170206-18728-18qvud1 ubuntu-16-docker:/tmp/apply_manifest.pp.Nibgjx {:ignore => }
  1104. 
  1105. ubuntu-16-docker 12:24:51$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Nibgjx
  1106.  2017-02-06 17:24:52.001067 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  1107.  Info: Loading facts
  1108.  Info: Loading facts
  1109.  Info: Loading facts
  1110.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  1111. (in /etc/puppetlabs/puppet/hiera.yaml)
  1112.  Warning: Undefined variable 'trusted.certname';
  1113. (file & line not available)
  1114.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  1115. (file & line not available)
  1116.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  1117. (file & line not available)
  1118.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  1119.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  1120. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1121.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  1122. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1123.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  1124. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1125.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  1126. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1127.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.35 seconds
  1128.  Info: Applying configuration version '1486401895'
  1129.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  1130.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1131.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1132.  Error: Could not find init script for 'opendaylight'
  1133.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  1134.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1135.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  1136.  Info: Stage[main]: Unscheduling all events on Stage[main]
  1137.  Notice: Applied catalog in 0.10 seconds
  1138. 
  1139. ubuntu-16-docker executed in 3.90 seconds
  1140. Exited: 6
  1141.  should work idempotently with no errors (FAILED - 7)
  1142. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  1143. 
  1144. ubuntu-16-docker 12:24:55$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  1145. 
  1146. ubuntu-16-docker executed in 0.00 seconds
  1147.  should be file
  1148. 
  1149. ubuntu-16-docker 12:24:55$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1150.  odl
  1151. 
  1152. ubuntu-16-docker executed in 0.00 seconds
  1153.  should be owned by "odl"
  1154. 
  1155. ubuntu-16-docker 12:24:55$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1156.  odl
  1157. 
  1158. ubuntu-16-docker executed in 0.00 seconds
  1159.  should be grouped into "odl"
  1160. content
  1161. 
  1162. ubuntu-16-docker 12:24:55$ /bin/sh -c cat\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1163.  ################################################################################
  1164. #
  1165. # Licensed to the Apache Software Foundation (ASF) under one or more
  1166. # contributor license agreements. See the NOTICE file distributed with
  1167. # this work for additional information regarding copyright ownership.
  1168. # The ASF licenses this file to You under the Apache License, Version 2.0
  1169. # (the "License"); you may not use this file except in compliance with
  1170. # the License. You may obtain a copy of the License at
  1171. #
  1172. # http://www.apache.org/licenses/LICENSE-2.0
  1173. #
  1174. # Unless required by applicable law or agreed to in writing, software
  1175. # distributed under the License is distributed on an "AS IS" BASIS,
  1176. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1177. # See the License for the specific language governing permissions and
  1178. # limitations under the License.
  1179. #
  1180. ################################################################################
  1181.  
  1182. #
  1183. # Defines if the startlvl should be respected during feature startup. The default value is true. The default
  1184. # behavior for 2.x is false (!) for this property
  1185. #
  1186. # Be aware that this property is deprecated and will be removed in Karaf 4.0. So, if you need to
  1187. # set this to false, please use this only as a temporary solution!
  1188. #
  1189. #respectStartLvlDuringFeatureStartup=true
  1190.  
  1191.  
  1192. #
  1193. # Defines if the startlvl should be respected during feature uninstall. The default value is true.
  1194. # If true, means stop bundles respecting the descend order of start level in a certain feature.
  1195. #
  1196. #respectStartLvlDuringFeatureUninstall=true
  1197.  
  1198. #
  1199. # Comma separated list of features repositories to register by default
  1200. #
  1201. featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.7/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.7/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.7/xml/features,mvn:org.opendaylight.integration/features-integration-index/0.5.2-Boron-SR2/xml/features
  1202.  
  1203. #
  1204. # Comma separated list of features to install at startup
  1205. #
  1206. featuresBoot=standard,ssh,odl-base-all,odl-ovsdb-all
  1207.  
  1208. #
  1209. # Defines if the boot features are started in asynchronous mode (in a dedicated thread)
  1210. #
  1211. featuresBootAsynchronous=false
  1212.  
  1213. #
  1214. # Store cfg file for config element in feature
  1215. #
  1216. #configCfgStore=true
  1217. 
  1218. ubuntu-16-docker executed in 0.01 seconds
  1219.  should match /^featuresBoot=standard,ssh,odl-base-all,odl-ovsdb-all/
  1220. testing REST port config file
  1221. using default port
  1222. 
  1223. ubuntu-16-docker 12:24:55$ mktemp -t apply_manifest.pp.XXXXXX
  1224.  /tmp/apply_manifest.pp.xD2Ulb
  1225. 
  1226. ubuntu-16-docker executed in 0.00 seconds
  1227. localhost $ scp /tmp/beaker20170206-18728-nmi0qf ubuntu-16-docker:/tmp/apply_manifest.pp.xD2Ulb {:ignore => }
  1228. 
  1229. ubuntu-16-docker 12:24:55$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.xD2Ulb
  1230.  2017-02-06 17:24:55.979679 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  1231.  Info: Loading facts
  1232.  Info: Loading facts
  1233.  Info: Loading facts
  1234.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  1235. (in /etc/puppetlabs/puppet/hiera.yaml)
  1236.  Warning: Undefined variable 'trusted.certname';
  1237. (file & line not available)
  1238.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  1239. (file & line not available)
  1240.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  1241. (file & line not available)
  1242.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  1243.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  1244. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1245.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  1246. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1247.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  1248. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1249.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  1250. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1251.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.38 seconds
  1252.  Info: Applying configuration version '1486401899'
  1253.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  1254.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1255.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1256.  Error: Could not find init script for 'opendaylight'
  1257.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  1258.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1259.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  1260.  Info: Stage[main]: Unscheduling all events on Stage[main]
  1261.  Notice: Applied catalog in 0.10 seconds
  1262. 
  1263. ubuntu-16-docker executed in 3.89 seconds
  1264. Exited: 6
  1265.  should work idempotently with no errors (FAILED - 8)
  1266. File "/opt/opendaylight/etc/jetty.xml"
  1267. 
  1268. ubuntu-16-docker 12:24:59$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/jetty.xml
  1269. 
  1270. ubuntu-16-docker executed in 0.00 seconds
  1271.  should be file
  1272. 
  1273. ubuntu-16-docker 12:24:59$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  1274.  odl
  1275. 
  1276. ubuntu-16-docker executed in 0.01 seconds
  1277.  should be owned by "odl"
  1278. 
  1279. ubuntu-16-docker 12:24:59$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  1280.  odl
  1281. 
  1282. ubuntu-16-docker executed in 0.00 seconds
  1283.  should be grouped into "odl"
  1284. content
  1285. 
  1286. ubuntu-16-docker 12:24:59$ /bin/sh -c cat\ /opt/opendaylight/etc/jetty.xml\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1287.  <?xml version="1.0"?>
  1288. <!--
  1289. Licensed to the Apache Software Foundation (ASF) under one
  1290. or more contributor license agreements. See the NOTICE file
  1291. distributed with this work for additional information
  1292. regarding copyright ownership. The ASF licenses this file
  1293. to you under the Apache License, Version 2.0 (the
  1294. "License"); you may not use this file except in compliance
  1295. with the License. You may obtain a copy of the License at
  1296.  
  1297. http://www.apache.org/licenses/LICENSE-2.0
  1298.  
  1299. Unless required by applicable law or agreed to in writing,
  1300. software distributed under the License is distributed on an
  1301. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  1302. KIND, either express or implied. See the License for the
  1303. specific language governing permissions and limitations
  1304. under the License.
  1305. -->
  1306. <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//
  1307. DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
  1308.  
  1309. <Configure class="org.eclipse.jetty.server.Server">
  1310.  
  1311. <!-- =========================================================== -->
  1312. <!-- Set connectors -->
  1313. <!-- =========================================================== -->
  1314. <!-- One of each type! -->
  1315. <!-- =========================================================== -->
  1316.  
  1317. <!-- Use this connector for many frequently idle connections and for
  1318. threadless continuations. -->
  1319. <Call name="addConnector">
  1320. <Arg>
  1321. <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
  1322. <Set name="host">0.0.0.0
  1323. <Property name="jetty.host" />
  1324. </Set>
  1325. <Set name="port">
  1326. <Property name="jetty.port" default="8181" />
  1327. </Set>
  1328. <Set name="maxIdleTime">300000</Set>
  1329. <Set name="Acceptors">2</Set>
  1330. <Set name="statsOn">false</Set>
  1331. <Set name="confidentialPort">8543</Set>
  1332. <Set name="lowResourcesConnections">20000</Set>
  1333. <Set name="lowResourcesMaxIdleTime">5000</Set>
  1334. </New>
  1335. </Arg>
  1336. </Call>
  1337. <Call name="addConnector">
  1338. <Arg>
  1339. <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
  1340. <Set name="host">0.0.0.0
  1341. <Property name="jetty.host" />
  1342. </Set>
  1343. <Set name="port">
  1344. <Property name="jetty.port" default="8080" />
  1345. </Set>
  1346. <Set name="maxIdleTime">300000</Set>
  1347. <Set name="Acceptors">2</Set>
  1348. <Set name="statsOn">false</Set>
  1349. <Set name="confidentialPort">8443</Set>
  1350. <Set name="lowResourcesConnections">20000</Set>
  1351. <Set name="lowResourcesMaxIdleTime">5000</Set>
  1352. </New>
  1353. </Arg>
  1354. </Call>
  1355.  
  1356. <!-- =========================================================== -->
  1357. <!-- Configure Authentication Realms -->
  1358. <!-- Realms may be configured for the entire server here, or -->
  1359. <!-- they can be configured for a specific web app in a context -->
  1360. <!-- configuration (see $(jetty.home)/contexts/test.xml for an -->
  1361. <!-- example). -->
  1362. <!-- =========================================================== -->
  1363. <Call name="addBean">
  1364. <Arg>
  1365. <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
  1366. <Set name="name">karaf</Set>
  1367. <Set name="loginModuleName">karaf</Set>
  1368. <Set name="roleClassNames">
  1369. <Array type="java.lang.String">
  1370. <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
  1371. </Item>
  1372. </Array>
  1373. </Set>
  1374. </New>
  1375. </Arg>
  1376. </Call>
  1377. <Call name="addBean">
  1378. <Arg>
  1379. <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
  1380. <Set name="name">default</Set>
  1381. <Set name="loginModuleName">karaf</Set>
  1382. <Set name="roleClassNames">
  1383. <Array type="java.lang.String">
  1384. <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
  1385. </Item>
  1386. </Array>
  1387. </Set>
  1388. </New>
  1389. </Arg>
  1390. </Call>
  1391.  
  1392. </Configure>
  1393. 
  1394. ubuntu-16-docker executed in 0.01 seconds
  1395.  should match /Property name="jetty.port" default="8080"/
  1396. overriding default port
  1397. 
  1398. ubuntu-16-docker 12:24:59$ mktemp -t apply_manifest.pp.XXXXXX
  1399.  /tmp/apply_manifest.pp.2TVYL9
  1400. 
  1401. ubuntu-16-docker executed in 0.00 seconds
  1402. localhost $ scp /tmp/beaker20170206-18728-cyznri ubuntu-16-docker:/tmp/apply_manifest.pp.2TVYL9 {:ignore => }
  1403. 
  1404. ubuntu-16-docker 12:24:59$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.2TVYL9
  1405.  2017-02-06 17:24:59.954903  WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  1406.  Info: Loading facts
  1407.  Info: Loading facts
  1408.  Info: Loading facts
  1409.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  1410. (in /etc/puppetlabs/puppet/hiera.yaml)
  1411.  Warning: Undefined variable 'trusted.certname';
  1412. (file & line not available)
  1413.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  1414. (file & line not available)
  1415.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  1416. (file & line not available)
  1417.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  1418.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  1419. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1420.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  1421. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1422.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  1423. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1424.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  1425. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1426.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.41 seconds
  1427.  Info: Applying configuration version '1486401903'
  1428.  Info: Computing checksum on file /opt/opendaylight/etc/jetty.xml
  1429.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum e9fb34e252734115abb355b035071d25
  1430.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}e9fb34e252734115abb355b035071d25' to '{md5}f1f7940beb0c2682868e353ce063500e'
  1431.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1432.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1433.  Error: Could not find init script for 'opendaylight'
  1434.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  1435.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1436.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  1437.  Info: Stage[main]: Unscheduling all events on Stage[main]
  1438.  Notice: Applied catalog in 0.14 seconds
  1439. 
  1440. ubuntu-16-docker executed in 4.13 seconds
  1441. Exited: 6
  1442.  should work idempotently with no errors (FAILED - 9)
  1443. File "/opt/opendaylight/etc/jetty.xml"
  1444. 
  1445. ubuntu-16-docker 12:25:04$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/jetty.xml
  1446. 
  1447. ubuntu-16-docker executed in 0.00 seconds
  1448.  should be file
  1449. 
  1450. ubuntu-16-docker 12:25:04$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  1451.  odl
  1452. 
  1453. ubuntu-16-docker executed in 0.01 seconds
  1454.  should be owned by "odl"
  1455. 
  1456. ubuntu-16-docker 12:25:04$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  1457.  odl
  1458. 
  1459. ubuntu-16-docker executed in 0.01 seconds
  1460.  should be grouped into "odl"
  1461. content
  1462. 
  1463. ubuntu-16-docker 12:25:04$ /bin/sh -c cat\ /opt/opendaylight/etc/jetty.xml\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1464.  <?xml version="1.0"?>
  1465. <!--
  1466. Licensed to the Apache Software Foundation (ASF) under one
  1467. or more contributor license agreements. See the NOTICE file
  1468. distributed with this work for additional information
  1469. regarding copyright ownership. The ASF licenses this file
  1470. to you under the Apache License, Version 2.0 (the
  1471. "License"); you may not use this file except in compliance
  1472. with the License. You may obtain a copy of the License at
  1473.  
  1474. http://www.apache.org/licenses/LICENSE-2.0
  1475.  
  1476. Unless required by applicable law or agreed to in writing,
  1477. software distributed under the License is distributed on an
  1478. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  1479. KIND, either express or implied. See the License for the
  1480. specific language governing permissions and limitations
  1481. under the License.
  1482. -->
  1483. <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//
  1484. DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
  1485.  
  1486. <Configure class="org.eclipse.jetty.server.Server">
  1487.  
  1488. <!-- =========================================================== -->
  1489. <!-- Set connectors -->
  1490. <!-- =========================================================== -->
  1491. <!-- One of each type! -->
  1492. <!-- =========================================================== -->
  1493.  
  1494. <!-- Use this connector for many frequently idle connections and for
  1495. threadless continuations. -->
  1496. <Call name="addConnector">
  1497. <Arg>
  1498. <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
  1499. <Set name="host">0.0.0.0
  1500. <Property name="jetty.host" />
  1501. </Set>
  1502. <Set name="port">
  1503. <Property name="jetty.port" default="8181" />
  1504. </Set>
  1505. <Set name="maxIdleTime">300000</Set>
  1506. <Set name="Acceptors">2</Set>
  1507. <Set name="statsOn">false</Set>
  1508. <Set name="confidentialPort">8543</Set>
  1509. <Set name="lowResourcesConnections">20000</Set>
  1510. <Set name="lowResourcesMaxIdleTime">5000</Set>
  1511. </New>
  1512. </Arg>
  1513. </Call>
  1514. <Call name="addConnector">
  1515. <Arg>
  1516. <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
  1517. <Set name="host">0.0.0.0
  1518. <Property name="jetty.host" />
  1519. </Set>
  1520. <Set name="port">
  1521. <Property name="jetty.port" default="7777" />
  1522. </Set>
  1523. <Set name="maxIdleTime">300000</Set>
  1524. <Set name="Acceptors">2</Set>
  1525. <Set name="statsOn">false</Set>
  1526. <Set name="confidentialPort">8443</Set>
  1527. <Set name="lowResourcesConnections">20000</Set>
  1528. <Set name="lowResourcesMaxIdleTime">5000</Set>
  1529. </New>
  1530. </Arg>
  1531. </Call>
  1532.  
  1533. <!-- =========================================================== -->
  1534. <!-- Configure Authentication Realms -->
  1535. <!-- Realms may be configured for the entire server here, or -->
  1536. <!-- they can be configured for a specific web app in a context -->
  1537. <!-- configuration (see $(jetty.home)/contexts/test.xml for an -->
  1538. <!-- example). -->
  1539. <!-- =========================================================== -->
  1540. <Call name="addBean">
  1541. <Arg>
  1542. <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
  1543. <Set name="name">karaf</Set>
  1544. <Set name="loginModuleName">karaf</Set>
  1545. <Set name="roleClassNames">
  1546. <Array type="java.lang.String">
  1547. <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
  1548. </Item>
  1549. </Array>
  1550. </Set>
  1551. </New>
  1552. </Arg>
  1553. </Call>
  1554. <Call name="addBean">
  1555. <Arg>
  1556. <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
  1557. <Set name="name">default</Set>
  1558. <Set name="loginModuleName">karaf</Set>
  1559. <Set name="roleClassNames">
  1560. <Array type="java.lang.String">
  1561. <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
  1562. </Item>
  1563. </Array>
  1564. </Set>
  1565. </New>
  1566. </Arg>
  1567. </Call>
  1568.  
  1569. </Configure>
  1570. 
  1571. ubuntu-16-docker executed in 0.01 seconds
  1572.  should match /Property name="jetty.port" default="7777"/
  1573. testing custom logging verbosity
  1574. using default log levels
  1575. 
  1576. ubuntu-16-docker 12:25:04$ mktemp -t apply_manifest.pp.XXXXXX
  1577.  /tmp/apply_manifest.pp.AHnobN
  1578. 
  1579. ubuntu-16-docker executed in 0.00 seconds
  1580. localhost $ scp /tmp/beaker20170206-18728-63wwk8 ubuntu-16-docker:/tmp/apply_manifest.pp.AHnobN {:ignore => }
  1581. 
  1582. ubuntu-16-docker 12:25:04$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.AHnobN
  1583.  2017-02-06 17:25:04.178260 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  1584.  Info: Loading facts
  1585.  Info: Loading facts
  1586.  Info: Loading facts
  1587.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  1588. (in /etc/puppetlabs/puppet/hiera.yaml)
  1589.  Warning: Undefined variable 'trusted.certname';
  1590. (file & line not available)
  1591.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  1592. (file & line not available)
  1593.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  1594. (file & line not available)
  1595.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  1596.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  1597. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1598.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  1599. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1600.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  1601. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1602.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  1603. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1604.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.41 seconds
  1605.  Info: Applying configuration version '1486401907'
  1606.  Info: Computing checksum on file /opt/opendaylight/etc/jetty.xml
  1607.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum f1f7940beb0c2682868e353ce063500e
  1608.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}f1f7940beb0c2682868e353ce063500e' to '{md5}e9fb34e252734115abb355b035071d25'
  1609.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1610.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1611.  Error: Could not find init script for 'opendaylight'
  1612.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  1613.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1614.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  1615.  Info: Stage[main]: Unscheduling all events on Stage[main]
  1616.  Notice: Applied catalog in 0.20 seconds
  1617. 
  1618. ubuntu-16-docker executed in 4.49 seconds
  1619. Exited: 6
  1620.  should work idempotently with no errors (FAILED - 10)
  1621. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  1622. 
  1623. ubuntu-16-docker 12:25:08$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1624. 
  1625. ubuntu-16-docker executed in 0.01 seconds
  1626.  should be file
  1627. 
  1628. ubuntu-16-docker 12:25:08$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1629.  odl
  1630. 
  1631. ubuntu-16-docker executed in 0.01 seconds
  1632.  should be owned by "odl"
  1633. 
  1634. ubuntu-16-docker 12:25:08$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1635.  odl
  1636. 
  1637. ubuntu-16-docker executed in 0.01 seconds
  1638.  should be grouped into "odl"
  1639. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  1640. 
  1641. ubuntu-16-docker 12:25:08$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1642. 
  1643. ubuntu-16-docker executed in 0.01 seconds
  1644.  should be file
  1645. 
  1646. ubuntu-16-docker 12:25:08$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1647.  odl
  1648. 
  1649. ubuntu-16-docker executed in 0.01 seconds
  1650.  should be owned by "odl"
  1651. 
  1652. ubuntu-16-docker 12:25:08$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1653.  odl
  1654. 
  1655. ubuntu-16-docker executed in 0.01 seconds
  1656.  should be grouped into "odl"
  1657. content
  1658. 
  1659. ubuntu-16-docker 12:25:08$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1660.  ################################################################################
  1661. #
  1662. # Licensed to the Apache Software Foundation (ASF) under one or more
  1663. # contributor license agreements. See the NOTICE file distributed with
  1664. # this work for additional information regarding copyright ownership.
  1665. # The ASF licenses this file to You under the Apache License, Version 2.0
  1666. # (the "License"); you may not use this file except in compliance with
  1667. # the License. You may obtain a copy of the License at
  1668. #
  1669. # http://www.apache.org/licenses/LICENSE-2.0
  1670. #
  1671. # Unless required by applicable law or agreed to in writing, software
  1672. # distributed under the License is distributed on an "AS IS" BASIS,
  1673. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1674. # See the License for the specific language governing permissions and
  1675. # limitations under the License.
  1676. #
  1677. ################################################################################
  1678.  
  1679. # Root logger
  1680. log4j.rootLogger=INFO, async, osgi:*
  1681. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  1682.  
  1683. # CONSOLE appender not used by default
  1684. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  1685. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  1686. log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  1687.  
  1688. # Async appender forwarding to file appender
  1689. log4j.appender.async=org.apache.log4j.AsyncAppender
  1690. log4j.appender.async.appenders=out
  1691.  
  1692. # File appender
  1693. log4j.appender.out=org.apache.log4j.RollingFileAppender
  1694. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  1695. log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  1696. log4j.appender.out.file=${karaf.data}/log/karaf.log
  1697. log4j.appender.out.append=true
  1698. log4j.appender.out.maxFileSize=1MB
  1699. log4j.appender.out.maxBackupIndex=10
  1700.  
  1701. # Sift appender
  1702. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  1703. log4j.appender.sift.key=bundle.name
  1704. log4j.appender.sift.default=karaf
  1705. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  1706. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  1707. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  1708. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  1709. log4j.appender.sift.appender.append=true
  1710. 
  1711. ubuntu-16-docker executed in 0.01 seconds
  1712.  should not match /# Log level config added by puppet-opendaylight/
  1713. adding one custom log level
  1714. 
  1715. ubuntu-16-docker 12:25:08$ mktemp -t apply_manifest.pp.XXXXXX
  1716.  /tmp/apply_manifest.pp.iPLWh4
  1717. 
  1718. ubuntu-16-docker executed in 0.01 seconds
  1719. localhost $ scp /tmp/beaker20170206-18728-13fmaqf ubuntu-16-docker:/tmp/apply_manifest.pp.iPLWh4 {:ignore => }
  1720. 
  1721. ubuntu-16-docker 12:25:08$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.iPLWh4
  1722.  2017-02-06 17:25:08.802744 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  1723.  Info: Loading facts
  1724.  Info: Loading facts
  1725.  Info: Loading facts
  1726.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  1727. (in /etc/puppetlabs/puppet/hiera.yaml)
  1728.  Warning: Undefined variable 'trusted.certname';
  1729. (file & line not available)
  1730.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  1731. (file & line not available)
  1732.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  1733. (file & line not available)
  1734.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  1735.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  1736. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1737.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  1738. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1739.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  1740. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1741.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  1742. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1743.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.44 seconds
  1744.  Info: Applying configuration version '1486401912'
  1745.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1746.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum 711ef6390bfff3e696dec1e89a72fec6
  1747.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}711ef6390bfff3e696dec1e89a72fec6' to '{md5}2a64114490e14e9e20a33a9bac3d5bf0'
  1748.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1749.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1750.  Error: Could not find init script for 'opendaylight'
  1751. Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  1752.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1753.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  1754.  Info: Stage[main]: Unscheduling all events on Stage[main]
  1755.  Notice: Applied catalog in 0.13 seconds
  1756. 
  1757. ubuntu-16-docker executed in 4.53 seconds
  1758. Exited: 6
  1759.  should work idempotently with no errors (FAILED - 11)
  1760. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  1761. 
  1762. ubuntu-16-docker 12:25:13$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1763. 
  1764. ubuntu-16-docker executed in 0.00 seconds
  1765.  should be file
  1766. 
  1767. ubuntu-16-docker 12:25:13$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1768.  odl
  1769. 
  1770. ubuntu-16-docker executed in 0.01 seconds
  1771.  should be owned by "odl"
  1772. 
  1773. ubuntu-16-docker 12:25:13$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1774.  odl
  1775. 
  1776. ubuntu-16-docker executed in 0.01 seconds
  1777.  should be grouped into "odl"
  1778. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  1779. 
  1780. ubuntu-16-docker 12:25:13$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1781. 
  1782. ubuntu-16-docker executed in 0.00 seconds
  1783.  should be file
  1784. 
  1785. ubuntu-16-docker 12:25:13$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1786.  odl
  1787. 
  1788. ubuntu-16-docker executed in 0.01 seconds
  1789.  should be owned by "odl"
  1790. 
  1791. ubuntu-16-docker 12:25:13$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1792.  odl
  1793. 
  1794. ubuntu-16-docker executed in 0.01 seconds
  1795.  should be grouped into "odl"
  1796. content
  1797. 
  1798. ubuntu-16-docker 12:25:13$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1799.  ################################################################################
  1800. #
  1801. # Licensed to the Apache Software Foundation (ASF) under one or more
  1802. # contributor license agreements. See the NOTICE file distributed with
  1803. # this work for additional information regarding copyright ownership.
  1804. # The ASF licenses this file to You under the Apache License, Version 2.0
  1805. # (the "License"); you may not use this file except in compliance with
  1806. # the License. You may obtain a copy of the License at
  1807. #
  1808. # http://www.apache.org/licenses/LICENSE-2.0
  1809. #
  1810. # Unless required by applicable law or agreed to in writing, software
  1811. # distributed under the License is distributed on an "AS IS" BASIS,
  1812. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1813. # See the License for the specific language governing permissions and
  1814. # limitations under the License.
  1815. #
  1816. ################################################################################
  1817.  
  1818. # Root logger
  1819. log4j.rootLogger=INFO, async, osgi:*
  1820. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  1821.  
  1822. # CONSOLE appender not used by default
  1823. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  1824. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  1825. log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  1826.  
  1827. # Async appender forwarding to file appender
  1828. log4j.appender.async=org.apache.log4j.AsyncAppender
  1829. log4j.appender.async.appenders=out
  1830.  
  1831. # File appender
  1832. log4j.appender.out=org.apache.log4j.RollingFileAppender
  1833. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  1834. log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  1835. log4j.appender.out.file=${karaf.data}/log/karaf.log
  1836. log4j.appender.out.append=true
  1837. log4j.appender.out.maxFileSize=1MB
  1838. log4j.appender.out.maxBackupIndex=10
  1839.  
  1840. # Sift appender
  1841. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  1842. log4j.appender.sift.key=bundle.name
  1843. log4j.appender.sift.default=karaf
  1844. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  1845. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  1846. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  1847. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  1848. log4j.appender.sift.appender.append=true
  1849.  
  1850. # Log level config added by puppet-opendaylight
  1851. log4j.logger.org.opendaylight.ovsdb = TRACE
  1852. 
  1853. ubuntu-16-docker executed in 0.01 seconds
  1854.  should match /# Log level config added by puppet-opendaylight/
  1855. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  1856. 
  1857. ubuntu-16-docker 12:25:13$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1858. 
  1859. ubuntu-16-docker executed in 0.00 seconds
  1860.  should be file
  1861. 
  1862. ubuntu-16-docker 12:25:13$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1863.  odl
  1864. 
  1865. ubuntu-16-docker executed in 0.01 seconds
  1866.  should be owned by "odl"
  1867. 
  1868. ubuntu-16-docker 12:25:13$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1869.  odl
  1870. 
  1871. ubuntu-16-docker executed in 0.01 seconds
  1872.  should be grouped into "odl"
  1873. content
  1874. 
  1875. ubuntu-16-docker 12:25:13$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1876.  ################################################################################
  1877. #
  1878. # Licensed to the Apache Software Foundation (ASF) under one or more
  1879. # contributor license agreements. See the NOTICE file distributed with
  1880. # this work for additional information regarding copyright ownership.
  1881. # The ASF licenses this file to You under the Apache License, Version 2.0
  1882. # (the "License"); you may not use this file except in compliance with
  1883. # the License. You may obtain a copy of the License at
  1884. #
  1885. # http://www.apache.org/licenses/LICENSE-2.0
  1886. #
  1887. # Unless required by applicable law or agreed to in writing, software
  1888. # distributed under the License is distributed on an "AS IS" BASIS,
  1889. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1890. # See the License for the specific language governing permissions and
  1891. # limitations under the License.
  1892. #
  1893. ################################################################################
  1894.  
  1895. # Root logger
  1896. log4j.rootLogger=INFO, async, osgi:*
  1897. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  1898.  
  1899. # CONSOLE appender not used by default
  1900. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  1901. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  1902. log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  1903.  
  1904. # Async appender forwarding to file appender
  1905. log4j.appender.async=org.apache.log4j.AsyncAppender
  1906. log4j.appender.async.appenders=out
  1907.  
  1908. # File appender
  1909. log4j.appender.out=org.apache.log4j.RollingFileAppender
  1910. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  1911. log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  1912. log4j.appender.out.file=${karaf.data}/log/karaf.log
  1913. log4j.appender.out.append=true
  1914. log4j.appender.out.maxFileSize=1MB
  1915. log4j.appender.out.maxBackupIndex=10
  1916.  
  1917. # Sift appender
  1918. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  1919. log4j.appender.sift.key=bundle.name
  1920. log4j.appender.sift.default=karaf
  1921. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  1922. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  1923. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  1924. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  1925. log4j.appender.sift.appender.append=true
  1926.  
  1927. # Log level config added by puppet-opendaylight
  1928. log4j.logger.org.opendaylight.ovsdb = TRACE
  1929. 
  1930. ubuntu-16-docker executed in 0.01 seconds
  1931.  should match /^log4j.logger.org.opendaylight.ovsdb = TRACE/
  1932. adding two custom log level
  1933. 
  1934. ubuntu-16-docker 12:25:13$ mktemp -t apply_manifest.pp.XXXXXX
  1935.  /tmp/apply_manifest.pp.Pawe4c
  1936. 
  1937. ubuntu-16-docker executed in 0.00 seconds
  1938. localhost $ scp /tmp/beaker20170206-18728-czjcs9 ubuntu-16-docker:/tmp/apply_manifest.pp.Pawe4c {:ignore => }
  1939. 
  1940. ubuntu-16-docker 12:25:13$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Pawe4c
  1941.  2017-02-06 17:25:13.483332 WARN puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C
  1942.  Info: Loading facts
  1943.  Info: Loading facts
  1944.  Info: Loading facts
  1945.  Warning: /etc/puppetlabs/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5
  1946. (in /etc/puppetlabs/puppet/hiera.yaml)
  1947.  Warning: Undefined variable 'trusted.certname';
  1948. (file & line not available)
  1949.  Warning: Use of class Puppet::SemVer is deprecated. SemanticPuppet::Version or SemanticPuppet::VersionRange should be used instead
  1950. (file & line not available)
  1951.  Warning: ModuleLoader: module 'opendaylight' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
  1952. (file & line not available)
  1953.  Warning: Scope(Class[Opendaylight]): Debian has limited support, is less stable, less tested.
  1954.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/init.pp", 18]:["/etc/puppetlabs/code/modules/opendaylight/manifests/install.pp", 47]
  1955. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1956.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Pattern[]. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 18]:
  1957. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1958.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  1959. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1960.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  1961. (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  1962.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.50 seconds
  1963.  Info: Applying configuration version '1486401917'
  1964.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1965.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum 2a64114490e14e9e20a33a9bac3d5bf0
  1966.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}2a64114490e14e9e20a33a9bac3d5bf0' to '{md5}3a24173e7756979f27e165de546b51d3'
  1967.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1968.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1969.  Error: Could not find init script for 'opendaylight'
  1970.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  1971.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1972.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  1973.  Info: Stage[main]: Unscheduling all events on Stage[main]
  1974.  Notice: Applied catalog in 0.15 seconds
  1975. 
  1976. ubuntu-16-docker executed in 4.81 seconds
  1977. Exited: 6
  1978.  should work idempotently with no errors (FAILED - 12)
  1979. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  1980. 
  1981. ubuntu-16-docker 12:25:18$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1982. 
  1983. ubuntu-16-docker executed in 0.00 seconds
  1984.  should be file
  1985. 
  1986. ubuntu-16-docker 12:25:18$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1987.  odl
  1988. 
  1989. ubuntu-16-docker executed in 0.01 seconds
  1990.  should be owned by "odl"
  1991. 
  1992. ubuntu-16-docker 12:25:18$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1993.  odl
  1994. 
  1995. ubuntu-16-docker executed in 0.01 seconds
  1996.  should be grouped into "odl"
  1997. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  1998. 
  1999. ubuntu-16-docker 12:25:18$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2000. 
  2001. ubuntu-16-docker executed in 0.00 seconds
  2002.  should be file
  2003. 
  2004. ubuntu-16-docker 12:25:18$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2005.  odl
  2006. 
  2007. ubuntu-16-docker executed in 0.01 seconds
  2008.  should be owned by "odl"
  2009. 
  2010. ubuntu-16-docker 12:25:18$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2011.  odl
  2012. 
  2013. ubuntu-16-docker executed in 0.01 seconds
  2014.  should be grouped into "odl"
  2015. content
  2016. 
  2017. ubuntu-16-docker 12:25:18$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2018.  ################################################################################
  2019. #
  2020. # Licensed to the Apache Software Foundation (ASF) under one or more
  2021. # contributor license agreements. See the NOTICE file distributed with
  2022. # this work for additional information regarding copyright ownership.
  2023. # The ASF licenses this file to You under the Apache License, Version 2.0
  2024. # (the "License"); you may not use this file except in compliance with
  2025. # the License. You may obtain a copy of the License at
  2026. #
  2027. # http://www.apache.org/licenses/LICENSE-2.0
  2028. #
  2029. # Unless required by applicable law or agreed to in writing, software
  2030. # distributed under the License is distributed on an "AS IS" BASIS,
  2031. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2032. # See the License for the specific language governing permissions and
  2033. # limitations under the License.
  2034. #
  2035. ################################################################################
  2036.  
  2037. # Root logger
  2038. log4j.rootLogger=INFO, async, osgi:*
  2039. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2040.  
  2041. # CONSOLE appender not used by default
  2042. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2043. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2044. log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  2045.  
  2046. # Async appender forwarding to file appender
  2047. log4j.appender.async=org.apache.log4j.AsyncAppender
  2048. log4j.appender.async.appenders=out
  2049.  
  2050. # File appender
  2051. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2052. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2053. log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  2054. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2055. log4j.appender.out.append=true
  2056. log4j.appender.out.maxFileSize=1MB
  2057. log4j.appender.out.maxBackupIndex=10
  2058.  
  2059. # Sift appender
  2060. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2061. log4j.appender.sift.key=bundle.name
  2062. log4j.appender.sift.default=karaf
  2063. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2064. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2065. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2066. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2067. log4j.appender.sift.appender.append=true
  2068.  
  2069. # Log level config added by puppet-opendaylight
  2070. log4j.logger.org.opendaylight.ovsdb = TRACE
  2071.  
  2072. # Log level config added by puppet-opendaylight
  2073. log4j.logger.org.opendaylight.ovsdb.lib = INFO
  2074. 
  2075. ubuntu-16-docker executed in 0.01 seconds
  2076.  should match /# Log level config added by puppet-opendaylight/
  2077. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2078. 
  2079. ubuntu-16-docker 12:25:18$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2080. 
  2081. ubuntu-16-docker executed in 0.00 seconds
  2082.  should be file
  2083. 
  2084. ubuntu-16-docker 12:25:18$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2085.  odl
  2086. 
  2087. ubuntu-16-docker executed in 0.01 seconds
  2088.  should be owned by "odl"
  2089. 
  2090. ubuntu-16-docker 12:25:18$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2091.  odl
  2092. 
  2093. ubuntu-16-docker executed in 0.01 seconds
  2094.  should be grouped into "odl"
  2095. content
  2096. 
  2097. ubuntu-16-docker 12:25:18$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2098.  ################################################################################
  2099. #
  2100. # Licensed to the Apache Software Foundation (ASF) under one or more
  2101. # contributor license agreements. See the NOTICE file distributed with
  2102. # this work for additional information regarding copyright ownership.
  2103. # The ASF licenses this file to You under the Apache License, Version 2.0
  2104. # (the "License"); you may not use this file except in compliance with
  2105. # the License. You may obtain a copy of the License at
  2106. #
  2107. # http://www.apache.org/licenses/LICENSE-2.0
  2108. #
  2109. # Unless required by applicable law or agreed to in writing, software
  2110. # distributed under the License is distributed on an "AS IS" BASIS,
  2111. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2112. # See the License for the specific language governing permissions and
  2113. # limitations under the License.
  2114. #
  2115. ################################################################################
  2116.  
  2117. # Root logger
  2118. log4j.rootLogger=INFO, async, osgi:*
  2119. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2120.  
  2121. # CONSOLE appender not used by default
  2122. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2123. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2124. log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  2125.  
  2126. # Async appender forwarding to file appender
  2127. log4j.appender.async=org.apache.log4j.AsyncAppender
  2128. log4j.appender.async.appenders=out
  2129.  
  2130. # File appender
  2131. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2132. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2133. log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  2134. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2135. log4j.appender.out.append=true
  2136. log4j.appender.out.maxFileSize=1MB
  2137. log4j.appender.out.maxBackupIndex=10
  2138.  
  2139. # Sift appender
  2140. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2141. log4j.appender.sift.key=bundle.name
  2142. log4j.appender.sift.default=karaf
  2143. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2144. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2145. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2146. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2147. log4j.appender.sift.appender.append=true
  2148.  
  2149. # Log level config added by puppet-opendaylight
  2150. log4j.logger.org.opendaylight.ovsdb = TRACE
  2151.  
  2152. # Log level config added by puppet-opendaylight
  2153. log4j.logger.org.opendaylight.ovsdb.lib = INFO
  2154. 
  2155. ubuntu-16-docker executed in 0.01 seconds
  2156.  should match /^log4j.logger.org.opendaylight.ovsdb = TRACE/
  2157. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2158. 
  2159. ubuntu-16-docker 12:25:18$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2160. 
  2161. ubuntu-16-docker executed in 0.03 seconds
  2162.  should be file
  2163. 
  2164. ubuntu-16-docker 12:25:18$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2165.  odl
  2166. 
  2167. ubuntu-16-docker executed in 0.01 seconds
  2168.  should be owned by "odl"
  2169. 
  2170. ubuntu-16-docker 12:25:18$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2171.  odl
  2172. 
  2173. ubuntu-16-docker executed in 0.01 seconds
  2174.  should be grouped into "odl"
  2175. content
  2176. 
  2177. ubuntu-16-docker 12:25:18$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2178.  ################################################################################
  2179. #
  2180. # Licensed to the Apache Software Foundation (ASF) under one or more
  2181. # contributor license agreements. See the NOTICE file distributed with
  2182. # this work for additional information regarding copyright ownership.
  2183. # The ASF licenses this file to You under the Apache License, Version 2.0
  2184. # (the "License"); you may not use this file except in compliance with
  2185. # the License. You may obtain a copy of the License at
  2186. #
  2187. # http://www.apache.org/licenses/LICENSE-2.0
  2188. #
  2189. # Unless required by applicable law or agreed to in writing, software
  2190. # distributed under the License is distributed on an "AS IS" BASIS,
  2191. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2192. # See the License for the specific language governing permissions and
  2193. # limitations under the License.
  2194. #
  2195. ################################################################################
  2196.  
  2197. # Root logger
  2198. log4j.rootLogger=INFO, async, osgi:*
  2199. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2200.  
  2201. # CONSOLE appender not used by default
  2202. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2203. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2204. log4j.appender.stdout.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  2205.  
  2206. # Async appender forwarding to file appender
  2207. log4j.appender.async=org.apache.log4j.AsyncAppender
  2208. log4j.appender.async.appenders=out
  2209.  
  2210. # File appender
  2211. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2212. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2213. log4j.appender.out.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %X{bundle.id} - %X{bundle.name} - %X{bundle.version} | %m%n
  2214. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2215. log4j.appender.out.append=true
  2216. log4j.appender.out.maxFileSize=1MB
  2217. log4j.appender.out.maxBackupIndex=10
  2218.  
  2219. # Sift appender
  2220. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2221. log4j.appender.sift.key=bundle.name
  2222. log4j.appender.sift.default=karaf
  2223. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2224. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2225. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2226. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2227. log4j.appender.sift.appender.append=true
  2228.  
  2229. # Log level config added by puppet-opendaylight
  2230. log4j.logger.org.opendaylight.ovsdb = TRACE
  2231.  
  2232. # Log level config added by puppet-opendaylight
  2233. log4j.logger.org.opendaylight.ovsdb.lib = INFO
  2234. 
  2235. ubuntu-16-docker executed in 0.01 seconds
  2236.  should match /^log4j.logger.org.opendaylight.ovsdb.lib = INFO/
  2237. ssh connection to ubuntu-16-docker has been terminated
  2238. Cleaning up docker
  2239. stop container 2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679
  2240. post
  2241. /v1.16/containers/2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679/stop
  2242. {}
  2243. {}
  2244. delete container 2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679
  2245. delete
  2246. /v1.16/containers/2bad418ee8d01618aad0fa7abe7749695ac18a2ba3d4aa53c6800ed09f99d679
  2247. {}
  2248.  
  2249. delete image 951f7d06bc08
  2250. delete
  2251. /v1.16/images/951f7d06bc08
  2252. {}
  2253.  
  2254. 
  2255. Failures:
  2256.  
  2257. 1) opendaylight class testing install methods should work idempotently with no errors
  2258. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2259. Beaker::Host::CommandFailure:
  2260.  Host 'ubuntu-16-docker' exited with 6 running:
  2261.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.c2M4df
  2262.  Last 10 lines of output were:
  2263.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}5114b5102808c64edda26ac58c11b9cc' to '{md5}711ef6390bfff3e696dec1e89a72fec6'
  2264.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2265.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2266.  Error: Could not find init script for 'opendaylight'
  2267.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2268.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2269.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2270.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2271.  Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
  2272.  Notice: Applied catalog in 1588.10 seconds
  2273.  
  2274. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2275. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2276. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2277. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2278. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2279. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2280. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2281. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2282. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2283. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2284. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2285.  
  2286. 2) opendaylight class testing install methods Service "opendaylight" should be running
  2287. Failure/Error: it { should be_running }
  2288.  expected Service "opendaylight" to be running
  2289.  
  2290. # ./spec/spec_helper_acceptance.rb:114:in `block (2 levels) in generic_validations'
  2291.  
  2292. 3) opendaylight class testing install methods Process "java" should be running
  2293. Failure/Error: it { should be_running }
  2294.  expected Process "java" to be running
  2295.  
  2296. # ./spec/spec_helper_acceptance.rb:143:in `block (2 levels) in generic_validations'
  2297.  
  2298. 4) opendaylight class testing Karaf config file using default features and not passing extra features should work idempotently with no errors
  2299. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2300. Beaker::Host::CommandFailure:
  2301.  Host 'ubuntu-16-docker' exited with 4 running:
  2302.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.gVomOz
  2303.  Last 10 lines of output were:
  2304.  (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  2305.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 19]:
  2306.  (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  2307.  Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at ["/etc/puppetlabs/code/environments/production/modules/apt/manifests/setting.pp", 37]:
  2308.  (at /etc/puppetlabs/code/environments/production/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
  2309.  Notice: Compiled catalog for ubuntu-16-docker.rdu.redhat.com in environment production in 0.36 seconds
  2310.  Info: Applying configuration version '1486401883'
  2311.  Error: Could not find init script for 'opendaylight'
  2312.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2313.  Notice: Applied catalog in 0.09 seconds
  2314.  
  2315. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2316. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2317. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2318. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2319. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2320. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2321. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2322. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2323. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2324. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2325. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2326.  
  2327. 5) opendaylight class testing Karaf config file using default features and passing extra features should work idempotently with no errors
  2328. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2329. Beaker::Host::CommandFailure:
  2330.  Host 'ubuntu-16-docker' exited with 6 running:
  2331.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Mv7DDj
  2332.  Last 10 lines of output were:
  2333.  Info: Applying configuration version '1486401887'
  2334.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  2335.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2336.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2337.  Error: Could not find init script for 'opendaylight'
  2338.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2339.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2340.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2341.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2342.  Notice: Applied catalog in 0.09 seconds
  2343.  
  2344. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2345. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2346. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2347. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2348. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2349. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2350. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2351. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2352. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2353. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2354. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2355.  
  2356. 6) opendaylight class testing Karaf config file overriding default features and not passing extra features should work idempotently with no errors
  2357. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2358. Beaker::Host::CommandFailure:
  2359.  Host 'ubuntu-16-docker' exited with 6 running:
  2360.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.1Xr1da
  2361.  Last 10 lines of output were:
  2362.  Info: Applying configuration version '1486401891'
  2363.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  2364.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2365.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2366.  Error: Could not find init script for 'opendaylight'
  2367.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2368.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2369.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2370.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2371.  Notice: Applied catalog in 0.09 seconds
  2372.  
  2373. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2374. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2375. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2376. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2377. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2378. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2379. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2380. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2381. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2382. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2383. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2384.  
  2385. 7) opendaylight class testing Karaf config file overriding default features and passing extra features should work idempotently with no errors
  2386. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2387. Beaker::Host::CommandFailure:
  2388.  Host 'ubuntu-16-docker' exited with 6 running:
  2389.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Nibgjx
  2390.  Last 10 lines of output were:
  2391.  Info: Applying configuration version '1486401895'
  2392.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  2393.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2394.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2395.  Error: Could not find init script for 'opendaylight'
  2396.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2397.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2398.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2399.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2400.  Notice: Applied catalog in 0.10 seconds
  2401.  
  2402. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2403. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2404. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2405. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2406. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2407. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2408. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2409. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2410. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2411. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2412. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2413.  
  2414. 8) opendaylight class testing REST port config file using default port should work idempotently with no errors
  2415. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2416. Beaker::Host::CommandFailure:
  2417.  Host 'ubuntu-16-docker' exited with 6 running:
  2418.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.xD2Ulb
  2419.  Last 10 lines of output were:
  2420.  Info: Applying configuration version '1486401899'
  2421.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  2422.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2423.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2424.  Error: Could not find init script for 'opendaylight'
  2425.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2426.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2427.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2428.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2429.  Notice: Applied catalog in 0.10 seconds
  2430.  
  2431. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2432. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2433. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2434. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2435. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2436. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2437. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2438. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2439. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2440. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2441. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2442.  
  2443. 9) opendaylight class testing REST port config file overriding default port should work idempotently with no errors
  2444. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2445. Beaker::Host::CommandFailure:
  2446.  Host 'ubuntu-16-docker' exited with 6 running:
  2447.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.2TVYL9
  2448.  Last 10 lines of output were:
  2449.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum e9fb34e252734115abb355b035071d25
  2450.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}e9fb34e252734115abb355b035071d25' to '{md5}f1f7940beb0c2682868e353ce063500e'
  2451.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2452.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2453.  Error: Could not find init script for 'opendaylight'
  2454.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2455.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2456.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2457.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2458.  Notice: Applied catalog in 0.14 seconds
  2459.  
  2460. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2461. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2462. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2463. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2464. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2465. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2466. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2467. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2468. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2469. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2470. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2471.  
  2472. 10) opendaylight class testing custom logging verbosity using default log levels should work idempotently with no errors
  2473. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2474. Beaker::Host::CommandFailure:
  2475.  Host 'ubuntu-16-docker' exited with 6 running:
  2476.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.AHnobN
  2477.  Last 10 lines of output were:
  2478.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum f1f7940beb0c2682868e353ce063500e
  2479.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}f1f7940beb0c2682868e353ce063500e' to '{md5}e9fb34e252734115abb355b035071d25'
  2480.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2481.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2482.  Error: Could not find init script for 'opendaylight'
  2483.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2484.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2485.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2486.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2487.  Notice: Applied catalog in 0.20 seconds
  2488.  
  2489. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2490. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2491. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2492. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2493. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2494. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2495. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2496. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2497. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2498. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2499. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2500.  
  2501. 11) opendaylight class testing custom logging verbosity adding one custom log level should work idempotently with no errors
  2502. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2503. Beaker::Host::CommandFailure:
  2504.  Host 'ubuntu-16-docker' exited with 6 running:
  2505.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.iPLWh4
  2506.  Last 10 lines of output were:
  2507.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum 711ef6390bfff3e696dec1e89a72fec6
  2508.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}711ef6390bfff3e696dec1e89a72fec6' to '{md5}2a64114490e14e9e20a33a9bac3d5bf0'
  2509.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2510.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2511.  Error: Could not find init script for 'opendaylight'
  2512.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2513.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2514.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2515.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2516.  Notice: Applied catalog in 0.13 seconds
  2517.  
  2518. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2519. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2520. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2521. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2522. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2523. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2524. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2525. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2526. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2527. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2528. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2529.  
  2530. 12) opendaylight class testing custom logging verbosity adding two custom log level should work idempotently with no errors
  2531. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2532. Beaker::Host::CommandFailure:
  2533.  Host 'ubuntu-16-docker' exited with 6 running:
  2534.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Pawe4c
  2535.  Last 10 lines of output were:
  2536.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum 2a64114490e14e9e20a33a9bac3d5bf0
  2537.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}2a64114490e14e9e20a33a9bac3d5bf0' to '{md5}3a24173e7756979f27e165de546b51d3'
  2538.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2539.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2540.  Error: Could not find init script for 'opendaylight'
  2541.  Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]/ensure: change from stopped to running failed: Could not find init script for 'opendaylight'
  2542.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2543.  Info: Class[Opendaylight::Service]: Unscheduling all events on Class[Opendaylight::Service]
  2544.  Info: Stage[main]: Unscheduling all events on Stage[main]
  2545.  Notice: Applied catalog in 0.15 seconds
  2546.  
  2547. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/host.rb:373:in `exec'
  2548. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2549. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2550. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2551. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2552. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2553. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2554. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2555. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2556. # /home/daniel/.gem/ruby/gems/beaker-3.9.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2557. # ./spec/spec_helper_acceptance.rb:90:in `block in install_odl'
  2558.  
  2559. Finished in 27 minutes 37 seconds (files took 1 minute 16.94 seconds to load)
  2560. 96 examples, 12 failures
  2561.  
  2562. Failed examples:
  2563.  
  2564. rspec './spec/acceptance/class_spec.rb[1:1:1]' # opendaylight class testing install methods should work idempotently with no errors
  2565. rspec './spec/acceptance/class_spec.rb[1:1:5:3]' # opendaylight class testing install methods Service "opendaylight" should be running
  2566. rspec './spec/acceptance/class_spec.rb[1:1:9:1]' # opendaylight class testing install methods Process "java" should be running
  2567. rspec './spec/acceptance/class_spec.rb[1:2:1:1:1]' # opendaylight class testing Karaf config file using default features and not passing extra features should work idempotently with no errors
  2568. rspec './spec/acceptance/class_spec.rb[1:2:1:2:1]' # opendaylight class testing Karaf config file using default features and passing extra features should work idempotently with no errors
  2569. rspec './spec/acceptance/class_spec.rb[1:2:2:1:1]' # opendaylight class testing Karaf config file overriding default features and not passing extra features should work idempotently with no errors
  2570. rspec './spec/acceptance/class_spec.rb[1:2:2:2:1]' # opendaylight class testing Karaf config file overriding default features and passing extra features should work idempotently with no errors
  2571. rspec './spec/acceptance/class_spec.rb[1:3:1:1]' # opendaylight class testing REST port config file using default port should work idempotently with no errors
  2572. rspec './spec/acceptance/class_spec.rb[1:3:2:1]' # opendaylight class testing REST port config file overriding default port should work idempotently with no errors
  2573. rspec './spec/acceptance/class_spec.rb[1:4:1:1]' # opendaylight class testing custom logging verbosity using default log levels should work idempotently with no errors
  2574. rspec './spec/acceptance/class_spec.rb[1:4:2:1]' # opendaylight class testing custom logging verbosity adding one custom log level should work idempotently with no errors
  2575. rspec './spec/acceptance/class_spec.rb[1:4:3:1]' # opendaylight class testing custom logging verbosity adding two custom log level should work idempotently with no errors
  2576.  
  2577. /usr/bin/ruby -I/home/daniel/.gem/ruby/gems/rspec-core-3.5.4/lib:/home/daniel/.gem/ruby/gems/rspec-support-3.5.0/lib /home/daniel/.gem/ruby/gems/rspec-core-3.5.4/exe/rspec spec/acceptance --color failed
  2578. rake aborted!
  2579. Command failed with status (1): [RS_SET=ubuntu-16-docker INSTALL_METHOD=deb...]
  2580. /home/daniel/puppet-opendaylight/Rakefile:106:in `block in <top (required)>'
  2581. /home/daniel/.gem/ruby/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
  2582. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli/exec.rb:63:in `load'
  2583. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli/exec.rb:63:in `kernel_load'
  2584. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli/exec.rb:24:in `run'
  2585. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli.rb:304:in `exec'
  2586. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  2587. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  2588. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
  2589. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
  2590. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli.rb:11:in `start'
  2591. /home/daniel/.gem/ruby/gems/bundler-1.12.5/exe/bundle:27:in `block in <top (required)>'
  2592. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/friendly_errors.rb:98:in `with_friendly_errors'
  2593. /home/daniel/.gem/ruby/gems/bundler-1.12.5/exe/bundle:19:in `<top (required)>'
  2594. /home/daniel/bin/bundle:23:in `load'
  2595. /home/daniel/bin/bundle:23:in `<main>'
  2596. Tasks: TOP => ubuntu16_5rel_dock
  2597. (See full trace by running task with --trace)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement