New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tempest]Enable vTPM testing #589
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gibizer The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/c4861d8bd90043e7b52baade85ccc876 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 30m 47s |
recheck the tempest job produce zero logs :/ |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/0d878f286769409a82a4428e41ae6d38 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 26m 32s |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/99bbf39048894688831329f6cd6dc486 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 25m 19s |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/ce3cc15c49224a6e8176960ec808f621 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 57m 02s |
somebody does not telling me the full truth:
|
Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/557373e3c00e4b27b10e1c1a3227b81f ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 44m 09s |
|
In a working job we have both whitebox and barbican tempest plugin loaded
But in this job we only have whitebox
This is why the secret client is not registered |
Adding the missing depedency to the image openstack-k8s-operators/tcib#113 |
72e2401
to
4867c83
Compare
Since openstack-k8s-operators/tcib#112 merged we expect to have an openstack-tempest-all container image with all the plugins installed. |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/8944088499d04b4ca6c77e27964dcede ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 37m 59s |
Either we need
|
recheck |
This ensures that the Barbican - Nova integration works.
4867c83
to
53fcba3
Compare
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/2241c6cbf24d44afa75228bf5d0fe47d ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 38m 43s |
Hm it seems that even though the last image build was after the tcib commit was merged, the image does not contain the tcib change.
|
The image points to |
Just rebased this, lets see if it passes now |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/aed8760957f94a0abfd504f00c9b9be0 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 36m 16s |
recheck lets see if we have a fresh tempest extras image with the barbican addition |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/78a1235f6ff743f8a1f41ef08adb6716 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 41m 07s |
Finally we have the vtpm tests and barbican available in the same env, so the tests starts. The tests still fails but now on the compute with swtpm error:
From the swtpm logs:
And from the audit.log
|
I can reproduce it locally with the same result. If I set |
|
It seem the error refers to |
I confirmed executing |
Fix is proposed to edpm_ansible openstack-k8s-operators/edpm-ansible#537 |
recheck The selinux config in openstack-k8s-operators/edpm-ansible#537 merged and a new runner image is built. |
recheck it seem the last recheck was ignored |
Build failed (check pipeline). Post https://review.rdoproject.org/zuul/buildset/bb34460225594ac1b551a735780110a0 ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 46m 12s |
OK. The vtpm test now able to boot a VM with vtpm successfully
The tempest test fails on trying to introspect the hypervisor |
We discussed on the #rhos-compute channel and there is an effort downstream to enable whitebox tests already but the compute_nodes.yaml configuration for whitebox is not ready yet. So let's close this for now not to duplicate the effort in parallel. Later we can revisit to move some of the downstream testing upstream. |
This ensures that the Barbican - Nova integration works.
Implements: https://issues.redhat.com/browse/OSPRH-2449
Implements: https://issues.redhat.com/browse/OSPRH-2451
Depends-On: openstack-k8s-operators/edpm-ansible#537