-
Notifications
You must be signed in to change notification settings - Fork 40
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
Make Labcontroller compatible with Python 2 and Python 3 #227
base: python-3
Are you sure you want to change the base?
Commits on Jan 21, 2024
-
feat: enable lab-controller build for Python 3
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 557e290 - Browse repository at this point
Copy the full SHA 557e290View commit details -
fix(async): rename module to avoid use of reserved keyword
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6783017 - Browse repository at this point
Copy the full SHA 6783017View commit details -
fix(test): use range instead of xrange
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 046ec78 - Browse repository at this point
Copy the full SHA 046ec78View commit details -
fix(test): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b3b291c - Browse repository at this point
Copy the full SHA b3b291cView commit details -
fix(watchdog): use six to provide xmlrpc client
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8bd61eb - Browse repository at this point
Copy the full SHA 8bd61ebView commit details -
fix(watchdog): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 59ca7ed - Browse repository at this point
Copy the full SHA 59ca7edView commit details -
chore(watchdog): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2d257ed - Browse repository at this point
Copy the full SHA 2d257edView commit details -
chore(utils): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d015ee2 - Browse repository at this point
Copy the full SHA d015ee2View commit details -
fix(transfer): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 97f1633 - Browse repository at this point
Copy the full SHA 97f1633View commit details -
chore(transfer): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 160f2d8 - Browse repository at this point
Copy the full SHA 160f2d8View commit details -
fix(transfer): handle SSL error on Python 6
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e182e16 - Browse repository at this point
Copy the full SHA e182e16View commit details -
chore(test): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fe53e5a - Browse repository at this point
Copy the full SHA fe53e5aView commit details -
fix(test): use proper octal format
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 392ae39 - Browse repository at this point
Copy the full SHA 392ae39View commit details -
fix(pxemenu): use xmlrpc client and urllib from six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1babbbe - Browse repository at this point
Copy the full SHA 1babbbeView commit details -
chore(pxemenu): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b365a10 - Browse repository at this point
Copy the full SHA b365a10View commit details -
fix(proxy): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6a00b9a - Browse repository at this point
Copy the full SHA 6a00b9aView commit details -
fix(proxy): use xmlrpc move from six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f8c3eea - Browse repository at this point
Copy the full SHA f8c3eeaView commit details -
chore(proxy): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4698017 - Browse repository at this point
Copy the full SHA 4698017View commit details -
fix(provision): use xmlrpc move from six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for df27135 - Browse repository at this point
Copy the full SHA df27135View commit details -
fix(provision): use unicode from six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 257de1c - Browse repository at this point
Copy the full SHA 257de1cView commit details -
fix(provision): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 97b3d7b - Browse repository at this point
Copy the full SHA 97b3d7bView commit details -
fix(provision): handle iterators and dict with six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ceb0a39 - Browse repository at this point
Copy the full SHA ceb0a39View commit details -
chore(provision): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cd9aecd - Browse repository at this point
Copy the full SHA cd9aecdView commit details -
fix(netboot): import StringIO from six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f315c74 - Browse repository at this point
Copy the full SHA f315c74View commit details -
fix(netboot): use urllib from six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 087709f - Browse repository at this point
Copy the full SHA 087709fView commit details -
fix(netboot): use file mode compatible with six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 08a8953 - Browse repository at this point
Copy the full SHA 08a8953View commit details -
chore(netboot): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a078345 - Browse repository at this point
Copy the full SHA a078345View commit details -
fix(proxy-main): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 13505c8 - Browse repository at this point
Copy the full SHA 13505c8View commit details -
fix(proxy-main): make xmlrpc imports compatible
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 278181b - Browse repository at this point
Copy the full SHA 278181bView commit details -
chore(proxy-main): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8b842b6 - Browse repository at this point
Copy the full SHA 8b842b6View commit details -
fix(log-storage): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 96efb20 - Browse repository at this point
Copy the full SHA 96efb20View commit details -
fix(log-storage): use proper octal format
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f9bdd1e - Browse repository at this point
Copy the full SHA f9bdd1eView commit details -
chore(log-storage): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8842505 - Browse repository at this point
Copy the full SHA 8842505View commit details -
fix(pxemenu): use xmlrpc client and urllib from six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 40e6bb3 - Browse repository at this point
Copy the full SHA 40e6bb3View commit details -
chore(expire-distros): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2a9fbe2 - Browse repository at this point
Copy the full SHA 2a9fbe2View commit details -
fix(distro-import): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 283e3fd - Browse repository at this point
Copy the full SHA 283e3fdView commit details -
fix(distro-import): call fn print
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ca713cd - Browse repository at this point
Copy the full SHA ca713cdView commit details -
fix(pxemenu): use xmlrpc client,urllib, and configparser from six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 313b0ee - Browse repository at this point
Copy the full SHA 313b0eeView commit details -
fix(distro-import): use anonymous fn instead string::strip
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9483957 - Browse repository at this point
Copy the full SHA 9483957View commit details -
chore(distro-import): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 40a936e - Browse repository at this point
Copy the full SHA 40a936eView commit details -
fix(distro-import): use is to compare None
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3919ba2 - Browse repository at this point
Copy the full SHA 3919ba2View commit details -
fix(distro-import): simplify comparison
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8857893 - Browse repository at this point
Copy the full SHA 8857893View commit details -
chore(config): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8df208e - Browse repository at this point
Copy the full SHA 8df208eView commit details -
fix(concurrency): update exception syntax for Python 3 compatibility
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8d649ec - Browse repository at this point
Copy the full SHA 8d649ecView commit details -
chore(concurrency): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1d2f31c - Browse repository at this point
Copy the full SHA 1d2f31cView commit details -
chore(clear-netboot): format code and sort imports
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for daef1d6 - Browse repository at this point
Copy the full SHA daef1d6View commit details -
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d1fce19 - Browse repository at this point
Copy the full SHA d1fce19View commit details -
fix(proxy): use absolute import to import utils
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fa58bd9 - Browse repository at this point
Copy the full SHA fa58bd9View commit details -
ci: run unit tests during pull requests
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5069073 - Browse repository at this point
Copy the full SHA 5069073View commit details -
fix(provision): use datetime fn instead on using custom
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c14e540 - Browse repository at this point
Copy the full SHA c14e540View commit details -
fix(common-helpers): always encode unicode to str
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 75bef29 - Browse repository at this point
Copy the full SHA 75bef29View commit details -
fix(spec): add werkzeug to builddeps
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 497f87b - Browse repository at this point
Copy the full SHA 497f87bView commit details -
fix(test): use file mode compatible with python six
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 964772c - Browse repository at this point
Copy the full SHA 964772cView commit details -
fix(test): always write bytes to test images
Reducing the range from <0, 255> to <0, 127> to avoid 2 bytes allocation in Python 3 Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c0736c4 - Browse repository at this point
Copy the full SHA c0736c4View commit details -
fix(test): drop deprecated fn names
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9cc592f - Browse repository at this point
Copy the full SHA 9cc592fView commit details -
fix(concurrency): wait till fileno is ready
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 12e8abc - Browse repository at this point
Copy the full SHA 12e8abcView commit details -
fix(concurrency): decode bytes
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a06a82f - Browse repository at this point
Copy the full SHA a06a82fView commit details -
test: extend test suite to validate concurrency
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b89bd27 - Browse repository at this point
Copy the full SHA b89bd27View commit details -
fix(proxy-main): use pywsgi instead of deprecated wsgi
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3ac3e93 - Browse repository at this point
Copy the full SHA 3ac3e93View commit details -
test: refactor _assert_process_group_is_removed to use psutil
Replace the repeated SIGKILL approach with a safer and more reliable check using psutil. Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3fe496a - Browse repository at this point
Copy the full SHA 3fe496aView commit details -
ci: run init inside the container that forwards signals
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d83fbc9 - Browse repository at this point
Copy the full SHA d83fbc9View commit details -
ci: define timeout for unit and integration tests
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 359066a - Browse repository at this point
Copy the full SHA 359066aView commit details -
ci: run unit test on CentOS 9 Stream
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4d08ee5 - Browse repository at this point
Copy the full SHA 4d08ee5View commit details -
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 491b538 - Browse repository at this point
Copy the full SHA 491b538View commit details -
chore: remove init.d configuration
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for af764fe - Browse repository at this point
Copy the full SHA af764feView commit details -
Make source code cloneable on Windows
Windows doesn't allow files/directories to be called 'aux' (or 'con').
Configuration menu - View commit details
-
Copy full SHA for 0693013 - Browse repository at this point
Copy the full SHA 0693013View commit details -
chore: remove unused check_output
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0d8c870 - Browse repository at this point
Copy the full SHA 0d8c870View commit details -
fix(proxy): explicitly convert ascii_control_chars to list for Py3 co…
…mpat Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f8262f1 - Browse repository at this point
Copy the full SHA f8262f1View commit details -
fix(proxy): use raw string notation for ANSI escape code regex
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 138a41d - Browse repository at this point
Copy the full SHA 138a41dView commit details -
fix: use warning instead of deprecated warn in logger
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1932974 - Browse repository at this point
Copy the full SHA 1932974View commit details -
chore: noqa for broad exceptions in main loops
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 451e548 - Browse repository at this point
Copy the full SHA 451e548View commit details -
refactor(watchdog): remove shadowing for variable greenlet
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 11d6660 - Browse repository at this point
Copy the full SHA 11d6660View commit details -
fix(watchdog): handle missing 'Running' task in recipe abort process
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f6e8b00 - Browse repository at this point
Copy the full SHA f6e8b00View commit details -
refactor(utils): remove unused code
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 932c4aa - Browse repository at this point
Copy the full SHA 932c4aaView commit details -
refactor(test): rename 'id' to 'entity_id' to avoid shadowing built-i…
…n function Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ab2bd02 - Browse repository at this point
Copy the full SHA ab2bd02View commit details -
refactor(proxy): always close hub
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3c38986 - Browse repository at this point
Copy the full SHA 3c38986View commit details -
docs: generate man page for beaker-import
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0ae7e70 - Browse repository at this point
Copy the full SHA 0ae7e70View commit details -
ci: execute unit tests on fedora
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7062f60 - Browse repository at this point
Copy the full SHA 7062f60View commit details -
build: manage logrotate and log dir for py3 targets
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 584f728 - Browse repository at this point
Copy the full SHA 584f728View commit details -
refactor: use absolute import for utility bkr utility library
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d84bcdd - Browse repository at this point
Copy the full SHA d84bcddView commit details -
fix(provision): encode power env fields on python 2
Signed-off-by: Martin Styk <mart.styk@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 20896e9 - Browse repository at this point
Copy the full SHA 20896e9View commit details