Skip to content
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

Stig ipa #7070

Closed
wants to merge 2 commits into from
Closed

Stig ipa #7070

wants to merge 2 commits into from

Conversation

madhuriupadhye
Copy link
Contributor

No description provided.

Reviewed-by: Justin Stephenson <[email protected]>
Reviewed-by: Pavel Březina <[email protected]>
Reviewed-by: Sumit Bose <[email protected]>
Signed-off-by: Madhuri Upadhye <[email protected]>
@madhuriupadhye madhuriupadhye force-pushed the stig_ipa branch 3 times, most recently from 2966a59 to c4f2122 Compare December 8, 2023 14:02
Comment on lines +226 to +227
# with pytest.raises(subprocess.CalledProcessError):
# client.run_command("grep subid /etc/nsswitch.conf")

Check notice

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was it here and why is it being removed?

Copy link
Contributor Author

@madhuriupadhye madhuriupadhye Dec 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why it was here.

I removed for two reasons:

  1. While checking it always comes with exit code as a 1, with stig and non-stig also.
  2. There is no thread running, but with thread error code enters in deadlock and stuck there.
2023-12-08 10:12:27,123 - sssd.testlib.common.qe_class.QeHost.client.cmd412 - DEBUG - RUN grep subid /etc/nsswitch.conf
^C
Program interrupted. (Use 'cont' to resume).
> /usr/lib64/python3.11/threading.py(1133)_wait_for_tstate_lock()
-> lock.release()

If we need to add them better we add with regex but not with grep command.

Signed-off-by: Madhuri Upadhye <[email protected]>
@@ -39,7 +39,7 @@ def ipa_subid_find(multihost):
@pytest.mark.usefixtures('environment_setup',
'subid_generate',
'bkp_cnfig_for_subid_files')
@pytest.mark.tier1
@pytest.mark.tier4
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for testing, will update once changes in test looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants