Skip to content

Instantly share code, notes, and snippets.

View ssbarnea's full-sized avatar
🎄
Sticking packages under the pypi tree.....

Sorin Sbarnea ssbarnea

🎄
Sticking packages under the pypi tree.....
View GitHub Profile
top - 14:57:56 up 3 min, 0 users, load average: 0.52, 0.58, 0.59
Tasks: 7 total, 1 running, 6 sleeping, 0 stopped, 0 zombie
%Cpu(s): 37.5 us, 18.8 sy, 0.0 ni, 43.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 7167.6 total, 4591.9 free, 2351.7 used, 224.0 buff/cache
MiB Swap: 1791.7 total, 1566.1 free, 225.6 used. 4685.3 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3293 root 20 0 186128 94424 47144 S 100.0 1.3 0:17.05 python
1 root 20 0 9064 360 316 S 0.0 0.0 0:00.04 init
16 root 20 0 9108 292 232 S 0.0 0.0 0:00.06 init
ssbarnea@imac: ~/c/a/vscode-ansible fix/test-location ⚡
$ npm run mocha
> ansible@0.7.1 mocha
> mocha
Error: Cannot find module 'vscode'
Require stack:
- /Users/ssbarnea/c/a/vscode-ansible/test/helper.ts
$ tox -e packit
packit recreate: /Users/ssbarnea/c/a/molecule/.tox/packit
packit installdeps: packitos
ERROR: invocation failed (exit code 1), logfile: /Users/ssbarnea/c/a/molecule/.tox/packit/log/packit-1.log
======================================================================================= log start ========================================================================================
Collecting packitos
Downloading packitos-0.43.0-py3-none-any.whl (135 kB)
Collecting tabulate
Using cached tabulate-0.8.9-py3-none-any.whl (25 kB)
Collecting rebasehelper
+ /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /home/ssbarnea/rmux/molecule/tools/pyproject-files --output-modules /home/ssbarnea/rmux/molecule/tools/pyproject-modules --buildroot /home/ssbarnea/rmux/molecule/tools/python3-molecule-3.5.3.dev39+g8a9dc6b8.d20211214-1.20211214103048549576.fixpackit.39.g8a9dc6b8.fc35.x86_64 --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /home/ssbarnea/rmux/molecule/tools/pyproject-record molecule
Traceback (most recent call last):
File "/usr/lib/rpm/redhat/pyproject_save_files.py", line 595, in <module>
main(cli_args)
File "/usr/lib/rpm/redhat/pyproject_save_files.py", line 566, in main
file_section, module_names = pyproject_save_files_and_modules(
File "/usr/lib/rpm/redhat/pyproject_save_files.py", line 555, in pyproject_save_files_and_modules
generate_file_list(paths_dict, globs, include_auto)
File "/usr/lib/rpm/redhat/pyproject_save_files.py",
+ cd molecule-3.5.3.dev39
+ tox --version
+ tox -e system
error: Bad exit status from /var/tmp/rpm-tmp.cU1mEZ (%check)
Bad exit status from /var/tmp/rpm-tmp.cU1mEZ (%check)
ERROR: InvocationError for command /usr/local/bin/podman run -ti --rm --security-opt label=disable packit-molecule packit -d local-build (exited with code 2)
lint run-test: commands[0] | /Users/ssbarnea/c/a/ansible-navigator/.tox/lint/bin/python -m pre_commit run --show-diff-on-failure --hook-stage manual --all-files -v
[INFO] Initializing environment for https://github.com/PyCQA/flake8.git:flake8-2020 >= 1.6.0,flake8-docstrings >= 1.5.0,flake8-pytest-style >= 1.2.2.
[INFO] Initializing environment for https://github.com/PyCQA/flake8.git:flake8-2020 >= 1.6.0,flake8-docstrings >= 1.5.0,flake8-pytest-style >= 1.2.2,wemake-python-styleguide ~= 0.15.0.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy.git:lxml == 4.6.4,types-PyYAML,types-docutils.
[INFO] Installing environment for https://github.com/asottile/add-trailing-comma.git.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/timothycrosley/isort.git.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
========================================================= short test summary info =========================================================
FAILED tests/integration/actions/stdout/test_direct_interactive_noee.py::Test::test[1-:st-Check stdout-:help help] - AssertionError:
FAILED tests/integration/actions/stdout/test_direct_interactive_noee.py::Test::test[3-:stdout-Check stdout-:help help] - AssertionError:
ERROR tests/integration/actions/collections/test_direct_interactive_noee.py::Test::test[0-ansible-navigator collections --execution-environment false-ansible-navigator collections browse window]
ERROR tests/integration/actions/collections/test_direct_interactive_noee.py::Test::test[1-:0-Browse testorg.coll_1 plugins window] - Val...
ERROR tests/integration/actions/collections/test_direct_interactive_noee.py::Test::test[2-:0-lookup_1 plugin docs window] - ValueError: ...
ERROR tests/integration/actions/collections/test_direct_interactive_noee.py::Test::test[3-:back-Back to browse testorg.coll_1 plugins windo
$ tox -e py36-devel
py36-devel create: /Users/ssbarnea/c/a/molecule-docker/.tox/py36-devel
py36-devel installdeps: ansible-core>=2.11.1,<2.12, molecule[test], git+https://github.com/ansible-community/molecule.git@master#egg=molecule[test], selinux
ERROR: invocation failed (exit code 1), logfile: /Users/ssbarnea/c/a/molecule-docker/.tox/py36-devel/log/py36-devel-1.log
================================================================ log start ================================================================
Collecting molecule[test]
Cloning https://github.com/ansible-community/molecule.git (to revision master) to /private/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/pip-install-vms7q6_0/molecule_330d93256c2b4302aecd225d8015adbc
Running command git clone -q https://github.com/ansible-community/molecule.git /private/var/folders/3q/pc1jcyjj3qqbj6_x7n4kbtqw0000gn/T/pip-install-vms7q6_0/molecule_330d93256c2b4302aecd225d8015adbc
WARNING: Did not find branch or tag 'master', assuming revision or ref.
Running
#!/usr/bin/env ansible-playbook
- hosts: localhost
vars:
data:
- name: foo
when: "2 > 1"
- name: bar
tasks:
- debug:
#!/usr/bin/env ansible-playbook
- hosts: localhost
gather_facts: no
tasks:
- vars:
data:
system:
df:
cmd: df -a