Last active
August 20, 2018 11:34
-
-
Save baurmatt/b76e05c1a8d4e693e04a0adea65cacc7 to your computer and use it in GitHub Desktop.
Puppet rspec error "Could not find the daemon directory" - Gitlab-CI Log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running with gitlab-runner 11.1.0 (081978aa) | |
on shared_runner_small_multi 547bb737 | |
Using Docker executor with image ruby:2.4 ... | |
Pulling docker image ruby:2.4 ... | |
Using docker image sha256:a0ef7ec8476f5f49be26c7630ecc6ae8f9265382a06a6b3b5129a842880e4205 for ruby:2.4 ... | |
Running on runner-547bb737-project-47-concurrent-0 via runner-547bb737-gitlabci-small-multi-1534500260-0c7648c0... | |
Fetching changes... | |
Removing build/ | |
Removing modules/sys11elasticsearch/.kitchen/ | |
HEAD is now at 833295f5 pp-5599 - Delete old nagios/icinga1 stuff | |
From https://gitlab.example.org/puppet-manifests/company-base | |
+ 7f97c6a5...7421550f pp-5655 -> origin/pp-5655 (forced update) | |
Checking out 7421550f as pp-5655... | |
Skipping Git submodules setup | |
$ apt update | |
WARNING: apt does not have a stable CLI interface. Use with caution in scripts. | |
Ign:1 http://deb.debian.org/debian stretch InRelease | |
Get:2 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB] | |
Get:3 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB] | |
Get:4 http://deb.debian.org/debian stretch Release [118 kB] | |
Get:5 http://deb.debian.org/debian stretch Release.gpg [2434 B] | |
Get:6 http://deb.debian.org/debian stretch-updates/main amd64 Packages [5148 B] | |
Get:7 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [389 kB] | |
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7099 kB] | |
Fetched 7798 kB in 2s (3080 kB/s) | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
3 packages can be upgraded. Run 'apt list --upgradable' to see them. | |
$ apt -y install make gcc ruby ruby-dev ruby-bundler | |
WARNING: apt does not have a stable CLI interface. Use with caution in scripts. | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
gcc is already the newest version (4:6.3.0-4). | |
make is already the newest version (4.1-9.1). | |
The following additional packages will be installed: | |
fonts-lato libgmp-dev libgmpxx4ldbl libruby2.3 rake ruby-did-you-mean | |
ruby-minitest ruby-molinillo ruby-net-http-persistent ruby-net-telnet | |
ruby-power-assert ruby-test-unit ruby-thor ruby2.3 ruby2.3-dev | |
rubygems-integration unzip zip | |
Suggested packages: | |
gmp-doc libgmp10-doc libmpfr-dev ri bundler | |
The following NEW packages will be installed: | |
fonts-lato libgmp-dev libgmpxx4ldbl libruby2.3 rake ruby ruby-bundler | |
ruby-dev ruby-did-you-mean ruby-minitest ruby-molinillo | |
ruby-net-http-persistent ruby-net-telnet ruby-power-assert ruby-test-unit | |
ruby-thor ruby2.3 ruby2.3-dev rubygems-integration unzip zip | |
0 upgraded, 21 newly installed, 0 to remove and 3 not upgraded. | |
Need to get 8731 kB of archives. | |
After this operation, 36.5 MB of additional disk space will be used. | |
Get:1 http://security.debian.org/debian-security stretch/updates/main amd64 libruby2.3 amd64 2.3.3-1+deb9u3 [3108 kB] | |
Get:2 http://deb.debian.org/debian stretch/main amd64 fonts-lato all 2.0-1 [2684 kB] | |
Get:3 http://deb.debian.org/debian stretch/main amd64 libgmpxx4ldbl amd64 2:6.1.2+dfsg-1 [22.2 kB] | |
Get:4 http://deb.debian.org/debian stretch/main amd64 libgmp-dev amd64 2:6.1.2+dfsg-1 [631 kB] | |
Get:5 http://deb.debian.org/debian stretch/main amd64 rubygems-integration all 1.11 [4994 B] | |
Get:6 http://deb.debian.org/debian stretch/main amd64 ruby-did-you-mean all 1.0.0-2 [11.2 kB] | |
Get:7 http://deb.debian.org/debian stretch/main amd64 ruby-minitest all 5.9.0-1 [51.1 kB] | |
Get:8 http://deb.debian.org/debian stretch/main amd64 ruby-net-telnet all 0.1.1-2 [12.5 kB] | |
Get:9 http://deb.debian.org/debian stretch/main amd64 ruby-power-assert all 0.3.0-1 [7902 B] | |
Get:10 http://deb.debian.org/debian stretch/main amd64 ruby-test-unit all 3.1.7-2 [69.6 kB] | |
Get:11 http://deb.debian.org/debian stretch/main amd64 ruby amd64 1:2.3.3 [10.8 kB] | |
Get:12 http://deb.debian.org/debian stretch/main amd64 rake all 10.5.0-2 [49.4 kB] | |
Get:13 http://deb.debian.org/debian stretch/main amd64 ruby-molinillo all 0.5.0-2 [15.1 kB] | |
Get:14 http://deb.debian.org/debian stretch/main amd64 ruby-net-http-persistent all 2.9.4-1 [20.0 kB] | |
Get:15 http://deb.debian.org/debian stretch/main amd64 ruby-thor all 0.19.1-3 [46.5 kB] | |
Get:16 http://deb.debian.org/debian stretch/main amd64 ruby-bundler all 1.13.6-2 [205 kB] | |
Get:17 http://deb.debian.org/debian stretch/main amd64 ruby-dev amd64 1:2.3.3 [9574 B] | |
Get:18 http://deb.debian.org/debian stretch/main amd64 unzip amd64 6.0-21 [170 kB] | |
Get:19 http://deb.debian.org/debian stretch/main amd64 zip amd64 3.0-11+b1 [234 kB] | |
Get:20 http://security.debian.org/debian-security stretch/updates/main amd64 ruby2.3 amd64 2.3.3-1+deb9u3 [188 kB] | |
Get:21 http://security.debian.org/debian-security stretch/updates/main amd64 ruby2.3-dev amd64 2.3.3-1+deb9u3 [1179 kB] | |
debconf: delaying package configuration, since apt-utils is not installed | |
Fetched 8731 kB in 1s (7871 kB/s) | |
Selecting previously unselected package fonts-lato. | |
(Reading database ... | |
(Reading database ... 5% | |
(Reading database ... 10% | |
(Reading database ... 15% | |
(Reading database ... 20% | |
(Reading database ... 25% | |
(Reading database ... 30% | |
(Reading database ... 35% | |
(Reading database ... 40% | |
(Reading database ... 45% | |
(Reading database ... 50% | |
(Reading database ... 55% | |
(Reading database ... 60% | |
(Reading database ... 65% | |
(Reading database ... 70% | |
(Reading database ... 75% | |
(Reading database ... 80% | |
(Reading database ... 85% | |
(Reading database ... 90% | |
(Reading database ... 95% | |
(Reading database ... 100% | |
(Reading database ... 29375 files and directories currently installed.) | |
Preparing to unpack .../00-fonts-lato_2.0-1_all.deb ... | |
Unpacking fonts-lato (2.0-1) ... | |
Selecting previously unselected package libgmpxx4ldbl:amd64. | |
Preparing to unpack .../01-libgmpxx4ldbl_2%3a6.1.2+dfsg-1_amd64.deb ... | |
Unpacking libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-1) ... | |
Selecting previously unselected package libgmp-dev:amd64. | |
Preparing to unpack .../02-libgmp-dev_2%3a6.1.2+dfsg-1_amd64.deb ... | |
Unpacking libgmp-dev:amd64 (2:6.1.2+dfsg-1) ... | |
Selecting previously unselected package rubygems-integration. | |
Preparing to unpack .../03-rubygems-integration_1.11_all.deb ... | |
Unpacking rubygems-integration (1.11) ... | |
Selecting previously unselected package ruby-did-you-mean. | |
Preparing to unpack .../04-ruby-did-you-mean_1.0.0-2_all.deb ... | |
Unpacking ruby-did-you-mean (1.0.0-2) ... | |
Selecting previously unselected package ruby-minitest. | |
Preparing to unpack .../05-ruby-minitest_5.9.0-1_all.deb ... | |
Unpacking ruby-minitest (5.9.0-1) ... | |
Selecting previously unselected package ruby-net-telnet. | |
Preparing to unpack .../06-ruby-net-telnet_0.1.1-2_all.deb ... | |
Unpacking ruby-net-telnet (0.1.1-2) ... | |
Selecting previously unselected package ruby-power-assert. | |
Preparing to unpack .../07-ruby-power-assert_0.3.0-1_all.deb ... | |
Unpacking ruby-power-assert (0.3.0-1) ... | |
Selecting previously unselected package ruby-test-unit. | |
Preparing to unpack .../08-ruby-test-unit_3.1.7-2_all.deb ... | |
Unpacking ruby-test-unit (3.1.7-2) ... | |
Selecting previously unselected package libruby2.3:amd64. | |
Preparing to unpack .../09-libruby2.3_2.3.3-1+deb9u3_amd64.deb ... | |
Unpacking libruby2.3:amd64 (2.3.3-1+deb9u3) ... | |
Selecting previously unselected package ruby2.3. | |
Preparing to unpack .../10-ruby2.3_2.3.3-1+deb9u3_amd64.deb ... | |
Unpacking ruby2.3 (2.3.3-1+deb9u3) ... | |
Selecting previously unselected package ruby. | |
Preparing to unpack .../11-ruby_1%3a2.3.3_amd64.deb ... | |
Unpacking ruby (1:2.3.3) ... | |
Selecting previously unselected package rake. | |
Preparing to unpack .../12-rake_10.5.0-2_all.deb ... | |
Unpacking rake (10.5.0-2) ... | |
Selecting previously unselected package ruby-molinillo. | |
Preparing to unpack .../13-ruby-molinillo_0.5.0-2_all.deb ... | |
Unpacking ruby-molinillo (0.5.0-2) ... | |
Selecting previously unselected package ruby-net-http-persistent. | |
Preparing to unpack .../14-ruby-net-http-persistent_2.9.4-1_all.deb ... | |
Unpacking ruby-net-http-persistent (2.9.4-1) ... | |
Selecting previously unselected package ruby-thor. | |
Preparing to unpack .../15-ruby-thor_0.19.1-3_all.deb ... | |
Unpacking ruby-thor (0.19.1-3) ... | |
Selecting previously unselected package ruby-bundler. | |
Preparing to unpack .../16-ruby-bundler_1.13.6-2_all.deb ... | |
Unpacking ruby-bundler (1.13.6-2) ... | |
Selecting previously unselected package ruby2.3-dev:amd64. | |
Preparing to unpack .../17-ruby2.3-dev_2.3.3-1+deb9u3_amd64.deb ... | |
Unpacking ruby2.3-dev:amd64 (2.3.3-1+deb9u3) ... | |
Selecting previously unselected package ruby-dev:amd64. | |
Preparing to unpack .../18-ruby-dev_1%3a2.3.3_amd64.deb ... | |
Unpacking ruby-dev:amd64 (1:2.3.3) ... | |
Selecting previously unselected package unzip. | |
Preparing to unpack .../19-unzip_6.0-21_amd64.deb ... | |
Unpacking unzip (6.0-21) ... | |
Selecting previously unselected package zip. | |
Preparing to unpack .../20-zip_3.0-11+b1_amd64.deb ... | |
Unpacking zip (3.0-11+b1) ... | |
Processing triggers for mime-support (3.60) ... | |
Setting up unzip (6.0-21) ... | |
Setting up zip (3.0-11+b1) ... | |
Setting up fonts-lato (2.0-1) ... | |
Setting up ruby-did-you-mean (1.0.0-2) ... | |
Processing triggers for libc-bin (2.24-11+deb9u3) ... | |
Setting up ruby-net-telnet (0.1.1-2) ... | |
Setting up rubygems-integration (1.11) ... | |
Setting up libgmpxx4ldbl:amd64 (2:6.1.2+dfsg-1) ... | |
Setting up ruby-minitest (5.9.0-1) ... | |
Processing triggers for fontconfig (2.11.0-6.7+b1) ... | |
Setting up ruby-power-assert (0.3.0-1) ... | |
Setting up libgmp-dev:amd64 (2:6.1.2+dfsg-1) ... | |
Setting up ruby-test-unit (3.1.7-2) ... | |
Setting up libruby2.3:amd64 (2.3.3-1+deb9u3) ... | |
Setting up ruby2.3 (2.3.3-1+deb9u3) ... | |
Setting up ruby2.3-dev:amd64 (2.3.3-1+deb9u3) ... | |
Setting up ruby-dev:amd64 (1:2.3.3) ... | |
Setting up ruby (1:2.3.3) ... | |
Setting up ruby-thor (0.19.1-3) ... | |
Setting up ruby-net-http-persistent (2.9.4-1) ... | |
Setting up rake (10.5.0-2) ... | |
Setting up ruby-molinillo (0.5.0-2) ... | |
Setting up ruby-bundler (1.13.6-2) ... | |
Processing triggers for libc-bin (2.24-11+deb9u3) ... | |
$ cd modules/fail2ban | |
$ bundle -v | |
Bundler version 1.16.3 | |
$ rm Gemfile.lock || true | |
rm: cannot remove 'Gemfile.lock': No such file or directory | |
$ gem update --system | |
Latest version already installed. Done. | |
$ gem update bundler | |
Updating installed gems | |
Nothing to update | |
$ gem --version | |
2.7.7 | |
$ bundle -v | |
Bundler version 1.16.3 | |
$ bundle install | |
Fetching gem metadata from https://rubygems.org/......... | |
Resolving dependencies... | |
Fetching rake 12.3.1 | |
Installing rake 12.3.1 | |
Fetching public_suffix 3.0.3 | |
Installing public_suffix 3.0.3 | |
Fetching addressable 2.5.2 | |
Installing addressable 2.5.2 | |
Using bundler 1.16.3 | |
Fetching diff-lcs 1.3 | |
Installing diff-lcs 1.3 | |
Fetching facter 2.5.1 | |
Installing facter 2.5.1 | |
Fetching jgrep 1.5.0 | |
Installing jgrep 1.5.0 | |
Fetching facterdb 0.5.2 | |
Installing facterdb 0.5.2 | |
Fetching fast_gettext 1.1.2 | |
Installing fast_gettext 1.1.2 | |
Fetching hiera 3.4.3 | |
Installing hiera 3.4.3 | |
Fetching json 2.1.0 | |
Installing json 2.1.0 with native extensions | |
Fetching json-schema 2.8.0 | |
Installing json-schema 2.8.0 | |
Fetching locale 2.1.2 | |
Installing locale 2.1.2 | |
Fetching stomp 1.4.4 | |
Installing stomp 1.4.4 | |
Fetching systemu 2.6.5 | |
Installing systemu 2.6.5 | |
Fetching mcollective-client 2.12.1 | |
Installing mcollective-client 2.12.1 | |
Fetching metaclass 0.0.4 | |
Installing metaclass 0.0.4 | |
Fetching spdx-licenses 1.2.0 | |
Installing spdx-licenses 1.2.0 | |
Fetching metadata-json-lint 2.2.0 | |
Installing metadata-json-lint 2.2.0 | |
Fetching mocha 1.7.0 | |
Installing mocha 1.7.0 | |
Fetching multi_json 1.13.1 | |
Installing multi_json 1.13.1 | |
Fetching puppet 5.5.1 | |
Installing puppet 5.5.1 | |
Fetching puppet-lint 2.3.6 | |
Installing puppet-lint 2.3.6 | |
Fetching puppet-lint-absolute_template_path 1.0.1 | |
Installing puppet-lint-absolute_template_path 1.0.1 | |
Fetching puppet-lint-duplicate_class_parameters-check 1.0.4 | |
Installing puppet-lint-duplicate_class_parameters-check 1.0.4 | |
Fetching puppet-lint-no_file_path_attribute-check 0.1.1 | |
Installing puppet-lint-no_file_path_attribute-check 0.1.1 | |
Fetching puppet-lint-no_symbolic_file_modes-check 1.0.2 | |
Installing puppet-lint-no_symbolic_file_modes-check 1.0.2 | |
Fetching puppet-lint-package_ensure-check 0.2.0 | |
Installing puppet-lint-package_ensure-check 0.2.0 | |
Fetching puppet-lint-resource_reference_syntax 1.0.14 | |
Installing puppet-lint-resource_reference_syntax 1.0.14 | |
Fetching puppet-lint-trailing_newline-check 1.1.0 | |
Installing puppet-lint-trailing_newline-check 1.1.0 | |
Fetching puppet-lint-unquoted_string-check 0.3.0 | |
Installing puppet-lint-unquoted_string-check 0.3.0 | |
Fetching puppet-lint-variable_contains_upcase 1.2.0 | |
Installing puppet-lint-variable_contains_upcase 1.2.0 | |
Fetching puppet-syntax 2.4.1 | |
Installing puppet-syntax 2.4.1 | |
Fetching rspec-support 3.8.0 | |
Installing rspec-support 3.8.0 | |
Fetching rspec-core 3.8.0 | |
Installing rspec-core 3.8.0 | |
Fetching rspec-expectations 3.8.1 | |
Installing rspec-expectations 3.8.1 | |
Fetching rspec-mocks 3.8.0 | |
Installing rspec-mocks 3.8.0 | |
Fetching rspec 3.8.0 | |
Installing rspec 3.8.0 | |
Fetching rspec-puppet 2.6.15 | |
Installing rspec-puppet 2.6.15 | |
Fetching puppetlabs_spec_helper 2.9.1 | |
Installing puppetlabs_spec_helper 2.9.1 | |
Fetching rspec-puppet-facts 1.9.0 | |
Installing rspec-puppet-facts 1.9.0 | |
Fetching semantic_puppet 1.0.2 | |
Installing semantic_puppet 1.0.2 | |
Bundle complete! 17 Gemfile dependencies, 42 gems now installed. | |
Bundled gems are installed into `/usr/local/bundle` | |
Post-install message from metadata-json-lint: | |
---------------------------------------------------------- | |
For the most accurate results, the semantic_puppet | |
gem should be included within your Gemfile if you | |
use Puppet <= 4.8.x | |
---------------------------------------------------------- | |
$ bundle exec rake spec | |
I, [2018-08-20T08:33:45.466843 #603] INFO -- : Creating symlink from spec/fixtures/modules/fail2ban to /builds/547bb737/0/puppet-manifests/company-base/modules/fail2ban | |
I, [2018-08-20T08:33:45.467155 #603] INFO -- : Creating symlink from spec/fixtures/modules/sys11lib to /builds/547bb737/0/puppet-manifests/company-base/modules/fail2ban/../sys11lib | |
Notice: Preparing to install into /builds/547bb737/0/puppet-manifests/company-base/modules/fail2ban/spec/fixtures/modules ... | |
Notice: Downloading from https://forgeapi.puppet.com ... | |
Notice: VersionRanges will always be strict when using non-vendored SemanticPuppet gem, version 1.0.2 | |
Notice: Installing -- do not interrupt ... | |
/builds/547bb737/0/puppet-manifests/company-base/modules/fail2ban/spec/fixtures/modules | |
└── puppetlabs-stdlib (v4.17.0) | |
/usr/local/bin/ruby -I/usr/local/bundle/gems/rspec-core-3.8.0/lib:/usr/local/bundle/gems/rspec-support-3.8.0/lib /usr/local/bundle/gems/rspec-core-3.8.0/exe/rspec --pattern spec/\{aliases,classes,defines,unit,functions,hosts,integration,plans,type_aliases,types\}/\*\*/\*_spec.rb --color | |
fail2ban | |
should compile into a catalogue without dependency cycles | |
with default values on Gentoo | |
should contain Class[fail2ban::params] | |
should contain Class[fail2ban::package] | |
should contain Class[fail2ban::package::gentoo] | |
should contain Class[fail2ban::config] | |
should contain Class[fail2ban::service] | |
should contain Package[net-analyzer/fail2ban] | |
should contain Service[fail2ban] with ensure => "running", enable => true, hasrestart => true and hasstatus => true | |
should contain File[/etc/fail2ban/action.d/hostsdeny.conf] with ensure => "present" | |
should contain File[/etc/fail2ban/jail.d] with ensure => "directory" | |
should contain File[/etc/fail2ban/jail.local] with ensure => "present" | |
should contain File[/etc/hosts.deny] with ensure => "present" | |
with specific version (1.2.3) | |
should contain Package[net-analyzer/fail2ban] with ensure => "1.2.3" | |
should contain Sys11lib::Ensure_key_value[fail2ban_package_keyword] with file => "/etc/portage/package.keywords", delimiter => " ", key => "net-analyzer/fail2ban" and value => "~amd64" | |
should contain Sys11lib::Ensure_key_value[fail2ban_package_mask] with file => "/etc/portage/package.mask", key => ">net-analyzer/fail2ban", delimiter => "-" and value => "1.2.3" | |
fail2ban | |
with default values on ubuntu-16.04-x86_64 | |
should compile into a catalogue without dependency cycles (FAILED - 1) | |
should contain Anchor[fail2ban::start] | |
should contain Anchor[fail2ban::end] | |
should contain Class[fail2ban::params] | |
should contain Class[fail2ban::package] | |
should not contain Class[fail2ban::package::gentoo] | |
should contain Class[fail2ban::config] | |
should contain Class[fail2ban::service] | |
should contain Package[fail2ban] | |
should contain Service[fail2ban] with ensure => "running", enable => true, hasrestart => true and hasstatus => true | |
should contain File[/etc/fail2ban/action.d/hostsdeny.conf] with ensure => "present" | |
should contain File[/etc/fail2ban/jail.d] with ensure => "directory" | |
should contain File[/etc/fail2ban/jail.local] with ensure => "present" | |
should contain File[/etc/hosts.deny] with ensure => "present" | |
with default values on ubuntu-14.04-x86_64 | |
should compile into a catalogue without dependency cycles (FAILED - 2) | |
should contain Anchor[fail2ban::start] | |
should contain Anchor[fail2ban::end] | |
should contain Class[fail2ban::params] | |
should contain Class[fail2ban::package] | |
should not contain Class[fail2ban::package::gentoo] | |
should contain Class[fail2ban::config] | |
should contain Class[fail2ban::service] | |
should contain Package[fail2ban] | |
should contain Service[fail2ban] with ensure => "running", enable => true, hasrestart => true and hasstatus => true | |
should contain File[/etc/fail2ban/action.d/hostsdeny.conf] with ensure => "present" | |
should contain File[/etc/fail2ban/jail.d] with ensure => "directory" | |
should contain File[/etc/fail2ban/jail.local] with ensure => "present" | |
should contain File[/etc/hosts.deny] with ensure => "present" | |
fail2ban::config | |
should fail to compile and raise an error matching /Error while evaluating a Function Call, Class fail2ban::config is private/ | |
fail2ban::package | |
should fail to compile and raise an error matching /Error while evaluating a Function Call, Class fail2ban::package is private/ | |
fail2ban::service | |
should fail to compile and raise an error matching /Error while evaluating a Function Call, Class fail2ban::service is private/ | |
fail2ban::filter | |
should contain File[/etc/fail2ban/filter.d/sshd.conf] | |
should contain File[/etc/fail2ban/filter.d/sshd.conf] | |
with $name = sshd should fail | |
should fail to compile and raise an error matching /You are trying to install an obsolated filter, please use the new fail2ban::filter\[ssh-blackhole\] resource!/ | |
with $maxretry = 20, $findtime = 1200, $bantime = 1337 | |
should contain File[/etc/fail2ban/filter.d/ssh-blackhole.conf] that requires Class[fail2ban::package] | |
should contain File[/etc/fail2ban/jail.d/ssh-blackhole.conf] that requires Class[fail2ban::package] | |
check /etc/fail2ban/jail.d/ssh-blackhole.conf for content | |
should contain File[/etc/fail2ban/jail.d/ssh-blackhole.conf] | |
should contain valid values | |
with $name = sshd should fail | |
should fail to compile and raise an error matching /You are trying to install an obsolated filter, please use the new fail2ban::filter\[ssh-blackhole\] resource!/ | |
with $maxretry = 20, $findtime = 1200, $bantime = 1337 | |
should contain File[/etc/fail2ban/filter.d/ssh-blackhole.conf] that requires Class[fail2ban::package] | |
should contain File[/etc/fail2ban/jail.d/ssh-blackhole.conf] that requires Class[fail2ban::package] | |
check /etc/fail2ban/jail.d/ssh-blackhole.conf for content | |
should contain File[/etc/fail2ban/jail.d/ssh-blackhole.conf] | |
should contain valid values | |
Code coverage | |
must cover at least 100% of resources | |
Total resources: 19 | |
Touched resources: 19 | |
Resource coverage: 100.00% | |
Deprecation Warnings: | |
puppetlabs_spec_helper: defaults `mock_with` to `:mocha`. See https://github.com/puppetlabs/puppetlabs_spec_helper#mock_with to choose a sensible value for you | |
If you need more of the backtrace for any of these deprecations to | |
identify where to make the necessary changes, you can configure | |
`config.raise_errors_for_deprecations!`, and it will turn the | |
deprecation warnings into errors, giving you the full backtrace. | |
Failures: | |
1) fail2ban with default values on ubuntu-16.04-x86_64 should compile into a catalogue without dependency cycles | |
Failure/Error: it { should compile.with_all_deps } | |
RuntimeError: | |
Could not find the daemon directory (tested [/etc/sv,/var/lib/service]) | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/provider/service/runit.rb:50:in `defpath' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type/service.rb:180:in `block (3 levels) in <module:Puppet>' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:834:in `set_default' | |
# /usr/local/bundle/gems/rspec-puppet-2.6.15/lib/rspec-puppet/monkey_patches.rb:87:in `call' | |
# /usr/local/bundle/gems/rspec-puppet-2.6.15/lib/rspec-puppet/monkey_patches.rb:87:in `block in <class:Type>' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:2500:in `block in set_parameters' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:2499:in `each' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:2499:in `set_parameters' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:2395:in `initialize' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource.rb:461:in `new' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource.rb:461:in `to_ral' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource/catalog.rb:643:in `block in to_catalog' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource/catalog.rb:635:in `each' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource/catalog.rb:635:in `to_catalog' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource/catalog.rb:516:in `to_ral' | |
# /usr/local/bundle/gems/rspec-puppet-2.6.15/lib/rspec-puppet/matchers/compile.rb:142:in `cycles_found?' | |
# /usr/local/bundle/gems/rspec-puppet-2.6.15/lib/rspec-puppet/matchers/compile.rb:25:in `matches?' | |
# ./spec/classes/init_spec.rb:12:in `block (4 levels) in <top (required)>' | |
2) fail2ban with default values on ubuntu-14.04-x86_64 should compile into a catalogue without dependency cycles | |
Failure/Error: it { should compile.with_all_deps } | |
RuntimeError: | |
Could not find the daemon directory (tested [/etc/sv,/var/lib/service]) | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/provider/service/runit.rb:50:in `defpath' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type/service.rb:180:in `block (3 levels) in <module:Puppet>' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:834:in `set_default' | |
# /usr/local/bundle/gems/rspec-puppet-2.6.15/lib/rspec-puppet/monkey_patches.rb:87:in `call' | |
# /usr/local/bundle/gems/rspec-puppet-2.6.15/lib/rspec-puppet/monkey_patches.rb:87:in `block in <class:Type>' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:2500:in `block in set_parameters' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:2499:in `each' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:2499:in `set_parameters' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/type.rb:2395:in `initialize' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource.rb:461:in `new' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource.rb:461:in `to_ral' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource/catalog.rb:643:in `block in to_catalog' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource/catalog.rb:635:in `each' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource/catalog.rb:635:in `to_catalog' | |
# /usr/local/bundle/gems/puppet-5.5.1/lib/puppet/resource/catalog.rb:516:in `to_ral' | |
# /usr/local/bundle/gems/rspec-puppet-2.6.15/lib/rspec-puppet/matchers/compile.rb:142:in `cycles_found?' | |
# /usr/local/bundle/gems/rspec-puppet-2.6.15/lib/rspec-puppet/matchers/compile.rb:25:in `matches?' | |
# ./spec/classes/init_spec.rb:12:in `block (4 levels) in <top (required)>' | |
1 deprecation warning total | |
Finished in 2.08 seconds (files took 3.18 seconds to load) | |
59 examples, 2 failures | |
Failed examples: | |
rspec './spec/classes/init_spec.rb[1:1:1]' # fail2ban with default values on ubuntu-16.04-x86_64 should compile into a catalogue without dependency cycles | |
rspec './spec/classes/init_spec.rb[1:2:1]' # fail2ban with default values on ubuntu-14.04-x86_64 should compile into a catalogue without dependency cycles | |
/usr/local/bin/ruby -I/usr/local/bundle/gems/rspec-core-3.8.0/lib:/usr/local/bundle/gems/rspec-support-3.8.0/lib /usr/local/bundle/gems/rspec-core-3.8.0/exe/rspec --pattern spec/\{aliases,classes,defines,unit,functions,hosts,integration,plans,type_aliases,types\}/\*\*/\*_spec.rb --color failed | |
ERROR: Job failed: exit code 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment