Advertisement
dfarrell07

trozet-add_odl_user_password.sanity.log

Apr 13th, 2017
1,093
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 226.06 KB | None | 0 0
  1. ---> syntax:manifests
  2. ---> syntax:templates
  3. ---> syntax:hiera:yaml
  4. metadata-json-lint metadata.json
  5. echo "y" | travis lint .travis.yml --debug
  6. ** Loading "/home/daniel/.travis/config.yml"
  7. ** reading .travis.yml
  8. ** POST "lint" {"content"=>"---\nlanguage: ruby\nbundler_args: --without local_only\nbefore_install: rm Gemfile.lock || true\nrvm:\n - 2.1.10\n - 2.2.7\n - 2.3.3\n - 2.4.1\nscript: bundle exec rake test\nenv:\n - PUPPET_VERSION=\"~> 4.6.0\"\n - PUPPET_VERSION=\"~> 4.7.0\"\n - PUPPET_VERSION=\"~> 4.8.0\"\n - PUPPET_VERSION=\"~> 4.9.0\"\nmatrix:\n exclude:\n - rvm: 2.4.1\n env: PUPPET_VERSION=\"~> 4.6.0\"\n - rvm: 2.4.1\n env: PUPPET_VERSION=\"~> 4.7.0\"\nnotifications:\n email:\n recipients:\n - dfarrell@redhat.com\n on_success: change\n on_failure: change\n"}
  9. ** took 0.043 seconds
  10. ** Storing "/home/daniel/.travis/config.yml"
  11. valid
  12. Cloning into 'spec/fixtures/modules/apt'...
  13. Cloning into 'spec/fixtures/modules/archive'...
  14. Cloning into 'spec/fixtures/modules/stdlib'...
  15. Cloning into 'spec/fixtures/modules/java'...
  16. /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 --pattern spec/\{aliases,classes,defines,unit,functions,hosts,integration,type_aliases,types\}/\*\*/\*_spec.rb --color
  17.  
  18. opendaylight::repos
  19. on unsupported os
  20. when on Solaris
  21.  should fail
  22. on centos-7-x86_64
  23. behaves like opendaylight::repos on RedHat
  24. with defaults
  25.  should contain Class[opendaylight::repos]
  26.  should contain Yumrepo[opendaylight-6-testing] with baseurl => "http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/$basearch/os/", enabled => 1 and gpgcheck => 0
  27. with custom rpm repo options
  28.  should contain Yumrepo[testing] with baseurl => "http://cbs.centos.org/repos/nfv7-testing/$basearch/os/", enabled => 0 and gpgcheck => 1
  29. on ubuntu-16.04-x86_64
  30. behaves like opendaylight::repos on Debian
  31. with defaults
  32.  should contain Class[opendaylight::repos]
  33.  should contain Class[apt]
  34.  should contain Apt::Ppa[ppa:odl-team/boron]
  35. with custom deb_repo
  36.  should contain Apt::Ppa[ppa:foo/testing]
  37. on redhat-7-x86_64
  38. behaves like opendaylight::repos on RedHat
  39. with defaults
  40.  should contain Class[opendaylight::repos]
  41.  should contain Yumrepo[opendaylight-6-testing] with baseurl => "http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/$basearch/os/", enabled => 1 and gpgcheck => 0
  42. with custom rpm repo options
  43.  should contain Yumrepo[testing] with baseurl => "http://cbs.centos.org/repos/nfv7-testing/$basearch/os/", enabled => 0 and gpgcheck => 1
  44. on fedora-24-x86_64
  45. behaves like opendaylight::repos on RedHat
  46. with defaults
  47.  should contain Class[opendaylight::repos]
  48.  should contain Yumrepo[opendaylight-6-testing] with baseurl => "http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/$basearch/os/", enabled => 1 and gpgcheck => 0
  49. with custom rpm repo options
  50.  should contain Yumrepo[testing] with baseurl => "http://cbs.centos.org/repos/nfv7-testing/$basearch/os/", enabled => 0 and gpgcheck => 1
  51.  
  52. opendaylight
  53. OS support tests
  54. OS family Red Hat
  55. Fedora
  56. 24
  57.  should compile into a catalogue without dependency cycles
  58.  should compile into a catalogue without dependency cycles
  59.  should contain Class[opendaylight]
  60.  should contain Class[opendaylight::params]
  61.  should contain Class[opendaylight::install]
  62.  should contain Class[opendaylight::config]
  63.  should contain Class[opendaylight::service]
  64.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  65.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  66.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  67.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  68.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  69.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  70.  should contain Service[opendaylight]
  71.  should contain File[org.apache.karaf.features.cfg]
  72.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  73.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  74.  should contain Yumrepo[opendaylight-6-testing]
  75.  should contain Package[opendaylight]
  76.  should contain Package[opendaylight] that requires Yumrepo[opendaylight-6-testing]
  77.  should contain Yumrepo[opendaylight-6-testing] that comes before Package[opendaylight]
  78.  should contain Yumrepo[opendaylight-6-testing] with enabled => "1", gpgcheck => "0", descr => "OpenDaylight SDN Controller" and baseurl => "http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/$basearch/os/"
  79.  should contain Package[opendaylight] with ensure => "present"
  80.  should contain File_line[java_options_systemd] with ensure => "present", path => "/usr/lib/systemd/system/opendaylight.service", line => "Environment=_JAVA_OPTIONS='-Djava.net.preferIPv4Stack=true'" and after => "ExecStart=/opt/opendaylight/bin/start"
  81.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  82.  should contain File_line[featuresBoot] with path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", line => "featuresBoot=config,standard,region,package,kar,ssh,management" and match => "^featuresBoot=.*$"
  83.  should contain File[jetty.xml] with ensure => "file", path => "/opt/opendaylight/etc/jetty.xml", owner => "odl", group => "odl" and content =~ /Property name="jetty.port" default="8080"/
  84.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl" and group => "odl"
  85.  should not contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /# Log level config added by puppet-opendaylight/
  86. 25
  87.  should compile into a catalogue without dependency cycles
  88.  should compile into a catalogue without dependency cycles
  89.  should contain Class[opendaylight]
  90.  should contain Class[opendaylight::params]
  91.  should contain Class[opendaylight::install]
  92.  should contain Class[opendaylight::config]
  93.  should contain Class[opendaylight::service]
  94.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  95.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  96.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  97.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  98.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  99.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  100.  should contain Service[opendaylight]
  101.  should contain File[org.apache.karaf.features.cfg]
  102.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  103.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  104.  should contain Yumrepo[opendaylight-6-testing]
  105.  should contain Package[opendaylight]
  106.  should contain Package[opendaylight] that requires Yumrepo[opendaylight-6-testing]
  107.  should contain Yumrepo[opendaylight-6-testing] that comes before Package[opendaylight]
  108.  should contain Yumrepo[opendaylight-6-testing] with enabled => "1", gpgcheck => "0", descr => "OpenDaylight SDN Controller" and baseurl => "http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/$basearch/os/"
  109.  should contain Package[opendaylight] with ensure => "present"
  110.  should contain File_line[java_options_systemd] with ensure => "present", path => "/usr/lib/systemd/system/opendaylight.service", line => "Environment=_JAVA_OPTIONS='-Djava.net.preferIPv4Stack=true'" and after => "ExecStart=/opt/opendaylight/bin/start"
  111.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  112.  should contain File_line[featuresBoot] with path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", line => "featuresBoot=config,standard,region,package,kar,ssh,management" and match => "^featuresBoot=.*$"
  113.  should contain File[jetty.xml] with ensure => "file", path => "/opt/opendaylight/etc/jetty.xml", owner => "odl", group => "odl" and content =~ /Property name="jetty.port" default="8080"/
  114.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl" and group => "odl"
  115.  should not contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /# Log level config added by puppet-opendaylight/
  116. 23
  117.  should raise Puppet::Error with message matching /Unsupported OS: Fedora 23/
  118.  should raise Puppet::Error with message matching /Unsupported OS: Fedora 23/
  119.  should raise Puppet::Error with message matching /Unsupported OS: Fedora 23/
  120.  should raise Puppet::Error with message matching /Unsupported OS: Fedora 23/
  121.  should raise Puppet::Error with message matching /Unsupported OS: Fedora 23/
  122.  should raise Puppet::Error with message matching /Unsupported OS: Fedora 23/
  123.  should raise Puppet::Error with message matching /Unsupported OS: Fedora 23/
  124.  should raise Puppet::Error with message matching /Unsupported OS: Fedora 23/
  125. CentOS
  126. 7
  127.  should compile into a catalogue without dependency cycles
  128.  should compile into a catalogue without dependency cycles
  129.  should contain Class[opendaylight]
  130.  should contain Class[opendaylight::params]
  131.  should contain Class[opendaylight::install]
  132.  should contain Class[opendaylight::config]
  133.  should contain Class[opendaylight::service]
  134.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  135.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  136.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  137.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  138.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  139.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  140.  should contain Service[opendaylight]
  141.  should contain File[org.apache.karaf.features.cfg]
  142.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  143.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  144.  should contain Yumrepo[opendaylight-6-testing]
  145.  should contain Package[opendaylight]
  146.  should contain Package[opendaylight] that requires Yumrepo[opendaylight-6-testing]
  147.  should contain Yumrepo[opendaylight-6-testing] that comes before Package[opendaylight]
  148.  should contain Yumrepo[opendaylight-6-testing] with enabled => "1", gpgcheck => "0", descr => "OpenDaylight SDN Controller" and baseurl => "http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/$basearch/os/"
  149.  should contain Package[opendaylight] with ensure => "present"
  150.  should contain File_line[java_options_systemd] with ensure => "present", path => "/usr/lib/systemd/system/opendaylight.service", line => "Environment=_JAVA_OPTIONS='-Djava.net.preferIPv4Stack=true'" and after => "ExecStart=/opt/opendaylight/bin/start"
  151.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  152.  should contain File_line[featuresBoot] with path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", line => "featuresBoot=config,standard,region,package,kar,ssh,management" and match => "^featuresBoot=.*$"
  153.  should contain File[jetty.xml] with ensure => "file", path => "/opt/opendaylight/etc/jetty.xml", owner => "odl", group => "odl" and content =~ /Property name="jetty.port" default="8080"/
  154.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl" and group => "odl"
  155.  should not contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /# Log level config added by puppet-opendaylight/
  156. 6
  157.  should raise Puppet::Error with message matching /Unsupported OS: CentOS 6/
  158.  should raise Puppet::Error with message matching /Unsupported OS: CentOS 6/
  159.  should raise Puppet::Error with message matching /Unsupported OS: CentOS 6/
  160.  should raise Puppet::Error with message matching /Unsupported OS: CentOS 6/
  161.  should raise Puppet::Error with message matching /Unsupported OS: CentOS 6/
  162.  should raise Puppet::Error with message matching /Unsupported OS: CentOS 6/
  163.  should raise Puppet::Error with message matching /Unsupported OS: CentOS 6/
  164.  should raise Puppet::Error with message matching /Unsupported OS: CentOS 6/
  165. OS family Debian
  166. Ubuntu
  167. 16.04
  168.  should compile into a catalogue without dependency cycles
  169.  should compile into a catalogue without dependency cycles
  170.  should contain Class[opendaylight]
  171.  should contain Class[opendaylight::params]
  172.  should contain Class[opendaylight::install]
  173.  should contain Class[opendaylight::config]
  174.  should contain Class[opendaylight::service]
  175.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  176.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  177.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  178.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  179.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  180.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  181.  should contain Service[opendaylight]
  182.  should contain File[org.apache.karaf.features.cfg]
  183.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  184.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  185.  should contain Apt::Ppa[ppa:odl-team/boron]
  186.  should contain Package[opendaylight]
  187.  should contain Package[opendaylight] that requires Apt::Ppa[ppa:odl-team/boron]
  188.  should contain Apt::Ppa[ppa:odl-team/boron] that comes before Package[opendaylight]
  189.  should contain Package[opendaylight] with ensure => "present"
  190.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  191.  should contain File_line[featuresBoot] with path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", line => "featuresBoot=config,standard,region,package,kar,ssh,management" and match => "^featuresBoot=.*$"
  192.  should contain File[jetty.xml] with ensure => "file", path => "/opt/opendaylight/etc/jetty.xml", owner => "odl", group => "odl" and content =~ /Property name="jetty.port" default="8080"/
  193.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl" and group => "odl"
  194.  should not contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /# Log level config added by puppet-opendaylight/
  195. 12.04
  196.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 12.04/
  197.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 12.04/
  198.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 12.04/
  199.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 12.04/
  200.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 12.04/
  201.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 12.04/
  202.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 12.04/
  203.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 12.04/
  204. 14.04
  205.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 14.04/
  206.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 14.04/
  207.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 14.04/
  208.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 14.04/
  209.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 14.04/
  210.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 14.04/
  211.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 14.04/
  212.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 14.04/
  213. 15.10
  214.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 15.10/
  215.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 15.10/
  216.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 15.10/
  217.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 15.10/
  218.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 15.10/
  219.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 15.10/
  220.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 15.10/
  221.  should raise Puppet::Error with message matching /Unsupported OS: Ubuntu 15.10/
  222. OS family Suse
  223.  should raise Puppet::Error with message matching /Unsupported OS family: Suse/
  224.  should raise Puppet::Error with message matching /Unsupported OS family: Suse/
  225.  should raise Puppet::Error with message matching /Unsupported OS family: Suse/
  226.  should raise Puppet::Error with message matching /Unsupported OS family: Suse/
  227.  should raise Puppet::Error with message matching /Unsupported OS family: Suse/
  228.  should raise Puppet::Error with message matching /Unsupported OS family: Suse/
  229.  should raise Puppet::Error with message matching /Unsupported OS family: Suse/
  230.  should raise Puppet::Error with message matching /Unsupported OS family: Suse/
  231. OS family Solaris
  232.  should raise Puppet::Error with message matching /Unsupported OS family: Solaris/
  233.  should raise Puppet::Error with message matching /Unsupported OS family: Solaris/
  234.  should raise Puppet::Error with message matching /Unsupported OS family: Solaris/
  235.  should raise Puppet::Error with message matching /Unsupported OS family: Solaris/
  236.  should raise Puppet::Error with message matching /Unsupported OS family: Solaris/
  237.  should raise Puppet::Error with message matching /Unsupported OS family: Solaris/
  238.  should raise Puppet::Error with message matching /Unsupported OS family: Solaris/
  239.  should raise Puppet::Error with message matching /Unsupported OS family: Solaris/
  240. Karaf feature tests
  241. using default features
  242. and not passing extra features
  243.  should compile into a catalogue without dependency cycles
  244.  should compile into a catalogue without dependency cycles
  245.  should contain Class[opendaylight]
  246.  should contain Class[opendaylight::params]
  247.  should contain Class[opendaylight::install]
  248.  should contain Class[opendaylight::config]
  249.  should contain Class[opendaylight::service]
  250.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  251.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  252.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  253.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  254.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  255.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  256.  should contain Service[opendaylight]
  257.  should contain File[org.apache.karaf.features.cfg]
  258.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  259.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  260.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  261.  should contain File_line[featuresBoot] with path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", line => "featuresBoot=config,standard,region,package,kar,ssh,management" and match => "^featuresBoot=.*$"
  262. and passing extra features
  263.  should compile into a catalogue without dependency cycles
  264.  should compile into a catalogue without dependency cycles
  265.  should contain Class[opendaylight]
  266.  should contain Class[opendaylight::params]
  267.  should contain Class[opendaylight::install]
  268.  should contain Class[opendaylight::config]
  269.  should contain Class[opendaylight::service]
  270.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  271.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  272.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  273.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  274.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  275.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  276.  should contain Service[opendaylight]
  277.  should contain File[org.apache.karaf.features.cfg]
  278.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  279.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  280.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  281.  should contain File_line[featuresBoot] with path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", line => "featuresBoot=config,standard,region,package,kar,ssh,management,odl-base-all,odl-ovsdb-all" and match => "^featuresBoot=.*$"
  282. overriding default features
  283. and not passing extra features
  284.  should compile into a catalogue without dependency cycles
  285.  should compile into a catalogue without dependency cycles
  286.  should contain Class[opendaylight]
  287.  should contain Class[opendaylight::params]
  288.  should contain Class[opendaylight::install]
  289.  should contain Class[opendaylight::config]
  290.  should contain Class[opendaylight::service]
  291.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  292.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  293.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  294.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  295.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  296.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  297.  should contain Service[opendaylight]
  298.  should contain File[org.apache.karaf.features.cfg]
  299.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  300.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  301.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  302.  should contain File_line[featuresBoot] with path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", line => "featuresBoot=standard,ssh" and match => "^featuresBoot=.*$"
  303. and passing extra features
  304.  should compile into a catalogue without dependency cycles
  305.  should compile into a catalogue without dependency cycles
  306.  should contain Class[opendaylight]
  307.  should contain Class[opendaylight::params]
  308.  should contain Class[opendaylight::install]
  309.  should contain Class[opendaylight::config]
  310.  should contain Class[opendaylight::service]
  311.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  312.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  313.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  314.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  315.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  316.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  317.  should contain Service[opendaylight]
  318.  should contain File[org.apache.karaf.features.cfg]
  319.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  320.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  321.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  322.  should contain File_line[featuresBoot] with path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", line => "featuresBoot=standard,ssh,odl-base-all,odl-ovsdb-all" and match => "^featuresBoot=.*$"
  323. REST port tests
  324. using default REST port
  325.  should compile into a catalogue without dependency cycles
  326.  should compile into a catalogue without dependency cycles
  327.  should contain Class[opendaylight]
  328.  should contain Class[opendaylight::params]
  329.  should contain Class[opendaylight::install]
  330.  should contain Class[opendaylight::config]
  331.  should contain Class[opendaylight::service]
  332.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  333.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  334.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  335.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  336.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  337.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  338.  should contain Service[opendaylight]
  339.  should contain File[org.apache.karaf.features.cfg]
  340.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  341.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  342.  should contain File[jetty.xml] with ensure => "file", path => "/opt/opendaylight/etc/jetty.xml", owner => "odl", group => "odl" and content =~ /Property name="jetty.port" default="8080"/
  343. overriding default REST port
  344.  should compile into a catalogue without dependency cycles
  345.  should compile into a catalogue without dependency cycles
  346.  should contain Class[opendaylight]
  347.  should contain Class[opendaylight::params]
  348.  should contain Class[opendaylight::install]
  349.  should contain Class[opendaylight::config]
  350.  should contain Class[opendaylight::service]
  351.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  352.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  353.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  354.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  355.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  356.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  357.  should contain Service[opendaylight]
  358.  should contain File[org.apache.karaf.features.cfg]
  359.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  360.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  361.  should contain File[jetty.xml] with ensure => "file", path => "/opt/opendaylight/etc/jetty.xml", owner => "odl", group => "odl" and content =~ /Property name="jetty.port" default="7777"/
  362. custom log level tests
  363. using default log levels
  364.  should compile into a catalogue without dependency cycles
  365.  should compile into a catalogue without dependency cycles
  366.  should contain Class[opendaylight]
  367.  should contain Class[opendaylight::params]
  368.  should contain Class[opendaylight::install]
  369.  should contain Class[opendaylight::config]
  370.  should contain Class[opendaylight::service]
  371.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  372.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  373.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  374.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  375.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  376.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  377.  should contain Service[opendaylight]
  378.  should contain File[org.apache.karaf.features.cfg]
  379.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  380.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  381.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl" and group => "odl"
  382.  should not contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /# Log level config added by puppet-opendaylight/
  383. adding one custom log level
  384.  should compile into a catalogue without dependency cycles
  385.  should compile into a catalogue without dependency cycles
  386.  should contain Class[opendaylight]
  387.  should contain Class[opendaylight::params]
  388.  should contain Class[opendaylight::install]
  389.  should contain Class[opendaylight::config]
  390.  should contain Class[opendaylight::service]
  391.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  392.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  393.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  394.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  395.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  396.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  397.  should contain Service[opendaylight]
  398.  should contain File[org.apache.karaf.features.cfg]
  399.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  400.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  401.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl" and group => "odl"
  402.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /# Log level config added by puppet-opendaylight/
  403.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /^log4j.logger.org.opendaylight.ovsdb = TRACE/
  404. adding two custom log levels
  405.  should compile into a catalogue without dependency cycles
  406.  should compile into a catalogue without dependency cycles
  407.  should contain Class[opendaylight]
  408.  should contain Class[opendaylight::params]
  409.  should contain Class[opendaylight::install]
  410.  should contain Class[opendaylight::config]
  411.  should contain Class[opendaylight::service]
  412.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  413.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  414.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  415.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  416.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  417.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  418.  should contain Service[opendaylight]
  419.  should contain File[org.apache.karaf.features.cfg]
  420.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  421.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  422.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl" and group => "odl"
  423.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /# Log level config added by puppet-opendaylight/
  424.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /^log4j.logger.org.opendaylight.ovsdb = TRACE/
  425.  should contain File[org.ops4j.pax.logging.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg", owner => "odl", group => "odl" and content =~ /^log4j.logger.org.opendaylight.ovsdb.lib = INFO/
  426. OVSDB HA enable/disable tests
  427. using enable_ha default
  428.  should compile into a catalogue without dependency cycles
  429.  should compile into a catalogue without dependency cycles
  430.  should contain Class[opendaylight]
  431.  should contain Class[opendaylight::params]
  432.  should contain Class[opendaylight::install]
  433.  should contain Class[opendaylight::config]
  434.  should contain Class[opendaylight::service]
  435.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  436.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  437.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  438.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  439.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  440.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  441.  should contain Service[opendaylight]
  442.  should contain File[org.apache.karaf.features.cfg]
  443.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  444.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  445. using false for enable_ha
  446.  should compile into a catalogue without dependency cycles
  447.  should compile into a catalogue without dependency cycles
  448.  should contain Class[opendaylight]
  449.  should contain Class[opendaylight::params]
  450.  should contain Class[opendaylight::install]
  451.  should contain Class[opendaylight::config]
  452.  should contain Class[opendaylight::service]
  453.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  454.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  455.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  456.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  457.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  458.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  459.  should contain Service[opendaylight]
  460.  should contain File[org.apache.karaf.features.cfg]
  461.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  462.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  463. using true for enable_ha
  464. using ha_node_count >=2
  465.  should compile into a catalogue without dependency cycles
  466.  should compile into a catalogue without dependency cycles
  467.  should contain Class[opendaylight]
  468.  should contain Class[opendaylight::params]
  469.  should contain Class[opendaylight::install]
  470.  should contain Class[opendaylight::config]
  471.  should contain Class[opendaylight::service]
  472.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  473.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  474.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  475.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  476.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  477.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  478.  should contain Service[opendaylight]
  479.  should contain File[org.apache.karaf.features.cfg]
  480.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  481.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  482. install method tests
  483. RPM
  484. installing default RPM
  485.  should compile into a catalogue without dependency cycles
  486.  should compile into a catalogue without dependency cycles
  487.  should contain Class[opendaylight]
  488.  should contain Class[opendaylight::params]
  489.  should contain Class[opendaylight::install]
  490.  should contain Class[opendaylight::config]
  491.  should contain Class[opendaylight::service]
  492.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  493.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  494.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  495.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  496.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  497.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  498.  should contain Service[opendaylight]
  499.  should contain File[org.apache.karaf.features.cfg]
  500.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  501.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  502.  should contain Yumrepo[opendaylight-6-testing]
  503.  should contain Package[opendaylight]
  504.  should contain Package[opendaylight] that requires Yumrepo[opendaylight-6-testing]
  505.  should contain Yumrepo[opendaylight-6-testing] that comes before Package[opendaylight]
  506.  should contain Yumrepo[opendaylight-6-testing] with enabled => "1", gpgcheck => "0", descr => "OpenDaylight SDN Controller" and baseurl => "http://cbs.centos.org/repos/nfv7-opendaylight-6-testing/$basearch/os/"
  507.  should contain Package[opendaylight] with ensure => "present"
  508.  should contain File_line[java_options_systemd] with ensure => "present", path => "/usr/lib/systemd/system/opendaylight.service", line => "Environment=_JAVA_OPTIONS='-Djava.net.preferIPv4Stack=true'" and after => "ExecStart=/opt/opendaylight/bin/start"
  509. installing Beryllium RPM
  510.  should compile into a catalogue without dependency cycles
  511.  should compile into a catalogue without dependency cycles
  512.  should contain Class[opendaylight]
  513.  should contain Class[opendaylight::params]
  514.  should contain Class[opendaylight::install]
  515.  should contain Class[opendaylight::config]
  516.  should contain Class[opendaylight::service]
  517.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  518.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  519.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  520.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  521.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  522.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  523.  should contain Service[opendaylight]
  524.  should contain File[org.apache.karaf.features.cfg]
  525.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  526.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  527.  should contain Yumrepo[opendaylight-40-release]
  528.  should contain Package[opendaylight]
  529.  should contain Package[opendaylight] that requires Yumrepo[opendaylight-40-release]
  530.  should contain Yumrepo[opendaylight-40-release] that comes before Package[opendaylight]
  531.  should contain Yumrepo[opendaylight-40-release] with enabled => "1", gpgcheck => "0", descr => "OpenDaylight SDN Controller" and baseurl => "http://cbs.centos.org/repos/nfv7-opendaylight-40-release/$basearch/os/"
  532.  should contain Package[opendaylight] with ensure => "present"
  533.  should contain File_line[java_options_systemd] with ensure => "present", path => "/usr/lib/systemd/system/opendaylight.service", line => "Environment=_JAVA_OPTIONS='-Djava.net.preferIPv4Stack=true'" and after => "ExecStart=/opt/opendaylight/bin/start"
  534. Deb
  535. installing Deb
  536.  should compile into a catalogue without dependency cycles
  537.  should compile into a catalogue without dependency cycles
  538.  should contain Class[opendaylight]
  539.  should contain Class[opendaylight::params]
  540.  should contain Class[opendaylight::install]
  541.  should contain Class[opendaylight::config]
  542.  should contain Class[opendaylight::service]
  543.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  544.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  545.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  546.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  547.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  548.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  549.  should contain Service[opendaylight]
  550.  should contain File[org.apache.karaf.features.cfg]
  551.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  552.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  553.  should contain Apt::Ppa[ppa:odl-team/boron]
  554.  should contain Package[opendaylight]
  555.  should contain Package[opendaylight] that requires Apt::Ppa[ppa:odl-team/boron]
  556.  should contain Apt::Ppa[ppa:odl-team/boron] that comes before Package[opendaylight]
  557.  should contain Package[opendaylight] with ensure => "present"
  558. installing Boron Deb
  559.  should compile into a catalogue without dependency cycles
  560.  should compile into a catalogue without dependency cycles
  561.  should contain Class[opendaylight]
  562.  should contain Class[opendaylight::params]
  563.  should contain Class[opendaylight::install]
  564.  should contain Class[opendaylight::config]
  565.  should contain Class[opendaylight::service]
  566.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  567.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  568.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  569.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  570.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  571.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  572.  should contain Service[opendaylight]
  573.  should contain File[org.apache.karaf.features.cfg]
  574.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  575.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  576.  should contain Apt::Ppa[ppa:odl-team/boron]
  577.  should contain Package[opendaylight]
  578.  should contain Package[opendaylight] that requires Apt::Ppa[ppa:odl-team/boron]
  579.  should contain Apt::Ppa[ppa:odl-team/boron] that comes before Package[opendaylight]
  580.  should contain Package[opendaylight] with ensure => "present"
  581. security group tests
  582. using supported stateful
  583.  should compile into a catalogue without dependency cycles
  584.  should compile into a catalogue without dependency cycles
  585.  should contain Class[opendaylight]
  586.  should contain Class[opendaylight::params]
  587.  should contain Class[opendaylight::install]
  588.  should contain Class[opendaylight::config]
  589.  should contain Class[opendaylight::service]
  590.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  591.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  592.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  593.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  594.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  595.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  596.  should contain Service[opendaylight]
  597.  should contain File[org.apache.karaf.features.cfg]
  598.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  599.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  600.  should contain File[/opt/opendaylight/etc/opendaylight]
  601.  should contain File[/opt/opendaylight/etc/opendaylight/datastore]
  602.  should contain File[/opt/opendaylight/etc/opendaylight/datastore/initial]
  603.  should contain File[/opt/opendaylight/etc/opendaylight/datastore/initial/config]
  604.  should contain File[netvirt-aclservice-config.xml] with ensure => "file", path => "/opt/opendaylight/etc/opendaylight/datastore/initial/config/netvirt-aclservice-config.xml", owner => "odl", group => "odl" and content =~ /stateful/
  605. using unsupported stateful
  606.  should compile into a catalogue without dependency cycles
  607.  should compile into a catalogue without dependency cycles
  608.  should contain Class[opendaylight]
  609.  should contain Class[opendaylight::params]
  610.  should contain Class[opendaylight::install]
  611.  should contain Class[opendaylight::config]
  612.  should contain Class[opendaylight::service]
  613.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  614.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  615.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  616.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  617.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  618.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  619.  should contain Service[opendaylight]
  620.  should contain File[org.apache.karaf.features.cfg]
  621.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  622.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  623.  should contain File[/opt/opendaylight/etc/opendaylight]
  624.  should contain File[/opt/opendaylight/etc/opendaylight/datastore]
  625.  should contain File[/opt/opendaylight/etc/opendaylight/datastore/initial]
  626.  should contain File[/opt/opendaylight/etc/opendaylight/datastore/initial/config]
  627.  should contain File[netvirt-aclservice-config.xml] with ensure => "file", path => "/opt/opendaylight/etc/opendaylight/datastore/initial/config/netvirt-aclservice-config.xml", owner => "odl", group => "odl" and content =~ /learn/
  628. using transparent with unsupported stateful
  629.  should compile into a catalogue without dependency cycles
  630.  should compile into a catalogue without dependency cycles
  631.  should contain Class[opendaylight]
  632.  should contain Class[opendaylight::params]
  633.  should contain Class[opendaylight::install]
  634.  should contain Class[opendaylight::config]
  635.  should contain Class[opendaylight::service]
  636.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  637.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  638.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  639.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  640.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  641.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  642.  should contain Service[opendaylight]
  643.  should contain File[org.apache.karaf.features.cfg]
  644.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  645.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  646.  should contain File[/opt/opendaylight/etc/opendaylight]
  647.  should contain File[/opt/opendaylight/etc/opendaylight/datastore]
  648.  should contain File[/opt/opendaylight/etc/opendaylight/datastore/initial]
  649.  should contain File[/opt/opendaylight/etc/opendaylight/datastore/initial/config]
  650.  should contain File[netvirt-aclservice-config.xml] with ensure => "file", path => "/opt/opendaylight/etc/opendaylight/datastore/initial/config/netvirt-aclservice-config.xml", owner => "odl", group => "odl" and content =~ /transparent/
  651. VPP routing node tests
  652. using default - no routing node
  653.  should compile into a catalogue without dependency cycles
  654.  should compile into a catalogue without dependency cycles
  655.  should contain Class[opendaylight]
  656.  should contain Class[opendaylight::params]
  657.  should contain Class[opendaylight::install]
  658.  should contain Class[opendaylight::config]
  659.  should contain Class[opendaylight::service]
  660.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  661.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  662.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  663.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  664.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  665.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  666.  should contain Service[opendaylight]
  667.  should contain File[org.apache.karaf.features.cfg]
  668.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  669.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  670.  should not contain File[org.opendaylight.groupbasedpolicy.neutron.vpp.mapper.cfg]
  671.  should not contain File_line[routing-node]
  672. using node name for routing node
  673.  should compile into a catalogue without dependency cycles
  674.  should compile into a catalogue without dependency cycles
  675.  should contain Class[opendaylight]
  676.  should contain Class[opendaylight::params]
  677.  should contain Class[opendaylight::install]
  678.  should contain Class[opendaylight::config]
  679.  should contain Class[opendaylight::service]
  680.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  681.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  682.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  683.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  684.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  685.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  686.  should contain Service[opendaylight]
  687.  should contain File[org.apache.karaf.features.cfg]
  688.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  689.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  690.  should contain File[org.opendaylight.groupbasedpolicy.neutron.vpp.mapper.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.opendaylight.groupbasedpolicy.neutron.vpp.mapper.cfg", owner => "odl" and group => "odl"
  691.  should contain File_line[routing-node] with path => "/opt/opendaylight/etc/org.opendaylight.groupbasedpolicy.neutron.vpp.mapper.cfg", line => "routing-node=test-node-1" and match => "^routing-node=.*$"
  692. ODL username/password tests
  693. using default username/password
  694.  should compile into a catalogue without dependency cycles
  695.  should compile into a catalogue without dependency cycles
  696.  should contain Class[opendaylight]
  697.  should contain Class[opendaylight::params]
  698.  should contain Class[opendaylight::install]
  699.  should contain Class[opendaylight::config]
  700.  should contain Class[opendaylight::service]
  701.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  702.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  703.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  704.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  705.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  706.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  707.  should contain Service[opendaylight]
  708.  should contain File[org.apache.karaf.features.cfg]
  709.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  710.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  711.  should contain Odl_user[admin] with password => "admin"
  712. specifying non-default username/password
  713.  should compile into a catalogue without dependency cycles
  714.  should compile into a catalogue without dependency cycles
  715.  should contain Class[opendaylight]
  716.  should contain Class[opendaylight::params]
  717.  should contain Class[opendaylight::install]
  718.  should contain Class[opendaylight::config]
  719.  should contain Class[opendaylight::service]
  720.  should contain Class[opendaylight::install] that comes before Class[opendaylight::config]
  721.  should contain Class[opendaylight::config] that requires Class[opendaylight::install]
  722.  should contain Class[opendaylight::config] that notifies Class[opendaylight::service]
  723.  should contain Class[opendaylight::service] that subscribes to Class[opendaylight::config]
  724.  should contain Class[opendaylight::service] that comes before Class[opendaylight]
  725.  should contain Class[opendaylight] that requires Class[opendaylight::service]
  726.  should contain Service[opendaylight]
  727.  should contain File[org.apache.karaf.features.cfg]
  728.  should contain Service[opendaylight] with ensure => "running", enable => "true", hasstatus => "true" and hasrestart => "true"
  729.  should contain File[org.apache.karaf.features.cfg] with ensure => "file", path => "/opt/opendaylight/etc/org.apache.karaf.features.cfg", owner => "odl" and group => "odl"
  730.  should contain Odl_user[test] with password => "test"
  731.  
  732. Puppet::Type.type(:odl_user).provider(:idm)
  733. on create
  734.  should call idm to create user
  735. when changing password
  736.  should change password
  737.  
  738. Puppet::Type.type(:odl_user)
  739.  should accept username/password
  740.  
  741. Finished in 11.12 seconds (files took 1.25 seconds to load)
  742. 642 examples, 0 failures
  743.  
  744.  
  745. Total resources: 27
  746. Touched resources: 27
  747. Resource coverage: 100.00%
  748. RS_SET=centos-7-docker INSTALL_METHOD=rpm RPM_REPO='opendaylight-6-testing' bundle exec rake beaker
  749. /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
  750. /home/daniel/.gem/ruby/gems/beaker-rspec-6.1.0/lib/beaker-rspec/helpers/serverspec.rb:43: warning: already initialized constant Module::VALID_OPTIONS_KEYS
  751. /home/daniel/.gem/ruby/gems/specinfra-2.67.7/lib/specinfra/configuration.rb:4: warning: previous definition of VALID_OPTIONS_KEYS was here
  752. Hypervisor for centos-7-docker is docker
  753. Beaker::Hypervisor, found some docker boxes to create
  754. get
  755. /v1.16/version
  756. {}
  757.  
  758. Provisioning docker
  759. provisioning centos-7-docker
  760. Creating image
  761. Dockerfile is FROM centos:7
  762. ENV container docker
  763. RUN yum clean all
  764. RUN yum install -y sudo openssh-server openssh-clients curl ntpdate
  765. RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
  766. RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
  767. RUN mkdir -p /var/run/sshd
  768. RUN echo root:root | chpasswd
  769. RUN sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
  770. RUN sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
  771. EXPOSE 22
  772. CMD ["/sbin/init"]
  773. post
  774. /v1.16/build
  775. {:rm=>true}
  776. Dockerfile0000640000000000000000000000114313073776674013327 0ustar00wheelwheel00000000000000 FROM centos:7
  777. ENV container docker
  778. RUN yum clean all
  779. RUN yum install -y sudo openssh-server openssh-clients curl ntpdate
  780. RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
  781. RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
  782. RUN mkdir -p /var/run/sshd
  783. RUN echo root:root | chpasswd
  784. RUN sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config
  785. RUN sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config
  786. EXPOSE 22
  787. CMD ["/sbin/init"]
  788.  
  789. Creating container from image 3280382d3e22
  790. post
  791. /v1.16/containers/create
  792. {}
  793. {"Image":"3280382d3e22","Hostname":"centos-7-docker"}
  794. Starting container 8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d
  795. post
  796. /v1.16/containers/8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d/start
  797. {}
  798. {"PublishAllPorts":true,"Privileged":true}
  799. get
  800. /v1.16/containers/8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d/json
  801. {}
  802.  
  803. Using docker server at 0.0.0.0
  804. get
  805. /v1.16/containers/8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d/json
  806. {}
  807.  
  808. node available as ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@0.0.0.0 -p 32769
  809. get
  810. /v1.16/containers/8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d/json
  811. {}
  812.  
  813. 
  814. centos-7-docker 18:38:27$ cat /etc/resolv.conf
  815.  Attempting ssh connection to 0.0.0.0, user: root, opts: {:password=>"root", :port=>"32769", :forward_agent=>false}
  816.  Warning: Try 1 -- Host 0.0.0.0 unreachable: Errno::ECONNRESET - Connection reset by peer
  817.  Warning: Trying again in 3 seconds
  818.  Attempting ssh connection to 0.0.0.0, user: root, opts: {:password=>"root", :port=>"32769", :forward_agent=>false, :logger=>#<Logger:0x0056522cf76640 @progname=nil, @level=4, @default_formatter=#<Logger::Formatter:0x0056522cf76618 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0056522cf765c8 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0056522cf76578>>>, :password_prompt=>#<Net::SSH::Prompt:0x0056522cf76550>, :user=>"root"}
  819.  # Generated by NetworkManager
  820. search rdu.redhat.com redhat.com
  821. nameserver 10.11.5.19
  822. nameserver 10.5.30.160
  823. nameserver 10.192.20.245
  824. # NOTE: the libc resolver may not support more than 3 nameservers.
  825. # The nameservers listed below may not be recognized.
  826. nameserver 10.192.206.245
  827. nameserver 10.200.0.246
  828. 
  829. centos-7-docker executed in 3.19 seconds
  830. 
  831. centos-7-docker 18:38:30$ echo '127.0.0.1 localhost localhost.localdomain
  832. 172.17.0.2 centos-7-docker.rdu.redhat.com centos-7-docker
  833. ' >> /etc/hosts
  834. 
  835. centos-7-docker executed in 0.04 seconds
  836. 
  837. centos-7-docker 18:38:30$ rpm -q curl
  838.  curl-7.29.0-35.el7.centos.x86_64
  839. 
  840. centos-7-docker executed in 0.09 seconds
  841. 
  842. centos-7-docker 18:38:30$ rpm -q ntpdate
  843.  ntpdate-4.2.6p5-25.el7.centos.2.x86_64
  844. 
  845. centos-7-docker executed in 0.07 seconds
  846. setting local environment on centos-7-docker
  847. 
  848. centos-7-docker 18:38:30$ getent passwd root
  849.  root:x:0:0:root:/root:/bin/bash
  850. 
  851. centos-7-docker executed in 0.04 seconds
  852. 
  853. centos-7-docker 18:38:30$ mktemp -dt .XXXXXX
  854.  /tmp/.6XvjDf
  855. 
  856. centos-7-docker executed in 0.04 seconds
  857. 
  858. centos-7-docker 18:38:30$ chown root:root /tmp/.6XvjDf
  859. 
  860. centos-7-docker executed in 0.04 seconds
  861. 
  862. centos-7-docker 18:38:30$ echo 'PermitUserEnvironment yes' | cat - /etc/ssh/sshd_config > /tmp/.6XvjDf/sshd_config.permit
  863. 
  864. centos-7-docker executed in 0.04 seconds
  865. 
  866. centos-7-docker 18:38:30$ mv /tmp/.6XvjDf/sshd_config.permit /etc/ssh/sshd_config
  867. 
  868. centos-7-docker executed in 0.04 seconds
  869. 
  870. centos-7-docker 18:38:30$ systemctl restart sshd.service
  871. 
  872. centos-7-docker executed in 0.05 seconds
  873. 
  874. centos-7-docker 18:38:30$ mkdir -p ~/.ssh
  875. 
  876. centos-7-docker executed in 0.04 seconds
  877. 
  878. centos-7-docker 18:38:31$ chmod 0600 ~/.ssh
  879. 
  880. centos-7-docker executed in 0.04 seconds
  881. 
  882. centos-7-docker 18:38:31$ touch ~/.ssh/environment
  883. 
  884. centos-7-docker executed in 0.05 seconds
  885. 
  886. centos-7-docker 18:38:31$ grep ^PATH=.*\$PATH ~/.ssh/environment
  887. 
  888. centos-7-docker executed in 0.04 seconds
  889. Exited: 1
  890. 
  891. centos-7-docker 18:38:31$ grep ^PATH= ~/.ssh/environment
  892. 
  893. centos-7-docker executed in 0.05 seconds
  894. Exited: 1
  895. 
  896. centos-7-docker 18:38:31$ echo "PATH=$PATH" >> ~/.ssh/environment
  897. 
  898. centos-7-docker executed in 0.04 seconds
  899. will not mirror environment to /etc/profile.d on non-sles/debian platform host
  900. 
  901. centos-7-docker 18:38:31$ echo "/usr/bin"
  902.  /usr/bin
  903. 
  904. centos-7-docker executed in 0.05 seconds
  905. 
  906. centos-7-docker 18:38:31$ echo "/opt/puppet-git-repos/hiera/bin"
  907.  /opt/puppet-git-repos/hiera/bin
  908. 
  909. centos-7-docker executed in 0.04 seconds
  910. 
  911. centos-7-docker 18:38:31$ grep ^PATH=.*\/usr\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin ~/.ssh/environment
  912. 
  913. centos-7-docker executed in 0.04 seconds
  914. Exited: 1
  915. 
  916. centos-7-docker 18:38:31$ grep ^PATH= ~/.ssh/environment
  917.  PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
  918. 
  919. centos-7-docker executed in 0.04 seconds
  920. 
  921. centos-7-docker 18:38:31$ sed -i -e "s/^PATH=/PATH=\/usr\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin:/" ~/.ssh/environment
  922. 
  923. centos-7-docker executed in 0.04 seconds
  924. will not mirror environment to /etc/profile.d on non-sles/debian platform host
  925. 
  926. centos-7-docker 18:38:31$ grep ^PATH=.*PATH ~/.ssh/environment
  927. 
  928. centos-7-docker executed in 0.04 seconds
  929. Exited: 1
  930. 
  931. centos-7-docker 18:38:31$ grep ^PATH= ~/.ssh/environment
  932.  PATH=/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
  933. 
  934. centos-7-docker executed in 0.04 seconds
  935. 
  936. centos-7-docker 18:38:31$ sed -i -e "s/^PATH=/PATH=PATH:/" ~/.ssh/environment
  937. 
  938. centos-7-docker executed in 0.04 seconds
  939. will not mirror environment to /etc/profile.d on non-sles/debian platform host
  940. ssh connection to centos-7-docker has been terminated
  941. 
  942. centos-7-docker 18:38:31$ cat ~/.ssh/environment
  943.  Attempting ssh connection to 0.0.0.0, user: root, opts: {:password=>"root", :port=>"32769", :forward_agent=>false, :logger=>#<Logger:0x0056522cf76640 @progname=nil, @level=4, @default_formatter=#<Logger::Formatter:0x0056522cf76618 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0056522cf765c8 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0056522cf76578>>>, :password_prompt=>#<Net::SSH::Prompt:0x0056522cf76550>, :user=>"root"}
  944.  PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
  945. 
  946. centos-7-docker executed in 0.16 seconds
  947. Disabling updates.puppetlabs.com by modifying hosts file to resolve updates to 127.0.0.1 on centos-7-docker
  948. 
  949. centos-7-docker 18:38:31$ echo '127.0.0.1 updates.puppetlabs.com
  950. ' >> /etc/hosts
  951. 
  952. centos-7-docker executed in 0.04 seconds
  953. 
  954. centos-7-docker 18:38:31$ rpm --replacepkgs -Uvh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
  955.  Retrieving http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
  956. Preparing...  ########################################
  957.  Updating / installing...
  958. puppetlabs-release-22.0-2  ################ ##### ############## #####
  959. 
  960. centos-7-docker executed in 0.34 seconds
  961. 
  962. centos-7-docker 18:38:32$ echo "/usr/bin"
  963.  /usr/bin
  964. 
  965. centos-7-docker executed in 0.04 seconds
  966. 
  967. centos-7-docker 18:38:32$ echo "/opt/puppet-git-repos/hiera/bin"
  968.  /opt/puppet-git-repos/hiera/bin
  969. 
  970. centos-7-docker executed in 0.04 seconds
  971. 
  972. centos-7-docker 18:38:32$ grep ^PATH=.*\/usr\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin ~/.ssh/environment
  973.  PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
  974. 
  975. centos-7-docker executed in 0.04 seconds
  976. 
  977. centos-7-docker 18:38:32$ grep ^PATH=.*PATH ~/.ssh/environment
  978.  PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
  979. 
  980. centos-7-docker executed in 0.04 seconds
  981. 
  982. centos-7-docker 18:38:32$ yum -y install puppet
  983.  Loaded plugins: fastestmirror, ovl
  984.  Loading mirror speeds from cached hostfile
  985.  * base: reflector.westga.edu
  986.  * extras: mirror.symnds.com
  987.  * updates: mirror.us.leaseweb.net
  988.  Resolving Dependencies
  989.  --> Running transaction check
  990.  ---> Package puppet.noarch 0:3.8.7-1.el7 will be installed
  991.  --> Processing Dependency: ruby >= 1.8.7 for package: puppet-3.8.7-1.el7.noarch
  992.  --> Processing Dependency: hiera >= 1.0.0 for package: puppet-3.8.7-1.el7.noarch
  993.  --> Processing Dependency: facter >= 1:1.7.0 for package: puppet-3.8.7-1.el7.noarch
  994.  --> Processing Dependency: ruby >= 1.8 for package: puppet-3.8.7-1.el7.noarch
  995.  --> Processing Dependency: libselinux-utils for package: puppet-3.8.7-1.el7.noarch
  996.  --> Processing Dependency: ruby-shadow for package: puppet-3.8.7-1.el7.noarch
  997.  --> Processing Dependency: ruby(selinux) for package: puppet-3.8.7-1.el7.noarch
  998.  --> Processing Dependency: ruby-augeas for package: puppet-3.8.7-1.el7.noarch
  999.  --> Processing Dependency: /usr/bin/ruby for package: puppet-3.8.7-1.el7.noarch
  1000.  --> Processing Dependency: rubygem-json for package: puppet-3.8.7-1.el7.noarch
  1001.  --> Running transaction check
  1002.  ---> Package facter.x86_64 1:2.4.6-1.el7 will be installed
  1003.  --> Processing Dependency: pciutils for package: 1:facter-2.4.6-1.el7.x86_64
  1004.  --> Processing Dependency: net-tools for package: 1:facter-2.4.6-1.el7.x86_64
  1005.  --> Processing Dependency: virt-what for package: 1:facter-2.4.6-1.el7.x86_64
  1006.  --> Processing Dependency: which for package: 1:facter-2.4.6-1.el7.x86_64
  1007.  --> Processing Dependency: dmidecode for package: 1:facter-2.4.6-1.el7.x86_64
  1008.  ---> Package hiera.noarch 0:1.3.4-1.el7 will be installed
  1009.  ---> Package libselinux-ruby.x86_64 0:2.5-6.el7 will be installed
  1010.  ---> Package libselinux-utils.x86_64 0:2.5-6.el7 will be installed
  1011.  ---> Package ruby.x86_64 0:2.0.0.648-29.el7 will be installed
  1012.  --> Processing Dependency: ruby-libs(x86-64) = 2.0.0.648-29.el7 for package: ruby-2.0.0.648-29.el7.x86_64
  1013.  --> Processing Dependency: rubygem(bigdecimal) >= 1.2.0 for package: ruby-2.0.0.648-29.el7.x86_64
  1014.  --> Processing Dependency: ruby(rubygems) >= 2.0.14.1 for package: ruby-2.0.0.648-29.el7.x86_64
  1015.  --> Processing Dependency: libruby.so.2.0()(64bit) for package: ruby-2.0.0.648-29.el7.x86_64
  1016.  ---> Package ruby-augeas.x86_64 0:0.4.1-3.el7 will be installed
  1017.  --> Processing Dependency: augeas-libs >= 0.8.0 for package: ruby-augeas-0.4.1-3.el7.x86_64
  1018.  --> Processing Dependency: libaugeas.so.0(AUGEAS_0.11.0)(64bit) for package: ruby-augeas-0.4.1-3.el7.x86_64
  1019.  --> Processing Dependency: libaugeas.so.0(AUGEAS_0.8.0)(64bit) for package: ruby-augeas-0.4.1-3.el7.x86_64
  1020.  --> Processing Dependency: libaugeas.so.0(AUGEAS_0.10.0)(64bit) for package: ruby-augeas-0.4.1-3.el7.x86_64
  1021.  --> Processing Dependency: libaugeas.so.0(AUGEAS_0.1.0)(64bit) for package: ruby-augeas-0.4.1-3.el7.x86_64
  1022.  --> Processing Dependency: libaugeas.so.0(AUGEAS_0.12.0)(64bit) for package: ruby-augeas-0.4.1-3.el7.x86_64
  1023.  --> Processing Dependency: libaugeas.so.0()(64bit) for package: ruby-augeas-0.4.1-3.el7.x86_64
  1024.  ---> Package ruby-shadow.x86_64 1:2.2.0-2.el7 will be installed
  1025.  ---> Package rubygem-json.x86_64 0:1.7.7-29.el7 will be installed
  1026.  --> Running transaction check
  1027.  ---> Package augeas-libs.x86_64 0:1.4.0-2.el7 will be installed
  1028.  ---> Package dmidecode.x86_64 1:3.0-2.1.el7_3 will be installed
  1029.  ---> Package net-tools.x86_64 0:2.0-0.17.20131004git.el7 will be installed
  1030.  ---> Package pciutils.x86_64 0:3.5.1-1.el7 will be installed
  1031.  --> Processing Dependency: pciutils-libs = 3.5.1-1.el7 for package: pciutils-3.5.1-1.el7.x86_64
  1032.  --> Processing Dependency: libpci.so.3(LIBPCI_3.5)(64bit) for package: pciutils-3.5.1-1.el7.x86_64
  1033.  --> Processing Dependency: libpci.so.3(LIBPCI_3.3)(64bit) for package: pciutils-3.5.1-1.el7.x86_64
  1034.  --> Processing Dependency: libpci.so.3(LIBPCI_3.1)(64bit) for package: pciutils-3.5.1-1.el7.x86_64
  1035.  --> Processing Dependency: libpci.so.3(LIBPCI_3.0)(64bit) for package: pciutils-3.5.1-1.el7.x86_64
  1036.  --> Processing Dependency: hwdata for package: pciutils-3.5.1-1.el7.x86_64
  1037.  --> Processing Dependency: libpci.so.3()(64bit) for package: pciutils-3.5.1-1.el7.x86_64
  1038.  ---> Package ruby-libs.x86_64 0:2.0.0.648-29.el7 will be installed
  1039.  ---> Package rubygem-bigdecimal.x86_64 0:1.2.0-29.el7 will be installed
  1040.  ---> Package rubygems.noarch 0:2.0.14.1-29.el7 will be installed
  1041.  --> Processing Dependency: rubygem(rdoc) >= 4.0.0 for package: rubygems-2.0.14.1-29.el7.noarch
  1042.  --> Processing Dependency: rubygem(psych) >= 2.0.0 for package: rubygems-2.0.14.1-29.el7.noarch
  1043.  --> Processing Dependency: rubygem(io-console) >= 0.4.2 for package: rubygems-2.0.14.1-29.el7.noarch
  1044.  ---> Package virt-what.x86_64 0:1.13-8.el7 will be installed
  1045.  ---> Package which.x86_64 0:2.20-7.el7 will be installed
  1046.  --> Running transaction check
  1047.  ---> Package hwdata.x86_64 0:0.252-8.4.el7 will be installed
  1048.  ---> Package pciutils-libs.x86_64 0:3.5.1-1.el7 will be installed
  1049.  ---> Package rubygem-io-console.x86_64 0:0.4.2-29.el7 will be installed
  1050.  ---> Package rubygem-psych.x86_64 0:2.0.0-29.el7 will be installed
  1051.  --> Processing Dependency: libyaml-0.so.2()(64bit) for package: rubygem-psych-2.0.0-29.el7.x86_64
  1052.  ---> Package rubygem-rdoc.noarch 0:4.0.0-29.el7 will be installed
  1053.  --> Processing Dependency: ruby(irb) = 2.0.0.648 for package: rubygem-rdoc-4.0.0-29.el7.noarch
  1054.  --> Running transaction check
  1055.  ---> Package libyaml.x86_64 0:0.1.4-11.el7_0 will be installed
  1056.  ---> Package ruby-irb.noarch 0:2.0.0.648-29.el7 will be installed
  1057.  --> Finished Dependency Resolution
  1058. 
  1059. Dependencies Resolved
  1060. 
  1061. ================================================================================
  1062. Package Arch Version Repository Size
  1063. ================================================================================
  1064. Installing:
  1065. puppet noarch 3.8.7-1.el7 puppetlabs-products 1.5 M
  1066. Installing for dependencies:
  1067. augeas-libs x86_64 1.4.0-2.el7 base 355 k
  1068. dmidecode x86_64 1:3.0-2.1.el7_3 updates 83 k
  1069. facter x86_64 1:2.4.6-1.el7 puppetlabs-products 98 k
  1070. hiera noarch 1.3.4-1.el7 puppetlabs-products 23 k
  1071. hwdata x86_64 0.252-8.4.el7 base 2.1 M
  1072. libselinux-ruby x86_64 2.5-6.el7 base 120 k
  1073. libselinux-utils x86_64 2.5-6.el7 base 151 k
  1074. libyaml x86_64 0.1.4-11.el7_0 base 55 k
  1075. net-tools x86_64 2.0-0.17.20131004git.el7 base 304 k
  1076. pciutils x86_64 3.5.1-1.el7 base 93 k
  1077. pciutils-libs x86_64 3.5.1-1.el7 base 46 k
  1078. ruby x86_64 2.0.0.648-29.el7 base 68 k
  1079. ruby-augeas x86_64 0.4.1-3.el7 puppetlabs-deps 22 k
  1080. ruby-irb noarch 2.0.0.648-29.el7 base 89 k
  1081. ruby-libs x86_64 2.0.0.648-29.el7 base 2.8 M
  1082. ruby-shadow x86_64 1:2.2.0-2.el7 puppetlabs-deps 14 k
  1083. rubygem-bigdecimal x86_64 1.2.0-29.el7 base 80 k
  1084. rubygem-io-console x86_64 0.4.2-29.el7 base 51 k
  1085. rubygem-json x86_64 1.7.7-29.el7 base 76 k
  1086. rubygem-psych x86_64 2.0.0-29.el7 base 78 k
  1087. rubygem-rdoc noarch 4.0.0-29.el7 base 319 k
  1088. rubygems noarch 2.0.14.1-29.el7 base 216 k
  1089. virt-what x86_64 1.13-8.el7 base 27 k
  1090. which x86_64 2.20-7.el7 base 41 k
  1091.  
  1092. Transaction Summary
  1093. ================================================================================
  1094. Install 1 Package (+24 Dependent packages)
  1095.  Total download size: 8.8 M
  1096.  Installed size: 29 M
  1097.  Downloading packages:
  1098.  warning: /var/cache/yum/x86_64/7/puppetlabs-products/packages/hiera-1.3.4-1.el7.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 4bd6ec30: NOKEY
  1099.  Public key for hiera-1.3.4-1.el7.noarch.rpm is not installed
  1100.  Public key for ruby-augeas-0.4.1-3.el7.x86_64.rpm is not installed
  1101.  --------------------------------------------------------------------------------
  1102.  Total 7.3 MB/s | 8.8 MB 00:01
  1103.  Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
  1104.  Importing GPG key 0x4BD6EC30:
  1105. Userid : "Puppet Labs Release Key (Puppet Labs Release Key) <info@puppetlabs.com>"
  1106. Fingerprint: 47b3 20eb 4c7c 375a a9da e1a0 1054 b7a2 4bd6 ec30
  1107. Package : puppetlabs-release-22.0-2.noarch (installed)
  1108. From : /etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
  1109.  Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppet
  1110.  Importing GPG key 0xEF8D349F:
  1111. Userid : "Puppet, Inc. Release Key (Puppet, Inc. Release Key) <release@puppet.com>"
  1112. Fingerprint: 6f6b 1550 9cf8 e59e 6e46 9f32 7f43 8280 ef8d 349f
  1113. Package : puppetlabs-release-22.0-2.noarch (installed)
  1114. From : /etc/pki/rpm-gpg/RPM-GPG-KEY-puppet
  1115.  Running transaction check
  1116.  Running transaction test
  1117.  Transaction test succeeded
  1118.  Running transaction
  1119.  Warning: RPMDB altered outside of yum.
  1120.  Installing : ruby-libs-2.0.0.648-29.el7.x86_64 1/25
  1121. Installing : 1:dmidecode-3.0-2.1.el7_3.x86_64 2/25
  1122. Installing : virt-what-1.13-8.el7.x86_64 3/25
  1123. Installing : hwdata-0.252-8.4.el7.x86_64 4/25
  1124. Installing : libyaml-0.1.4-11.el7_0.x86_64 5/25
  1125. Installing : rubygem-bigdecimal-1.2.0-29.el7.x86_64 6/25
  1126. Installing : rubygem-json-1.7.7-29.el7.x86_64 7/25
  1127. Installing : rubygem-io-console-0.4.2-29.el7.x86_64 8/25
  1128. Installing : ruby-irb-2.0.0.648-29.el7.noarch 9/25
  1129. Installing : rubygem-rdoc-4.0.0-29.el7.noarch 10/25
  1130. Installing : ruby-2.0.0.648-29.el7.x86_64 11/25
  1131. Installing : rubygems-2.0.14.1-29.el7.noarch 12/25
  1132. Installing : rubygem-psych-2.0.0-29.el7.x86_64 13/25
  1133. Installing : hiera-1.3.4-1.el7.noarch 14/25
  1134. Installing : 1:ruby-shadow-2.2.0-2.el7.x86_64 15/25
  1135. Installing : augeas-libs-1.4.0-2.el7.x86_64 16/25
  1136. Installing : ruby-augeas-0.4.1-3.el7.x86_64 17/25
  1137. Installing : pciutils-libs-3.5.1-1.el7.x86_64 18/25
  1138. Installing : pciutils-3.5.1-1.el7.x86_64 19/25
  1139. Installing : libselinux-ruby-2.5-6.el7.x86_64 20/25
  1140. Installing : which-2.20-7.el7.x86_64 21/25
  1141. install-info: No such file or directory for /usr/share/info/which.info.gz
  1142.  Installing : libselinux-utils-2.5-6.el7.x86_64 22/25
  1143. Installing : net-tools-2.0-0.17.20131004git.el7.x86_64 23/25
  1144. Installing : 1:facter-2.4.6-1.el7.x86_64 24/25
  1145. Installing : puppet-3.8.7-1.el7.noarch 25/25
  1146. Verifying : rubygem-psych-2.0.0-29.el7.x86_64 1/25
  1147. Verifying : rubygem-bigdecimal-1.2.0-29.el7.x86_64 2/25
  1148. Verifying : net-tools-2.0-0.17.20131004git.el7.x86_64 3/25
  1149. Verifying : ruby-irb-2.0.0.648-29.el7.noarch 4/25
  1150. Verifying : ruby-libs-2.0.0.648-29.el7.x86_64 5/25
  1151. Verifying : libselinux-utils-2.5-6.el7.x86_64 6/25
  1152. Verifying : rubygem-rdoc-4.0.0-29.el7.noarch 7/25
  1153. Verifying : 1:facter-2.4.6-1.el7.x86_64 8/25
  1154. Verifying : which-2.20-7.el7.x86_64 9/25
  1155. Verifying : hiera-1.3.4-1.el7.noarch 10/25
  1156. Verifying : libselinux-ruby-2.5-6.el7.x86_64 11/25
  1157. Verifying : pciutils-libs-3.5.1-1.el7.x86_64 12/25
  1158. Verifying : rubygem-json-1.7.7-29.el7.x86_64 13/25
  1159. Verifying : rubygem-io-console-0.4.2-29.el7.x86_64 14/25
  1160. Verifying : 1:ruby-shadow-2.2.0-2.el7.x86_64 15/25
  1161. Verifying : virt-what-1.13-8.el7.x86_64 16/25
  1162. Verifying : augeas-libs-1.4.0-2.el7.x86_64 17/25
  1163. Verifying : rubygems-2.0.14.1-29.el7.noarch 18/25
  1164. Verifying : libyaml-0.1.4-11.el7_0.x86_64 19/25
  1165. Verifying : 1:dmidecode-3.0-2.1.el7_3.x86_64 20/25
  1166. Verifying : ruby-augeas-0.4.1-3.el7.x86_64 21/25
  1167. Verifying : pciutils-3.5.1-1.el7.x86_64 22/25
  1168. Verifying : hwdata-0.252-8.4.el7.x86_64 23/25
  1169. Verifying : puppet-3.8.7-1.el7.noarch 24/25
  1170. Verifying : ruby-2.0.0.648-29.el7.x86_64 25/25
  1171.  
  1172. Installed:
  1173. puppet.noarch 0:3.8.7-1.el7
  1174.  
  1175. Dependency Installed:
  1176. augeas-libs.x86_64 0:1.4.0-2.el7
  1177. dmidecode.x86_64 1:3.0-2.1.el7_3
  1178. facter.x86_64 1:2.4.6-1.el7
  1179. hiera.noarch 0:1.3.4-1.el7
  1180. hwdata.x86_64 0:0.252-8.4.el7
  1181. libselinux-ruby.x86_64 0:2.5-6.el7
  1182. libselinux-utils.x86_64 0:2.5-6.el7
  1183. libyaml.x86_64 0:0.1.4-11.el7_0
  1184. net-tools.x86_64 0:2.0-0.17.20131004git.el7
  1185. pciutils.x86_64 0:3.5.1-1.el7
  1186. pciutils-libs.x86_64 0:3.5.1-1.el7
  1187. ruby.x86_64 0:2.0.0.648-29.el7
  1188. ruby-augeas.x86_64 0:0.4.1-3.el7
  1189. ruby-irb.noarch 0:2.0.0.648-29.el7
  1190. ruby-libs.x86_64 0:2.0.0.648-29.el7
  1191. ruby-shadow.x86_64 1:2.2.0-2.el7
  1192. rubygem-bigdecimal.x86_64 0:1.2.0-29.el7
  1193. rubygem-io-console.x86_64 0:0.4.2-29.el7
  1194. rubygem-json.x86_64 0:1.7.7-29.el7
  1195. rubygem-psych.x86_64 0:2.0.0-29.el7
  1196. rubygem-rdoc.noarch 0:4.0.0-29.el7
  1197. rubygems.noarch 0:2.0.14.1-29.el7
  1198. virt-what.x86_64 0:1.13-8.el7
  1199. which.x86_64 0:2.20-7.el7
  1200.  Complete!
  1201. 
  1202. centos-7-docker executed in 7.04 seconds
  1203. 
  1204. centos-7-docker 18:38:39$ echo "/usr/bin"
  1205.  /usr/bin
  1206. 
  1207. centos-7-docker executed in 0.04 seconds
  1208. 
  1209. centos-7-docker 18:38:39$ echo "/opt/puppet-git-repos/hiera/bin"
  1210.  /opt/puppet-git-repos/hiera/bin
  1211. 
  1212. centos-7-docker executed in 0.04 seconds
  1213. 
  1214. centos-7-docker 18:38:39$ grep ^PATH=.*\/usr\/bin:\/opt\/puppet\-git\-repos\/hiera\/bin ~/.ssh/environment
  1215.  PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
  1216. 
  1217. centos-7-docker executed in 0.04 seconds
  1218. 
  1219. centos-7-docker 18:38:39$ grep ^PATH=.*PATH ~/.ssh/environment
  1220.  PATH=PATH:/usr/bin:/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
  1221. 
  1222. centos-7-docker executed in 0.04 seconds
  1223. 
  1224. centos-7-docker 18:38:39$ mkdir -p /etc/puppet
  1225. 
  1226. centos-7-docker executed in 0.04 seconds
  1227. 
  1228. centos-7-docker 18:38:39$ puppet agent --configprint hiera_config
  1229.  /etc/puppet/hiera.yaml
  1230. 
  1231. centos-7-docker executed in 0.56 seconds
  1232. 
  1233. centos-7-docker 18:38:40$ echo '' >> /etc/puppet/hiera.yaml
  1234. 
  1235. centos-7-docker executed in 0.04 seconds
  1236. 
  1237. centos-7-docker 18:38:40$ echo /etc/puppet/modules
  1238.  /etc/puppet/modules
  1239. 
  1240. centos-7-docker executed in 0.04 seconds
  1241. Using scp to transfer /home/daniel/puppet-opendaylight to /etc/puppet/modules/opendaylight
  1242. localhost $ scp /home/daniel/puppet-opendaylight centos-7-docker:/etc/puppet/modules {:ignore => [".bundle", ".git", ".idea", ".vagrant", ".vendor", "vendor", "acceptance", "bundle", "spec", "tests", "log", ".svn", "junit", "pkg", "example", ".", ".."]}
  1243. 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)))
  1244. 
  1245. centos-7-docker 18:38:42$ rm -rf /etc/puppet/modules/opendaylight
  1246. 
  1247. centos-7-docker executed in 0.05 seconds
  1248. 
  1249. centos-7-docker 18:38:42$ mv /etc/puppet/modules/puppet-opendaylight /etc/puppet/modules/opendaylight
  1250. 
  1251. centos-7-docker executed in 0.04 seconds
  1252. 
  1253. centos-7-docker 18:38:42$ puppet module install puppetlabs-stdlib
  1254.  Notice: Preparing to install into /etc/puppet/modules ...
  1255.  Notice: Downloading from https://forgeapi.puppetlabs.com ...
  1256.  Notice: Installing -- do not interrupt ...
  1257.  /etc/puppet/modules
  1258. └── puppetlabs-stdlib (v4.16.0)
  1259. 
  1260. centos-7-docker executed in 4.16 seconds
  1261. 
  1262. centos-7-docker 18:38:46$ puppet module install puppetlabs-apt
  1263.  Notice: Preparing to install into /etc/puppet/modules ...
  1264.  Notice: Downloading from https://forgeapi.puppetlabs.com ...
  1265.  Notice: Installing -- do not interrupt ...
  1266.  /etc/puppet/modules
  1267. └─┬ puppetlabs-apt (v2.4.0)
  1268. └── puppetlabs-stdlib (v4.16.0)
  1269. 
  1270. centos-7-docker executed in 5.52 seconds
  1271. 
  1272. opendaylight class
  1273. testing install methods
  1274. 
  1275. centos-7-docker 18:38:52$ mktemp -t apply_manifest.pp.XXXXXX
  1276.  /tmp/apply_manifest.pp.VRdvq3
  1277. 
  1278. centos-7-docker executed in 0.04 seconds
  1279. localhost $ scp /tmp/beaker20170413-5494-3b5p3q centos-7-docker:/tmp/apply_manifest.pp.VRdvq3 {:ignore => }
  1280. 
  1281. centos-7-docker 18:38:52$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.VRdvq3
  1282.  Info: Loading facts
  1283.  Info: Loading facts
  1284.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.27 seconds
  1285.  Info: Applying configuration version '1492123133'
  1286.  Notice: /Stage[main]/Opendaylight::Repos/Yumrepo[opendaylight-6-testing]/ensure: created
  1287.  Info: changing mode of /etc/yum.repos.d/opendaylight-6-testing.repo from 600 to 644
  1288.  Notice: /Stage[main]/Opendaylight::Install/Package[opendaylight]/ensure: created
  1289.  Notice: /Stage[main]/Opendaylight::Install/File_line[java_options_systemd]/ensure: created
  1290.  Info: /Stage[main]/Opendaylight::Install/File_line[java_options_systemd]: Scheduling refresh of Exec[reload_systemd_units]
  1291.  Notice: /Stage[main]/Opendaylight::Install/Exec[reload_systemd_units]: Triggered 'refresh' from 1 events
  1292.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  1293.  Info: Computing checksum on file /opt/opendaylight/etc/jetty.xml
  1294.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum 9193aa0b354d9dc21269f4d4c507247b
  1295.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}9193aa0b354d9dc21269f4d4c507247b' to '{md5}e9fb34e252734115abb355b035071d25'
  1296.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1297.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum f067abc0d5c572ae41af635ec32362c7
  1298.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}f067abc0d5c572ae41af635ec32362c7' to '{md5}711ef6390bfff3e696dec1e89a72fec6'
  1299.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1300.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1301.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  1302.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  1303.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1304.  Info: Creating state file /var/lib/puppet/state/state.yaml
  1305.  Notice: Finished catalog run in 54.62 seconds
  1306. 
  1307. centos-7-docker executed in 56.51 seconds
  1308. Exited: 6
  1309.  should work idempotently with no errors (FAILED - 1)
  1310. File "/opt/opendaylight/"
  1311. 
  1312. centos-7-docker 18:39:48$ /bin/sh -c ls\ /etc/os-release
  1313.  /etc/os-release
  1314. 
  1315. centos-7-docker executed in 0.05 seconds
  1316. 
  1317. centos-7-docker 18:39:48$ /bin/sh -c zypper\ -V
  1318.  /bin/sh: zypper: command not found
  1319. 
  1320. centos-7-docker executed in 0.05 seconds
  1321. Exited: 127
  1322. 
  1323. centos-7-docker 18:39:49$ /bin/sh -c uname\ -sr
  1324.  Linux 4.10.8-100.fc24.x86_64
  1325. 
  1326. centos-7-docker executed in 0.05 seconds
  1327. 
  1328. centos-7-docker 18:39:49$ /bin/sh -c ls\ /etc/fedora-release
  1329.  ls:  cannot access /etc/fedora-release : No such file or directory
  1330. 
  1331. centos-7-docker executed in 0.04 seconds
  1332. Exited: 2
  1333. 
  1334. centos-7-docker 18:39:49$ /bin/sh -c ls\ /etc/redhat-release
  1335.  /etc/redhat-release
  1336. 
  1337. centos-7-docker executed in 0.04 seconds
  1338. 
  1339. centos-7-docker 18:39:49$ /bin/sh -c cat\ /etc/redhat-release
  1340.  CentOS Linux release 7.3.1611 (Core)
  1341. 
  1342. centos-7-docker executed in 0.05 seconds
  1343. 
  1344. centos-7-docker 18:39:49$ /bin/sh -c uname\ -m
  1345.  x86_64
  1346. 
  1347. centos-7-docker executed in 0.04 seconds
  1348. 
  1349. centos-7-docker 18:39:49$ /bin/sh -c test\ -d\ /opt/opendaylight/
  1350. 
  1351. centos-7-docker executed in 0.04 seconds
  1352.  should be directory
  1353. 
  1354. centos-7-docker 18:39:49$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/\ \|\ grep\ --\ \\\^odl\\\$
  1355.  odl
  1356. 
  1357. centos-7-docker executed in 0.04 seconds
  1358.  should be owned by "odl"
  1359. 
  1360. centos-7-docker 18:39:49$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/\ \|\ grep\ --\ \\\^odl\\\$
  1361.  odl
  1362. 
  1363. centos-7-docker executed in 0.04 seconds
  1364.  should be grouped into "odl"
  1365. Service "opendaylight"
  1366. 
  1367. centos-7-docker 18:39:49$ /bin/sh -c systemctl\ --quiet\ is-enabled\ opendaylight
  1368. 
  1369. centos-7-docker executed in 0.04 seconds
  1370. Exited: 1
  1371.  should be enabled (FAILED - 2)
  1372. 
  1373. centos-7-docker 18:39:49$ /bin/sh -c systemctl\ --quiet\ is-enabled\ opendaylight
  1374. 
  1375. centos-7-docker executed in 0.05 seconds
  1376. Exited: 1
  1377.  should be enabled with level 3 (FAILED - 3)
  1378. 
  1379. centos-7-docker 18:39:49$ /bin/sh -c systemctl\ is-active\ opendaylight
  1380.  unknown
  1381. 
  1382. centos-7-docker executed in 0.04 seconds
  1383. Exited: 3
  1384.  should be running under systemd (FAILED - 4)
  1385. User "odl"
  1386. 
  1387. centos-7-docker 18:39:49$ /bin/sh -c id\ odl
  1388.  uid=1000(odl) gid=1000(odl) groups=1000(odl)
  1389. 
  1390. centos-7-docker executed in 0.04 seconds
  1391.  should exist
  1392. 
  1393. centos-7-docker 18:39:49$ /bin/sh -c id\ odl\ \|\ sed\ \'s/\ context\=.\*//g\'\ \|\ cut\ -f\ 4\ -d\ \'\=\'\ \|\ grep\ --\ odl
  1394.  1000(odl)
  1395. 
  1396. centos-7-docker executed in 0.05 seconds
  1397.  should belong to group "odl"
  1398. 
  1399. centos-7-docker 18:39:49$ /bin/sh -c getent\ passwd\ odl\ \|\ cut\ -f\ 6\ -d\ \':\'\ \|\ grep\ -w\ --\ /opt/opendaylight
  1400.  /opt/opendaylight
  1401. 
  1402. centos-7-docker executed in 0.04 seconds
  1403.  should have home directory "/opt/opendaylight"
  1404. Group "odl"
  1405. 
  1406. centos-7-docker 18:39:49$ /bin/sh -c getent\ group\ odl
  1407.  odl:x:1000:
  1408. 
  1409. centos-7-docker executed in 0.04 seconds
  1410.  should exist
  1411. File "/home/odl"
  1412. 
  1413. centos-7-docker 18:39:49$ /bin/sh -c test\ -d\ /home/odl
  1414. 
  1415. centos-7-docker executed in 0.04 seconds
  1416. Exited: 1
  1417.  should not be directory
  1418. Process "java"
  1419. 
  1420. centos-7-docker 18:39:49$ /bin/sh -c ps\ -C\ java\ -o\ pid\=\ \|\ head\ -1
  1421. 
  1422. centos-7-docker executed in 0.04 seconds
  1423.  should be running (FAILED - 5)
  1424. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  1425. 
  1426. centos-7-docker 18:39:49$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  1427. 
  1428. centos-7-docker executed in 0.04 seconds
  1429.  should be file
  1430. 
  1431. centos-7-docker 18:39:49$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1432.  odl
  1433. 
  1434. centos-7-docker executed in 0.05 seconds
  1435.  should be owned by "odl"
  1436. 
  1437. centos-7-docker 18:39:49$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1438.  odl
  1439. 
  1440. centos-7-docker executed in 0.04 seconds
  1441.  should be grouped into "odl"
  1442. File "/opt/opendaylight/etc/jetty.xml"
  1443. 
  1444. centos-7-docker 18:39:49$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/jetty.xml
  1445. 
  1446. centos-7-docker executed in 0.04 seconds
  1447.  should be file
  1448. 
  1449. centos-7-docker 18:39:50$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  1450.  odl
  1451. 
  1452. centos-7-docker executed in 0.04 seconds
  1453.  should be owned by "odl"
  1454. 
  1455. centos-7-docker 18:39:50$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  1456.  odl
  1457. 
  1458. centos-7-docker executed in 0.04 seconds
  1459.  should be grouped into "odl"
  1460. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  1461. 
  1462. centos-7-docker 18:39:50$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  1463. 
  1464. centos-7-docker executed in 0.04 seconds
  1465.  should be file
  1466. 
  1467. centos-7-docker 18:39:50$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1468.  odl
  1469. 
  1470. centos-7-docker executed in 0.04 seconds
  1471.  should be owned by "odl"
  1472. 
  1473. centos-7-docker 18:39:50$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1474.  odl
  1475. 
  1476. centos-7-docker executed in 0.04 seconds
  1477.  should be grouped into "odl"
  1478. File "/usr/lib/systemd/system/opendaylight.service"
  1479. 
  1480. centos-7-docker 18:39:50$ /bin/sh -c test\ -f\ /usr/lib/systemd/system/opendaylight.service
  1481. 
  1482. centos-7-docker executed in 0.05 seconds
  1483.  should be file
  1484. 
  1485. centos-7-docker 18:39:50$ /bin/sh -c stat\ -c\ \%U\ /usr/lib/systemd/system/opendaylight.service\ \|\ grep\ --\ \\\^root\\\$
  1486.  root
  1487. 
  1488. centos-7-docker executed in 0.04 seconds
  1489.  should be owned by "root"
  1490. 
  1491. centos-7-docker 18:39:50$ /bin/sh -c stat\ -c\ \%G\ /usr/lib/systemd/system/opendaylight.service\ \|\ grep\ --\ \\\^root\\\$
  1492.  root
  1493. 
  1494. centos-7-docker executed in 0.05 seconds
  1495.  should be grouped into "root"
  1496. 
  1497. centos-7-docker 18:39:50$ /bin/sh -c stat\ -c\ \%a\ /usr/lib/systemd/system/opendaylight.service\ \|\ grep\ --\ \\\^644\\\$
  1498.  644
  1499. 
  1500. centos-7-docker executed in 0.04 seconds
  1501.  should be mode "644"
  1502. Package "java-1.8.0-openjdk"
  1503. 
  1504. centos-7-docker 18:39:50$ /bin/sh -c rpm\ -q\ java-1.8.0-openjdk
  1505.  java-1.8.0-openjdk-1.8.0.121-0.b13.el7_3.x86_64
  1506. 
  1507. centos-7-docker executed in 0.06 seconds
  1508.  should be installed
  1509. testing Karaf config file
  1510. using default features
  1511. and not passing extra features
  1512. 
  1513. centos-7-docker 18:39:50$ mktemp -t apply_manifest.pp.XXXXXX
  1514.  /tmp/apply_manifest.pp.NqghBy
  1515. 
  1516. centos-7-docker executed in 0.04 seconds
  1517. localhost $ scp /tmp/beaker20170413-5494-8yycp centos-7-docker:/tmp/apply_manifest.pp.NqghBy {:ignore => }
  1518. 
  1519. centos-7-docker 18:39:50$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.NqghBy
  1520.  Info: Loading facts
  1521.  Info: Loading facts
  1522.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.23 seconds
  1523.  Info: Applying configuration version '1492123191'
  1524.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  1525.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  1526.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  1527.  Notice: Finished catalog run in 0.08 seconds
  1528. 
  1529. centos-7-docker executed in 1.91 seconds
  1530. Exited: 4
  1531.  should work idempotently with no errors (FAILED - 6)
  1532. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  1533. 
  1534. centos-7-docker 18:39:52$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  1535. 
  1536. centos-7-docker executed in 0.04 seconds
  1537.  should be file
  1538. 
  1539. centos-7-docker 18:39:52$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1540.  odl
  1541. 
  1542. centos-7-docker executed in 0.04 seconds
  1543.  should be owned by "odl"
  1544. 
  1545. centos-7-docker 18:39:52$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1546.  odl
  1547. 
  1548. centos-7-docker executed in 0.05 seconds
  1549.  should be grouped into "odl"
  1550. content
  1551. 
  1552. centos-7-docker 18:39:52$ /bin/sh -c cat\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1553.  ################################################################################
  1554. #
  1555. # Licensed to the Apache Software Foundation (ASF) under one or more
  1556. # contributor license agreements. See the NOTICE file distributed with
  1557. # this work for additional information regarding copyright ownership.
  1558. # The ASF licenses this file to You under the Apache License, Version 2.0
  1559. # (the "License"); you may not use this file except in compliance with
  1560. # the License. You may obtain a copy of the License at
  1561. #
  1562. # http://www.apache.org/licenses/LICENSE-2.0
  1563. #
  1564. # Unless required by applicable law or agreed to in writing, software
  1565. # distributed under the License is distributed on an "AS IS" BASIS,
  1566. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1567. # See the License for the specific language governing permissions and
  1568. # limitations under the License.
  1569. #
  1570. ################################################################################
  1571.  
  1572. #
  1573. # Defines if the startlvl should be respected during feature startup. The default value is true. The default
  1574. # behavior for 2.x is false (!) for this property
  1575. #
  1576. # Be aware that this property is deprecated and will be removed in Karaf 4.0. So, if you need to
  1577. # set this to false, please use this only as a temporary solution!
  1578. #
  1579. #respectStartLvlDuringFeatureStartup=true
  1580.  
  1581.  
  1582. #
  1583. # Defines if the startlvl should be respected during feature uninstall. The default value is true.
  1584. # If true, means stop bundles respecting the descend order of start level in a certain feature.
  1585. #
  1586. #respectStartLvlDuringFeatureUninstall=true
  1587.  
  1588. #
  1589. # Comma separated list of features repositories to register by default
  1590. #
  1591. featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.8/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.8/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.8/xml/features,mvn:org.opendaylight.integration/features-integration-index/0.6.0-SNAPSHOT/xml/features
  1592.  
  1593. #
  1594. # Comma separated list of features to install at startup
  1595. #
  1596. featuresBoot=config,standard,region,package,kar,ssh,management
  1597.  
  1598. #
  1599. # Defines if the boot features are started in asynchronous mode (in a dedicated thread)
  1600. #
  1601. featuresBootAsynchronous=false
  1602.  
  1603. #
  1604. # Store cfg file for config element in feature
  1605. #
  1606. #configCfgStore=true
  1607. 
  1608. centos-7-docker executed in 0.05 seconds
  1609.  should match /^featuresBoot=config,standard,region,package,kar,ssh,management/
  1610. and passing extra features
  1611. 
  1612. centos-7-docker 18:39:52$ mktemp -t apply_manifest.pp.XXXXXX
  1613.  /tmp/apply_manifest.pp.yHFBCo
  1614. 
  1615. centos-7-docker executed in 0.04 seconds
  1616. localhost $ scp /tmp/beaker20170413-5494-1ni2wv2 centos-7-docker:/tmp/apply_manifest.pp.yHFBCo {:ignore => }
  1617. 
  1618. centos-7-docker 18:39:52$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.yHFBCo
  1619.  Info: Loading facts
  1620.  Info: Loading facts
  1621.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.22 seconds
  1622.  Info: Applying configuration version '1492123194'
  1623.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  1624.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  1625.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1626.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1627.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  1628.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  1629.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1630.  Notice: Finished catalog run in 0.11 seconds
  1631. 
  1632. centos-7-docker executed in 1.97 seconds
  1633. Exited: 6
  1634.  should work idempotently with no errors (FAILED - 7)
  1635. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  1636. 
  1637. centos-7-docker 18:39:54$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  1638. 
  1639. centos-7-docker executed in 0.04 seconds
  1640.  should be file
  1641. 
  1642. centos-7-docker 18:39:54$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1643.  odl
  1644. 
  1645. centos-7-docker executed in 0.05 seconds
  1646.  should be owned by "odl"
  1647. 
  1648. centos-7-docker 18:39:54$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1649.  odl
  1650. 
  1651. centos-7-docker executed in 0.04 seconds
  1652.  should be grouped into "odl"
  1653. content
  1654. 
  1655. centos-7-docker 18:39:54$ /bin/sh -c cat\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1656.  ################################################################################
  1657. #
  1658. # Licensed to the Apache Software Foundation (ASF) under one or more
  1659. # contributor license agreements. See the NOTICE file distributed with
  1660. # this work for additional information regarding copyright ownership.
  1661. # The ASF licenses this file to You under the Apache License, Version 2.0
  1662. # (the "License"); you may not use this file except in compliance with
  1663. # the License. You may obtain a copy of the License at
  1664. #
  1665. # http://www.apache.org/licenses/LICENSE-2.0
  1666. #
  1667. # Unless required by applicable law or agreed to in writing, software
  1668. # distributed under the License is distributed on an "AS IS" BASIS,
  1669. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1670. # See the License for the specific language governing permissions and
  1671. # limitations under the License.
  1672. #
  1673. ################################################################################
  1674.  
  1675. #
  1676. # Defines if the startlvl should be respected during feature startup. The default value is true. The default
  1677. # behavior for 2.x is false (!) for this property
  1678. #
  1679. # Be aware that this property is deprecated and will be removed in Karaf 4.0. So, if you need to
  1680. # set this to false, please use this only as a temporary solution!
  1681. #
  1682. #respectStartLvlDuringFeatureStartup=true
  1683.  
  1684.  
  1685. #
  1686. # Defines if the startlvl should be respected during feature uninstall. The default value is true.
  1687. # If true, means stop bundles respecting the descend order of start level in a certain feature.
  1688. #
  1689. #respectStartLvlDuringFeatureUninstall=true
  1690.  
  1691. #
  1692. # Comma separated list of features repositories to register by default
  1693. #
  1694. featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.8/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.8/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.8/xml/features,mvn:org.opendaylight.integration/features-integration-index/0.6.0-SNAPSHOT/xml/features
  1695.  
  1696. #
  1697. # Comma separated list of features to install at startup
  1698. #
  1699. featuresBoot=config,standard,region,package,kar,ssh,management,odl-base-all,odl-ovsdb-all
  1700.  
  1701. #
  1702. # Defines if the boot features are started in asynchronous mode (in a dedicated thread)
  1703. #
  1704. featuresBootAsynchronous=false
  1705.  
  1706. #
  1707. # Store cfg file for config element in feature
  1708. #
  1709. #configCfgStore=true
  1710. 
  1711. centos-7-docker executed in 0.05 seconds
  1712.  should match /^featuresBoot=config,standard,region,package,kar,ssh,management,odl-base-all,odl-ovsdb-all/
  1713. overriding default features
  1714. and not passing extra features
  1715. 
  1716. centos-7-docker 18:39:55$ mktemp -t apply_manifest.pp.XXXXXX
  1717.  /tmp/apply_manifest.pp.VfqSh6
  1718. 
  1719. centos-7-docker executed in 0.04 seconds
  1720. localhost $ scp /tmp/beaker20170413-5494-1b7h0y0 centos-7-docker:/tmp/apply_manifest.pp.VfqSh6 {:ignore => }
  1721. 
  1722. centos-7-docker 18:39:55$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.VfqSh6
  1723.  Info: Loading facts
  1724.  Info: Loading facts
  1725.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.22 seconds
  1726.  Info: Applying configuration version '1492123196'
  1727.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  1728.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  1729.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1730.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1731.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  1732.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  1733.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1734.  Notice: Finished catalog run in 0.09 seconds
  1735. 
  1736. centos-7-docker executed in 1.87 seconds
  1737. Exited: 6
  1738.  should work idempotently with no errors (FAILED - 8)
  1739. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  1740. 
  1741. centos-7-docker 18:39:57$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  1742. 
  1743. centos-7-docker executed in 0.04 seconds
  1744.  should be file
  1745. 
  1746. centos-7-docker 18:39:57$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1747.  odl
  1748. 
  1749. centos-7-docker executed in 0.04 seconds
  1750.  should be owned by "odl"
  1751. 
  1752. centos-7-docker 18:39:57$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1753.  odl
  1754. 
  1755. centos-7-docker executed in 0.05 seconds
  1756.  should be grouped into "odl"
  1757. content
  1758. 
  1759. centos-7-docker 18:39:57$ /bin/sh -c cat\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1760.  ################################################################################
  1761. #
  1762. # Licensed to the Apache Software Foundation (ASF) under one or more
  1763. # contributor license agreements. See the NOTICE file distributed with
  1764. # this work for additional information regarding copyright ownership.
  1765. # The ASF licenses this file to You under the Apache License, Version 2.0
  1766. # (the "License"); you may not use this file except in compliance with
  1767. # the License. You may obtain a copy of the License at
  1768. #
  1769. # http://www.apache.org/licenses/LICENSE-2.0
  1770. #
  1771. # Unless required by applicable law or agreed to in writing, software
  1772. # distributed under the License is distributed on an "AS IS" BASIS,
  1773. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1774. # See the License for the specific language governing permissions and
  1775. # limitations under the License.
  1776. #
  1777. ################################################################################
  1778.  
  1779. #
  1780. # Defines if the startlvl should be respected during feature startup. The default value is true. The default
  1781. # behavior for 2.x is false (!) for this property
  1782. #
  1783. # Be aware that this property is deprecated and will be removed in Karaf 4.0. So, if you need to
  1784. # set this to false, please use this only as a temporary solution!
  1785. #
  1786. #respectStartLvlDuringFeatureStartup=true
  1787.  
  1788.  
  1789. #
  1790. # Defines if the startlvl should be respected during feature uninstall. The default value is true.
  1791. # If true, means stop bundles respecting the descend order of start level in a certain feature.
  1792. #
  1793. #respectStartLvlDuringFeatureUninstall=true
  1794.  
  1795. #
  1796. # Comma separated list of features repositories to register by default
  1797. #
  1798. featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.8/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.8/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.8/xml/features,mvn:org.opendaylight.integration/features-integration-index/0.6.0-SNAPSHOT/xml/features
  1799.  
  1800. #
  1801. # Comma separated list of features to install at startup
  1802. #
  1803. featuresBoot=standard,ssh
  1804.  
  1805. #
  1806. # Defines if the boot features are started in asynchronous mode (in a dedicated thread)
  1807. #
  1808. featuresBootAsynchronous=false
  1809.  
  1810. #
  1811. # Store cfg file for config element in feature
  1812. #
  1813. #configCfgStore=true
  1814. 
  1815. centos-7-docker executed in 0.04 seconds
  1816.  should match /^featuresBoot=standard,ssh/
  1817. and passing extra features
  1818. 
  1819. centos-7-docker 18:39:57$ mktemp -t apply_manifest.pp.XXXXXX
  1820.  /tmp/apply_manifest.pp.4l8sic
  1821. 
  1822. centos-7-docker executed in 0.04 seconds
  1823. localhost $ scp /tmp/beaker20170413-5494-16cmv4k centos-7-docker:/tmp/apply_manifest.pp.4l8sic {:ignore => }
  1824. 
  1825. centos-7-docker 18:39:57$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.4l8sic
  1826.  Info: Loading facts
  1827.  Info: Loading facts
  1828.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.24 seconds
  1829.  Info: Applying configuration version '1492123198'
  1830.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  1831.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  1832.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1833.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1834.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  1835.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  1836.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1837.  Notice: Finished catalog run in 0.09 seconds
  1838. 
  1839. centos-7-docker executed in 2.02 seconds
  1840. Exited: 6
  1841.  should work idempotently with no errors (FAILED - 9)
  1842. File "/opt/opendaylight/etc/org.apache.karaf.features.cfg"
  1843. 
  1844. centos-7-docker 18:39:59$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.apache.karaf.features.cfg
  1845. 
  1846. centos-7-docker executed in 0.04 seconds
  1847.  should be file
  1848. 
  1849. centos-7-docker 18:39:59$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1850.  odl
  1851. 
  1852. centos-7-docker executed in 0.04 seconds
  1853.  should be owned by "odl"
  1854. 
  1855. centos-7-docker 18:39:59$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ \|\ grep\ --\ \\\^odl\\\$
  1856.  odl
  1857. 
  1858. centos-7-docker executed in 0.05 seconds
  1859.  should be grouped into "odl"
  1860. content
  1861. 
  1862. centos-7-docker 18:39:59$ /bin/sh -c cat\ /opt/opendaylight/etc/org.apache.karaf.features.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1863.  ################################################################################
  1864. #
  1865. # Licensed to the Apache Software Foundation (ASF) under one or more
  1866. # contributor license agreements. See the NOTICE file distributed with
  1867. # this work for additional information regarding copyright ownership.
  1868. # The ASF licenses this file to You under the Apache License, Version 2.0
  1869. # (the "License"); you may not use this file except in compliance with
  1870. # the License. You may obtain a copy of the License at
  1871. #
  1872. # http://www.apache.org/licenses/LICENSE-2.0
  1873. #
  1874. # Unless required by applicable law or agreed to in writing, software
  1875. # distributed under the License is distributed on an "AS IS" BASIS,
  1876. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  1877. # See the License for the specific language governing permissions and
  1878. # limitations under the License.
  1879. #
  1880. ################################################################################
  1881.  
  1882. #
  1883. # Defines if the startlvl should be respected during feature startup. The default value is true. The default
  1884. # behavior for 2.x is false (!) for this property
  1885. #
  1886. # Be aware that this property is deprecated and will be removed in Karaf 4.0. So, if you need to
  1887. # set this to false, please use this only as a temporary solution!
  1888. #
  1889. #respectStartLvlDuringFeatureStartup=true
  1890.  
  1891.  
  1892. #
  1893. # Defines if the startlvl should be respected during feature uninstall. The default value is true.
  1894. # If true, means stop bundles respecting the descend order of start level in a certain feature.
  1895. #
  1896. #respectStartLvlDuringFeatureUninstall=true
  1897.  
  1898. #
  1899. # Comma separated list of features repositories to register by default
  1900. #
  1901. featuresRepositories = mvn:org.apache.karaf.features/standard/3.0.8/xml/features,mvn:org.apache.karaf.features/enterprise/3.0.8/xml/features,mvn:org.ops4j.pax.web/pax-web-features/3.2.9/xml/features,mvn:org.apache.karaf.features/spring/3.0.8/xml/features,mvn:org.opendaylight.integration/features-integration-index/0.6.0-SNAPSHOT/xml/features
  1902.  
  1903. #
  1904. # Comma separated list of features to install at startup
  1905. #
  1906. featuresBoot=standard,ssh,odl-base-all,odl-ovsdb-all
  1907.  
  1908. #
  1909. # Defines if the boot features are started in asynchronous mode (in a dedicated thread)
  1910. #
  1911. featuresBootAsynchronous=false
  1912.  
  1913. #
  1914. # Store cfg file for config element in feature
  1915. #
  1916. #configCfgStore=true
  1917. 
  1918. centos-7-docker executed in 0.04 seconds
  1919.  should match /^featuresBoot=standard,ssh,odl-base-all,odl-ovsdb-all/
  1920. testing REST port config file
  1921. using default port
  1922. 
  1923. centos-7-docker 18:39:59$ mktemp -t apply_manifest.pp.XXXXXX
  1924.  /tmp/apply_manifest.pp.57iRiN
  1925. 
  1926. centos-7-docker executed in 0.04 seconds
  1927. localhost $ scp /tmp/beaker20170413-5494-1dknupd centos-7-docker:/tmp/apply_manifest.pp.57iRiN {:ignore => }
  1928. 
  1929. centos-7-docker 18:39:59$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.57iRiN
  1930.  Info: Loading facts
  1931.  Info: Loading facts
  1932.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.24 seconds
  1933.  Info: Applying configuration version '1492123200'
  1934.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  1935.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  1936.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  1937.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  1938.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  1939.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  1940.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  1941.  Notice: Finished catalog run in 0.09 seconds
  1942. 
  1943. centos-7-docker executed in 2.00 seconds
  1944. Exited: 6
  1945.  should work idempotently with no errors (FAILED - 10)
  1946. File "/opt/opendaylight/etc/jetty.xml"
  1947. 
  1948. centos-7-docker 18:40:01$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/jetty.xml
  1949. 
  1950. centos-7-docker executed in 0.04 seconds
  1951.  should be file
  1952. 
  1953. centos-7-docker 18:40:01$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  1954.  odl
  1955. 
  1956. centos-7-docker executed in 0.04 seconds
  1957.  should be owned by "odl"
  1958. 
  1959. centos-7-docker 18:40:01$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  1960.  odl
  1961. 
  1962. centos-7-docker executed in 0.05 seconds
  1963.  should be grouped into "odl"
  1964. content
  1965. 
  1966. centos-7-docker 18:40:01$ /bin/sh -c cat\ /opt/opendaylight/etc/jetty.xml\ 2\>\ /dev/null\ \|\|\ echo\ -n
  1967.  <?xml version="1.0"?>
  1968. <!--
  1969. Licensed to the Apache Software Foundation (ASF) under one
  1970. or more contributor license agreements. See the NOTICE file
  1971. distributed with this work for additional information
  1972. regarding copyright ownership. The ASF licenses this file
  1973. to you under the Apache License, Version 2.0 (the
  1974. "License"); you may not use this file except in compliance
  1975. with the License. You may obtain a copy of the License at
  1976.  
  1977. http://www.apache.org/licenses/LICENSE-2.0
  1978.  
  1979. Unless required by applicable law or agreed to in writing,
  1980. software distributed under the License is distributed on an
  1981. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  1982. KIND, either express or implied. See the License for the
  1983. specific language governing permissions and limitations
  1984. under the License.
  1985. -->
  1986. <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//
  1987. DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
  1988.  
  1989. <Configure class="org.eclipse.jetty.server.Server">
  1990.  
  1991. <!-- =========================================================== -->
  1992. <!-- Set connectors -->
  1993. <!-- =========================================================== -->
  1994. <!-- One of each type! -->
  1995. <!-- =========================================================== -->
  1996.  
  1997. <!-- Use this connector for many frequently idle connections and for
  1998. threadless continuations. -->
  1999. <Call name="addConnector">
  2000. <Arg>
  2001. <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
  2002. <Set name="host">0.0.0.0
  2003. <Property name="jetty.host" />
  2004. </Set>
  2005. <Set name="port">
  2006. <Property name="jetty.port" default="8181" />
  2007. </Set>
  2008. <Set name="maxIdleTime">300000</Set>
  2009. <Set name="Acceptors">2</Set>
  2010. <Set name="statsOn">false</Set>
  2011. <Set name="confidentialPort">8543</Set>
  2012. <Set name="lowResourcesConnections">20000</Set>
  2013. <Set name="lowResourcesMaxIdleTime">5000</Set>
  2014. </New>
  2015. </Arg>
  2016. </Call>
  2017. <Call name="addConnector">
  2018. <Arg>
  2019. <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
  2020. <Set name="host">0.0.0.0
  2021. <Property name="jetty.host" />
  2022. </Set>
  2023. <Set name="port">
  2024. <Property name="jetty.port" default="8080" />
  2025. </Set>
  2026. <Set name="maxIdleTime">300000</Set>
  2027. <Set name="Acceptors">2</Set>
  2028. <Set name="statsOn">false</Set>
  2029. <Set name="confidentialPort">8443</Set>
  2030. <Set name="lowResourcesConnections">20000</Set>
  2031. <Set name="lowResourcesMaxIdleTime">5000</Set>
  2032. </New>
  2033. </Arg>
  2034. </Call>
  2035.  
  2036. <!-- =========================================================== -->
  2037. <!-- Configure Authentication Realms -->
  2038. <!-- Realms may be configured for the entire server here, or -->
  2039. <!-- they can be configured for a specific web app in a context -->
  2040. <!-- configuration (see $(jetty.home)/contexts/test.xml for an -->
  2041. <!-- example). -->
  2042. <!-- =========================================================== -->
  2043. <Call name="addBean">
  2044. <Arg>
  2045. <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
  2046. <Set name="name">karaf</Set>
  2047. <Set name="loginModuleName">karaf</Set>
  2048. <Set name="roleClassNames">
  2049. <Array type="java.lang.String">
  2050. <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
  2051. </Item>
  2052. </Array>
  2053. </Set>
  2054. </New>
  2055. </Arg>
  2056. </Call>
  2057. <Call name="addBean">
  2058. <Arg>
  2059. <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
  2060. <Set name="name">default</Set>
  2061. <Set name="loginModuleName">karaf</Set>
  2062. <Set name="roleClassNames">
  2063. <Array type="java.lang.String">
  2064. <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
  2065. </Item>
  2066. </Array>
  2067. </Set>
  2068. </New>
  2069. </Arg>
  2070. </Call>
  2071.  
  2072. </Configure>
  2073. 
  2074. centos-7-docker executed in 0.05 seconds
  2075.  should match /Property name="jetty.port" default="8080"/
  2076. overriding default port
  2077. 
  2078. centos-7-docker 18:40:01$ mktemp -t apply_manifest.pp.XXXXXX
  2079.  /tmp/apply_manifest.pp.sP38jC
  2080. 
  2081. centos-7-docker executed in 0.03 seconds
  2082. localhost $ scp /tmp/beaker20170413-5494-1jomde6 centos-7-docker:/tmp/apply_manifest.pp.sP38jC {:ignore => }
  2083. 
  2084. centos-7-docker 18:40:01$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.sP38jC
  2085.  Info: Loading facts
  2086.  Info: Loading facts
  2087.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.22 seconds
  2088.  Info: Applying configuration version '1492123203'
  2089.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  2090.  Info: Computing checksum on file /opt/opendaylight/etc/jetty.xml
  2091.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum e9fb34e252734115abb355b035071d25
  2092.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}e9fb34e252734115abb355b035071d25' to '{md5}f1f7940beb0c2682868e353ce063500e'
  2093.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2094.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2095.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  2096.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  2097.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2098.  Notice: Finished catalog run in 0.11 seconds
  2099. 
  2100. centos-7-docker executed in 1.94 seconds
  2101. Exited: 6
  2102.  should work idempotently with no errors (FAILED - 11)
  2103. File "/opt/opendaylight/etc/jetty.xml"
  2104. 
  2105. centos-7-docker 18:40:03$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/jetty.xml
  2106. 
  2107. centos-7-docker executed in 0.04 seconds
  2108.  should be file
  2109. 
  2110. centos-7-docker 18:40:03$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  2111.  odl
  2112. 
  2113. centos-7-docker executed in 0.04 seconds
  2114.  should be owned by "odl"
  2115. 
  2116. centos-7-docker 18:40:04$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/jetty.xml\ \|\ grep\ --\ \\\^odl\\\$
  2117.  odl
  2118. 
  2119. centos-7-docker executed in 0.04 seconds
  2120.  should be grouped into "odl"
  2121. content
  2122. 
  2123. centos-7-docker 18:40:04$ /bin/sh -c cat\ /opt/opendaylight/etc/jetty.xml\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2124.  <?xml version="1.0"?>
  2125. <!--
  2126. Licensed to the Apache Software Foundation (ASF) under one
  2127. or more contributor license agreements. See the NOTICE file
  2128. distributed with this work for additional information
  2129. regarding copyright ownership. The ASF licenses this file
  2130. to you under the Apache License, Version 2.0 (the
  2131. "License"); you may not use this file except in compliance
  2132. with the License. You may obtain a copy of the License at
  2133.  
  2134. http://www.apache.org/licenses/LICENSE-2.0
  2135.  
  2136. Unless required by applicable law or agreed to in writing,
  2137. software distributed under the License is distributed on an
  2138. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  2139. KIND, either express or implied. See the License for the
  2140. specific language governing permissions and limitations
  2141. under the License.
  2142. -->
  2143. <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//
  2144. DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
  2145.  
  2146. <Configure class="org.eclipse.jetty.server.Server">
  2147.  
  2148. <!-- =========================================================== -->
  2149. <!-- Set connectors -->
  2150. <!-- =========================================================== -->
  2151. <!-- One of each type! -->
  2152. <!-- =========================================================== -->
  2153.  
  2154. <!-- Use this connector for many frequently idle connections and for
  2155. threadless continuations. -->
  2156. <Call name="addConnector">
  2157. <Arg>
  2158. <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
  2159. <Set name="host">0.0.0.0
  2160. <Property name="jetty.host" />
  2161. </Set>
  2162. <Set name="port">
  2163. <Property name="jetty.port" default="8181" />
  2164. </Set>
  2165. <Set name="maxIdleTime">300000</Set>
  2166. <Set name="Acceptors">2</Set>
  2167. <Set name="statsOn">false</Set>
  2168. <Set name="confidentialPort">8543</Set>
  2169. <Set name="lowResourcesConnections">20000</Set>
  2170. <Set name="lowResourcesMaxIdleTime">5000</Set>
  2171. </New>
  2172. </Arg>
  2173. </Call>
  2174. <Call name="addConnector">
  2175. <Arg>
  2176. <New class="org.eclipse.jetty.server.nio.SelectChannelConnector">
  2177. <Set name="host">0.0.0.0
  2178. <Property name="jetty.host" />
  2179. </Set>
  2180. <Set name="port">
  2181. <Property name="jetty.port" default="7777" />
  2182. </Set>
  2183. <Set name="maxIdleTime">300000</Set>
  2184. <Set name="Acceptors">2</Set>
  2185. <Set name="statsOn">false</Set>
  2186. <Set name="confidentialPort">8443</Set>
  2187. <Set name="lowResourcesConnections">20000</Set>
  2188. <Set name="lowResourcesMaxIdleTime">5000</Set>
  2189. </New>
  2190. </Arg>
  2191. </Call>
  2192.  
  2193. <!-- =========================================================== -->
  2194. <!-- Configure Authentication Realms -->
  2195. <!-- Realms may be configured for the entire server here, or -->
  2196. <!-- they can be configured for a specific web app in a context -->
  2197. <!-- configuration (see $(jetty.home)/contexts/test.xml for an -->
  2198. <!-- example). -->
  2199. <!-- =========================================================== -->
  2200. <Call name="addBean">
  2201. <Arg>
  2202. <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
  2203. <Set name="name">karaf</Set>
  2204. <Set name="loginModuleName">karaf</Set>
  2205. <Set name="roleClassNames">
  2206. <Array type="java.lang.String">
  2207. <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
  2208. </Item>
  2209. </Array>
  2210. </Set>
  2211. </New>
  2212. </Arg>
  2213. </Call>
  2214. <Call name="addBean">
  2215. <Arg>
  2216. <New class="org.eclipse.jetty.plus.jaas.JAASLoginService">
  2217. <Set name="name">default</Set>
  2218. <Set name="loginModuleName">karaf</Set>
  2219. <Set name="roleClassNames">
  2220. <Array type="java.lang.String">
  2221. <Item>org.apache.karaf.jaas.boot.principal.RolePrincipal
  2222. </Item>
  2223. </Array>
  2224. </Set>
  2225. </New>
  2226. </Arg>
  2227. </Call>
  2228.  
  2229. </Configure>
  2230. 
  2231. centos-7-docker executed in 0.05 seconds
  2232.  should match /Property name="jetty.port" default="7777"/
  2233. testing custom logging verbosity
  2234. using default log levels
  2235. 
  2236. centos-7-docker 18:40:04$ mktemp -t apply_manifest.pp.XXXXXX
  2237.  /tmp/apply_manifest.pp.Q3KdjL
  2238. 
  2239. centos-7-docker executed in 0.04 seconds
  2240. localhost $ scp /tmp/beaker20170413-5494-qpoh9p centos-7-docker:/tmp/apply_manifest.pp.Q3KdjL {:ignore => }
  2241. 
  2242. centos-7-docker 18:40:04$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Q3KdjL
  2243.  Info: Loading facts
  2244.  Info: Loading facts
  2245.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.24 seconds
  2246.  Info: Applying configuration version '1492123205'
  2247.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  2248.  Info: Computing checksum on file /opt/opendaylight/etc/jetty.xml
  2249.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum f1f7940beb0c2682868e353ce063500e
  2250.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}f1f7940beb0c2682868e353ce063500e' to '{md5}e9fb34e252734115abb355b035071d25'
  2251.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2252.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2253.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  2254.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  2255.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2256.  Notice: Finished catalog run in 0.11 seconds
  2257. 
  2258. centos-7-docker executed in 2.02 seconds
  2259. Exited: 6
  2260.  should work idempotently with no errors (FAILED - 12)
  2261. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2262. 
  2263. centos-7-docker 18:40:06$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2264. 
  2265. centos-7-docker executed in 0.04 seconds
  2266.  should be file
  2267. 
  2268. centos-7-docker 18:40:06$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2269.  odl
  2270. 
  2271. centos-7-docker executed in 0.05 seconds
  2272.  should be owned by "odl"
  2273. 
  2274. centos-7-docker 18:40:06$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2275.  odl
  2276. 
  2277. centos-7-docker executed in 0.05 seconds
  2278.  should be grouped into "odl"
  2279. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2280. 
  2281. centos-7-docker 18:40:06$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2282. 
  2283. centos-7-docker executed in 0.04 seconds
  2284.  should be file
  2285. 
  2286. centos-7-docker 18:40:06$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2287.  odl
  2288. 
  2289. centos-7-docker executed in 0.05 seconds
  2290.  should be owned by "odl"
  2291. 
  2292. centos-7-docker 18:40:06$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2293.  odl
  2294. 
  2295. centos-7-docker executed in 0.04 seconds
  2296.  should be grouped into "odl"
  2297. content
  2298. 
  2299. centos-7-docker 18:40:06$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2300.  ################################################################################
  2301. #
  2302. # Licensed to the Apache Software Foundation (ASF) under one or more
  2303. # contributor license agreements. See the NOTICE file distributed with
  2304. # this work for additional information regarding copyright ownership.
  2305. # The ASF licenses this file to You under the Apache License, Version 2.0
  2306. # (the "License"); you may not use this file except in compliance with
  2307. # the License. You may obtain a copy of the License at
  2308. #
  2309. # http://www.apache.org/licenses/LICENSE-2.0
  2310. #
  2311. # Unless required by applicable law or agreed to in writing, software
  2312. # distributed under the License is distributed on an "AS IS" BASIS,
  2313. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2314. # See the License for the specific language governing permissions and
  2315. # limitations under the License.
  2316. #
  2317. ################################################################################
  2318.  
  2319. # Root logger
  2320. log4j.rootLogger=INFO, async, osgi:*
  2321. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2322.  
  2323. # CONSOLE appender not used by default
  2324. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2325. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2326. 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
  2327.  
  2328. # Async appender forwarding to file appender
  2329. log4j.appender.async=org.apache.log4j.AsyncAppender
  2330. log4j.appender.async.appenders=out
  2331.  
  2332. # File appender
  2333. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2334. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2335. 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
  2336. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2337. log4j.appender.out.append=true
  2338. log4j.appender.out.maxFileSize=1MB
  2339. log4j.appender.out.maxBackupIndex=10
  2340.  
  2341. # Sift appender
  2342. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2343. log4j.appender.sift.key=bundle.name
  2344. log4j.appender.sift.default=karaf
  2345. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2346. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2347. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2348. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2349. log4j.appender.sift.appender.append=true
  2350. 
  2351. centos-7-docker executed in 0.05 seconds
  2352.  should not match /# Log level config added by puppet-opendaylight/
  2353. adding one custom log level
  2354. 
  2355. centos-7-docker 18:40:06$ mktemp -t apply_manifest.pp.XXXXXX
  2356.  /tmp/apply_manifest.pp.znI7CU
  2357. 
  2358. centos-7-docker executed in 0.05 seconds
  2359. localhost $ scp /tmp/beaker20170413-5494-25okuh centos-7-docker:/tmp/apply_manifest.pp.znI7CU {:ignore => }
  2360. 
  2361. centos-7-docker 18:40:06$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.znI7CU
  2362.  Info: Loading facts
  2363.  Info: Loading facts
  2364.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.23 seconds
  2365.  Info: Applying configuration version '1492123208'
  2366.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  2367.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2368.  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
  2369.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}711ef6390bfff3e696dec1e89a72fec6' to '{md5}2a64114490e14e9e20a33a9bac3d5bf0'
  2370.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2371.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2372.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  2373.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  2374.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2375.  Notice: Finished catalog run in 0.10 seconds
  2376. 
  2377. centos-7-docker executed in 1.99 seconds
  2378. Exited: 6
  2379.  should work idempotently with no errors (FAILED - 13)
  2380. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2381. 
  2382. centos-7-docker 18:40:08$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2383. 
  2384. centos-7-docker executed in 0.04 seconds
  2385.  should be file
  2386. 
  2387. centos-7-docker 18:40:08$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2388.  odl
  2389. 
  2390. centos-7-docker executed in 0.04 seconds
  2391.  should be owned by "odl"
  2392. 
  2393. centos-7-docker 18:40:08$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2394.  odl
  2395. 
  2396. centos-7-docker executed in 0.05 seconds
  2397.  should be grouped into "odl"
  2398. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2399. 
  2400. centos-7-docker 18:40:08$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2401. 
  2402. centos-7-docker executed in 0.04 seconds
  2403.  should be file
  2404. 
  2405. centos-7-docker 18:40:08$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2406.  odl
  2407. 
  2408. centos-7-docker executed in 0.04 seconds
  2409.  should be owned by "odl"
  2410. 
  2411. centos-7-docker 18:40:08$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2412.  odl
  2413. 
  2414. centos-7-docker executed in 0.04 seconds
  2415.  should be grouped into "odl"
  2416. content
  2417. 
  2418. centos-7-docker 18:40:08$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2419.  ################################################################################
  2420. #
  2421. # Licensed to the Apache Software Foundation (ASF) under one or more
  2422. # contributor license agreements. See the NOTICE file distributed with
  2423. # this work for additional information regarding copyright ownership.
  2424. # The ASF licenses this file to You under the Apache License, Version 2.0
  2425. # (the "License"); you may not use this file except in compliance with
  2426. # the License. You may obtain a copy of the License at
  2427. #
  2428. # http://www.apache.org/licenses/LICENSE-2.0
  2429. #
  2430. # Unless required by applicable law or agreed to in writing, software
  2431. # distributed under the License is distributed on an "AS IS" BASIS,
  2432. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2433. # See the License for the specific language governing permissions and
  2434. # limitations under the License.
  2435. #
  2436. ################################################################################
  2437.  
  2438. # Root logger
  2439. log4j.rootLogger=INFO, async, osgi:*
  2440. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2441.  
  2442. # CONSOLE appender not used by default
  2443. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2444. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2445. 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
  2446.  
  2447. # Async appender forwarding to file appender
  2448. log4j.appender.async=org.apache.log4j.AsyncAppender
  2449. log4j.appender.async.appenders=out
  2450.  
  2451. # File appender
  2452. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2453. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2454. 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
  2455. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2456. log4j.appender.out.append=true
  2457. log4j.appender.out.maxFileSize=1MB
  2458. log4j.appender.out.maxBackupIndex=10
  2459.  
  2460. # Sift appender
  2461. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2462. log4j.appender.sift.key=bundle.name
  2463. log4j.appender.sift.default=karaf
  2464. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2465. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2466. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2467. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2468. log4j.appender.sift.appender.append=true
  2469.  
  2470. # Log level config added by puppet-opendaylight
  2471. log4j.logger.org.opendaylight.ovsdb = TRACE
  2472. 
  2473. centos-7-docker executed in 0.05 seconds
  2474.  should match /# Log level config added by puppet-opendaylight/
  2475. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2476. 
  2477. centos-7-docker 18:40:09$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2478. 
  2479. centos-7-docker executed in 0.05 seconds
  2480.  should be file
  2481. 
  2482. centos-7-docker 18:40:09$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2483.  odl
  2484. 
  2485. centos-7-docker executed in 0.05 seconds
  2486.  should be owned by "odl"
  2487. 
  2488. centos-7-docker 18:40:09$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2489.  odl
  2490. 
  2491. centos-7-docker executed in 0.04 seconds
  2492.  should be grouped into "odl"
  2493. content
  2494. 
  2495. centos-7-docker 18:40:09$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2496.  ################################################################################
  2497. #
  2498. # Licensed to the Apache Software Foundation (ASF) under one or more
  2499. # contributor license agreements. See the NOTICE file distributed with
  2500. # this work for additional information regarding copyright ownership.
  2501. # The ASF licenses this file to You under the Apache License, Version 2.0
  2502. # (the "License"); you may not use this file except in compliance with
  2503. # the License. You may obtain a copy of the License at
  2504. #
  2505. # http://www.apache.org/licenses/LICENSE-2.0
  2506. #
  2507. # Unless required by applicable law or agreed to in writing, software
  2508. # distributed under the License is distributed on an "AS IS" BASIS,
  2509. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2510. # See the License for the specific language governing permissions and
  2511. # limitations under the License.
  2512. #
  2513. ################################################################################
  2514.  
  2515. # Root logger
  2516. log4j.rootLogger=INFO, async, osgi:*
  2517. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2518.  
  2519. # CONSOLE appender not used by default
  2520. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2521. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2522. 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
  2523.  
  2524. # Async appender forwarding to file appender
  2525. log4j.appender.async=org.apache.log4j.AsyncAppender
  2526. log4j.appender.async.appenders=out
  2527.  
  2528. # File appender
  2529. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2530. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2531. 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
  2532. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2533. log4j.appender.out.append=true
  2534. log4j.appender.out.maxFileSize=1MB
  2535. log4j.appender.out.maxBackupIndex=10
  2536.  
  2537. # Sift appender
  2538. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2539. log4j.appender.sift.key=bundle.name
  2540. log4j.appender.sift.default=karaf
  2541. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2542. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2543. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2544. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2545. log4j.appender.sift.appender.append=true
  2546.  
  2547. # Log level config added by puppet-opendaylight
  2548. log4j.logger.org.opendaylight.ovsdb = TRACE
  2549. 
  2550. centos-7-docker executed in 0.05 seconds
  2551.  should match /^log4j.logger.org.opendaylight.ovsdb = TRACE/
  2552. adding two custom log level
  2553. 
  2554. centos-7-docker 18:40:09$ mktemp -t apply_manifest.pp.XXXXXX
  2555.  /tmp/apply_manifest.pp.t7Zhoi
  2556. 
  2557. centos-7-docker executed in 0.04 seconds
  2558. localhost $ scp /tmp/beaker20170413-5494-1h887cn centos-7-docker:/tmp/apply_manifest.pp.t7Zhoi {:ignore => }
  2559. 
  2560. centos-7-docker 18:40:09$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.t7Zhoi
  2561.  Info: Loading facts
  2562.  Info: Loading facts
  2563.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.23 seconds
  2564.  Info: Applying configuration version '1492123210'
  2565.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  2566.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2567.  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
  2568.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}2a64114490e14e9e20a33a9bac3d5bf0' to '{md5}3a24173e7756979f27e165de546b51d3'
  2569.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2570.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2571.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  2572.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  2573.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2574.  Notice: Finished catalog run in 0.11 seconds
  2575. 
  2576. centos-7-docker executed in 1.95 seconds
  2577. Exited: 6
  2578.  should work idempotently with no errors (FAILED - 14)
  2579. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2580. 
  2581. centos-7-docker 18:40:11$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2582. 
  2583. centos-7-docker executed in 0.04 seconds
  2584.  should be file
  2585. 
  2586. centos-7-docker 18:40:11$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2587.  odl
  2588. 
  2589. centos-7-docker executed in 0.04 seconds
  2590.  should be owned by "odl"
  2591. 
  2592. centos-7-docker 18:40:11$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2593.  odl
  2594. 
  2595. centos-7-docker executed in 0.04 seconds
  2596.  should be grouped into "odl"
  2597. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2598. 
  2599. centos-7-docker 18:40:11$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2600. 
  2601. centos-7-docker executed in 0.04 seconds
  2602.  should be file
  2603. 
  2604. centos-7-docker 18:40:11$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2605.  odl
  2606. 
  2607. centos-7-docker executed in 0.04 seconds
  2608.  should be owned by "odl"
  2609. 
  2610. centos-7-docker 18:40:11$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2611.  odl
  2612. 
  2613. centos-7-docker executed in 0.04 seconds
  2614.  should be grouped into "odl"
  2615. content
  2616. 
  2617. centos-7-docker 18:40:11$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2618.  ################################################################################
  2619. #
  2620. # Licensed to the Apache Software Foundation (ASF) under one or more
  2621. # contributor license agreements. See the NOTICE file distributed with
  2622. # this work for additional information regarding copyright ownership.
  2623. # The ASF licenses this file to You under the Apache License, Version 2.0
  2624. # (the "License"); you may not use this file except in compliance with
  2625. # the License. You may obtain a copy of the License at
  2626. #
  2627. # http://www.apache.org/licenses/LICENSE-2.0
  2628. #
  2629. # Unless required by applicable law or agreed to in writing, software
  2630. # distributed under the License is distributed on an "AS IS" BASIS,
  2631. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2632. # See the License for the specific language governing permissions and
  2633. # limitations under the License.
  2634. #
  2635. ################################################################################
  2636.  
  2637. # Root logger
  2638. log4j.rootLogger=INFO, async, osgi:*
  2639. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2640.  
  2641. # CONSOLE appender not used by default
  2642. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2643. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2644. 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
  2645.  
  2646. # Async appender forwarding to file appender
  2647. log4j.appender.async=org.apache.log4j.AsyncAppender
  2648. log4j.appender.async.appenders=out
  2649.  
  2650. # File appender
  2651. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2652. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2653. 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
  2654. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2655. log4j.appender.out.append=true
  2656. log4j.appender.out.maxFileSize=1MB
  2657. log4j.appender.out.maxBackupIndex=10
  2658.  
  2659. # Sift appender
  2660. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2661. log4j.appender.sift.key=bundle.name
  2662. log4j.appender.sift.default=karaf
  2663. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2664. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2665. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2666. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2667. log4j.appender.sift.appender.append=true
  2668.  
  2669. # Log level config added by puppet-opendaylight
  2670. log4j.logger.org.opendaylight.ovsdb = TRACE
  2671.  
  2672. # Log level config added by puppet-opendaylight
  2673. log4j.logger.org.opendaylight.ovsdb.lib = INFO
  2674. 
  2675. centos-7-docker executed in 0.05 seconds
  2676.  should match /# Log level config added by puppet-opendaylight/
  2677. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2678. 
  2679. centos-7-docker 18:40:11$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2680. 
  2681. centos-7-docker executed in 0.04 seconds
  2682.  should be file
  2683. 
  2684. centos-7-docker 18:40:11$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2685.  odl
  2686. 
  2687. centos-7-docker executed in 0.04 seconds
  2688.  should be owned by "odl"
  2689. 
  2690. centos-7-docker 18:40:11$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2691.  odl
  2692. 
  2693. centos-7-docker executed in 0.05 seconds
  2694.  should be grouped into "odl"
  2695. content
  2696. 
  2697. centos-7-docker 18:40:11$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2698.  ################################################################################
  2699. #
  2700. # Licensed to the Apache Software Foundation (ASF) under one or more
  2701. # contributor license agreements. See the NOTICE file distributed with
  2702. # this work for additional information regarding copyright ownership.
  2703. # The ASF licenses this file to You under the Apache License, Version 2.0
  2704. # (the "License"); you may not use this file except in compliance with
  2705. # the License. You may obtain a copy of the License at
  2706. #
  2707. # http://www.apache.org/licenses/LICENSE-2.0
  2708. #
  2709. # Unless required by applicable law or agreed to in writing, software
  2710. # distributed under the License is distributed on an "AS IS" BASIS,
  2711. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2712. # See the License for the specific language governing permissions and
  2713. # limitations under the License.
  2714. #
  2715. ################################################################################
  2716.  
  2717. # Root logger
  2718. log4j.rootLogger=INFO, async, osgi:*
  2719. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2720.  
  2721. # CONSOLE appender not used by default
  2722. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2723. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2724. 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
  2725.  
  2726. # Async appender forwarding to file appender
  2727. log4j.appender.async=org.apache.log4j.AsyncAppender
  2728. log4j.appender.async.appenders=out
  2729.  
  2730. # File appender
  2731. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2732. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2733. 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
  2734. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2735. log4j.appender.out.append=true
  2736. log4j.appender.out.maxFileSize=1MB
  2737. log4j.appender.out.maxBackupIndex=10
  2738.  
  2739. # Sift appender
  2740. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2741. log4j.appender.sift.key=bundle.name
  2742. log4j.appender.sift.default=karaf
  2743. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2744. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2745. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2746. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2747. log4j.appender.sift.appender.append=true
  2748.  
  2749. # Log level config added by puppet-opendaylight
  2750. log4j.logger.org.opendaylight.ovsdb = TRACE
  2751.  
  2752. # Log level config added by puppet-opendaylight
  2753. log4j.logger.org.opendaylight.ovsdb.lib = INFO
  2754. 
  2755. centos-7-docker executed in 0.04 seconds
  2756.  should match /^log4j.logger.org.opendaylight.ovsdb = TRACE/
  2757. File "/opt/opendaylight/etc/org.ops4j.pax.logging.cfg"
  2758. 
  2759. centos-7-docker 18:40:11$ /bin/sh -c test\ -f\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2760. 
  2761. centos-7-docker executed in 0.04 seconds
  2762.  should be file
  2763. 
  2764. centos-7-docker 18:40:11$ /bin/sh -c stat\ -c\ \%U\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2765.  odl
  2766. 
  2767. centos-7-docker executed in 0.05 seconds
  2768.  should be owned by "odl"
  2769. 
  2770. centos-7-docker 18:40:11$ /bin/sh -c stat\ -c\ \%G\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ \|\ grep\ --\ \\\^odl\\\$
  2771.  odl
  2772. 
  2773. centos-7-docker executed in 0.05 seconds
  2774.  should be grouped into "odl"
  2775. content
  2776. 
  2777. centos-7-docker 18:40:11$ /bin/sh -c cat\ /opt/opendaylight/etc/org.ops4j.pax.logging.cfg\ 2\>\ /dev/null\ \|\|\ echo\ -n
  2778.  ################################################################################
  2779. #
  2780. # Licensed to the Apache Software Foundation (ASF) under one or more
  2781. # contributor license agreements. See the NOTICE file distributed with
  2782. # this work for additional information regarding copyright ownership.
  2783. # The ASF licenses this file to You under the Apache License, Version 2.0
  2784. # (the "License"); you may not use this file except in compliance with
  2785. # the License. You may obtain a copy of the License at
  2786. #
  2787. # http://www.apache.org/licenses/LICENSE-2.0
  2788. #
  2789. # Unless required by applicable law or agreed to in writing, software
  2790. # distributed under the License is distributed on an "AS IS" BASIS,
  2791. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  2792. # See the License for the specific language governing permissions and
  2793. # limitations under the License.
  2794. #
  2795. ################################################################################
  2796.  
  2797. # Root logger
  2798. log4j.rootLogger=INFO, async, osgi:*
  2799. log4j.throwableRenderer=org.apache.log4j.OsgiThrowableRenderer
  2800.  
  2801. # CONSOLE appender not used by default
  2802. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  2803. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  2804. 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
  2805.  
  2806. # Async appender forwarding to file appender
  2807. log4j.appender.async=org.apache.log4j.AsyncAppender
  2808. log4j.appender.async.appenders=out
  2809.  
  2810. # File appender
  2811. log4j.appender.out=org.apache.log4j.RollingFileAppender
  2812. log4j.appender.out.layout=org.apache.log4j.PatternLayout
  2813. 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
  2814. log4j.appender.out.file=${karaf.data}/log/karaf.log
  2815. log4j.appender.out.append=true
  2816. log4j.appender.out.maxFileSize=1MB
  2817. log4j.appender.out.maxBackupIndex=10
  2818.  
  2819. # Sift appender
  2820. log4j.appender.sift=org.apache.log4j.sift.MDCSiftingAppender
  2821. log4j.appender.sift.key=bundle.name
  2822. log4j.appender.sift.default=karaf
  2823. log4j.appender.sift.appender=org.apache.log4j.FileAppender
  2824. log4j.appender.sift.appender.layout=org.apache.log4j.PatternLayout
  2825. log4j.appender.sift.appender.layout.ConversionPattern=%d{ISO8601} | %-5.5p | %-16.16t | %-32.32c{1} | %m%n
  2826. log4j.appender.sift.appender.file=${karaf.data}/log/$\\{bundle.name\\}.log
  2827. log4j.appender.sift.appender.append=true
  2828.  
  2829. # Log level config added by puppet-opendaylight
  2830. log4j.logger.org.opendaylight.ovsdb = TRACE
  2831.  
  2832. # Log level config added by puppet-opendaylight
  2833. log4j.logger.org.opendaylight.ovsdb.lib = INFO
  2834. 
  2835. centos-7-docker executed in 0.05 seconds
  2836.  should match /^log4j.logger.org.opendaylight.ovsdb.lib = INFO/
  2837. testing odl username/password
  2838. using default username/password
  2839. using default log levels
  2840. 
  2841. centos-7-docker 18:40:11$ mktemp -t apply_manifest.pp.XXXXXX
  2842.  /tmp/apply_manifest.pp.bM6mII
  2843. 
  2844. centos-7-docker executed in 0.04 seconds
  2845. localhost $ scp /tmp/beaker20170413-5494-muln00 centos-7-docker:/tmp/apply_manifest.pp.bM6mII {:ignore => }
  2846. 
  2847. centos-7-docker 18:40:12$ puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.bM6mII
  2848.  Info: Loading facts
  2849.  Info: Loading facts
  2850.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.24 seconds
  2851.  Info: Applying configuration version '1492123213'
  2852.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  2853.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2854.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum 3a24173e7756979f27e165de546b51d3
  2855.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}3a24173e7756979f27e165de546b51d3' to '{md5}711ef6390bfff3e696dec1e89a72fec6'
  2856.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2857.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2858.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  2859.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  2860.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2861.  Notice: Finished catalog run in 0.16 seconds
  2862. 
  2863. centos-7-docker executed in 2.05 seconds
  2864. Exited: 6
  2865.  should work idempotently with no errors (FAILED - 15)
  2866. File "/opt/opendaylight/idmlight.db.mv.db"
  2867. 
  2868. centos-7-docker 18:40:14$ /bin/sh -c test\ -f\ /opt/opendaylight/idmlight.db.mv.db
  2869. 
  2870. centos-7-docker executed in 0.04 seconds
  2871. Exited: 1
  2872.  should be file (FAILED - 16)
  2873. Command "curl -o /dev/null --fail --silent --head -u admin:admin http://127.0.0.1:8080/restconf"
  2874. exit_status
  2875. 
  2876. centos-7-docker 18:40:14$ /bin/sh -c curl\ -o\ /dev/null\ --fail\ --silent\ --head\ -u\ admin:admin\ http://127.0.0.1:8080/restconf
  2877. 
  2878. centos-7-docker executed in 0.05 seconds
  2879. Exited: 7
  2880.  should eq 0 (FAILED - 17)
  2881. ssh connection to centos-7-docker has been terminated
  2882. Cleaning up docker
  2883. stop container 8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d
  2884. post
  2885. /v1.16/containers/8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d/stop
  2886. {}
  2887. {}
  2888. delete container 8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d
  2889. delete
  2890. /v1.16/containers/8555af04bc4d217d102269f6fcbf5e4d58d59a6cfbef87144dfeff1e51c3553d
  2891. {}
  2892.  
  2893. delete image 3280382d3e22
  2894. delete
  2895. /v1.16/images/3280382d3e22
  2896. {}
  2897.  
  2898. 
  2899. Failures:
  2900.  
  2901. 1) opendaylight class testing install methods should work idempotently with no errors
  2902. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2903. Beaker::Host::CommandFailure:
  2904.  Host 'centos-7-docker' exited with 6 running:
  2905.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.VRdvq3
  2906.  Last 10 lines of output were:
  2907.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  2908.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum f067abc0d5c572ae41af635ec32362c7
  2909.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}f067abc0d5c572ae41af635ec32362c7' to '{md5}711ef6390bfff3e696dec1e89a72fec6'
  2910.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2911.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2912.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  2913.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  2914.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2915.  Info: Creating state file /var/lib/puppet/state/state.yaml
  2916.  Notice: Finished catalog run in 54.62 seconds
  2917.  
  2918. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  2919. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2920. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2921. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2922. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2923. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2924. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2925. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2926. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2927. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2928. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  2929.  
  2930. 2) opendaylight class testing install methods Service "opendaylight" should be enabled
  2931. Failure/Error: it { should be_enabled }
  2932.  expected Service "opendaylight" to be enabled
  2933.  
  2934. # ./spec/spec_helper_acceptance.rb:118:in `block (2 levels) in generic_validations'
  2935.  
  2936. 3) opendaylight class testing install methods Service "opendaylight" should be enabled with level 3
  2937. Failure/Error: it { should be_enabled.with_level(3) }
  2938.  expected Service "opendaylight" to be enabled with level 3
  2939.  
  2940. # ./spec/spec_helper_acceptance.rb:119:in `block (2 levels) in generic_validations'
  2941.  
  2942. 4) opendaylight class testing install methods Service "opendaylight" should be running under systemd
  2943. Failure/Error: it { should be_running.under('systemd') }
  2944.  expected Service "opendaylight" to be running under systemd
  2945.  
  2946. # ./spec/spec_helper_acceptance.rb:120:in `block (2 levels) in generic_validations'
  2947.  
  2948. 5) opendaylight class testing install methods Process "java" should be running
  2949. Failure/Error: it { should be_running }
  2950.  expected Process "java" to be running
  2951.  
  2952. # ./spec/spec_helper_acceptance.rb:149:in `block (2 levels) in generic_validations'
  2953.  
  2954. 6) opendaylight class testing Karaf config file using default features and not passing extra features should work idempotently with no errors
  2955. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2956. Beaker::Host::CommandFailure:
  2957.  Host 'centos-7-docker' exited with 4 running:
  2958.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.NqghBy
  2959.  Last 10 lines of output were:
  2960.  Info: Loading facts
  2961.  Info: Loading facts
  2962.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.23 seconds
  2963.  Info: Applying configuration version '1492123191'
  2964.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  2965.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  2966.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  2967.  Notice: Finished catalog run in 0.08 seconds
  2968.  
  2969. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  2970. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  2971. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2972. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2973. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  2974. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  2975. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  2976. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  2977. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  2978. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  2979. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  2980.  
  2981. 7) opendaylight class testing Karaf config file using default features and passing extra features should work idempotently with no errors
  2982. Failure/Error: apply_manifest(pp, :catch_failures => true)
  2983. Beaker::Host::CommandFailure:
  2984.  Host 'centos-7-docker' exited with 6 running:
  2985.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.yHFBCo
  2986.  Last 10 lines of output were:
  2987.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.22 seconds
  2988.  Info: Applying configuration version '1492123194'
  2989.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  2990.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  2991.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  2992.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  2993.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  2994.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  2995.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  2996.  Notice: Finished catalog run in 0.11 seconds
  2997.  
  2998. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  2999. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3000. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3001. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3002. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3003. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3004. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3005. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3006. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3007. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3008. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3009.  
  3010. 8) opendaylight class testing Karaf config file overriding default features and not passing extra features should work idempotently with no errors
  3011. Failure/Error: apply_manifest(pp, :catch_failures => true)
  3012. Beaker::Host::CommandFailure:
  3013.  Host 'centos-7-docker' exited with 6 running:
  3014.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.VfqSh6
  3015.  Last 10 lines of output were:
  3016.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.22 seconds
  3017.  Info: Applying configuration version '1492123196'
  3018.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  3019.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  3020.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  3021.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  3022.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  3023.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  3024.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  3025.  Notice: Finished catalog run in 0.09 seconds
  3026.  
  3027. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  3028. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3029. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3030. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3031. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3032. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3033. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3034. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3035. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3036. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3037. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3038.  
  3039. 9) opendaylight class testing Karaf config file overriding default features and passing extra features should work idempotently with no errors
  3040. Failure/Error: apply_manifest(pp, :catch_failures => true)
  3041. Beaker::Host::CommandFailure:
  3042.  Host 'centos-7-docker' exited with 6 running:
  3043.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.4l8sic
  3044.  Last 10 lines of output were:
  3045.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.24 seconds
  3046.  Info: Applying configuration version '1492123198'
  3047.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  3048.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  3049.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  3050.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  3051.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  3052.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  3053.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  3054.  Notice: Finished catalog run in 0.09 seconds
  3055.  
  3056. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  3057. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3058. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3059. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3060. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3061. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3062. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3063. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3064. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3065. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3066. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3067.  
  3068. 10) opendaylight class testing REST port config file using default port should work idempotently with no errors
  3069. Failure/Error: apply_manifest(pp, :catch_failures => true)
  3070. Beaker::Host::CommandFailure:
  3071.  Host 'centos-7-docker' exited with 6 running:
  3072.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.57iRiN
  3073.  Last 10 lines of output were:
  3074.  Notice: Compiled catalog for centos-7-docker.rdu.redhat.com in environment production in 0.24 seconds
  3075.  Info: Applying configuration version '1492123200'
  3076.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  3077.  Notice: /Stage[main]/Opendaylight::Config/File_line[featuresBoot]/ensure: created
  3078.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  3079.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  3080.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  3081.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  3082.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  3083.  Notice: Finished catalog run in 0.09 seconds
  3084.  
  3085. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  3086. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3087. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3088. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3089. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3090. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3091. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3092. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3093. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3094. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3095. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3096.  
  3097. 11) opendaylight class testing REST port config file overriding default port should work idempotently with no errors
  3098. Failure/Error: apply_manifest(pp, :catch_failures => true)
  3099. Beaker::Host::CommandFailure:
  3100.  Host 'centos-7-docker' exited with 6 running:
  3101.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.sP38jC
  3102.  Last 10 lines of output were:
  3103.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  3104.  Info: Computing checksum on file /opt/opendaylight/etc/jetty.xml
  3105.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum e9fb34e252734115abb355b035071d25
  3106.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}e9fb34e252734115abb355b035071d25' to '{md5}f1f7940beb0c2682868e353ce063500e'
  3107.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  3108.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  3109.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  3110.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  3111.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  3112.  Notice: Finished catalog run in 0.11 seconds
  3113.  
  3114. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  3115. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3116. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3117. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3118. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3119. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3120. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3121. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3122. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3123. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3124. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3125.  
  3126. 12) opendaylight class testing custom logging verbosity using default log levels should work idempotently with no errors
  3127. Failure/Error: apply_manifest(pp, :catch_failures => true)
  3128. Beaker::Host::CommandFailure:
  3129.  Host 'centos-7-docker' exited with 6 running:
  3130.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.Q3KdjL
  3131.  Last 10 lines of output were:
  3132.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  3133.  Info: Computing checksum on file /opt/opendaylight/etc/jetty.xml
  3134.  Info: /Stage[main]/Opendaylight::Config/File[jetty.xml]: Filebucketed /opt/opendaylight/etc/jetty.xml to puppet with sum f1f7940beb0c2682868e353ce063500e
  3135.  Notice: /Stage[main]/Opendaylight::Config/File[jetty.xml]/content: content changed '{md5}f1f7940beb0c2682868e353ce063500e' to '{md5}e9fb34e252734115abb355b035071d25'
  3136.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  3137.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  3138.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  3139.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  3140.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  3141.  Notice: Finished catalog run in 0.11 seconds
  3142.  
  3143. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  3144. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3145. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3146. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3147. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3148. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3149. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3150. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3151. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3152. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3153. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3154.  
  3155. 13) opendaylight class testing custom logging verbosity adding one custom log level should work idempotently with no errors
  3156. Failure/Error: apply_manifest(pp, :catch_failures => true)
  3157. Beaker::Host::CommandFailure:
  3158.  Host 'centos-7-docker' exited with 6 running:
  3159.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.znI7CU
  3160.  Last 10 lines of output were:
  3161.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  3162.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  3163.  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
  3164.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}711ef6390bfff3e696dec1e89a72fec6' to '{md5}2a64114490e14e9e20a33a9bac3d5bf0'
  3165.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  3166.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  3167.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  3168.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  3169.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  3170.  Notice: Finished catalog run in 0.10 seconds
  3171.  
  3172. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  3173. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3174. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3175. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3176. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3177. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3178. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3179. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3180. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3181. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3182. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3183.  
  3184. 14) opendaylight class testing custom logging verbosity adding two custom log level should work idempotently with no errors
  3185. Failure/Error: apply_manifest(pp, :catch_failures => true)
  3186. Beaker::Host::CommandFailure:
  3187.  Host 'centos-7-docker' exited with 6 running:
  3188.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.t7Zhoi
  3189.  Last 10 lines of output were:
  3190.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  3191.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  3192.  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
  3193.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}2a64114490e14e9e20a33a9bac3d5bf0' to '{md5}3a24173e7756979f27e165de546b51d3'
  3194.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  3195.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  3196.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  3197.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  3198.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  3199.  Notice: Finished catalog run in 0.11 seconds
  3200.  
  3201. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  3202. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3203. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3204. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3205. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3206. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3207. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3208. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3209. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3210. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3211. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3212.  
  3213. 15) opendaylight class testing odl username/password using default username/password using default log levels should work idempotently with no errors
  3214. Failure/Error: apply_manifest(pp, :catch_failures => true)
  3215. Beaker::Host::CommandFailure:
  3216.  Host 'centos-7-docker' exited with 6 running:
  3217.  puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.bM6mII
  3218.  Last 10 lines of output were:
  3219.  Error: /Stage[main]/Opendaylight::Config/Odl_user[admin]: Could not evaluate: Execution of '/usr/bin/java -jar /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar --dbd /opt/opendaylight -l' returned 1: Error: Unable to access jarfile /opt/opendaylight/bin/aaa-cli-jar-0.5.0-SNAPSHOT.jar
  3220.  Info: Computing checksum on file /opt/opendaylight/etc/org.ops4j.pax.logging.cfg
  3221.  Info: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]: Filebucketed /opt/opendaylight/etc/org.ops4j.pax.logging.cfg to puppet with sum 3a24173e7756979f27e165de546b51d3
  3222.  Notice: /Stage[main]/Opendaylight::Config/File[org.ops4j.pax.logging.cfg]/content: content changed '{md5}3a24173e7756979f27e165de546b51d3' to '{md5}711ef6390bfff3e696dec1e89a72fec6'
  3223.  Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
  3224.  Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
  3225.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Dependency Odl_user[admin] has failures: true
  3226.  Warning: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Skipping because of failed dependencies
  3227.  Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
  3228.  Notice: Finished catalog run in 0.16 seconds
  3229.  
  3230. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/host.rb:373:in `exec'
  3231. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:83:in `block in on'
  3232. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3233. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3234. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
  3235. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:504:in `block in apply_manifest_on'
  3236. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/shared/host_manager.rb:127:in `run_block_on'
  3237. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/patterns.rb:37:in `block_on'
  3238. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:433:in `apply_manifest_on'
  3239. # /home/daniel/.gem/ruby/gems/beaker-3.13.0/lib/beaker/dsl/helpers/puppet_helpers.rb:511:in `apply_manifest'
  3240. # ./spec/spec_helper_acceptance.rb:96:in `block in install_odl'
  3241.  
  3242. 16) opendaylight class testing odl username/password using default username/password using default log levels File "/opt/opendaylight/idmlight.db.mv.db" should be file
  3243. Failure/Error: it { should be_file }
  3244.  expected `File "/opt/opendaylight/idmlight.db.mv.db".file?` to return true, got false
  3245.  
  3246. # ./spec/spec_helper_acceptance.rb:348:in `block (2 levels) in username_password_validations'
  3247.  
  3248. 17) opendaylight class testing odl username/password using default username/password using default log levels Command "curl -o /dev/null --fail --silent --head -u admin:admin http://127.0.0.1:8080/restconf" exit_status should eq 0
  3249. Failure/Error: its(:exit_status) { should eq 0 }
  3250.  
  3251.  expected: 0
  3252.  got: 7
  3253.  
  3254.  (compared using ==)
  3255.  
  3256. # ./spec/spec_helper_acceptance.rb:352:in `block (2 levels) in username_password_validations'
  3257.  
  3258. Finished in 1 minute 38.53 seconds (files took 52.66 seconds to load)
  3259. 96 examples, 17 failures
  3260.  
  3261. Failed examples:
  3262.  
  3263. rspec './spec/acceptance/class_spec.rb[1:1:1]' # opendaylight class testing install methods should work idempotently with no errors
  3264. rspec './spec/acceptance/class_spec.rb[1:1:3:1]' # opendaylight class testing install methods Service "opendaylight" should be enabled
  3265. rspec './spec/acceptance/class_spec.rb[1:1:3:2]' # opendaylight class testing install methods Service "opendaylight" should be enabled with level 3
  3266. rspec './spec/acceptance/class_spec.rb[1:1:3:3]' # opendaylight class testing install methods Service "opendaylight" should be running under systemd
  3267. rspec './spec/acceptance/class_spec.rb[1:1:7:1]' # opendaylight class testing install methods Process "java" should be running
  3268. 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
  3269. 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
  3270. 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
  3271. 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
  3272. 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
  3273. 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
  3274. 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
  3275. 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
  3276. 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
  3277. rspec './spec/acceptance/class_spec.rb[1:5:1:1:1]' # opendaylight class testing odl username/password using default username/password using default log levels should work idempotently with no errors
  3278. rspec './spec/acceptance/class_spec.rb[1:5:1:1:2:1]' # opendaylight class testing odl username/password using default username/password using default log levels File "/opt/opendaylight/idmlight.db.mv.db" should be file
  3279. rspec './spec/acceptance/class_spec.rb[1:5:1:1:3:1:1]' # opendaylight class testing odl username/password using default username/password using default log levels Command "curl -o /dev/null --fail --silent --head -u admin:admin http://127.0.0.1:8080/restconf" exit_status should eq 0
  3280.  
  3281. /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
  3282. rake aborted!
  3283. Command failed with status (1): [RS_SET=centos-7-docker INSTALL_METHOD=rpm ...]
  3284. /home/daniel/puppet-opendaylight/Rakefile:75:in `block in <top (required)>'
  3285. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli/exec.rb:63:in `load'
  3286. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli/exec.rb:63:in `kernel_load'
  3287. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli/exec.rb:24:in `run'
  3288. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli.rb:304:in `exec'
  3289. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  3290. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  3291. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
  3292. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
  3293. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/cli.rb:11:in `start'
  3294. /home/daniel/.gem/ruby/gems/bundler-1.12.5/exe/bundle:27:in `block in <top (required)>'
  3295. /home/daniel/.gem/ruby/gems/bundler-1.12.5/lib/bundler/friendly_errors.rb:98:in `with_friendly_errors'
  3296. /home/daniel/.gem/ruby/gems/bundler-1.12.5/exe/bundle:19:in `<top (required)>'
  3297. /home/daniel/bin/bundle:23:in `load'
  3298. /home/daniel/bin/bundle:23:in `<main>'
  3299. Tasks: TOP => sanity => cent_6test_dock
  3300. (See full trace by running task with --trace)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement