Skip to content

Initial commit

Initial commit #5

Triggered via push October 16, 2023 09:54
Status Failure
Total duration 1m 27s
Billable time 2m
Artifacts

unit_test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
unit_test: spec/classes/pyroscope_spec.rb#L68
pyroscope on debian-10-x86_64 with parameters defaults is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L69
pyroscope on debian-10-x86_64 with parameters defaults is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L71
pyroscope on debian-10-x86_64 with parameters defaults is expected to contain Class[pyroscope::install] Failure/Error: it { is_expected.to contain_class('pyroscope::install') } Puppet::PreformattedError: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L72
pyroscope on debian-10-x86_64 with parameters defaults is expected to contain Class[pyroscope::config] Failure/Error: it { is_expected.to contain_class('pyroscope::config') } Puppet::PreformattedError: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L73
pyroscope on debian-10-x86_64 with parameters defaults is expected to contain Class[pyroscope::service] Failure/Error: it { is_expected.to contain_class('pyroscope::service') } Puppet::PreformattedError: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L76
pyroscope on debian-10-x86_64 with parameters defaults is expected to contain Package[pyroscope] with exactly 1 parameters and ensure => "present" Failure/Error: is_expected.to contain_package('pyroscope') .only_with( ensure: params['package_ensure'], ) Puppet::PreformattedError: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L96
pyroscope on debian-10-x86_64 with parameters defaults is expected not to contain User[pyroscope] Failure/Error: it { is_expected.not_to contain_user('pyroscope') } Puppet::PreformattedError: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L112
pyroscope on debian-10-x86_64 with parameters defaults is expected to contain File[/etc/pyroscope] with exactly 4 parameters, ensure => "directory", owner => "pyroscope", group => "pyroscope" and mode => "0750" Failure/Error: is_expected.to contain_file(params['config_dir']) .only_with( ensure: 'directory', owner: params['config_owner'], group: params['config_group'], mode: '0750', ) Puppet::PreformattedError: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L122
pyroscope on debian-10-x86_64 with parameters defaults is expected to contain File[/etc/pyroscope/config.yml] with exactly 6 parameters, ensure => "file", content supplied string, owner => "pyroscope", group => "pyroscope", mode => "0640" and validate_cmd => "/usr/local/bin/pyroscope --modules=true -config.file %" Failure/Error: is_expected.to contain_file("#{params['config_dir']}/config.yml") .only_with( ensure: 'file', content: params['config_hash'].nil? ? "--- {}\n" : "---\ntest: test\n", owner: params['config_owner'], group: params['config_group'], mode: '0640', validate_cmd: params['validate_cmd'], ) Puppet::PreformattedError: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test: spec/classes/pyroscope_spec.rb#L134
pyroscope on debian-10-x86_64 with parameters defaults is expected to contain File[/etc/default/pyroscope] with exactly 5 parameters, ensure => "file", content supplied string, owner => "root", group => "root" and mode => "0640" Failure/Error: is_expected.to contain_file('/etc/default/pyroscope') .only_with( ensure: 'file', content: "# MANAGED BY PUPPET\n"\ "# Log level. Valid levels: [debug, info, warn, error]. Default: \"info\"\n"\ "LOG_LEVEL=\"#{params['log_level']}\"\n"\ "\n"\ "# Path to pyroscope YAML configuration file.\n"\ "CONFIG_FILE=\"#{params['config_dir']}/config.yml\"\n"\ Puppet::PreformattedError: Evaluation Error: Unknown function: 'to_yaml'. (file: /github/workspace/spec/fixtures/modules/pyroscope/manifests/config.pp, line: 33, column: 21) on node 2c5d382f8c31.whzxjtulh2bufbnlnfezwwj0df.dx.internal.cloudapp.net
unit_test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/