cyberark / conjur-puppet

Official Puppet module for CyberArk Conjur
https://forge.puppet.com/cyberark/conjur
Apache License 2.0
6 stars 3 forks source link

Fix build issues of test container #246

Closed sgnn7 closed 3 years ago

sgnn7 commented 3 years ago

Summary

Currently, tests for this repository fail due to a dependency that fails to install via PDK:

13:08:46  An error occurred while installing http-parser (1.2.2), and Bundler cannot
13:08:46  continue.
13:08:46  Make sure that `gem install http-parser -v '1.2.2' --source
13:08:46  'https://rubygems.org/'` succeeds before bundling.
13:08:46  
13:08:46  In Gemfile:
13:08:46    puppet-module-posix-dev-r2.5 was resolved to 0.5.3, which depends on
13:08:46      puppet_litmus was resolved to 0.18.4, which depends on
13:08:46        rspec_honeycomb_formatter was resolved to 0.2.1, which depends on
13:08:46          honeycomb-beeline was resolved to 2.3.0, which depends on
13:08:46            libhoney was resolved to 1.15.0, which depends on
13:08:46              http was resolved to 4.4.1, which depends on
13:08:46                http-parser

~There are no upstream bugs filed yet but pinning puppet-module-posix-dev-r2.5 to 0.5.0 made tests pass locally.~

Steps to Reproduce

  1. Do a clean checkout of the repository
  2. Run ./scripts/build.sh
  3. Run ./scripts/test.sh
  4. See error

Expected Results

Passing tests

Actual Results (including error logs, if applicable)

Error

Reproducible

Version/Tag number

v3.1.0

Environment setup

Local macOS and also Jenkins

Additional Information

Upstream bug needs to be filed somewhere to alert the maintainers besides just fixing it just for this repo.

sgnn7 commented 3 years ago

Upstream bug filed: https://github.com/puppetlabs/puppet-module-gems/issues/154

sgnn7 commented 3 years ago

Further findings: https://github.com/puppetlabs/puppet-module-gems/issues/154#issuecomment-731444473. Looks to be some issue with PDK docker image and gem cache breaking.