Update and Provide FreeIPA Tests #141
No reviewers
Labels
No Label
priority: critical
priority: high
priority: low
priority: medium
status: abandoned
status: duplicate
status: invalid
status: peer review needed
status: wontfix
tag: content
tag: good first issue
tag: help wanted
test suite
type: bug
type: documentation
type: enhancement
type: maintenance
type: question
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: testing/os-autoinst-distri-rocky-migrated#141
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "nazunalika/develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello. This PR attempts to address the following for FreeIPA tests:
@
in various places@nazunalika This PR has been run in openQA and failed. You will find feedback/output here... https://openqa.rockylinux.org/tests/8743
Syntax errors should be resolved now.
@nazunalika
Use of uninitialized value in bitwise and (&) at os-autoinst-distri-rocky/main.pm line 333.
See https://openqa.rockylinux.org/tests/8744@nazunalika Thanks for this fix though I don't think it is the core of the problem with this test. See the lines following that where there are multiple syntax errors reported in
tests/realmd_join_sssd.pm
.@nazunalika I've tried to resolve the various syntax errors in these tests but the backend is still complaining about the syntax you've provided. Linter/code checker doesn't have the same complaints so I'm really not sure what is up. Most recent failure is here (https://openqa.rockylinux.org/tests/10988). Can you have another look at the code it is complaining about?
If somebody else with a testing env for openQA can run this PR and come up with changes that will fix the failures that would be most helpful.
It is likely because we were missing the use feature directive to allow the use of "given". See if that resolves the issue.
@nazunalika
server_freeipa_replication_master
the hostname is set toipa002.test.openqa.fedoraproject.org
in_post_network_static
which won't trigger a failure unless other hosts expect a different domain.server_freeipa_replication_master
isn't dropping to root console inrole_deploy_domain_controller
causing that test to fail triggerring parallel_failed.See... https://openqa.rockylinux.org/tests/12341# for more details.
I modified the FIF template to try to get around the hostnames, but I don't know if that is the right thing to do here. (I am of the opinion we should be using our own domain where possible for consistency, but I don't know if it matters to the team). If the replica-to-be has a hostname that isn't in the same domain, becoming a replica can sometimes have problematic results and it isn't guaranteed to succeed.
Those changes look good for hostnames and I agree these should all be changed to our own domain. There are a few more in some other tests which we'll also need to take care of in separate PRs (see #159).
I can post a test of these changes but for the
templates.fif.json
update I'll need to clone an existing job and supply those options on the command line as PR runs don't modifytemplates.fif.json
... it's a chicken-and-egg problem.Hopefully, the failure of
server_freeipa_replication_master
to drop to root console was a one-off. That problem didn't exist in the replica instance.OK... clone of job and supply
POST_STATIC
for the job didn't work. It applied the tap configuration to the parentinstall_default_upload
job causing that test to fail and breaking the whole parallel run. I think this PR is going to need to be directly tested / fixed by somebody with a working multi-worker DEV setup or the mods to thetemplates.fif.json
will need to be merged in as is in order to do more testing. Will discuss in today's meeting...Checkout
From your project repository, check out a new branch and test the changes.