Skip to content

params.pp: cleanup service provider logic #121

params.pp: cleanup service provider logic

params.pp: cleanup service provider logic #121

Triggered via pull request August 16, 2023 08:09
Status Failure
Total duration 5m 1s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
40s
Spec / Setup Test Matrix
Matrix: Spec / spec
Setup Test Matrix
0s
Setup Test Matrix
Matrix: Acceptance
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mycnf_template_spec.rb#L15
mysql::server my.cnf template - on rocky-8-x86_64 normal entry is expected to contain File[mysql-config-file] with mode => "0644", selinux_ignore_defaults => true and content =~ /socket = \/var\/lib\/mysql\/mysql.sock/ Failure/Error: expect(subject).to contain_file('mysql-config-file').with(mode: '0644', selinux_ignore_defaults: true).with_content(%r{socket = /var/lib/mysql/mysql.sock}) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mycnf_template_spec.rb#L24
mysql::server my.cnf template - on rocky-8-x86_64 array entry is expected to contain File[mysql-config-file] with content =~ /.*replicate-do-db = base1\nreplicate-do-db = base2.*/ Failure/Error: expect(subject).to contain_file('mysql-config-file').with_content( %r{.*replicate-do-db = base1\nreplicate-do-db = base2.*}, ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mycnf_template_spec.rb#L34
mysql::server my.cnf template - on rocky-8-x86_64 skip-name-resolve set to an empty string is expected to contain File[mysql-config-file] with content =~ /^skip-name-resolve$/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').with_content(%r{^skip-name-resolve$}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mycnf_template_spec.rb#L40
mysql::server my.cnf template - on rocky-8-x86_64 ssl set to true is expected to contain File[mysql-config-file] with content =~ /ssl/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').with_content(%r{ssl}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L28
mysql::backup::xtrabackup on rocky-8-x86_64 with defaults does not contain the touch command Failure/Error: expect(subject).to contain_file('xtrabackup.sh').without_content( %r{(^\s+touch\s+$)}, ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mycnf_template_spec.rb#L41
mysql::server my.cnf template - on rocky-8-x86_64 ssl set to true is expected to contain File[mysql-config-file] with content !~ /ssl = true/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').without_content(%r{ssl = true}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L34
mysql::backup::xtrabackup on rocky-8-x86_64 with defaults contains the wrapper script Failure/Error: expect(subject).to contain_file('xtrabackup.sh').with_content( %r{(\n*^xtrabackup\s+.*\$@)}, ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mycnf_template_spec.rb#L47
mysql::server my.cnf template - on rocky-8-x86_64 ssl set to false is expected to contain File[mysql-config-file] with content =~ /ssl = false/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').with_content(%r{ssl = false}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L63
mysql::backup::xtrabackup on rocky-8-x86_64 with defaults contains the weekly cronjob Failure/Error: expect(subject).to contain_cron('xtrabackup-weekly') .with( ensure: 'present', command: '/usr/local/sbin/xtrabackup.sh --target-dir=/tmp/$(date +\%F)_full --backup', user: 'root', hour: '23', minute: '5', weekday: '0', ) .that_requires("Package[#{package}]") Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mycnf_template_spec.rb#L53
mysql::server my.cnf template - on rocky-8-x86_64 ssl set to false filters out ssl options is expected to contain File[mysql-config-file] with content =~ /ssl = false/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').with_content(%r{ssl = false}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az1133-686.qlb2sqfkji0uhjsjdnlwzcsdwg.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mycnf_template_spec.rb#L15
mysql::server my.cnf template - on almalinux-8-x86_64 normal entry is expected to contain File[mysql-config-file] with mode => "0644", selinux_ignore_defaults => true and content =~ /socket = \/var\/lib\/mysql\/mysql.sock/ Failure/Error: expect(subject).to contain_file('mysql-config-file').with(mode: '0644', selinux_ignore_defaults: true).with_content(%r{socket = /var/lib/mysql/mysql.sock}) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mycnf_template_spec.rb#L24
mysql::server my.cnf template - on almalinux-8-x86_64 array entry is expected to contain File[mysql-config-file] with content =~ /.*replicate-do-db = base1\nreplicate-do-db = base2.*/ Failure/Error: expect(subject).to contain_file('mysql-config-file').with_content( %r{.*replicate-do-db = base1\nreplicate-do-db = base2.*}, ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mycnf_template_spec.rb#L34
mysql::server my.cnf template - on almalinux-8-x86_64 skip-name-resolve set to an empty string is expected to contain File[mysql-config-file] with content =~ /^skip-name-resolve$/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').with_content(%r{^skip-name-resolve$}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L28
mysql::backup::xtrabackup on almalinux-8-x86_64 with defaults does not contain the touch command Failure/Error: expect(subject).to contain_file('xtrabackup.sh').without_content( %r{(^\s+touch\s+$)}, ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L34
mysql::backup::xtrabackup on almalinux-8-x86_64 with defaults contains the wrapper script Failure/Error: expect(subject).to contain_file('xtrabackup.sh').with_content( %r{(\n*^xtrabackup\s+.*\$@)}, ) Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mycnf_template_spec.rb#L40
mysql::server my.cnf template - on almalinux-8-x86_64 ssl set to true is expected to contain File[mysql-config-file] with content =~ /ssl/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').with_content(%r{ssl}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L63
mysql::backup::xtrabackup on almalinux-8-x86_64 with defaults contains the weekly cronjob Failure/Error: expect(subject).to contain_cron('xtrabackup-weekly') .with( ensure: 'present', command: '/usr/local/sbin/xtrabackup.sh --target-dir=/tmp/$(date +\%F)_full --backup', user: 'root', hour: '23', minute: '5', weekday: '0', ) .that_requires("Package[#{package}]") Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mycnf_template_spec.rb#L41
mysql::server my.cnf template - on almalinux-8-x86_64 ssl set to true is expected to contain File[mysql-config-file] with content !~ /ssl = true/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').without_content(%r{ssl = true}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L76
mysql::backup::xtrabackup on almalinux-8-x86_64 with defaults contains the daily cronjob for weekdays 1-6 Failure/Error: expect(subject).to contain_cron('xtrabackup-daily') .with( ensure: 'present', command: "/usr/local/sbin/xtrabackup.sh --incremental-basedir=/tmp/#{dateformat} --target-dir=/tmp/$(date +\\%F_\\%H-\\%M-\\%S) --backup", user: 'root', hour: '23', minute: '5', weekday: '1-6', ) .that_requires("Package[#{package}]") Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mycnf_template_spec.rb#L47
mysql::server my.cnf template - on almalinux-8-x86_64 ssl set to false is expected to contain File[mysql-config-file] with content =~ /ssl = false/ Failure/Error: it { is_expected.to contain_file('mysql-config-file').with_content(%r{ssl = false}) } Puppet::PreformattedError: Evaluation Error: Unknown variable: 'mysql::params::server_service_provider'. (file: /home/runner/work/puppetlabs-mysql/puppetlabs-mysql/spec/fixtures/modules/mysql/manifests/server.pp, line: 120, column: 100) on node fv-az119-364.ca0t41jjrjaujd4nublazzptxb.cx.internal.cloudapp.net