Skip to content

try db_password to be Sensitive #1680

try db_password to be Sensitive

try db_password to be Sensitive #1680

Triggered via pull request October 16, 2024 10:40
Status Failure
Total duration 31m 24s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
22s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
1s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 1 warning
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on almalinux-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on almalinux-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on centos-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on centos-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on debian-11-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on debian-12-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on redhat-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on redhat-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on ubuntu-20.04-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 8 (Ruby 3.2): spec/classes/foreman_spec.rb#L493
foreman on ubuntu-22.04-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on almalinux-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on ubuntu-22.04-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on centos-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on debian-11-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on ubuntu-20.04-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on redhat-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on redhat-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on debian-12-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on centos-8-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / 7 (Ruby 2.7): spec/classes/foreman_spec.rb#L493
foreman on almalinux-9-x86_64 with sensitive passwords should configure the database Failure/Error: should contain_file('/etc/foreman/database.yml') .with_content(/password: "secret"/) expected that the catalogue would contain File[/etc/foreman/database.yml] with content set to /password: "secret"/ but it is set to "---\n### File managed with puppet ###\n## Module: ''\n\n\n# Database is managed by foreman::database::postgresql\nproduction:\n adapter: postgresql\n database: foreman\n username: foreman\n password: {\"__ptype\" => \"Sensitive\", \"__pvalue\" => \"secret\"}\n pool: 9\n" Diff: @@ -1,12 +1,23 @@ -(?-mix:password: "secret") +--- +### File managed with puppet ### +## Module: '' + + +# Database is managed by foreman::database::postgresql +production: + adapter: postgresql + database: foreman + username: foreman + password: {"__ptype" => "Sensitive", "__pvalue" => "secret"} + pool: 9
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8