-
Notifications
You must be signed in to change notification settings - Fork 28
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
set-ffi-env-e2e aborts when executing tests manually with tmt #521
Comments
Thanks @pengshanyu We need to add |
@Yarboa we can work with @pengshanyu in others issues which involve more complex scenarios as she is already onboard the project. Let's keep onboarding nsednev. nsednev could you please investigate ? |
Fix containers#521 Signed-off-by: Yariv Rachmani <yrachman@redhat.com>
@nsednev please check this fix, if you want to take it, assign your self to issue
|
nsednev, here another suggestion (never tested), however less complicated the code better for us to maintain and easier to others to join us.
Why? @Yarboa Is it what you shared yesterday?
Calling it in the set-ffi-env-e2e:
|
@dougsland sure |
Might be related to this issue "QM_STATUS='Failed to get unit file state for qm.service: No such file or directory":
plan failed The exception was caused by 1 earlier exceptions Cause number 1:
. |
@nsednev as mentioned in slack for c9s manual run, not in packit |
I don't see the same code in Line 266 in 3000572
after your suggested changes I see the info message and thats it: info_message "QM Enabled and Active" info_message "==============================" But I don't see the same code in Line 266 in 3000572
I see: # Restart QM after mount /var on separate partition if grep -qi "${QC_SOC}" "${SOC_DISTRO_FILE}"; then systemctl restart qm fi And only after that the info message appears. So my question is about the restart of the QM part here: |
---^---^---^---^---^--- |
@nsednev How did you run tmt? |
I received this from when I didn't wiped out the QM restart part from the code. Its available from here: |
Should be fixed soon via: #531 |
solved. |
I still see these while running against testing-farm checkup tool: |
I tested the code against local VM running with: I checked that on the VM there was no podman installed before testing it, then I ran the tmt like so: The result was:
On VM I checked that it installed podman-5.2.2-1.el9.x86_64 and had not ran the QM at all: |
Tested on distro: CentOS Stream 9: No podman and qm installed on clean and fresh OS: Running tmt tier-0 against VM:
total: 6 tests passed On VM I see: [root@ibm-p8-kvm-03-guest-02 ~]# podman ps |
When running ffi test against local VM (provision via the c9s cloud image), the
set-ffi-env-e2e
script will run into an error:The text was updated successfully, but these errors were encountered: