Skip to content

Conversation

@clebergnu
Copy link
Contributor

Signed-off-by: wangpeng wangpengb@uniontech.com

@clebergnu clebergnu added the bug label Jan 13, 2025
@clebergnu clebergnu added this to the 109 - Codename TBD milestone Jan 13, 2025
@clebergnu clebergnu self-assigned this Jan 13, 2025
@codecov
Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.09%. Comparing base (f2a65ec) to head (6a9a136).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6089      +/-   ##
==========================================
+ Coverage   68.93%   69.09%   +0.15%     
==========================================
  Files         203      203              
  Lines       21999    21999              
==========================================
+ Hits        15166    15201      +35     
+ Misses       6833     6798      -35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@clebergnu clebergnu force-pushed the class_dependencies_all_tests branch from 1e1b96b to 9334ad4 Compare January 13, 2025 20:55
@clebergnu
Copy link
Contributor Author

@wangp-h FYI, there is some issue with requirements under the Podman spawner:

2025-01-13T21:01:15.6506835Z  (nrunner-requirement-25/28) selftests/functional/serial/requirements.py:BasicTest.test_dependency_recipe;process: STARTED
2025-01-13T21:01:17.6698911Z  (nrunner-requirement-25/28) selftests/functional/serial/requirements.py:BasicTest.test_dependency_recipe;process:  PASS (1.98 s)
2025-01-13T21:01:18.0247026Z  (nrunner-requirement-26/28) selftests/functional/serial/requirements.py:BasicTest.test_dependency_recipe;podman: STARTED
2025-01-13T21:01:21.7096418Z  (nrunner-requirement-26/28) selftests/functional/serial/requirements.py:BasicTest.test_dependency_recipe;podman:  FAIL: 1 != 0 (3.50 s)
2025-01-13T21:01:22.0646239Z  (nrunner-requirement-27/28) selftests/functional/serial/requirements.py:BasicTest.test_dependency_recipe;lxc: STARTED
2025-01-13T21:01:24.1356628Z  (nrunner-requirement-27/28) selftests/functional/serial/requirements.py:BasicTest.test_dependency_recipe;lxc:  PASS (2.02 s)
2025-01-13T21:01:24.4399803Z  (nrunner-requirement-28/28) selftests/functional/serial/requirements.py:BasicTest.test_dependency_recipe;remote: STARTED
2025-01-13T21:01:26.4590212Z  (nrunner-requirement-28/28) selftests/functional/serial/requirements.py:BasicTest.test_dependency_recipe;remote:  PASS (1.99 s)

Also, the test is broken because it does not take into account other spawners (it actually uses process in all but podman) still make it believe that it does that them into account.

@clebergnu clebergnu marked this pull request as draft January 20, 2025 16:10
The 'type' field is removed from the dependencies_dict (using
pop('type')), which causes the 'type' field to no longer exist in the
dictionary during subsequent operations.

The test updates are necessary because:

  1. tests now get executed because of this fix
  2. the JSON format needs to be escaped
  3. the number of tests and expected passes is really 1 because the
     test path given specifies a single test.

Signed-off-by: wangpeng <wangpengb@uniontech.com>
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

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

3 participants