Skip to content

(SUP-4666) Pe_databases: pg_repack enable debug mode #52

(SUP-4666) Pe_databases: pg_repack enable debug mode

(SUP-4666) Pe_databases: pg_repack enable debug mode #52

Triggered via pull request January 30, 2024 15:37
Status Failure
Total duration 1m 25s
Artifacts

main_pr_testing.yml

on: pull_request
Spec testing  /  Shellcheck
8s
Spec testing / Shellcheck
Spec testing  /  Setup Test Matrix
29s
Spec testing / Setup Test Matrix
Matrix: Spec testing / Spec
PE latest Testing  /  Setup Test Matrix
PE latest Testing / Setup Test Matrix
PE LTS Testing  /  Setup Test Matrix
PE LTS Testing / Setup Test Matrix
Matrix: PE latest Testing / Acceptance
Waiting for pending jobs
Matrix: PE LTS Testing / Acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 5 warnings
Spec testing / Spec Tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/pg_repack_spec.rb#L59
pe_databases::pg_repack with default parameters is expected to contain Pe_databases::Collect[facts] with disable_maintenance => false, enable_echo => true, repack_log_level => "DEBUG", command => "/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 -d pe-puppetdb" and on_cal => "Tue,Sat *-*-* 04:30:00" Failure/Error: is_expected.to contain_pe_databases__collect(name).with( disable_maintenance: false, enable_echo: true, repack_log_level: 'DEBUG', command: "#{repack_cmd} #{val[:database]}", # Strip the backslash character because this is not a regex on_cal: (val[:schedule]).to_s.tr('\\', ''), ) expected that the catalogue would contain Pe_databases::Collect[facts] with enable_echo set to true but it is set to nil, and parameter repack_log_level set to "DEBUG" but it is set to nil, and parameter command set to "/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 -d pe-puppetdb" but it is set to "/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 --elevel DEBUG --echo -d pe-puppetdb" Diff: @@ -1,6 +1,2 @@ -true - -DEBUG - -/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 -d pe-puppetdb +/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 --elevel DEBUG --echo -d pe-puppetdb
Spec testing / Spec Tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
Spec testing / Spec Tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/pg_repack_spec.rb#L59
pe_databases::pg_repack with default parameters is expected to contain Pe_databases::Collect[facts] with disable_maintenance => false, enable_echo => true, repack_log_level => "DEBUG", command => "/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 -d pe-puppetdb" and on_cal => "Tue,Sat *-*-* 04:30:00" Failure/Error: is_expected.to contain_pe_databases__collect(name).with( disable_maintenance: false, enable_echo: true, repack_log_level: 'DEBUG', command: "#{repack_cmd} #{val[:database]}", # Strip the backslash character because this is not a regex on_cal: (val[:schedule]).to_s.tr('\\', ''), ) expected that the catalogue would contain Pe_databases::Collect[facts] with enable_echo set to true but it is set to nil, and parameter repack_log_level set to "DEBUG" but it is set to nil, and parameter command set to "/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 -d pe-puppetdb" but it is set to "/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 --elevel DEBUG --echo -d pe-puppetdb" Diff: @@ -1,6 +1,2 @@ -true - -DEBUG - -/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 -d pe-puppetdb +/opt/puppetlabs/server/apps/postgresql/11/bin/pg_repack --jobs 1 --elevel DEBUG --echo -d pe-puppetdb
Spec testing / Spec Tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
Spec testing / Shellcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec testing / Setup Test Matrix
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec testing / Setup Test Matrix
Cannot find image for RockyLinux-8
Spec testing / Spec Tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Spec testing / Spec Tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.