Puppet-tripleo unit test Failure/Error: is_expected.to contain_class('tripleo::profile::base::memcached')

Bug #1921716 reported by chandan kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Against this patch https://review.opendev.org/c/openstack/puppet-tripleo/+/775674/, c7 puppet unit test check job is failing with following errors:

https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_a21/775674/3/check/puppet-openstack-unit-5.5-centos-7/a21675f/job-output.txt

```
1) tripleo::profile::base::memcached on centos-7-x86_64 behaves like tripleo::profile::base::memcached with step 1 is expected to contain Class[tripleo::profile::base::memcached]
2021-03-27 14:59:15.416070 | centos-7 | Failure/Error: is_expected.to contain_class('tripleo::profile::base::memcached')
2021-03-27 14:59:15.416095 | centos-7 |
2021-03-27 14:59:15.416185 | centos-7 | Puppet::PreformattedError:
2021-03-27 14:59:15.416380 | centos-7 | Evaluation Error: Error while evaluating a Resource Statement, Class[Memcached]:
2021-03-27 14:59:15.416484 | centos-7 | has no parameter named 'use_tls'
2021-03-27 14:59:15.416594 | centos-7 | has no parameter named 'tls_cert_chain'
2021-03-27 14:59:15.416967 | centos-7 | has no parameter named 'tls_key' (file: /home/zuul/workspace/spec/fixtures/modules/tripleo/manifests/profile/base/memcached.pp, line: 57, column: 5) on node centos-7-inap-mtl01-0023725768
2021-03-27 14:59:15.417245 | centos-7 | Shared Example Group: "tripleo::profile::base::memcached" called from ./spec/classes/tripleo_profile_base_memcached_spec.rb:73

2) tripleo::profile::base::memcached on centos-7-x86_64 behaves like tripleo::profile::base::memcached with step 1 and tls enabled is expected to contain Class[tripleo::profile::base::memcached]
2021-03-27 14:59:15.440193 | centos-7 | Failure/Error: is_expected.to contain_class('tripleo::profile::base::memcached')
2021-03-27 14:59:15.440230 | centos-7 |
2021-03-27 14:59:15.440319 | centos-7 | Puppet::PreformattedError:
2021-03-27 14:59:15.440501 | centos-7 | Evaluation Error: Error while evaluating a Resource Statement, Class[Memcached]:
2021-03-27 14:59:15.440600 | centos-7 | has no parameter named 'use_tls'
2021-03-27 14:59:15.440711 | centos-7 | has no parameter named 'tls_cert_chain'
2021-03-27 14:59:15.441089 | centos-7 | has no parameter named 'tls_key' (file: /home/zuul/workspace/spec/fixtures/modules/tripleo/manifests/profile/base/memcached.pp, line: 57, column: 5) on node centos-7-inap-mtl01-0023725768

3) tripleo::profile::base::memcached on redhat-7-x86_64 behaves like tripleo::profile::base::memcached with step 1 is expected to contain Class[tripleo::profile::base::memcached]
2021-03-27 14:59:15.464302 | centos-7 | Failure/Error: is_expected.to contain_class('tripleo::profile::base::memcached')
2021-03-27 14:59:15.464332 | centos-7 |
2021-03-27 14:59:15.464412 | centos-7 | Puppet::PreformattedError:
2021-03-27 14:59:15.464591 | centos-7 | Evaluation Error: Error while evaluating a Resource Statement, Class[Memcached]:
2021-03-27 14:59:15.464689 | centos-7 | has no parameter named 'use_tls'
2021-03-27 14:59:15.464799 | centos-7 | has no parameter named 'tls_cert_chain'
2021-03-27 14:59:15.465175 | centos-7 | has no parameter named 'tls_key' (file: /home/zuul/workspace/spec/fixtures/modules/tripleo/manifests/profile/base/memcached.pp, line: 57, column: 5) on node centos-7-inap-mtl01-0023725768

4) tripleo::profile::base::memcached on redhat-7-x86_64 behaves like tripleo::profile::base::memcached with step 1 and tls enabled is expected to contain Class[tripleo::profile::base::memcached]
2021-03-27 14:59:15.488502 | centos-7 | Failure/Error: is_expected.to contain_class('tripleo::profile::base::memcached')
2021-03-27 14:59:15.488527 | centos-7 |
2021-03-27 14:59:15.488606 | centos-7 | Puppet::PreformattedError:
2021-03-27 14:59:15.488786 | centos-7 | Evaluation Error: Error while evaluating a Resource Statement, Class[Memcached]:
2021-03-27 14:59:15.488884 | centos-7 | has no parameter named 'use_tls'
2021-03-27 14:59:15.488995 | centos-7 | has no parameter named 'tls_cert_chain'
2021-03-27 14:59:15.489382 | centos-7 | has no parameter named 'tls_key' (file: /home/zuul/workspace/spec/fixtures/modules/tripleo/manifests/profile/base/memcached.pp, line: 57, column: 5) on node centos-7-inap-mtl01-0023725768
2021-03-27 14:59:15.489646 | centos-7 | Shared Example Group: "tripleo::profile::base::memcached" called from ./spec/classes/tripleo_profile_base_memcached_spec.rb:73
```
All these 4 failures might be linked each other. logging the bug to track it.

Tags: alert
Revision history for this message
chandan kumar (chkumar246) wrote :

https://review.opendev.org/c/openstack/puppet-openstack-integration/+/783646 [Ussuri and before] Bump puppet-memcached for tls support
 got merged, will fix the issue.

Changed in tripleo:
milestone: wallaby-rc1 → xena-1
Changed in tripleo:
milestone: xena-1 → xena-2
Changed in tripleo:
milestone: xena-2 → xena-3
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.