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

drop output-check-record feature #5185

Merged
merged 5 commits into from
Dec 10, 2021

Conversation

beraldoleal
Copy link
Member

This feature is deprecated and also only works with the legacy runner. In order to implement a new version of this with the new runner architecture would be nice to have a nice "fresh start" and avoid having legacy code. If this makes sense, new tests will be introduced when implementing the new version of this feature, described at #3882.

Signed-off-by: Beraldo Leal bleal@redhat.com

@beraldoleal beraldoleal added this to the #94 Gran Torino milestone Dec 8, 2021
@beraldoleal beraldoleal requested a review from clebergnu December 8, 2021 18:44
@beraldoleal beraldoleal force-pushed the issues/3882 branch 3 times, most recently from 174e481 to 425ba5a Compare December 9, 2021 15:55
@ana
Copy link
Contributor

ana commented Dec 9, 2021

LGTM. There are still some left overs in selftests/functional/test_output_check.py and man/avocado.rst
And avocado/core/test.py: process.OUTPUT_CHECK_RECORD_MODE = 'combined'

@beraldoleal
Copy link
Member Author

beraldoleal commented Dec 9, 2021

LGTM. There are still some left overs in selftests/functional/test_output_check.py and man/avocado.rst And avocado/core/test.py: process.OUTPUT_CHECK_RECORD_MODE = 'combined'

Maybe those are fixed with the new PR.

@ana, I just fixed the avocado/core/test.py with a force-push. Thanks.
Can you point the other left overs? under test_output_check.py and man/avocado.rst?

'on' and 'off' are not being used anymore.

Signed-off-by: Beraldo Leal <bleal@redhat.com>
This is working only on legacy runner that we don't support anymore.
Also, this it was deprecated at
a922b24. Since we are working on a new
feature with a complete new design based on the new runner architecture,
lets drop to avoid creating the new feature with legacy code.

Related to avocado-framework#3882.

Signed-off-by: Beraldo Leal <bleal@redhat.com>
We are not supporting the legacy code at this point anymore. Let's drop
this portion of the code.

Signed-off-by: Beraldo Leal <bleal@redhat.com>
This will improve a little the code readability.

Signed-off-by: Beraldo Leal <bleal@redhat.com>
IIUC, this plugin only makes sense with the legacy feature.

Signed-off-by: Beraldo Leal <bleal@redhat.com>
@beraldoleal
Copy link
Member Author

I found some of the leftovers on man/avocado.rst. Please let me know if you are catching something that I'm missing.

@clebergnu
Copy link
Contributor

@beraldoleal FYI, that are some tests still failing on CI.

@ana
Copy link
Contributor

ana commented Dec 10, 2021

@ana, I just fixed the avocado/core/test.py with a force-push. Thanks. Can you point the other left overs? under test_output_check.py and man/avocado.rst?

Thanks. it seems ok now!

@beraldoleal
Copy link
Member Author

@clebergnu some issues with cirrus, just restarted and it is working now.

Copy link
Contributor

@richtja richtja left a comment

Choose a reason for hiding this comment

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

LGTM

@richtja richtja merged commit d29bb6d into avocado-framework:master Dec 10, 2021
clebergnu added a commit to clebergnu/avocado that referenced this pull request Apr 20, 2022
The "output-check-record" feature was removed from the legacy runner a
while ago.  This seems to be unused code that could have been removed
then, so better be removed now.

Reference: avocado-framework#5185
Reference: avocado-framework#3882
Signed-off-by: Cleber Rosa <crosa@redhat.com>
clebergnu added a commit to clebergnu/avocado that referenced this pull request Apr 21, 2022
The "output-check-record" feature was removed from the legacy runner a
while ago.  This seems to be unused code that could have been removed
then, so better be removed now.

Reference: avocado-framework#5185
Reference: avocado-framework#3882
Signed-off-by: Cleber Rosa <crosa@redhat.com>
clebergnu added a commit to clebergnu/avocado that referenced this pull request Apr 22, 2022
The "output-check-record" feature was removed from the legacy runner a
while ago.  This seems to be unused code that could have been removed
then, so better be removed now.

Reference: avocado-framework#5185
Reference: avocado-framework#3882
Signed-off-by: Cleber Rosa <crosa@redhat.com>
clebergnu added a commit to clebergnu/avocado that referenced this pull request Apr 26, 2022
The "output-check-record" feature was removed from the legacy runner a
while ago.  This seems to be unused code that could have been removed
then, so better be removed now.

Reference: avocado-framework#5185
Reference: avocado-framework#3882
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants