atex 0.13__py3-none-any.whl → 0.15__py3-none-any.whl
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.
- atex/__init__.py +1 -1
- atex/aggregator/__init__.py +8 -7
- atex/aggregator/json.py +45 -42
- atex/cli/__init__.py +12 -14
- atex/cli/testingfarm.py +6 -6
- atex/connection/__init__.py +19 -17
- atex/connection/podman.py +2 -13
- atex/connection/ssh.py +39 -43
- atex/executor/__init__.py +0 -3
- atex/executor/duration.py +1 -1
- atex/executor/executor.py +47 -33
- atex/executor/reporter.py +39 -27
- atex/executor/scripts.py +8 -8
- atex/executor/testcontrol.py +46 -34
- atex/fmf.py +28 -44
- atex/orchestrator/__init__.py +6 -5
- atex/orchestrator/adhoc.py +59 -60
- atex/orchestrator/contest.py +15 -11
- atex/provisioner/__init__.py +31 -22
- atex/provisioner/libvirt/libvirt.py +50 -44
- atex/provisioner/libvirt/locking.py +25 -23
- atex/provisioner/podman/podman.py +8 -8
- atex/provisioner/testingfarm/api.py +91 -77
- atex/provisioner/testingfarm/testingfarm.py +16 -12
- atex/util/__init__.py +23 -0
- atex/util/dedent.py +2 -2
- atex/util/named_mapping.py +3 -3
- atex/util/path.py +1 -1
- atex/util/subprocess.py +28 -22
- atex/util/threads.py +9 -9
- {atex-0.13.dist-info → atex-0.15.dist-info}/METADATA +1 -1
- atex-0.15.dist-info/RECORD +44 -0
- atex/util/log.py +0 -71
- atex-0.13.dist-info/RECORD +0 -45
- {atex-0.13.dist-info → atex-0.15.dist-info}/WHEEL +0 -0
- {atex-0.13.dist-info → atex-0.15.dist-info}/entry_points.txt +0 -0
- {atex-0.13.dist-info → atex-0.15.dist-info}/licenses/COPYING.txt +0 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
atex/__init__.py,sha256=6gevuNzB38U-IBJaNQdNKh8rwITw_tsYEhgc2W1kn8Y,523
|
|
2
|
+
atex/fmf.py,sha256=gFHLfMxJsaemL1T2SQ8kj9pcoyFBDUo_iNrjpSyekH4,7935
|
|
3
|
+
atex/aggregator/__init__.py,sha256=2hH8zdsHOe-NuApfekUyVFUhqHpG0ychOiQssAV8pls,1595
|
|
4
|
+
atex/aggregator/json.py,sha256=5NNIfOR-HbYkxppPv-pt499h2veerY1X3S-65TgzwJM,10552
|
|
5
|
+
atex/cli/__init__.py,sha256=r4FIa66C4RQb9-ejtosRLjKp_DcTKyDRnLnxjZtbNos,2857
|
|
6
|
+
atex/cli/fmf.py,sha256=pvj_OIp6XT_nVUwziL7-v_HNbyAtuUmb7k_Ey_KkFJc,3616
|
|
7
|
+
atex/cli/libvirt.py,sha256=6tt5ANb8XBBRXOQsYPTWILThKqf-gvt5AZh5Dctg2PA,3782
|
|
8
|
+
atex/cli/testingfarm.py,sha256=eV_iDbjkO5GyAbNzzhBdb724pd_u3dPcg5-GlMWjOpE,10875
|
|
9
|
+
atex/connection/__init__.py,sha256=qNSPO3ZpMPdsbJ17bY5ZDVU2Vu3X0orByBXqw7Nk5Xs,3674
|
|
10
|
+
atex/connection/podman.py,sha256=895bDpL5z0KUXOcvM5qzKsIyTIW7M5hrrSQ1CryjrT0,1476
|
|
11
|
+
atex/connection/ssh.py,sha256=CgI9pheKgj9OzhR3IpNGmpVbhsTeftXHTkr5rX-lI3s,13328
|
|
12
|
+
atex/executor/__init__.py,sha256=0XJWUL0hwwpkVlXEEE_q9XBLjjsiIWpi9OKnnUsy1p0,444
|
|
13
|
+
atex/executor/duration.py,sha256=f2gVmq2Lje8SmT4imJgTjv2GCjdV8ihbYubNvA-RQ-4,1761
|
|
14
|
+
atex/executor/executor.py,sha256=Df0C5MyYyTMbUpJVMarugaLt6F2lvzuHLE-FscRFgXw,16808
|
|
15
|
+
atex/executor/reporter.py,sha256=x6L2odo1WbcwvxxE8l1Qh3n4tnwuALYoGBqZ2F3WcO8,3704
|
|
16
|
+
atex/executor/scripts.py,sha256=MIJVoWBq0laC98RKU0EbOB6qvFLi1j7LgjbujfLflvI,5893
|
|
17
|
+
atex/executor/testcontrol.py,sha256=GtR6pfMh7LBpwWiDYlqhmaKUD67KNyJX9kvvh5ak41U,13485
|
|
18
|
+
atex/orchestrator/__init__.py,sha256=4WkQpd94dKiXlJG31TRf-XBDlk8AF4aIcZocXyrPXc4,1877
|
|
19
|
+
atex/orchestrator/adhoc.py,sha256=PtOd5jZBLS1QCIo908PQd5l1-8wzqMf4GpR1g7Fh7Vc,19490
|
|
20
|
+
atex/orchestrator/contest.py,sha256=JjA1FVkuet2DM9WCbog53Jcqt-cmNiEwjwY4Ycq0oeM,4669
|
|
21
|
+
atex/provisioner/__init__.py,sha256=7J_rPp6xRb7jAcfaJq83z5k2-s1n2BcdvcEeErQOPdw,3828
|
|
22
|
+
atex/provisioner/libvirt/VM_PROVISION,sha256=7pkZ-ozgTyK4qNGC-E-HUznr4IhbosWSASbB72Gknl8,2664
|
|
23
|
+
atex/provisioner/libvirt/__init__.py,sha256=pKG5IpZSC2IHs5wL2ecQx_fd9AzAXEbZmDzA7RyZsfM,119
|
|
24
|
+
atex/provisioner/libvirt/libvirt.py,sha256=AAHKCeBG1UBngUvvjdiYMNPWvDy7ibLFKfp2c4qd19I,18994
|
|
25
|
+
atex/provisioner/libvirt/locking.py,sha256=WpDj0z5ZhsIVT9EczwFn5jBCzGwxighLncF-AZE_G-A,5725
|
|
26
|
+
atex/provisioner/libvirt/setup-libvirt.sh,sha256=oCMy9SCnbC_QuAzO2sFwvB5ui1kMQ6uviHsgdXyoFXc,2428
|
|
27
|
+
atex/provisioner/podman/__init__.py,sha256=dM0JzQXWX7edtWSc0KH0cMFXAjArFn2Vme4j_ZMsdYA,138
|
|
28
|
+
atex/provisioner/podman/podman.py,sha256=0yf641X2aVD3f0X3k9dwPq5qPyfyVuggO0P-LWkjFks,5017
|
|
29
|
+
atex/provisioner/testingfarm/__init__.py,sha256=kZncgLGdRCR4FMaRQr2GTwJ8vjlA-24ri8JO2ueZJuw,113
|
|
30
|
+
atex/provisioner/testingfarm/api.py,sha256=PhdMWAhrf1ydnZOv80fopr-6-rnghIaVip33h5uwYYY,24251
|
|
31
|
+
atex/provisioner/testingfarm/testingfarm.py,sha256=PZRDDuhKPLWLh4X5lx82XhzEnv8aV7RCOvGAzPxEF5M,8686
|
|
32
|
+
atex/util/__init__.py,sha256=Li1_z6mG4Cjq1AtFwGQ6XaNdnwbcQ5739ojNPYBuVnM,2337
|
|
33
|
+
atex/util/dedent.py,sha256=q6iSCt0382DeBS5fr96p_RTdK_-hGY6_Rk2MHYUr5zs,607
|
|
34
|
+
atex/util/libvirt.py,sha256=kDZmT6xLYEZkQNLZY98gJ2M48DDWXxHF8rQY9PnjB3U,660
|
|
35
|
+
atex/util/named_mapping.py,sha256=Cv9br84wkVjd6gpxQpf8yexx28BgH9J4ZfHtGmoCaaY,4702
|
|
36
|
+
atex/util/path.py,sha256=NNkNXS2S9vQ4C9jR3ieiBWQ64yiQftIJDfljLVhj2Og,506
|
|
37
|
+
atex/util/ssh_keygen.py,sha256=9yuSl2yBV7pG3Qfsf9tossVC00nbIUrAeLdbwTykpjk,384
|
|
38
|
+
atex/util/subprocess.py,sha256=-yBwuzd8gTtBpziqGH9q-lG5QdZrb434scjS9bwS2oc,3066
|
|
39
|
+
atex/util/threads.py,sha256=FlvxXNvOrlBVenc7KKPRjw7F5cg5UeaxypEfGzlzgFo,3541
|
|
40
|
+
atex-0.15.dist-info/METADATA,sha256=5LsAreIVw9z0BUsLFTExIoENraBxYUrV5drkE_Niyvg,3050
|
|
41
|
+
atex-0.15.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
42
|
+
atex-0.15.dist-info/entry_points.txt,sha256=pLqJdcfeyQTgup2h6dWb6SvkHhtOl-W5Eg9zV8moK0o,39
|
|
43
|
+
atex-0.15.dist-info/licenses/COPYING.txt,sha256=oEuj51jdmbXcCUy7pZ-KE0BNcJTR1okudRp5zQ0yWnU,670
|
|
44
|
+
atex-0.15.dist-info/RECORD,,
|
atex/util/log.py
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
import logging
|
|
3
|
-
import inspect
|
|
4
|
-
|
|
5
|
-
_logger = logging.getLogger("atex")
|
|
6
|
-
|
|
7
|
-
# which functions to skip when determining the logger function caller;
|
|
8
|
-
# typically, these are wrappers and we want to see their caller in the trace
|
|
9
|
-
# instead of them
|
|
10
|
-
#
|
|
11
|
-
# ( file basename , qualname )
|
|
12
|
-
# where qualname is '<module>' or 'funcname' or 'Classname.funcname'
|
|
13
|
-
skip_levels = {
|
|
14
|
-
("subprocess.py", "subprocess_run"),
|
|
15
|
-
("subprocess.py", "subprocess_output"),
|
|
16
|
-
("subprocess.py", "subprocess_Popen"),
|
|
17
|
-
("subprocess.py", "subprocess_stream"),
|
|
18
|
-
("subprocess.py", "subprocess_log"),
|
|
19
|
-
|
|
20
|
-
("podman.py", "PodmanConnection.cmd"),
|
|
21
|
-
("podman.py", "PodmanConnection.rsync"),
|
|
22
|
-
|
|
23
|
-
("ssh.py", "StatelessSSHConnection.cmd"),
|
|
24
|
-
("ssh.py", "StatelessSSHConnection.rsync"),
|
|
25
|
-
("ssh.py", "ManagedSSHConnection.forward"),
|
|
26
|
-
("ssh.py", "ManagedSSHConnection.cmd"),
|
|
27
|
-
("ssh.py", "ManagedSSHConnection.rsync"),
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
def _log_msg(logger_func, *args, stacklevel=1, **kwargs):
|
|
32
|
-
# inspect.stack() is MUCH slower
|
|
33
|
-
caller = inspect.currentframe().f_back.f_back # TODO: sys._getframe(2)
|
|
34
|
-
extra_levels = 2 # skip this func and the debug/info/warning parent
|
|
35
|
-
while caller.f_back:
|
|
36
|
-
code = caller.f_code
|
|
37
|
-
# pathlib is much slower
|
|
38
|
-
basename = os.path.basename(code.co_filename) # noqa: PTH119
|
|
39
|
-
qualname = code.co_qualname
|
|
40
|
-
if (basename, qualname) in skip_levels:
|
|
41
|
-
extra_levels += 1
|
|
42
|
-
caller = caller.f_back
|
|
43
|
-
else:
|
|
44
|
-
break
|
|
45
|
-
return logger_func(*args, stacklevel=stacklevel+extra_levels, **kwargs)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
def warning(*args, **kwargs):
|
|
49
|
-
return _log_msg(_logger.warning, *args, **kwargs)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
def info(*args, **kwargs):
|
|
53
|
-
return _log_msg(_logger.info, *args, **kwargs)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
def debug(*args, **kwargs):
|
|
57
|
-
return _log_msg(_logger.debug, *args, **kwargs)
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# add a log level more verbose than logging.DEBUG, for verbose command
|
|
61
|
-
# outputs, big JSON / XML printouts, and other outputs unsuitable for
|
|
62
|
-
# large parallel runs; to be used in targeted debugging
|
|
63
|
-
#
|
|
64
|
-
# logging.DEBUG is 10, and programs tend to add TRACE as 5, so be somewhere
|
|
65
|
-
# in between
|
|
66
|
-
EXTRADEBUG = 8
|
|
67
|
-
logging.addLevelName(EXTRADEBUG, "EXTRADEBUG")
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
def extradebug(*args, **kwargs):
|
|
71
|
-
return _log_msg(_logger.log, EXTRADEBUG, *args, **kwargs)
|
atex-0.13.dist-info/RECORD
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
atex/__init__.py,sha256=LdX67gprtHYeAkjLhFPKzpc7ECv2rHxUbHKDGbGXO1c,517
|
|
2
|
-
atex/fmf.py,sha256=gkJXIaRO7_KvwJR-V6Tc1NVn4a9Hq7hoBLQLhxYIdbg,8834
|
|
3
|
-
atex/aggregator/__init__.py,sha256=8mN-glHdzR4icKAUGO4JPodsTrLMdJoeuZsO2CTbhyU,1773
|
|
4
|
-
atex/aggregator/json.py,sha256=tpoUZoZM8EMYhZKwVr4LRtgEIDjRxC11BIKVXZKYPOs,10441
|
|
5
|
-
atex/cli/__init__.py,sha256=0YzZ4sIYvZ47yF9STA2znINIQfEoGAV1N0pduTA7NhI,2897
|
|
6
|
-
atex/cli/fmf.py,sha256=pvj_OIp6XT_nVUwziL7-v_HNbyAtuUmb7k_Ey_KkFJc,3616
|
|
7
|
-
atex/cli/libvirt.py,sha256=6tt5ANb8XBBRXOQsYPTWILThKqf-gvt5AZh5Dctg2PA,3782
|
|
8
|
-
atex/cli/testingfarm.py,sha256=b6IzoouYx-Qzuu7350QhyC-PW8576b7hyhiTDka_xak,10899
|
|
9
|
-
atex/connection/__init__.py,sha256=dj8ZBcEspom7Z_UjecfLGBRNvLZ3dyGR9q19i_B4xpY,3880
|
|
10
|
-
atex/connection/podman.py,sha256=1T56gh1TgbcQWpTIJHL4NaxZOI6aMg7Xp7sn6PQQyBk,1911
|
|
11
|
-
atex/connection/ssh.py,sha256=6lama8q3tSQcWPRKN3B4lgFUGtuVA51tuKDiNh7IN0U,13484
|
|
12
|
-
atex/executor/__init__.py,sha256=nmYJCbC36fRGGkjoniFJmsq-sqFw8YS2ndf4q_loVM0,471
|
|
13
|
-
atex/executor/duration.py,sha256=x06sItKOZi6XA8KszQwZGpIb1Z_L-HWqIwZKo2SDo0s,1759
|
|
14
|
-
atex/executor/executor.py,sha256=WJXPWQo6VQhZgXORVVyvTDAdOQbbZz26E7FpwizbGIk,16126
|
|
15
|
-
atex/executor/reporter.py,sha256=QbzBkaXuhI6lsTYrTlp7O5W9d6etR0KjDdH-J59cXWM,3357
|
|
16
|
-
atex/executor/scripts.py,sha256=1u5ZEGJ7nIvkqbRK3uVusOkineVM8DXo4kAlH2MdQbg,5877
|
|
17
|
-
atex/executor/testcontrol.py,sha256=iju_Cl32D8NHH1ePN1lykR1noP8-0eBDLQ5-V_9DqF0,12834
|
|
18
|
-
atex/orchestrator/__init__.py,sha256=8Q1YknyibilXLjWRYkHm_Mr2HMm0SRw8Zv39KypeASM,2059
|
|
19
|
-
atex/orchestrator/adhoc.py,sha256=VUwHX71Vb6eRLzW3Z3KDZdck7p0PiwzAZrOuUKMkwtM,19667
|
|
20
|
-
atex/orchestrator/contest.py,sha256=SuxT9uZtcs_DEsA3hHyKgrIWNrDeqCCWd3-hy3sHytY,4572
|
|
21
|
-
atex/provisioner/__init__.py,sha256=6hZxQlvTQ0yWWqCRCPqWMoYuim5wDMCcDIYHF-nIfMs,4013
|
|
22
|
-
atex/provisioner/libvirt/VM_PROVISION,sha256=7pkZ-ozgTyK4qNGC-E-HUznr4IhbosWSASbB72Gknl8,2664
|
|
23
|
-
atex/provisioner/libvirt/__init__.py,sha256=pKG5IpZSC2IHs5wL2ecQx_fd9AzAXEbZmDzA7RyZsfM,119
|
|
24
|
-
atex/provisioner/libvirt/libvirt.py,sha256=ZKctK2B51olvWvLxz2pZ2s6LtX_7EJ43LvlyJHnI1Ho,18955
|
|
25
|
-
atex/provisioner/libvirt/locking.py,sha256=AXtDyidZNmUoMmrit26g9iTHDqInrzL_RSQEoc_EAXw,5669
|
|
26
|
-
atex/provisioner/libvirt/setup-libvirt.sh,sha256=oCMy9SCnbC_QuAzO2sFwvB5ui1kMQ6uviHsgdXyoFXc,2428
|
|
27
|
-
atex/provisioner/podman/__init__.py,sha256=dM0JzQXWX7edtWSc0KH0cMFXAjArFn2Vme4j_ZMsdYA,138
|
|
28
|
-
atex/provisioner/podman/podman.py,sha256=ztRypoakSf-jF04iER58tEMUZ4Y6AuzIpNpFXp44bB4,4997
|
|
29
|
-
atex/provisioner/testingfarm/__init__.py,sha256=kZncgLGdRCR4FMaRQr2GTwJ8vjlA-24ri8JO2ueZJuw,113
|
|
30
|
-
atex/provisioner/testingfarm/api.py,sha256=3vPpAmPisn99-NruZHUy_lS0I7A_IKHWGVGJcJBLBuI,23836
|
|
31
|
-
atex/provisioner/testingfarm/testingfarm.py,sha256=yvQzWat92B4UnJNZzCLI8mpAKf_QvHUKyKbjlk5123Q,8573
|
|
32
|
-
atex/util/__init__.py,sha256=cWHFbtQ4mDlKe6lXyPDWRmWJOTcHDGfVuW_-GYa8hB0,1473
|
|
33
|
-
atex/util/dedent.py,sha256=SEuJMtLzqz3dQ7g7qyZzEJ9VYynVlk52tQCJY-FveXo,603
|
|
34
|
-
atex/util/libvirt.py,sha256=kDZmT6xLYEZkQNLZY98gJ2M48DDWXxHF8rQY9PnjB3U,660
|
|
35
|
-
atex/util/log.py,sha256=GfdbLtpRkQoIkRU7AqWDWbJV7yZIpS4MsXhUomZqWjQ,2256
|
|
36
|
-
atex/util/named_mapping.py,sha256=UBMe9TetjV-DGPhjYjJ42YtC40FVPKAAEROXl9MA5fo,4700
|
|
37
|
-
atex/util/path.py,sha256=x-kXqiWCVodfZWbEwtC5A8LFvutpDIPYv2m0boZSlXU,504
|
|
38
|
-
atex/util/ssh_keygen.py,sha256=9yuSl2yBV7pG3Qfsf9tossVC00nbIUrAeLdbwTykpjk,384
|
|
39
|
-
atex/util/subprocess.py,sha256=_oQN8CNgGoH9GAR6nZlpujYe2HjXFBcCuIkLPw-IxJ4,2971
|
|
40
|
-
atex/util/threads.py,sha256=c8hsEc-8SqJGodInorv_6JxpiHiSkGFGob4qbMmOD2M,3531
|
|
41
|
-
atex-0.13.dist-info/METADATA,sha256=Q3S7eSPkLtzLYvRgIatm_RYyPGXUa_K7dAqZ_GvV5rY,3050
|
|
42
|
-
atex-0.13.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
43
|
-
atex-0.13.dist-info/entry_points.txt,sha256=pLqJdcfeyQTgup2h6dWb6SvkHhtOl-W5Eg9zV8moK0o,39
|
|
44
|
-
atex-0.13.dist-info/licenses/COPYING.txt,sha256=oEuj51jdmbXcCUy7pZ-KE0BNcJTR1okudRp5zQ0yWnU,670
|
|
45
|
-
atex-0.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|