puppetlabs / puppet-dev-tools

Puppet development tools in a Docker image
Apache License 2.0
12 stars 25 forks source link

Issue running Onceover within puppet-dev-tools #105

Open jortencio opened 2 years ago

jortencio commented 2 years ago

Describe the Bug

There seems to be an issue running onceover within the puppet-dev-tools container. The classes being tested cannot be found.

Also described here: https://github.com/dylanratcliffe/onceover/issues/317

Expected Behavior

I expected the onceover tests to run using the suggested method in documentation: `docker run --rm -v $(pwd):/repo puppet/puppet-dev-tools:latest \ /bin/bash -c "bundle install && bundle exec onceover run spec --force --trace --parallel"

With an expected output similar to:

image

Steps to reproduce the behavior:

  1. Run the following docker command: docker run --rm -u puppetdev -v ~/Projects/control-repo:/repo puppet/puppet-dev-tools:4.x /bin/bash -c "gem install bundler:2.2.29 && bundle install && bundle exec onceover run spec"

  2. This results in the following output: image

Environment

Additional Context

I found this issue while trying to run a onceover job on Puppet CD4PE (4.9.1-Beta) in a Docker container