Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODL service not starting for Ubuntu 14.04 #88

Open
dfarrell07 opened this issue Dec 1, 2015 · 1 comment
Open

ODL service not starting for Ubuntu 14.04 #88

dfarrell07 opened this issue Dec 1, 2015 · 1 comment

Comments

@dfarrell07
Copy link
Owner

Using the new Docker-based Beaker tests for Ubuntu 14.04

[~/puppet-opendaylight]$ bundle exec rake ubuntu_1404_docker

Everything seems to work except for starting ODL's service via Upstart.

Failures:

  1) opendaylight class testing install methods should work idempotently with no errors
     Failure/Error: apply_manifest(pp, :catch_failures => true)
     Beaker::Host::CommandFailure:
       Host 'ubuntu-1404-docker' exited with 6 running:
        puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest.pp.KRCklq
       Last 10 lines of output were:
        Info: /Stage[main]/Opendaylight::Config/File[org.apache.karaf.features.cfg]: Filebucketed /opt/opendaylight/etc/org.apache.karaf.features.cfg to puppet with sum 2a4fb152cf5561dfca0ffec6de946602
        Notice: /Stage[main]/Opendaylight::Config/File[org.apache.karaf.features.cfg]/content: content changed '{md5}2a4fb152cf5561dfca0ffec6de946602' to '{md5}a6974cc13166b3e24a819a4ba9158067'
        Notice: /Stage[main]/Opendaylight::Config/File[org.apache.karaf.features.cfg]/owner: owner changed 'root' to 'odl'
        Notice: /Stage[main]/Opendaylight::Config/File[org.apache.karaf.features.cfg]/group: group changed 'root' to 'odl'
        Info: Class[Opendaylight::Config]: Scheduling refresh of Class[Opendaylight::Service]
        Info: Class[Opendaylight::Service]: Scheduling refresh of Service[opendaylight]
        Error: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Could not evaluate: undefined method `[]' for nil:NilClass
        Notice: /Stage[main]/Opendaylight::Service/Service[opendaylight]: Triggered 'refresh' from 1 events
        Info: Creating state file /var/lib/puppet/state/state.yaml
        Notice: Finished catalog run in 601.72 seconds

     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/host.rb:311:in `exec'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/dsl/helpers/host_helpers.rb:73:in `block in on'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/shared/host_manager.rb:115:in `run_block_on'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/dsl/patterns.rb:35:in `block_on'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/dsl/helpers/host_helpers.rb:63:in `on'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/dsl/helpers/puppet_helpers.rb:469:in `block in apply_manifest_on'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/shared/host_manager.rb:115:in `run_block_on'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/dsl/patterns.rb:35:in `block_on'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/dsl/helpers/puppet_helpers.rb:398:in `apply_manifest_on'
     # /home/daniel/.gem/ruby/gems/beaker-2.29.1/lib/beaker/dsl/helpers/puppet_helpers.rb:476:in `apply_manifest'
     # ./spec/spec_helper_acceptance.rb:72:in `block in install_odl'

  2) opendaylight class testing install methods Service "opendaylight" should be running
     Failure/Error: it { should be_running }
       expected Service "opendaylight" to be running

     # ./spec/spec_helper_acceptance.rb:97:in `block (2 levels) in generic_validations'

  3) opendaylight class testing install methods Process "java" should be running
     Failure/Error: it { should be_running }
       expected Process "java" to be running

     # ./spec/spec_helper_acceptance.rb:126:in `block (2 levels) in generic_validations'
dfarrell07 added a commit that referenced this issue Dec 4, 2015
Add Beaker system tests for Ubuntu 14.04 using Docker.

Note that the ODL Upstart service doesn't currently start, which causes
test failures. This is tracked by #88.

Signed-off-by: Daniel Farrell <[email protected]>
@srisankethu
Copy link
Contributor

#116 should cover this 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants