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

Run the test with openldap #15183

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Conversation

lhellebr
Copy link
Contributor

No description provided.

@lhellebr lhellebr requested a review from a team as a code owner May 27, 2024 08:03
@lhellebr lhellebr added CherryPick PR needs CherryPick to previous branches 6.15.z Introduced in or relating directly to Satellite 6.15 labels May 27, 2024
@Gauravtalreja1
Copy link
Collaborator

trigger: test-robottelo
pytest: tests/foreman/ui/test_ldap_authentication.py -k test_positive_login_user_no_roles

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7127
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ldap_authentication.py -k test_positive_login_user_no_roles --external-logging
Test Result : ========== 51 deselected, 77 warnings, 3 errors in 654.05s (0:10:54) ===========

@Satellite-QE Satellite-QE added the PRT-Failed Indicates that latest PRT run is failed for the PR label May 27, 2024
@lhellebr
Copy link
Contributor Author

This error doesn't seem related

module_target_sat = Satellite(omitting_credentials=False, port=22, blank=False, hostname=<FQDN>,...ServerConfig(url='https://<FQDN>, auth=('admin', 'changeme'), verify=False))

    @pytest.fixture(scope='module')
    def module_org(module_target_sat):
>       return module_target_sat.api.Organization().create()

pytest_fixtures/component/taxonomy.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = robottelo.hosts.DecClass(name='RqRTAeEDjC'), create_missing = None

    def create(self, create_missing=None):
        """Do extra work to fetch a complete set of attributes for this entity.
    
        For more information, see `Bugzilla #1230873
        <https://bugzilla.redhat.com/show_bug.cgi?id=1230873>`_.
    
        """
>       return type(self)(
            self._server_config,
            id=self.create_json(create_missing)['id'],
        ).read()
E       TypeError: Organization.__init__() got multiple values for argument 'server_config'

../../lib64/python3.12/site-packages/nailgun/entities.py:5803: TypeError

Copy link
Contributor

@Griffin-Sullivan Griffin-Sullivan left a comment

Choose a reason for hiding this comment

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

Changes are fine. Since it failed on module_org, we should wait for SatelliteQE/nailgun#1038 to be solved before rerunning PRT.

@shweta83
Copy link
Contributor

The nailgun PR mentioned has been closed so we may need to take another look at nailgun for the reason of this failure.

@pondrejk
Copy link
Contributor

pondrejk commented Jun 4, 2024

trigger: test-robottelo
pytest: tests/foreman/ui/test_ldap_authentication.py -k test_positive_login_user_no_roles

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7268
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_ldap_authentication.py -k test_positive_login_user_no_roles --external-logging
Test Result : ========== 3 failed, 51 deselected, 91 warnings in 786.63s (0:13:06) ===========

@jameerpathan111
Copy link
Contributor

Code wise this looks good but the prt is failing at ldapsession.task.read_all() and I see same issue in normal automation run.

@lhellebr
Copy link
Contributor Author

lhellebr commented Jul 9, 2024

trigger: test-robottelo
pytest: tests/foreman/ui/test_ldap_authentication.py -k test_positive_login_user_no_roles

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 7684
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_ldap_authentication.py -k test_positive_login_user_no_roles --external-logging
Test Result : ========== 3 passed, 51 deselected, 94 warnings in 719.49s (0:11:59) ===========

@Satellite-QE Satellite-QE added PRT-Passed Indicates that latest PRT run is passed for the PR and removed PRT-Failed Indicates that latest PRT run is failed for the PR labels Jul 9, 2024
@lhellebr
Copy link
Contributor Author

lhellebr commented Jul 9, 2024

@jameerpathan111 prt passed

@lhellebr lhellebr requested review from a team and jameerpathan111 July 10, 2024 09:15
@pondrejk pondrejk added the AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing label Jul 26, 2024
@pondrejk pondrejk merged commit 1ddbd54 into SatelliteQE:master Jul 26, 2024
13 of 14 checks passed
github-actions bot pushed a commit that referenced this pull request Jul 26, 2024
(cherry picked from commit 1ddbd54)
jyejare pushed a commit to jyejare/robottelo that referenced this pull request Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.15.z Introduced in or relating directly to Satellite 6.15 AutoMerge_Cherry_Picked The cherrypicked PRs of master PR would be automerged if all checks passing CherryPick PR needs CherryPick to previous branches PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants