Open jessereynolds opened 3 years ago
I can't reproduce this on a more vanilla control-repo so it seems specific to this particular control-repo or its test environment. Test environment is:
Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
backticks (1.0.2)
blockenspiel (0.5.0)
colored (1.2)
colored2 (3.1.2)
concurrent-ruby (1.1.8)
cri (2.15.11)
deep_merge (1.2.1)
diff-lcs (1.4.4)
facter (4.0.51)
hocon (~> 1.3)
thor (>= 1.0.1, < 2.0)
faraday (0.17.4)
multipart-post (>= 1.2, < 3)
faraday_middleware (0.14.0)
faraday (>= 0.7.4, < 1.0)
fast_gettext (1.1.2)
gettext (3.2.9)
locale (>= 2.0.5)
text (>= 1.3.0)
gettext-setup (0.34)
fast_gettext (~> 1.1.0)
gettext (>= 3.0.2, < 3.3.0)
locale
git (1.8.1)
rchardet (~> 1.8)
hiera (3.6.0)
hocon (1.3.1)
httpclient (2.8.3)
little-plugger (1.1.4)
locale (2.1.3)
log4r (1.1.10)
logging (2.3.0)
little-plugger (~> 1.1)
multi_json (~> 1.14)
minitar (0.9)
mocha (1.12.0)
multi_json (1.15.0)
multipart-post (2.1.1)
onceover (3.19.1)
backticks (>= 1.0.2)
colored (~> 1.2)
cri (>= 2.6)
deep_merge (>= 1.0.0)
git
logging (>= 2.0.0)
multi_json (~> 1.10)
parallel_tests (>= 2.0.0)
puppet (>= 4.0)
puppetlabs_spec_helper (>= 0.4.0)
r10k (>= 2.1.0)
rake (>= 10.0.0)
rspec (>= 3.0.0)
rspec-puppet (>= 2.4.0)
rspec_junit_formatter (>= 0.2.0)
terminal-table (>= 1.8.0)
versionomy (>= 0.5.0)
parallel (1.20.1)
parallel_tests (3.4.0)
parallel
pathspec (0.2.1)
puppet (6.21.0)
concurrent-ruby (~> 1.0)
deep_merge (~> 1.0)
facter (>= 2.4.0, < 5)
fast_gettext (~> 1.1)
hiera (>= 3.2.1, < 4)
httpclient (~> 2.8)
locale (~> 2.1)
multi_json (~> 1.13)
semantic_puppet (~> 1.0)
puppet-lint (2.4.2)
puppet-syntax (3.1.0)
puppet (>= 5)
rake
puppet_forge (2.3.4)
faraday (>= 0.9.0, < 0.18.0, != 0.13.1)
faraday_middleware (>= 0.9.0, < 0.15.0)
gettext-setup (~> 0.11)
minitar
semantic_puppet (~> 1.0)
puppetlabs_spec_helper (3.0.0)
mocha (~> 1.0)
pathspec (>= 0.2.1, < 1.1.0)
puppet-lint (~> 2.0)
puppet-syntax (>= 2.0, < 4)
rspec-puppet (~> 2.0)
r10k (3.7.0)
colored2 (= 3.1.2)
cri (>= 2.15.10, < 3.0.0)
fast_gettext (~> 1.1.0)
gettext (>= 3.0.2, < 3.3.0)
gettext-setup (~> 0.24)
log4r (= 1.1.10)
multi_json (~> 1.10)
puppet_forge (~> 2.3.0)
rake (12.3.3)
rchardet (1.8.0)
rspec (3.10.0)
rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0)
rspec-mocks (~> 3.10.0)
rspec-core (3.10.1)
rspec-support (~> 3.10.0)
rspec-expectations (3.10.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-mocks (3.10.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-puppet (2.8.0)
rspec
rspec-support (3.10.2)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
semantic_puppet (1.0.3)
terminal-table (3.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
text (1.3.1)
thor (1.1.0)
unicode-display_width (1.7.0)
versionomy (0.5.0)
blockenspiel (~> 0.5)
PLATFORMS
x86_64-linux
DEPENDENCIES
onceover (= 3.19.1)
puppet (= 6.21.0)
rake (= 12.3.3)
BUNDLED WITH
2.2.10
The error that I get when I switch onceover back to 3.19.0 is:
role::foo: failed
errors:
error during compilation: Evaluation Error: Error while evaluating a Function Call, Class[Splunk_uf]:
expects a value for parameter 'deployment_server_name'
expects a value for parameter 'admin_password'
expects a value for parameter 'deployment_client_name_prefix' (file: /onceover/.onceover/etc/puppetlabs/code/environments/p
source "https://rubygems.org"
roduction/site-modules/role/manifests/damha621.pp, line: 17, column: 3) on node 4d6ab05ddbcf
factsets: foo.example
Reproduced this with the ruby25 (debian based) docker container also.
I have found that facter 4 seems to be the common element in turning up this bug. If facter is set to 3.x or 2.x then the problem goes away.
When a catalog compilation failure occurs, onceover hits an exception in
gems/logging-2.3.0/lib/logging/appenders/console.rb
while trying to present a friendly error message. The error in full:once more with stack trace:
Reverting to version 3.19.0 fixes this