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

Fixes #36649 - Remove katello-agent out of legacy UI #10686

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

chris1984
Copy link
Member

@chris1984 chris1984 commented Aug 7, 2023

Will fill this out when I get the tests green, pushing up to see the mess that I caused. Locally there is like 13 failures.

What are the changes introduced in this pull request?

Considerations taken when implementing this change?

What are the testing steps for this pull request?

Todo:

  • Put back rex in carrot menu
  • (Update performDefaultUpdateAction function name)
  • (Remove bulk errata kagent stuff)
  • (Fix Tests after fixing last 2 items)

@theforeman-bot
Copy link

Issues: #36649

Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

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

Some initial code comments :)

@jeremylenz
Copy link
Member

Seems like a few Katello tests need updates.

@chris1984
Copy link
Member Author

Seems like a few Katello tests need updates.

@jeremylenz Was it because I changed them from a katello agent task to a rex job? Or is there something else that caused them to fail?

@jeremylenz
Copy link
Member

Was it because I changed them from a katello agent task to a rex job? Or is there something else that caused them to fail?



[2023-08-14T21:18:00.120Z] Failure:

[2023-08-14T21:18:00.120Z] Katello::Api::V2::ContentViewVersionsControllerTest#test_incremental_update [/home/jenkins/workspace/katello-pr-test/test/controllers/api/v2/content_view_versions_controller_test.rb:270]

[2023-08-14T21:18:00.120Z] Minitest::Assertion: Expected response to be a <2XX: success>, but was a <500: Internal Server Error>

[2023-08-14T21:18:00.120Z] 

[2023-08-14T21:18:00.120Z] Failure:

[2023-08-14T21:18:00.120Z] Katello::Api::V2::ContentViewVersionsControllerTest#test_incremental_update_with_deb [/home/jenkins/workspace/katello-pr-test/test/controllers/api/v2/content_view_versions_controller_test.rb:283]

[2023-08-14T21:18:00.120Z] Minitest::Assertion: Expected response to be a <2XX: success>, but was a <500: Internal Server Error>

[2023-08-14T21:18:00.120Z] 

[2023-08-14T21:18:00.120Z] Failure:

[2023-08-14T21:18:00.120Z] Katello::Api::V2::ContentViewVersionsControllerTest#test_incremental_update_without_env [/home/jenkins/workspace/katello-pr-test/test/controllers/api/v2/content_view_versions_controller_test.rb:295]

[2023-08-14T21:18:00.120Z] Minitest::Assertion: Expected response to be a <2XX: success>, but was a <500: Internal Server Error>

Looks like the test failures are all around incremental updates.. which I'm not sure is related. We don't know for sure, though, because we don't have the error stack from test.log that would tell us why we got the 500s. Let's run it again and see if it was a fluke.

@jeremylenz
Copy link
Member

[test katello]

@jeremylenz
Copy link
Member

@chris1984 Same three failures. Can you run those tests locally and look at log/test.log to see why it's sending 500s?

@chris1984
Copy link
Member Author

@jeremylenz finally green :) Ready for testing and a 2nd review. Once you merge your REX setting removal PR, I will have to rebase this one, but it should be good to test/review at least

@jeremylenz
Copy link
Member

Once you merge your REX setting removal PR, I will have to rebase this one

Should be no need, since I plan to merge this one first :)

Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

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

Found one straggler:

Otherwise LGTM!

@chris1984 chris1984 force-pushed the remove-ka branch 2 times, most recently from 24fe5bb to 9777e05 Compare August 17, 2023 14:13
@chris1984
Copy link
Member Author

chris1984 commented Aug 17, 2023

@jeremylenz updated and removed the straggler, let me know how this looks

@chris1984
Copy link
Member Author

[test katello]

@chris1984
Copy link
Member Author

Damn vcr failures

@chris1984
Copy link
Member Author

[test katello]

Copy link
Member

@jeremylenz jeremylenz left a comment

Choose a reason for hiding this comment

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

ACK 👍

test failures unrelated

@parthaa parthaa merged commit 5dc6942 into Katello:master Aug 17, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants