Skip to content

Ensure fact mysql_version exist when granting privileges to xtrabacku… #126

Ensure fact mysql_version exist when granting privileges to xtrabacku…

Ensure fact mysql_version exist when granting privileges to xtrabacku… #126

Triggered via pull request August 29, 2023 20:07
Status Failure
Total duration 5m 18s
Artifacts

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: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on almalinux-8-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on almalinux-8-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on centos-7-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on centos-7-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on centos-8-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on centos-8-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on debian-10-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on debian-10-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on debian-11-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on debian-11-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on rocky-8-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on rocky-8-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on debian-10-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on debian-10-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on debian-11-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on debian-11-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on centos-8-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on centos-8-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L102
mysql::backup::xtrabackup on ubuntu-20.04-x86_64 with backupuser and backuppassword contains the defined mysql user Failure/Error: expect(subject).to contain_mysql_user('backupuser@localhost') .with( ensure: 'present', password_hash: '*4110E08DF51E70A4BA1D4E33A84205E38CF3FE58', ) .that_requires('Class[mysql::server::root_password]') expected that the catalogue would contain Mysql_user[backupuser@localhost]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/mysql_backup_xtrabackup_spec.rb#L152
mysql::backup::xtrabackup on ubuntu-20.04-x86_64 with backupuser and backuppassword with MySQL version 8.0 is expected to contain Mysql_grant[backupuser@localhost/*.*] that requires Mysql_user[backupuser@localhost] Failure/Error: expect(subject).to contain_mysql_grant('backupuser@localhost/*.*') .with( ensure: 'present', user: 'backupuser@localhost', table: '*.*', privileges: if (facts[:os]['name'] == 'Debian' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '11') >= 0) || (facts[:os]['name'] == 'Ubuntu' && Puppet::Util::Package.versioncmp(facts[:os]['release']['major'], '22') >= 0) ['BINLOG MONITOR', 'RELOAD', 'PROCESS', 'LOCK TABLES', 'BACKUP_ADMIN'] else expected that the catalogue would contain Mysql_grant[backupuser@localhost/*.*]