atex 2.0.dev2__tar.gz → 2.0.dev3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. {atex-2.0.dev2 → atex-2.0.dev3}/.github/workflows/pages.yaml +3 -3
  2. {atex-2.0.dev2 → atex-2.0.dev3}/.github/workflows/self-tests.yaml +8 -8
  3. {atex-2.0.dev2 → atex-2.0.dev3}/.github/workflows/style.yaml +6 -6
  4. {atex-2.0.dev2 → atex-2.0.dev3}/PKG-INFO +1 -1
  5. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/reportportal/README.md +18 -0
  6. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/ssh/ssh.py +9 -2
  7. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/beakerlib/beakerlib.py +4 -2
  8. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/testcontrol.py +4 -1
  9. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/adhoc/mixins.py +12 -8
  10. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/testingfarm/api.py +17 -8
  11. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/README.md +1 -4
  12. atex-2.0.dev3/atex/util/__init__.py +11 -0
  13. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/null_logger.py +0 -3
  14. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/subprocess.py +5 -1
  15. {atex-2.0.dev2 → atex-2.0.dev3}/pyproject.toml +1 -1
  16. atex-2.0.dev2/atex/util/__init__.py +0 -43
  17. {atex-2.0.dev2 → atex-2.0.dev3}/.claude/CLAUDE.md +0 -0
  18. {atex-2.0.dev2 → atex-2.0.dev3}/.editorconfig +0 -0
  19. {atex-2.0.dev2 → atex-2.0.dev3}/.github/pull_request_template.md +0 -0
  20. {atex-2.0.dev2 → atex-2.0.dev3}/.github/scripts/pdoc/patch_pdoc.sh +0 -0
  21. {atex-2.0.dev2 → atex-2.0.dev3}/.github/scripts/pdoc/post_process_repo.sh +0 -0
  22. {atex-2.0.dev2 → atex-2.0.dev3}/.github/scripts/pdoc/prepare_templates.sh +0 -0
  23. {atex-2.0.dev2 → atex-2.0.dev3}/.gitignore +0 -0
  24. {atex-2.0.dev2 → atex-2.0.dev3}/AGENTS.md +0 -0
  25. {atex-2.0.dev2 → atex-2.0.dev3}/API_RULES.md +0 -0
  26. {atex-2.0.dev2 → atex-2.0.dev3}/COPYING.txt +0 -0
  27. {atex-2.0.dev2 → atex-2.0.dev3}/DEVEL.md +0 -0
  28. {atex-2.0.dev2 → atex-2.0.dev3}/README.md +0 -0
  29. {atex-2.0.dev2 → atex-2.0.dev3}/atex/__init__.py +0 -0
  30. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/README.md +0 -0
  31. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/__init__.py +0 -0
  32. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/jsonl/README.md +0 -0
  33. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/jsonl/__init__.py +0 -0
  34. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/jsonl/jsonl.py +0 -0
  35. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/multi/README.md +0 -0
  36. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/multi/__init__.py +0 -0
  37. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/multi/multi.py +0 -0
  38. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/reportportal/__init__.py +0 -0
  39. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/reportportal/api.py +0 -0
  40. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/reportportal/reportportal.py +0 -0
  41. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/yamld/README.md +0 -0
  42. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/yamld/__init__.py +0 -0
  43. {atex-2.0.dev2 → atex-2.0.dev3}/atex/aggregator/yamld/yamld.py +0 -0
  44. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/README.md +0 -0
  45. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/__init__.py +0 -0
  46. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/fmf.py +0 -0
  47. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/reportportal.py +0 -0
  48. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/shvirt/__init__.py +0 -0
  49. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/shvirt/common.py +0 -0
  50. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/shvirt/install.py +0 -0
  51. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/shvirt/reserve.py +0 -0
  52. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/testingfarm.py +0 -0
  53. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/virt/__init__.py +0 -0
  54. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/virt/install.py +0 -0
  55. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/virt/kickstart.py +0 -0
  56. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/virt/ks.cfg +0 -0
  57. {atex-2.0.dev2 → atex-2.0.dev3}/atex/cli/virt/reserve.py +0 -0
  58. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/README.md +0 -0
  59. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/__init__.py +0 -0
  60. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/local/README.md +0 -0
  61. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/local/__init__.py +0 -0
  62. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/local/local.py +0 -0
  63. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/podman/README.md +0 -0
  64. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/podman/__init__.py +0 -0
  65. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/podman/podman.py +0 -0
  66. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/ssh/README.md +0 -0
  67. {atex-2.0.dev2 → atex-2.0.dev3}/atex/connection/ssh/__init__.py +0 -0
  68. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/README.md +0 -0
  69. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/__init__.py +0 -0
  70. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/beakerlib/README.md +0 -0
  71. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/beakerlib/__init__.py +0 -0
  72. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/command/README.md +0 -0
  73. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/command/__init__.py +0 -0
  74. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/command/command.py +0 -0
  75. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/README.md +0 -0
  76. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/RESULTS.md +0 -0
  77. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/TEST_CONTROL.md +0 -0
  78. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/__init__.py +0 -0
  79. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/discover.py +0 -0
  80. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/duration.py +0 -0
  81. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/fmf.py +0 -0
  82. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/metadata.py +0 -0
  83. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/reporter.py +0 -0
  84. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/scripts.py +0 -0
  85. {atex-2.0.dev2 → atex-2.0.dev3}/atex/executor/fmf/test-wrapper +0 -0
  86. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/README.md +0 -0
  87. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/__init__.py +0 -0
  88. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/adhoc/README.md +0 -0
  89. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/adhoc/__init__.py +0 -0
  90. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/adhoc/adhoc.py +0 -0
  91. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/simple/README.md +0 -0
  92. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/simple/__init__.py +0 -0
  93. {atex-2.0.dev2 → atex-2.0.dev3}/atex/orchestrator/simple/simple.py +0 -0
  94. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/README.md +0 -0
  95. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/__init__.py +0 -0
  96. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/anyconn/README.md +0 -0
  97. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/anyconn/__init__.py +0 -0
  98. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/anyconn/anyconn.py +0 -0
  99. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/local/README.md +0 -0
  100. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/local/__init__.py +0 -0
  101. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/local/local.py +0 -0
  102. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/podman/README.md +0 -0
  103. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/podman/__init__.py +0 -0
  104. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/podman/podman.py +0 -0
  105. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/podman/systemd.py +0 -0
  106. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/podman/utils.py +0 -0
  107. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/shvirt/PROTOCOL.md +0 -0
  108. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/shvirt/README.md +0 -0
  109. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/shvirt/SERVER.md +0 -0
  110. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/shvirt/__init__.py +0 -0
  111. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/shvirt/atex-virt-helper +0 -0
  112. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/shvirt/shvirt.py +0 -0
  113. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/tempvirt/README.md +0 -0
  114. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/tempvirt/__init__.py +0 -0
  115. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/tempvirt/tempvirt.py +0 -0
  116. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/tempvirt/utils.py +0 -0
  117. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/testingfarm/README.md +0 -0
  118. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/testingfarm/__init__.py +0 -0
  119. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/testingfarm/cleaning.sh +0 -0
  120. {atex-2.0.dev2 → atex-2.0.dev3}/atex/provisioner/testingfarm/testingfarm.py +0 -0
  121. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/dedent.py +0 -0
  122. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/loggers.py +0 -0
  123. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/named_mapping.py +0 -0
  124. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/nonblock_line_reader.py +0 -0
  125. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/path.py +0 -0
  126. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/ssh.py +0 -0
  127. {atex-2.0.dev2 → atex-2.0.dev3}/atex/util/threads.py +0 -0
  128. {atex-2.0.dev2 → atex-2.0.dev3}/tests/aggregator/conftest.py +0 -0
  129. {atex-2.0.dev2 → atex-2.0.dev3}/tests/aggregator/shared.py +0 -0
  130. {atex-2.0.dev2 → atex-2.0.dev3}/tests/aggregator/test_jsonl.py +0 -0
  131. {atex-2.0.dev2 → atex-2.0.dev3}/tests/aggregator/test_jsonl_gzip.py +0 -0
  132. {atex-2.0.dev2 → atex-2.0.dev3}/tests/aggregator/test_jsonl_lzma.py +0 -0
  133. {atex-2.0.dev2 → atex-2.0.dev3}/tests/aggregator/test_multi.py +0 -0
  134. {atex-2.0.dev2 → atex-2.0.dev3}/tests/aggregator/test_yamld.py +0 -0
  135. {atex-2.0.dev2 → atex-2.0.dev3}/tests/conftest.py +0 -0
  136. {atex-2.0.dev2 → atex-2.0.dev3}/tests/connection/test_ssh.py +0 -0
  137. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/conftest.py +0 -0
  138. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/libraries/.fmf/version +0 -0
  139. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/libraries/main.fmf +0 -0
  140. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/libraries/rlimport.sh +0 -0
  141. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/libraries/rlimport_all.sh +0 -0
  142. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/reboot/.fmf/version +0 -0
  143. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/reboot/main.fmf +0 -0
  144. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/reboot/reboot.sh +0 -0
  145. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/reboot/reboot_fail.sh +0 -0
  146. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/reboot/reboot_noend.sh +0 -0
  147. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/reboot/reboot_rlrun.sh +0 -0
  148. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/results/.fmf/version +0 -0
  149. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/results/main.fmf +0 -0
  150. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/results/report_result.sh +0 -0
  151. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/results/submit_log.sh +0 -0
  152. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/sanity/.fmf/version +0 -0
  153. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/sanity/fallback_status.sh +0 -0
  154. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/fmf_trees/sanity/main.fmf +0 -0
  155. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/test_libraries.py +0 -0
  156. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/test_reboot.py +0 -0
  157. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/test_results.py +0 -0
  158. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/beakerlib/test_sanity.py +0 -0
  159. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/command/conftest.py +0 -0
  160. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/command/test_command.py +0 -0
  161. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/conftest.py +0 -0
  162. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/conftest.py +0 -0
  163. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/cwd/.fmf/version +0 -0
  164. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/cwd/file_in_fmfdir +0 -0
  165. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/cwd/main.fmf +0 -0
  166. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/cwd/subdir/file_in_subdir +0 -0
  167. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/cwd/subdir/main.fmf +0 -0
  168. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/discover/.fmf/version +0 -0
  169. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/discover/extlib/.fmf/version +0 -0
  170. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/discover/extlib/extfunc/main.fmf +0 -0
  171. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/discover/extlib/main.fmf +0 -0
  172. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/discover/main.fmf +0 -0
  173. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/discover/mylib/main.fmf +0 -0
  174. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/discover/subdir/main.fmf +0 -0
  175. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/env/.fmf/version +0 -0
  176. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/env/main.fmf +0 -0
  177. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/.fmf/version +0 -0
  178. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/adjusted.fmf +0 -0
  179. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/disabled.fmf +0 -0
  180. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/environment.fmf +0 -0
  181. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/filters.fmf +0 -0
  182. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/inherit/child/main.fmf +0 -0
  183. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/inherit/main.fmf +0 -0
  184. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/manual.fmf +0 -0
  185. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/nontest.fmf +0 -0
  186. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/plans/filtered.fmf +0 -0
  187. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/plans/with_env.fmf +0 -0
  188. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/simple/main.fmf +0 -0
  189. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/story.fmf +0 -0
  190. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/metadata/virtual.fmf +0 -0
  191. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/misc/.fmf/version +0 -0
  192. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/misc/main.fmf +0 -0
  193. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/pkgs/.fmf/version +0 -0
  194. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/pkgs/main.fmf +0 -0
  195. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/pty/.fmf/version +0 -0
  196. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/pty/main.fmf +0 -0
  197. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/reboot/.fmf/version +0 -0
  198. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/reboot/main.fmf +0 -0
  199. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/results/.fmf/version +0 -0
  200. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/results/functions +0 -0
  201. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/results/main.fmf +0 -0
  202. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/results/randfile +0 -0
  203. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/user/.fmf/version +0 -0
  204. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/fmf_trees/user/main.fmf +0 -0
  205. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_cwd.py +0 -0
  206. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_discover.py +0 -0
  207. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_env.py +0 -0
  208. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_metadata.py +0 -0
  209. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_misc.py +0 -0
  210. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_pkgs.py +0 -0
  211. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_pty.py +0 -0
  212. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_reboot.py +0 -0
  213. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_results.py +0 -0
  214. {atex-2.0.dev2 → atex-2.0.dev3}/tests/executor/fmf/test_user.py +0 -0
  215. {atex-2.0.dev2 → atex-2.0.dev3}/tests/orchestrator/conftest.py +0 -0
  216. {atex-2.0.dev2 → atex-2.0.dev3}/tests/orchestrator/test_adhoc.py +0 -0
  217. {atex-2.0.dev2 → atex-2.0.dev3}/tests/provisioner/shared.py +0 -0
  218. {atex-2.0.dev2 → atex-2.0.dev3}/tests/provisioner/test_anyconn.py +0 -0
  219. {atex-2.0.dev2 → atex-2.0.dev3}/tests/provisioner/test_local.py +0 -0
  220. {atex-2.0.dev2 → atex-2.0.dev3}/tests/provisioner/test_podman.py +0 -0
  221. {atex-2.0.dev2 → atex-2.0.dev3}/tests/provisioner/test_podman_systemd.py +0 -0
  222. {atex-2.0.dev2 → atex-2.0.dev3}/tests/provisioner/test_tempvirt.py +0 -0
  223. {atex-2.0.dev2 → atex-2.0.dev3}/tests/provisioner/test_testingfarm.py +0 -0
  224. {atex-2.0.dev2 → atex-2.0.dev3}/tests/testutil/__init__.py +0 -0
  225. {atex-2.0.dev2 → atex-2.0.dev3}/tests/testutil/ssh.py +1 -1
  226. {atex-2.0.dev2 → atex-2.0.dev3}/tests/testutil/timeout.py +0 -0
@@ -21,7 +21,7 @@ jobs:
21
21
  url: ${{ steps.deployment.outputs.page_url }}
22
22
  runs-on: ubuntu-latest
23
23
  steps:
24
- - uses: actions/checkout@v6
24
+ - uses: actions/checkout@v7
25
25
 
26
26
  - name: Post-process .md and __init__.py files
27
27
  run: ./.github/scripts/pdoc/post_process_repo.sh
@@ -40,9 +40,9 @@ jobs:
40
40
  - name: Generate docs
41
41
  run: pdoc -n -d markdown -t pdoc_templates -o docs ./atex '!atex.cli'
42
42
 
43
- - uses: actions/upload-pages-artifact@v4
43
+ - uses: actions/upload-pages-artifact@v5
44
44
  with:
45
45
  path: docs
46
46
 
47
- - uses: actions/deploy-pages@v4
47
+ - uses: actions/deploy-pages@v5
48
48
  id: deployment
@@ -11,7 +11,7 @@ jobs:
11
11
  environment:
12
12
  name: testing-farm
13
13
  steps:
14
- - uses: actions/checkout@v6
14
+ - uses: actions/checkout@v7
15
15
  - run: sudo apt-get install -y python3-pytest python3-pytest-xdist
16
16
  - run: python3 -m pip install .
17
17
  - name: Run tests
@@ -24,7 +24,7 @@ jobs:
24
24
  provisioner-podman:
25
25
  runs-on: ubuntu-26.04
26
26
  steps:
27
- - uses: actions/checkout@v6
27
+ - uses: actions/checkout@v7
28
28
  - run: sudo apt-get install -y python3-pytest podman
29
29
  - run: python3 -m pip install .
30
30
  - name: Run tests
@@ -34,7 +34,7 @@ jobs:
34
34
  provisioners-small:
35
35
  runs-on: ubuntu-26.04
36
36
  steps:
37
- - uses: actions/checkout@v6
37
+ - uses: actions/checkout@v7
38
38
  - run: sudo apt-get install -y python3-pytest rsync
39
39
  - run: python3 -m pip install .
40
40
  - name: Run tests
@@ -46,7 +46,7 @@ jobs:
46
46
  connection:
47
47
  runs-on: ubuntu-26.04
48
48
  steps:
49
- - uses: actions/checkout@v6
49
+ - uses: actions/checkout@v7
50
50
  - run: sudo apt-get install -y python3-pytest podman openssh-client
51
51
  - run: python3 -m pip install .
52
52
  - name: Run tests
@@ -67,7 +67,7 @@ jobs:
67
67
  backend: ssh
68
68
  name: executors-${{ matrix.image }}-${{ matrix.backend }}
69
69
  steps:
70
- - uses: actions/checkout@v6
70
+ - uses: actions/checkout@v7
71
71
  - run: sudo apt-get install -y python3-pytest podman openssh-client rsync
72
72
  - run: python3 -m pip install .
73
73
  - name: Run tests
@@ -79,7 +79,7 @@ jobs:
79
79
  executors-small:
80
80
  runs-on: ubuntu-26.04
81
81
  steps:
82
- - uses: actions/checkout@v6
82
+ - uses: actions/checkout@v7
83
83
  - run: sudo apt-get install -y python3-pytest
84
84
  - run: python3 -m pip install .
85
85
  - name: Run tests
@@ -92,7 +92,7 @@ jobs:
92
92
  aggregators:
93
93
  runs-on: ubuntu-26.04
94
94
  steps:
95
- - uses: actions/checkout@v6
95
+ - uses: actions/checkout@v7
96
96
  - run: sudo apt-get install -y python3-pytest
97
97
  - run: python3 -m pip install .
98
98
  - name: Run tests
@@ -102,7 +102,7 @@ jobs:
102
102
  orchestrators:
103
103
  runs-on: ubuntu-26.04
104
104
  steps:
105
- - uses: actions/checkout@v6
105
+ - uses: actions/checkout@v7
106
106
  - run: sudo apt-get install -y python3-pytest
107
107
  - run: python3 -m pip install .
108
108
  - name: Run tests
@@ -9,7 +9,7 @@ jobs:
9
9
  ruff:
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
- - uses: actions/checkout@v6
12
+ - uses: actions/checkout@v7
13
13
  - name: Install ruff
14
14
  run: python3 -m pip install ruff
15
15
  - name: Run ruff check
@@ -18,7 +18,7 @@ jobs:
18
18
  flake8-picky-parentheses:
19
19
  runs-on: ubuntu-latest
20
20
  steps:
21
- - uses: actions/checkout@v6
21
+ - uses: actions/checkout@v7
22
22
  - name: Install flake8-picky-parentheses
23
23
  run: python3 -m pip install flake8 flake8-picky-parentheses
24
24
  - name: Run flake8 check
@@ -31,7 +31,7 @@ jobs:
31
31
  markdown:
32
32
  runs-on: ubuntu-latest
33
33
  steps:
34
- - uses: actions/checkout@v6
34
+ - uses: actions/checkout@v7
35
35
  - name: No double-space for line break
36
36
  run: >
37
37
  ! grep -H --include='*.md' ' $' -r .
@@ -39,7 +39,7 @@ jobs:
39
39
  yamllint:
40
40
  runs-on: ubuntu-latest
41
41
  steps:
42
- - uses: actions/checkout@v6
42
+ - uses: actions/checkout@v7
43
43
  - name: Install yamllint
44
44
  run: python3 -m pip install yamllint
45
45
  - name: Run yamllint check
@@ -69,7 +69,7 @@ jobs:
69
69
  subtests-subresults:
70
70
  runs-on: ubuntu-latest
71
71
  steps:
72
- - uses: actions/checkout@v6
72
+ - uses: actions/checkout@v7
73
73
  - name: Ensure subtests are not named "subresults"
74
74
  run: |
75
75
  ! grep -r subresult *
@@ -77,7 +77,7 @@ jobs:
77
77
  no-binary-files:
78
78
  runs-on: ubuntu-latest
79
79
  steps:
80
- - uses: actions/checkout@v6
80
+ - uses: actions/checkout@v7
81
81
  - name: Ensure there are no unexpected binary files
82
82
  run: |
83
83
  # ASCII only (printable + spaces)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: atex
3
- Version: 2.0.dev2
3
+ Version: 2.0.dev3
4
4
  Summary: Ad-hoc Test EXecution
5
5
  Project-URL: Homepage, https://github.com/RHSecurityCompliance/atex
6
6
  License-Expression: GPL-3.0-or-later
@@ -178,3 +178,21 @@ ie. for specific platform or test names.
178
178
 
179
179
  Useful for test suites with huge amounts of results, to lighten the load
180
180
  on ReportPortal's database.
181
+
182
+ ## Limitations
183
+
184
+ ### Subtest results before test result
185
+
186
+ ReportPortal needs test results to be "finished" (closed). Here, that is always
187
+ done after the first test-only result is ingested (without a `name` field),
188
+ causing any subsequent results, both subtest and non-subtest for that one test,
189
+ to be ignored.
190
+
191
+ This is NOT an issue when ingesting multiple tests with the same name (multiple
192
+ `.ingest()` calls), even on the same platform - that is fine and works well via
193
+ the native RP "retries" concept.\
194
+ However, from the artifacts given to one `.ingest()`, only the results up to
195
+ and including the first test-only are processed.
196
+
197
+ Chances are this is not something relevant to you - tests typically always
198
+ report subtest results before one final test-only result.
@@ -200,6 +200,13 @@ class ManagedSSHConnection(Connection):
200
200
  self._tmpdir = None
201
201
  self._master_proc = None
202
202
 
203
+ def _log_unique_options(self):
204
+ return " ".join(
205
+ f"{key}={shlex.quote(str(value))}"
206
+ for key, value in self.options.items()
207
+ if key not in DEFAULT_OPTIONS or value != DEFAULT_OPTIONS[key]
208
+ )
209
+
203
210
  def assert_master(self):
204
211
  proc = self._master_proc
205
212
  if not proc:
@@ -219,7 +226,7 @@ class ManagedSSHConnection(Connection):
219
226
  proc = self._master_proc
220
227
  if not proc:
221
228
  return
222
- self.logger.info(f"disconnecting: {self.options}")
229
+ self.logger.info(f"disconnecting: {self._log_unique_options()}")
223
230
  proc.kill()
224
231
  # don't zombie forever, return EPIPE on any attempts to write to us
225
232
  proc.stdout.close()
@@ -242,7 +249,7 @@ class ManagedSSHConnection(Connection):
242
249
  sock = self._tmpdir / "control.sock"
243
250
 
244
251
  if not self._master_proc:
245
- self.logger.info(f"connecting: {self.options}")
252
+ self.logger.info(f"connecting: {self._log_unique_options()}")
246
253
  options = self.options.copy()
247
254
  options["SessionType"] = "none"
248
255
  options["ControlMaster"] = "yes"
@@ -44,6 +44,8 @@ class BeakerlibExecutor(FMFExecutor):
44
44
  # if the passed file looks like a rlPhase* journal, skip it too
45
45
  [[ $test_name == @(Setup|Test|Cleanup) ]] && log=
46
46
  [[ $log == */tmp.* ]] && ! grep -qv '^$\|^::' "$log" && log=
47
+ # replace ASCII controls, double quotes, backslashes; preserve spaces
48
+ test_name=${test_name//[[:cntrl:]\"\\]/_}
47
49
  # if log file was specified, create a files[] entry for it
48
50
  if [[ -f $log ]]; then
49
51
  size=$(stat -L -c '%s' "$log")
@@ -157,7 +159,7 @@ class BeakerlibExecutor(FMFExecutor):
157
159
  check=True,
158
160
  )
159
161
 
160
- def run_test(self, *args, env=None):
162
+ def run_test(self, test_name, artifacts, *, env=None):
161
163
  # create BEAKERLIB_DIR, symlink metadata.yaml to it
162
164
  quoted_dir = shlex.quote(str(self.work_dir / "beakerlib"))
163
165
  # prepare metadata.yaml for rlImport --all
@@ -186,7 +188,7 @@ class BeakerlibExecutor(FMFExecutor):
186
188
  }
187
189
  env = beakerlib_env if env is None else env | beakerlib_env
188
190
 
189
- return super().run_test(*args, env=env)
191
+ return super().run_test(test_name, artifacts, env=env)
190
192
 
191
193
  def eval_exit_code(self, test_name, reporter, exit_code): # noqa: ARG002, PLR6301
192
194
  if reporter.nameless_result_seen:
@@ -188,7 +188,10 @@ class TestControl:
188
188
  if written == 0:
189
189
  raise BadControlError("EOF when reading data")
190
190
  file_length -= written
191
- yield
191
+ # yield only if there is still data left to be read next,
192
+ # fall through to .report() if we already read everything
193
+ if file_length > 0:
194
+ yield
192
195
 
193
196
  self.logger.debug("file recv ended")
194
197
 
@@ -69,16 +69,20 @@ def FMFPriorityMixin(fmf_tests): # noqa: N802
69
69
  def priority(name):
70
70
  return fmf_tests.data[name].get("extra-priority", 0)
71
71
 
72
- # this will be >0 if there are higher-than-0 priority tests,
73
- # and <0 if there are no 0-priority tests left
74
- # - in either case, we want the highest priority
75
72
  best = max(to_run, key=priority)
76
- if priority(best) != 0:
77
- return best
73
+ highest_prio = priority(best)
78
74
 
79
- # only tests with 0 priority left (or with it unspecified),
80
- # pass on the original order
81
- return super().next_test(to_run, previous)
75
+ # tests with a positive prio run first; pick highest-prio one
76
+ if highest_prio > 0:
77
+ return best
78
+ # only zero or lower prio left, delegate any zero-prio in orig order
79
+ # - these must not contain non-zero-prio tests, those run after
80
+ elif highest_prio == 0:
81
+ zero_prio = [name for name in to_run if priority(name) == 0]
82
+ return super().next_test(zero_prio, previous)
83
+ # only negative priorities remain; pick highest-prio one
84
+ else:
85
+ return best
82
86
 
83
87
  return FMFPriorityMixin
84
88
 
@@ -673,23 +673,32 @@ class Reserve:
673
673
  # (it will be failing to login for a while, until the reserve test
674
674
  # installs our ssh pubkey into authorized_keys)
675
675
  ssh_cmd = (
676
- "ssh", "-q", "-i", ssh_key.absolute(), "-oConnectionAttempts=60",
676
+ "ssh", "-q", "-i", ssh_key.absolute(),
677
677
  "-oStrictHostKeyChecking=no", "-oUserKnownHostsFile=/dev/null",
678
- "-oBatchMode=yes", f"{ssh_user}@{ssh_host}",
678
+ "-oBatchMode=yes",
679
+ f"{ssh_user}@{ssh_host}",
679
680
  )
680
681
  while True:
681
682
  time.sleep(1)
682
683
  self.request.assert_alive()
683
684
 
684
- proc = subprocess.run(
685
- (*ssh_cmd, "exit 123"),
686
- stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL,
687
- )
688
- if proc.returncode == 123:
689
- break
685
+ self.logger.info(f"request {self.request.id} trying ssh {ssh_user}@{ssh_host}")
686
+ try:
687
+ proc = subprocess.run(
688
+ (*ssh_cmd, "exit 123"),
689
+ stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL,
690
+ # don't get stuck in KEX after TCP is already established
691
+ timeout=300,
692
+ )
693
+ except subprocess.TimeoutExpired:
694
+ pass
695
+ else:
696
+ if proc.returncode == 123:
697
+ break
690
698
 
691
699
  # run OS cleaning script (if requested)
692
700
  if self._os_cleaning:
701
+ self.logger.info(f"request {self.request.id} doing os_cleaning")
693
702
  util.subprocess_log(
694
703
  (*ssh_cmd, "bash"),
695
704
  logger=self.logger,
@@ -5,11 +5,8 @@ formatting, subprocess wrappers, whatever) accessible from the `util.*`
5
5
  namespace, while being able to break them down into multiple `*.py` files
6
6
  for readability.
7
7
 
8
- These multiple `*.py` files then get automatically imported into one `globals()`
9
- of the entire `util` module (package), appearing as a singular `util`.
10
-
11
8
  Since the individual submodules cannot easily `from .* import *` themselves,
12
- and since the intention is to give the impression of a single big `util.py`,
9
+ and since the intention is to give the impression of a single big `util` module,
13
10
  any local/relative imports between files should extract the necessary
14
11
  identifiers via ie.
15
12
 
@@ -0,0 +1,11 @@
1
+ # ruff: noqa: F401
2
+
3
+ from .dedent import dedent
4
+ from .loggers import get_loggers
5
+ from .named_mapping import NamedMapping
6
+ from .nonblock_line_reader import BufferFullError, NonblockLineReader
7
+ from .null_logger import NULL_LOGGER
8
+ from .path import normalize_path
9
+ from .ssh import blocking_wait_for_sshd, default_ssh_key, ssh_keygen, wait_for_sshd
10
+ from .subprocess import subprocess_log, subprocess_stream
11
+ from .threads import ThreadJoin, ThreadJoinQueue, ThreadResult
@@ -10,6 +10,3 @@ NULL_LOGGER.addHandler(logging.NullHandler())
10
10
 
11
11
  # don't pass the record to parents, handle/discard it in here
12
12
  NULL_LOGGER.propagate = False
13
-
14
- # work around __module__ based detection in __init__.py
15
- __all__ = ("NULL_LOGGER",)
@@ -44,7 +44,11 @@ def subprocess_stream(cmd, *, stream="stdout", check=False, input=None, **kwargs
44
44
  proc.stdin.write(input)
45
45
  except BrokenPipeError:
46
46
  pass
47
- proc.stdin.close()
47
+ # TextIOWrapper.close() may still try to write buffered data
48
+ try:
49
+ proc.stdin.close()
50
+ except BrokenPipeError:
51
+ pass
48
52
  line_stream = getattr(proc, stream)
49
53
  for line in line_stream:
50
54
  yield line.rstrip("\n")
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
  name = "atex"
7
7
  description = "Ad-hoc Test EXecution"
8
8
  readme = "README.md"
9
- version = "2.0.dev2"
9
+ version = "2.0.dev3"
10
10
  license = "GPL-3.0-or-later"
11
11
  requires-python = ">= 3.12"
12
12
  dependencies = [
@@ -1,43 +0,0 @@
1
- import importlib
2
- import inspect
3
- import pkgutil
4
-
5
- __all__ = []
6
-
7
-
8
- def __dir__():
9
- return __all__
10
-
11
-
12
- # this is the equivalent of 'from .submod import *' for all submodules
13
- # (function to avoid polluting global namespace with extra variables)
14
- def _import_submodules():
15
- def import_obj(key, attr):
16
- # do not override already processed objects (avoid duplicates)
17
- assert key not in __all__, f"tried to override already-imported '{key}'"
18
- globals()[key] = attr
19
- __all__.append(key)
20
-
21
- for info in pkgutil.iter_modules(__spec__.submodule_search_locations):
22
- mod = importlib.import_module(f".{info.name}", __name__)
23
-
24
- # if the module defines __all__, just use it
25
- if hasattr(mod, "__all__"):
26
- for key in mod.__all__:
27
- import_obj(key, getattr(mod, key))
28
-
29
- else:
30
- for key in dir(mod):
31
- # https://docs.python.org/3/reference/executionmodel.html#binding-of-names
32
- if key.startswith("_"):
33
- continue
34
- # import any classes or functions which are directly defined
35
- # by the module, avoiding any foreign imports
36
- attr = getattr(mod, key)
37
- if inspect.isroutine(attr) or inspect.isclass(attr):
38
- if attr.__module__ == mod.__name__:
39
- import_obj(key, attr)
40
- # anything else is unsafe to import automatically
41
-
42
-
43
- _import_submodules()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes