+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 22833 + echo '1.69.1 839260fab' 1.69.1 839260fab + date Fri Nov 20 19:37:39 CET 2020 + uptime 19:37:39 up 54 days, 4:43, 0 users, load average: 0.02, 0.01, 0.00 + ff=default + image=yegor256/rultor-image:1.3 + rebase=false + head_branch=master + pull_title='Update AST framework and tests' + author=acheshkov + directory= + head=git@github.com:cqfn/aibolit.git + pull_id=653 + fork=git@github.com:cqfn/aibolit.git + fork_branch=issue-652 + squash=false + vars=('--env=head=git@github.com:cqfn/aibolit.git' '--env=pull_id=653' '--env=fork=git@github.com:cqfn/aibolit.git' '--env=fork_branch=issue-652' '--env=head_branch=master' '--env=pull_title=Update AST framework and tests' '--env=author=acheshkov' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=653'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=issue-652'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update AST framework and tests'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=acheshkov'\''\'\'''\'''\'' '\'';'\'' '\''python3 -m pip install twine'\'' '\'';'\'' '\''make'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''pull_id=653'\''' ';' 'export '\''fork=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''fork_branch=issue-652'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update AST framework and tests'\''' ';' 'export '\''author=acheshkov'\''' ';' 'python3 -m pip install twine' ';' 'make' ';') + container=cqfn_aibolit_653 + as_root=false + mkdir -p /home/rultor/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/rultor/.ssh/config + git clone git@github.com:cqfn/aibolit.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:cqfn/aibolit.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''pull_id=653'\''' ';' 'export '\''fork=git@github.com:cqfn/aibolit.git'\''' ';' 'export '\''fork_branch=issue-652'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update AST framework and tests'\''' ';' 'export '\''author=acheshkov'\''' ';' 'python3 -m pip install twine' ';' make ';' + sensitive=() + rm -rf .gpg + cd repo + git remote add fork git@github.com:cqfn/aibolit.git + git remote update Fetching origin Fetching fork From github.com:cqfn/aibolit * [new branch] acheshkov-patch-1 -> fork/acheshkov-patch-1 * [new branch] acheshkov-patch-2 -> fork/acheshkov-patch-2 * [new branch] acheshkov-scope-update -> fork/acheshkov-scope-update * [new branch] add_pattern_flag -> fork/add_pattern_flag * [new branch] issue-295 -> fork/issue-295 * [new branch] issue-310 -> fork/issue-310 * [new branch] issue-404 -> fork/issue-404 * [new branch] issue-418 -> fork/issue-418 * [new branch] issue-419 -> fork/issue-419 * [new branch] issue-532 -> fork/issue-532 * [new branch] issue-533 -> fork/issue-533 * [new branch] issue-535 -> fork/issue-535 * [new branch] issue-537 -> fork/issue-537 * [new branch] issue-538 -> fork/issue-538 * [new branch] issue-550 -> fork/issue-550 * [new branch] issue-640 -> fork/issue-640 * [new branch] issue-649 -> fork/issue-649 * [new branch] issue-652 -> fork/issue-652 * [new branch] issue_528_1 -> fork/issue_528_1 * [new branch] issue_528_10 -> fork/issue_528_10 * [new branch] issue_528_11 -> fork/issue_528_11 * [new branch] issue_528_15 -> fork/issue_528_15 * [new branch] issue_528_18 -> fork/issue_528_18 * [new branch] issue_528_3 -> fork/issue_528_3 * [new branch] issue_528_7 -> fork/issue_528_7 * [new branch] issue_528_8 -> fork/issue_528_8 * [new branch] java_files_custom_dir -> fork/java_files_custom_dir * [new branch] master -> fork/master * [new branch] method_level -> fork/method_level * [new branch] revert-641-issue-640 -> fork/revert-641-issue-640 * [new branch] style -> fork/style * [new branch] taks-258 -> fork/taks-258 * [new branch] task-258 -> fork/task-258 * [new branch] tiny_model_enhancement -> fork/tiny_model_enhancement * [new branch] upstream/java_files_custom_dir -> fork/upstream/java_files_custom_dir * [new branch] wp_update -> fork/wp_update + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -B __rultor fork/issue-652 Switched to a new branch '__rultor' M wp/how_it_works_diagram_5.jpg Branch __rultor set up to track remote branch issue-652 from fork. + git checkout -B master origin/master Switched to and reset branch 'master' M wp/how_it_works_diagram_5.jpg Branch master set up to track remote branch master from origin. Your branch is up-to-date with 'origin/master'. + '[' false == true ']' + '[' false == true ']' + git merge --ff __rultor Merge made by the 'recursive' strategy. aibolit/ast_framework/_auxiliary_data.py | 1 + aibolit/ast_framework/ast.py | 10 +- aibolit/ast_framework/ast_node.py | 61 ++-- .../block_statement_graph/__init__.py | 3 + .../block_statement_graph/_block_extractors.py | 146 +++++++++ .../block_statement_graph/_nodes_factory.py | 54 ++++ .../ast_framework/block_statement_graph/block.py | 57 ++++ .../ast_framework/block_statement_graph/builder.py | 44 +++ .../block_statement_graph/constants.py | 23 ++ .../block_statement_graph/statement.py | 55 ++++ aibolit/ast_framework/computed_fields_registry.py | 3 +- setup.cfg | 2 +- .../ast_framework/BlockStatementGraphExamples.java | 156 ++++++++++ .../ast_framework/MethodUseOtherMethodExample.java | 2 +- test/ast_framework/test_ast_node.py | 51 ++++ test/ast_framework/test_block_statement_graph.py | 326 +++++++++++++++++++++ .../ast_framework/test_java_class_decomposition.py | 2 +- 17 files changed, 971 insertions(+), 25 deletions(-) create mode 100644 aibolit/ast_framework/block_statement_graph/__init__.py create mode 100644 aibolit/ast_framework/block_statement_graph/_block_extractors.py create mode 100644 aibolit/ast_framework/block_statement_graph/_nodes_factory.py create mode 100644 aibolit/ast_framework/block_statement_graph/block.py create mode 100644 aibolit/ast_framework/block_statement_graph/builder.py create mode 100644 aibolit/ast_framework/block_statement_graph/constants.py create mode 100644 aibolit/ast_framework/block_statement_graph/statement.py create mode 100644 test/ast_framework/BlockStatementGraphExamples.java create mode 100644 test/ast_framework/test_block_statement_graph.py + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=0.01 ++ echo 0.01 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.01, low enough to run a new Docker container' load average is 0.01, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.3 + docker pull yegor256/rultor-image:1.3 1.3: Pulling from yegor256/rultor-image 423ae2b273f4: Pulling fs layer de83a2304fa1: Pulling fs layer f9a83bce3af0: Pulling fs layer b6b53be908de: Pulling fs layer 081137535f3d: Pulling fs layer b607ea9379ba: Pulling fs layer 48816bf7a7bd: Pulling fs layer 90e9ac6dd6b7: Pulling fs layer fa904cd4fb1e: Pulling fs layer ba8f6944d06c: Pulling fs layer fa0e6f17d6eb: Pulling fs layer 6298c87b6e32: Pulling fs layer 5f99c5b7641f: Pulling fs layer 521d9f91dd5a: Pulling fs layer 1ba2e4f1d77d: Pulling fs layer d91558326f9c: Pulling fs layer 614d5d169f4c: Pulling fs layer 694b6bd3ddaa: Pulling fs layer 7600d04b7287: Pulling fs layer 1f2d91593b48: Pulling fs layer 5b7b018a144c: Pulling fs layer f28f21ef6e29: Pulling fs layer 575a11abe8cd: Pulling fs layer 0f2f76927369: Pulling fs layer 9bd110ead14b: Pulling fs layer 081137535f3d: Waiting 114aef090218: Pulling fs layer a6aa43127a52: Pulling fs layer fa0e6f17d6eb: Waiting b607ea9379ba: Waiting 6298c87b6e32: Waiting b6b53be908de: Waiting ba8f6944d06c: Waiting 614d5d169f4c: Waiting 521d9f91dd5a: Waiting 5b7b018a144c: Waiting 90e9ac6dd6b7: Waiting 5f99c5b7641f: Waiting 1ba2e4f1d77d: Waiting f28f21ef6e29: Waiting 694b6bd3ddaa: Waiting 7600d04b7287: Waiting 0f2f76927369: Waiting 9bd110ead14b: Waiting 575a11abe8cd: Waiting 114aef090218: Waiting fa904cd4fb1e: Waiting a6aa43127a52: Waiting de83a2304fa1: Verifying Checksum de83a2304fa1: Download complete f9a83bce3af0: Download complete b6b53be908de: Verifying Checksum b6b53be908de: Download complete 081137535f3d: Verifying Checksum 081137535f3d: Download complete b607ea9379ba: Verifying Checksum b607ea9379ba: Download complete 423ae2b273f4: Download complete 423ae2b273f4: Pull complete de83a2304fa1: Pull complete f9a83bce3af0: Pull complete b6b53be908de: Pull complete 081137535f3d: Pull complete fa904cd4fb1e: Verifying Checksum fa904cd4fb1e: Download complete b607ea9379ba: Pull complete 48816bf7a7bd: Download complete 48816bf7a7bd: Pull complete fa0e6f17d6eb: Verifying Checksum fa0e6f17d6eb: Download complete ba8f6944d06c: Verifying Checksum ba8f6944d06c: Download complete 90e9ac6dd6b7: Verifying Checksum 90e9ac6dd6b7: Download complete 521d9f91dd5a: Download complete 1ba2e4f1d77d: Verifying Checksum 1ba2e4f1d77d: Download complete 90e9ac6dd6b7: Pull complete 5f99c5b7641f: Verifying Checksum 5f99c5b7641f: Download complete fa904cd4fb1e: Pull complete ba8f6944d06c: Pull complete fa0e6f17d6eb: Pull complete 6298c87b6e32: Verifying Checksum 6298c87b6e32: Download complete 694b6bd3ddaa: Verifying Checksum 694b6bd3ddaa: Download complete 6298c87b6e32: Pull complete 5f99c5b7641f: Pull complete 521d9f91dd5a: Pull complete 1ba2e4f1d77d: Pull complete 7600d04b7287: Verifying Checksum 7600d04b7287: Download complete 1f2d91593b48: Verifying Checksum 1f2d91593b48: Download complete 614d5d169f4c: Verifying Checksum 614d5d169f4c: Download complete 5b7b018a144c: Verifying Checksum 5b7b018a144c: Download complete f28f21ef6e29: Verifying Checksum f28f21ef6e29: Download complete 575a11abe8cd: Verifying Checksum 575a11abe8cd: Download complete d91558326f9c: Verifying Checksum d91558326f9c: Download complete 0f2f76927369: Verifying Checksum 0f2f76927369: Download complete 9bd110ead14b: Download complete a6aa43127a52: Verifying Checksum a6aa43127a52: Download complete 114aef090218: Verifying Checksum 114aef090218: Download complete d91558326f9c: Pull complete 614d5d169f4c: Pull complete 694b6bd3ddaa: Pull complete 7600d04b7287: Pull complete 1f2d91593b48: Pull complete 5b7b018a144c: Pull complete f28f21ef6e29: Pull complete 575a11abe8cd: Pull complete 0f2f76927369: Pull complete 9bd110ead14b: Pull complete 114aef090218: Pull complete a6aa43127a52: Pull complete Digest: sha256:3cb0326631b117124d419b281273f1e6f3e7cb3fb0c7045e91e563a884907c5e Status: Downloaded newer image for yegor256/rultor-image:1.3 + docker ps --filter=status=exited + grep --quiet '\scqfn_aibolit_653\s*$' + ls -al . total 720 drwx--x--x 3 rultor rultor 4096 Nov 20 19:37 . drwxrwxrwt 10 root root 684032 Nov 20 19:39 .. -rw-rw-r-- 1 rultor rultor 444 Nov 20 19:38 end.sh -rwxrwxr-x 1 rultor rultor 363 Nov 20 19:37 entry.sh -rw-rw-r-- 1 rultor rultor 6 Nov 20 19:37 pid drwxrwxr-x 10 rultor rultor 4096 Nov 20 19:37 repo -rwxrwxr-x 1 rultor rultor 5498 Nov 20 19:37 run.sh -rw-rw-r-- 1 rultor rultor 422 Nov 20 19:37 script.sh -rw-rw-r-- 1 rultor rultor 11627 Nov 20 19:39 stdout -rw-rw-r-- 1 rultor rultor 173 Nov 20 19:37 twine_token ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-vnUA:/main --env=head=git@github.com:cqfn/aibolit.git --env=pull_id=653 --env=fork=git@github.com:cqfn/aibolit.git --env=fork_branch=issue-652 --env=head_branch=master '--env=pull_title=Update AST framework and tests' --env=author=acheshkov '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=653'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:cqfn/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=issue-652'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update AST framework and tests'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=acheshkov'\''\'\'''\'''\'' '\'';'\'' '\''python3 -m pip install twine'\'' '\'';'\'' '\''make'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-vnUA/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=cqfn_aibolit_653 yegor256/rultor-image:1.3 /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cache /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout ./twine_token /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + su --login r --command /home/r/script.sh mesg: cannot open /dev/pts/0: Permission denied + set -e + set -o pipefail + shopt -s expand_aliases + alias 'sudo=sudo -i' + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + export head=git@github.com:cqfn/aibolit.git + head=git@github.com:cqfn/aibolit.git + export pull_id=653 + pull_id=653 + export fork=git@github.com:cqfn/aibolit.git + fork=git@github.com:cqfn/aibolit.git + export fork_branch=issue-652 + fork_branch=issue-652 + export head_branch=master + head_branch=master + export 'pull_title=Update AST framework and tests' + pull_title='Update AST framework and tests' + export author=acheshkov + author=acheshkov + python3 -m pip install twine Defaulting to user installation because normal site-packages is not writeable Collecting twine Downloading twine-3.2.0-py3-none-any.whl (34 kB) Collecting pkginfo>=1.4.2 Downloading pkginfo-1.6.1-py2.py3-none-any.whl (25 kB) Collecting requests>=2.20 Downloading requests-2.25.0-py2.py3-none-any.whl (61 kB) K25l |████████████████████████████████| 61 kB 9823kB/ssetaa0:00:011 ?25hCollecting readme-renderer>=21.0 Downloading readme_renderer-28.0-py2.py3-none-any.whl (15 kB) Collecting importlib-metadata; python_version < "3.8" Downloading importlib_metadata-2.0.0-py2.py3-none-any.whl (31 kB) Requirement already satisfied: setuptools>=0.7.0 in /usr/lib/python3/dist-packages (from twine) (39.0.1) Collecting colorama>=0.4.3 Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB) Collecting tqdm>=4.14 Downloading tqdm-4.52.0-py2.py3-none-any.whl (71 kB) K25l |████████████████████████████████| 71 kB 1.11MB/ss eta 0:00:01 ?25hCollecting keyring>=15.1 Downloading keyring-21.5.0-py3-none-any.whl (32 kB) Collecting rfc3986>=1.4.0 Downloading rfc3986-1.4.0-py2.py3-none-any.whl (31 kB) Collecting requests-toolbelt!=0.9.0,>=0.8.0 Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB) K25l |████████████████████████████████| 54 kB 204 kB/s eta 0:00:01 ?25hRequirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (2018.1.18) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (3.0.4) Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (2.6) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.20->twine) (1.22) Collecting bleach>=2.1.0 Downloading bleach-3.2.1-py2.py3-none-any.whl (145 kB) K25l |████████████████████████████████| 145kkB66.1MMB/seeta00:00:01 ?25hCollecting Pygments>=2.5.1 Downloading Pygments-2.7.2-py3-none-any.whl (948 kB) K25l |████████████████████████████████| 948kkB76.3MMB/seeta00:00:01 ?25hRequirement already satisfied: six in /usr/lib/python3/dist-packages (from readme-renderer>=21.0->twine) (1.11.0) Collecting docutils>=0.13.1 Downloading docutils-0.16-py2.py3-none-any.whl (548 kB) K25l |████████████████████████████████| 548kkB5444kB/sseeta00:00:01 ?25hCollecting zipp>=0.5 Downloading zipp-3.4.0-py3-none-any.whl (5.2 kB) Collecting jeepney>=0.4.2; sys_platform == "linux" Downloading jeepney-0.6.0-py3-none-any.whl (45 kB) K25l |████████████████████████████████| 45 kB 3884kB/ssetaa0:00:011 ?25hCollecting SecretStorage>=3.2; sys_platform == "linux" Downloading SecretStorage-3.2.0-py3-none-any.whl (14 kB) Collecting packaging Downloading packaging-20.4-py2.py3-none-any.whl (37 kB) Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Requirement already satisfied: cryptography>=2.0 in /usr/lib/python3/dist-packages (from SecretStorage>=3.2; sys_platform == "linux"->keyring>=15.1->twine) (2.1.4) Collecting pyparsing>=2.0.2 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) K25l |████████████████████████████████| 67 kB 517 kB/s eta 0:00:01 ?25hInstalling collected packages: pkginfo, requests, pyparsing, packaging, webencodings, bleach, Pygments, docutils, readme-renderer, zipp, importlib-metadata, colorama, tqdm, jeepney, SecretStorage, keyring, rfc3986, requests-toolbelt, twine 33m WARNING: The script pkginfo is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script pygmentize is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script tqdm is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script keyring is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script twine is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m Successfully installed Pygments-2.7.2 SecretStorage-3.2.0 bleach-3.2.1 colorama-0.4.4 docutils-0.16 importlib-metadata-2.0.0 jeepney-0.6.0 keyring-21.5.0 packaging-20.4 pkginfo-1.6.1 pyparsing-2.4.7 readme-renderer-28.0 requests-2.25.0 requests-toolbelt-0.9.1 rfc3986-1.4.0 tqdm-4.52.0 twine-3.2.0 webencodings-0.5.1 zipp-3.4.0 33mWARNING: You are using pip version 20.0.2; however, version 20.2.4 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.0m + make python3 -m pip install -r requirements.txt Error initializing plugin EntryPoint(name='Windows (alt)', value='keyrings.alt.Windows', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 202, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/Windows.py", line 9, in <module> from . import file_base File "/usr/lib/python3/dist-packages/keyrings/alt/file_base.py", line 13, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Error initializing plugin EntryPoint(name='file', value='keyrings.alt.file', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 202, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/file.py", line 11, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Error initializing plugin EntryPoint(name='pyfs', value='keyrings.alt.pyfs', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 202, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/pyfs.py", line 8, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Defaulting to user installation because normal site-packages is not writeable Collecting flake8==3.7.9 Downloading flake8-3.7.9-py2.py3-none-any.whl (69 kB) K25l |████████████████████████████████| 69 kB 1.21MB/ssetaa0:00:011 ?25hCollecting codecov==2.0.15 Downloading codecov-2.0.15-py2.py3-none-any.whl (11 kB) Collecting matplotlib==3.2.1 Downloading matplotlib-3.2.1-cp36-cp36m-manylinux1_x86_64.whl (12.4 MB) K25l |████████████████████████████████| 12.4MMB910.9MMB/seeta00:00:01 ?25hCollecting coverage==5.0.3 Downloading coverage-5.0.3-cp36-cp36m-manylinux1_x86_64.whl (227 kB) K25l |████████████████████████████████| 227kkB111.8MMB/seeta00:00:01 ?25hCollecting javalang==0.13.0 Downloading javalang-0.13.0-py3-none-any.whl (22 kB) Collecting sphinx==2.3.1 Downloading Sphinx-2.3.1-py3-none-any.whl (2.7 MB) K25l |████████████████████████████████| 2.7kMB111.2MMB/seeta00:00:01 ?25hCollecting beautifulsoup4==4.8.2 Downloading beautifulsoup4-4.8.2-py3-none-any.whl (106 kB) K25l |████████████████████████████████| 106kkB56.1MMB/seeta00:00:01 ?25hCollecting numpy==1.18.1 Downloading numpy-1.18.1-cp36-cp36m-manylinux1_x86_64.whl (20.1 MB) K25l |████████████████████████████████| 20.1MMB111.7MMB/seeta00:00:01 ?25hCollecting pandas==1.0.0 Downloading pandas-1.0.0-cp36-cp36m-manylinux1_x86_64.whl (10.1 MB) K25l |████████████████████████████████| 10.1MMB112.0MMB/seeta00:00:01 ?25hCollecting scikit-learn==0.23.2 Downloading scikit_learn-0.23.2-cp36-cp36m-manylinux1_x86_64.whl (6.8 MB) K25l |████████████████████████████████| 6.8kMB135.kB/s/seeta00:00:01 ?25hCollecting scipy==1.4.1 Downloading scipy-1.4.1-cp36-cp36m-manylinux1_x86_64.whl (26.1 MB) K25l |████████████████████████████████| 26.1MMB912.0MMB/seeta00:00:01 ?25hCollecting mypy==0.770 Downloading mypy-0.770-cp36-cp36m-manylinux1_x86_64.whl (21.7 MB) K25l |████████████████████████████████| 21.7MMB11499kB/sseeta00:00:01 ?25hCollecting networkx==2.4 Downloading networkx-2.4-py3-none-any.whl (1.6 MB) K25l |████████████████████████████████| 1.6kMB111.4MMB/seeta00:00:01 ?25hCollecting catboost==0.22 Downloading catboost-0.22-cp36-none-manylinux1_x86_64.whl (64.4 MB) K25l |████████████████████████████████| 64.4MMB190.kB/s/seeta00:00:01 ?25hCollecting cchardet==2.1.6 Downloading cchardet-2.1.6-cp36-cp36m-manylinux2010_x86_64.whl (241 kB) K25l |████████████████████████████████| 241kkB111.5MMB/seeta00:00:01 ?25hCollecting lxml==4.5.0 Downloading lxml-4.5.0-cp36-cp36m-manylinux1_x86_64.whl (5.8 MB) K25l |████████████████████████████████| 5.8kMB111.9MMB/seeta00:00:01 ?25hCollecting cached-property==1.2.0 Downloading cached_property-1.2.0-py2.py3-none-any.whl (8.3 kB) Collecting deprecated==1.2.10 Downloading Deprecated-1.2.10-py2.py3-none-any.whl (8.7 kB) Collecting typing-extensions Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB) Collecting tqdm==4.32.1 Downloading tqdm-4.32.1-py2.py3-none-any.whl (49 kB) K25l |████████████████████████████████| 49 kB 9033kB/ssetaa0:00:011 ?25hCollecting bs4==0.0.1 Downloading bs4-0.0.1.tar.gz (1.1 kB) Collecting pebble==4.5.3 Downloading Pebble-4.5.3-py2.py3-none-any.whl (24 kB) Collecting dataclasses==0.7 Downloading dataclasses-0.7-py3-none-any.whl (18 kB) Collecting pyflakes<2.2.0,>=2.1.0 Downloading pyflakes-2.1.1-py2.py3-none-any.whl (59 kB) K25l |████████████████████████████████| 59 kB 8918kB/sseeta00:00:01 ?25hCollecting entrypoints<0.4.0,>=0.3.0 Downloading entrypoints-0.3-py2.py3-none-any.whl (11 kB) Collecting mccabe<0.7.0,>=0.6.0 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting pycodestyle<2.6.0,>=2.5.0 Downloading pycodestyle-2.5.0-py2.py3-none-any.whl (51 kB) K25l |████████████████████████████████| 51 kB 8260kB/ssetaa0:00:011 ?25hRequirement already satisfied: requests>=2.7.9 in /home/r/.local/lib/python3.6/site-packages (from codecov==2.0.15->-r requirements.txt (line 2)) (2.25.0) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.3.1-cp36-cp36m-manylinux1_x86_64.whl (1.1 MB) K25l |████████████████████████████████| 1.1kMB19.6MMB/seeta00:00:01 ?25hRequirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/r/.local/lib/python3.6/site-packages (from matplotlib==3.2.1->-r requirements.txt (line 3)) (2.4.7) Collecting cycler>=0.10 Downloading cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Requirement already satisfied: python-dateutil>=2.1 in /usr/lib/python3/dist-packages (from matplotlib==3.2.1->-r requirements.txt (line 3)) (2.6.1) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from javalang==0.13.0->-r requirements.txt (line 5)) (1.11.0) Collecting Jinja2>=2.3 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) K25l |████████████████████████████████| 125kkB111.3MMB/seeta00:00:01 ?25hRequirement already satisfied: docutils>=0.12 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->-r requirements.txt (line 6)) (0.16) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx==2.3.1->-r requirements.txt (line 6)) (39.0.1) Collecting sphinxcontrib-applehelp Downloading sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) K25l |████████████████████████████████| 121kkB110.9MMB/seeta00:00:01 ?25hCollecting snowballstemmer>=1.1 Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) K25l |████████████████████████████████| 97 kB 9427kB/sseeta00:00:01 ?25hCollecting alabaster<0.8,>=0.7 Downloading alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Requirement already satisfied: packaging in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->-r requirements.txt (line 6)) (20.4) Collecting sphinxcontrib-htmlhelp Downloading sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB) K25l |████████████████████████████████| 96 kB 6532kB/sseeta00:00:01 ?25hCollecting sphinxcontrib-serializinghtml Downloading sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB) K25l |████████████████████████████████| 89 kB 1.37MB/ss eta 0:00:01 ?25hCollecting imagesize Downloading imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting babel!=2.0,>=1.3 Downloading Babel-2.9.0-py2.py3-none-any.whl (8.8 MB) K25l |████████████████████████████████| 8.8kMB110.5MMB/seeta00:00:01 ?25hCollecting sphinxcontrib-devhelp Downloading sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) K25l |████████████████████████████████| 84 kB 6091kB/sseeta00:00:01 ?25hCollecting sphinxcontrib-jsmath Downloading sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-qthelp Downloading sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) K25l |████████████████████████████████| 90 kB 1.68MB/ss eta 0:00:01 ?25hRequirement already satisfied: Pygments>=2.0 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->-r requirements.txt (line 6)) (2.7.2) Collecting soupsieve>=1.2 Downloading soupsieve-2.0.1-py3-none-any.whl (32 kB) Collecting pytz>=2017.2 Downloading pytz-2020.4-py2.py3-none-any.whl (509 kB) K25l |████████████████████████████████| 509kkB111.2MMB/seeta00:00:01 ?25hCollecting joblib>=0.11 Downloading joblib-0.17.0-py3-none-any.whl (301 kB) K25l |████████████████████████████████| 301kkB111.6MMB/seeta00:00:01 ?25hCollecting threadpoolctl>=2.0.0 Downloading threadpoolctl-2.1.0-py3-none-any.whl (12 kB) Collecting mypy-extensions<0.5.0,>=0.4.3 Downloading mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB) Collecting typed-ast<1.5.0,>=1.4.0 Downloading typed_ast-1.4.1-cp36-cp36m-manylinux1_x86_64.whl (737 kB) K25l |████████████████████████████████| 737kkB110.8MMB/seeta00:00:01 ?25hCollecting decorator>=4.3.0 Downloading decorator-4.4.2-py2.py3-none-any.whl (9.2 kB) Collecting plotly Downloading plotly-4.12.0-py2.py3-none-any.whl (13.1 MB) K25l |████████████████████████████████| 13.1MMB111.9MMB/seeta00:00:01 ?25hCollecting graphviz Downloading graphviz-0.15-py2.py3-none-any.whl (18 kB) Collecting wrapt<2,>=1.10 Downloading wrapt-1.12.1.tar.gz (27 kB) Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->-r requirements.txt (line 2)) (2.6) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->-r requirements.txt (line 2)) (2018.1.18) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->-r requirements.txt (line 2)) (1.22) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->-r requirements.txt (line 2)) (3.0.4) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl (27 kB) Collecting retrying>=1.3.3 Downloading retrying-1.3.3.tar.gz (10 kB) Building wheels for collected packages: bs4, wrapt, retrying Building wheel for bs4 (setup.py) ... ?25ldone ?25h Created wheel for bs4: filename=bs4-0.0.1-py3-none-any.whl size=2245 sha256=1dce551cfc317cd7cf07c112663f9b49264235bcb5df8921a7783ab7bdb11d3b Stored in directory: /home/r/.cache/pip/wheels/19/f5/6d/a97dd4f22376d4472d5f4c76c7646876052ff3166b3cf71050 Building wheel for wrapt (setup.py) ... ?25ldone ?25h Created wheel for wrapt: filename=wrapt-1.12.1-cp36-cp36m-linux_x86_64.whl size=69350 sha256=08ee4ef159d03943083c5d58541ae3c02bf6251e359dbd3571e745fd9cfb0ff7 Stored in directory: /home/r/.cache/pip/wheels/32/42/7f/23cae9ff6ef66798d00dc5d659088e57dbba01566f6c60db63 Building wheel for retrying (setup.py) ... ?25ldone ?25h Created wheel for retrying: filename=retrying-1.3.3-py3-none-any.whl size=9530 sha256=e1f2d8dcb283c0eb5d035dd522a2b88a1815445e916513f63204453627adfb14 Stored in directory: /home/r/.cache/pip/wheels/ac/cb/8a/b27bf6323e2f4c462dcbf77d70b7c5e7868a7fbe12871770cf Successfully built bs4 wrapt retrying Installing collected packages: pyflakes, entrypoints, mccabe, pycodestyle, flake8, coverage, codecov, kiwisolver, cycler, numpy, matplotlib, javalang, MarkupSafe, Jinja2, sphinxcontrib-applehelp, snowballstemmer, alabaster, sphinxcontrib-htmlhelp, sphinxcontrib-serializinghtml, imagesize, pytz, babel, sphinxcontrib-devhelp, sphinxcontrib-jsmath, sphinxcontrib-qthelp, sphinx, soupsieve, beautifulsoup4, pandas, scipy, joblib, threadpoolctl, scikit-learn, mypy-extensions, typing-extensions, typed-ast, mypy, decorator, networkx, retrying, plotly, graphviz, catboost, cchardet, lxml, cached-property, wrapt, deprecated, tqdm, bs4, pebble, dataclasses 33m WARNING: The script pyflakes is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script pycodestyle is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script flake8 is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The scripts coverage, coverage-3.6 and coverage3 are installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script codecov is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The scripts f2py, f2py3 and f2py3.6 are installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The script pybabel is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The scripts sphinx-apidoc, sphinx-autogen, sphinx-build and sphinx-quickstart are installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m 33m WARNING: The scripts dmypy, mypy, stubgen and stubtest are installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m Attempting uninstall: tqdm Found existing installation: tqdm 4.52.0 Uninstalling tqdm-4.52.0: Successfully uninstalled tqdm-4.52.0 33m WARNING: The script tqdm is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m Successfully installed Jinja2-2.11.2 MarkupSafe-1.1.1 alabaster-0.7.12 babel-2.9.0 beautifulsoup4-4.8.2 bs4-0.0.1 cached-property-1.2.0 catboost-0.22 cchardet-2.1.6 codecov-2.0.15 coverage-5.0.3 cycler-0.10.0 dataclasses-0.7 decorator-4.4.2 deprecated-1.2.10 entrypoints-0.3 flake8-3.7.9 graphviz-0.15 imagesize-1.2.0 javalang-0.13.0 joblib-0.17.0 kiwisolver-1.3.1 lxml-4.5.0 matplotlib-3.2.1 mccabe-0.6.1 mypy-0.770 mypy-extensions-0.4.3 networkx-2.4 numpy-1.18.1 pandas-1.0.0 pebble-4.5.3 plotly-4.12.0 pycodestyle-2.5.0 pyflakes-2.1.1 pytz-2020.4 retrying-1.3.3 scikit-learn-0.23.2 scipy-1.4.1 snowballstemmer-2.0.0 soupsieve-2.0.1 sphinx-2.3.1 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-htmlhelp-1.0.3 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-serializinghtml-1.1.4 threadpoolctl-2.1.0 tqdm-4.32.1 typed-ast-1.4.1 typing-extensions-3.7.4.3 wrapt-1.12.1 33mWARNING: You are using pip version 20.0.2; however, version 20.2.4 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.0m python3 -m pip install . Error initializing plugin EntryPoint(name='Windows (alt)', value='keyrings.alt.Windows', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 202, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/Windows.py", line 9, in <module> from . import file_base File "/usr/lib/python3/dist-packages/keyrings/alt/file_base.py", line 13, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Error initializing plugin EntryPoint(name='file', value='keyrings.alt.file', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 202, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/file.py", line 11, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Error initializing plugin EntryPoint(name='pyfs', value='keyrings.alt.pyfs', group='keyring.backends'). Traceback (most recent call last): File "/home/r/.local/lib/python3.6/site-packages/keyring/backend.py", line 202, in _load_plugins init_func = ep.load() File "/home/r/.local/lib/python3.6/site-packages/importlib_metadata/__init__.py", line 105, in load module = import_module(match.group('module')) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/keyrings/alt/pyfs.py", line 8, in <module> from keyring.util.escape import escape as escape_for_ini ModuleNotFoundError: No module named 'keyring.util.escape' Defaulting to user installation because normal site-packages is not writeable Processing /home/r/repo Requirement already satisfied: beautifulsoup4==4.8.2 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (4.8.2) Requirement already satisfied: bs4==0.0.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (0.0.1) Requirement already satisfied: cached-property==1.2.0 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (1.2.0) Requirement already satisfied: catboost==0.22 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (0.22) Requirement already satisfied: cchardet==2.1.6 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (2.1.6) Requirement already satisfied: codecov==2.0.15 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (2.0.15) Requirement already satisfied: coverage==5.0.3 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (5.0.3) Requirement already satisfied: dataclasses==0.7 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (0.7) Requirement already satisfied: deprecated==1.2.10 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (1.2.10) Requirement already satisfied: flake8==3.7.9 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (3.7.9) Requirement already satisfied: javalang==0.13.0 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (0.13.0) Requirement already satisfied: lxml==4.5.0 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (4.5.0) Requirement already satisfied: matplotlib==3.2.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (3.2.1) Requirement already satisfied: mypy==0.770 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (0.770) Requirement already satisfied: networkx==2.4 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (2.4) Requirement already satisfied: numpy==1.18.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (1.18.1) Requirement already satisfied: pandas==1.0.0 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (1.0.0) Requirement already satisfied: pebble==4.5.3 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (4.5.3) Requirement already satisfied: scikit-learn==0.23.2 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (0.23.2) Requirement already satisfied: scipy==1.4.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (1.4.1) Requirement already satisfied: sphinx==2.3.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (2.3.1) Requirement already satisfied: tqdm==4.32.1 in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (4.32.1) Requirement already satisfied: typing-extensions in /home/r/.local/lib/python3.6/site-packages (from aibolit==1.2.6rc2) (3.7.4.3) Requirement already satisfied: soupsieve>=1.2 in /home/r/.local/lib/python3.6/site-packages (from beautifulsoup4==4.8.2->aibolit==1.2.6rc2) (2.0.1) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from catboost==0.22->aibolit==1.2.6rc2) (1.11.0) Requirement already satisfied: plotly in /home/r/.local/lib/python3.6/site-packages (from catboost==0.22->aibolit==1.2.6rc2) (4.12.0) Requirement already satisfied: graphviz in /home/r/.local/lib/python3.6/site-packages (from catboost==0.22->aibolit==1.2.6rc2) (0.15) Requirement already satisfied: requests>=2.7.9 in /home/r/.local/lib/python3.6/site-packages (from codecov==2.0.15->aibolit==1.2.6rc2) (2.25.0) Requirement already satisfied: wrapt<2,>=1.10 in /home/r/.local/lib/python3.6/site-packages (from deprecated==1.2.10->aibolit==1.2.6rc2) (1.12.1) Requirement already satisfied: pycodestyle<2.6.0,>=2.5.0 in /home/r/.local/lib/python3.6/site-packages (from flake8==3.7.9->aibolit==1.2.6rc2) (2.5.0) Requirement already satisfied: mccabe<0.7.0,>=0.6.0 in /home/r/.local/lib/python3.6/site-packages (from flake8==3.7.9->aibolit==1.2.6rc2) (0.6.1) Requirement already satisfied: entrypoints<0.4.0,>=0.3.0 in /home/r/.local/lib/python3.6/site-packages (from flake8==3.7.9->aibolit==1.2.6rc2) (0.3) Requirement already satisfied: pyflakes<2.2.0,>=2.1.0 in /home/r/.local/lib/python3.6/site-packages (from flake8==3.7.9->aibolit==1.2.6rc2) (2.1.1) Requirement already satisfied: python-dateutil>=2.1 in /usr/lib/python3/dist-packages (from matplotlib==3.2.1->aibolit==1.2.6rc2) (2.6.1) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/r/.local/lib/python3.6/site-packages (from matplotlib==3.2.1->aibolit==1.2.6rc2) (2.4.7) Requirement already satisfied: kiwisolver>=1.0.1 in /home/r/.local/lib/python3.6/site-packages (from matplotlib==3.2.1->aibolit==1.2.6rc2) (1.3.1) Requirement already satisfied: cycler>=0.10 in /home/r/.local/lib/python3.6/site-packages (from matplotlib==3.2.1->aibolit==1.2.6rc2) (0.10.0) Requirement already satisfied: typed-ast<1.5.0,>=1.4.0 in /home/r/.local/lib/python3.6/site-packages (from mypy==0.770->aibolit==1.2.6rc2) (1.4.1) Requirement already satisfied: mypy-extensions<0.5.0,>=0.4.3 in /home/r/.local/lib/python3.6/site-packages (from mypy==0.770->aibolit==1.2.6rc2) (0.4.3) Requirement already satisfied: decorator>=4.3.0 in /home/r/.local/lib/python3.6/site-packages (from networkx==2.4->aibolit==1.2.6rc2) (4.4.2) Requirement already satisfied: pytz>=2017.2 in /home/r/.local/lib/python3.6/site-packages (from pandas==1.0.0->aibolit==1.2.6rc2) (2020.4) Requirement already satisfied: threadpoolctl>=2.0.0 in /home/r/.local/lib/python3.6/site-packages (from scikit-learn==0.23.2->aibolit==1.2.6rc2) (2.1.0) Requirement already satisfied: joblib>=0.11 in /home/r/.local/lib/python3.6/site-packages (from scikit-learn==0.23.2->aibolit==1.2.6rc2) (0.17.0) Requirement already satisfied: snowballstemmer>=1.1 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (2.0.0) Requirement already satisfied: sphinxcontrib-jsmath in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (1.0.1) Requirement already satisfied: docutils>=0.12 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (0.16) Requirement already satisfied: sphinxcontrib-qthelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (1.0.3) Requirement already satisfied: babel!=2.0,>=1.3 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (2.9.0) Requirement already satisfied: sphinxcontrib-devhelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (1.0.2) Requirement already satisfied: sphinxcontrib-applehelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (1.0.2) Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (39.0.1) Requirement already satisfied: alabaster<0.8,>=0.7 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (0.7.12) Requirement already satisfied: Jinja2>=2.3 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (2.11.2) Requirement already satisfied: packaging in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (20.4) Requirement already satisfied: imagesize in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (1.2.0) Requirement already satisfied: sphinxcontrib-serializinghtml in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (1.1.4) Requirement already satisfied: sphinxcontrib-htmlhelp in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (1.0.3) Requirement already satisfied: Pygments>=2.0 in /home/r/.local/lib/python3.6/site-packages (from sphinx==2.3.1->aibolit==1.2.6rc2) (2.7.2) Requirement already satisfied: retrying>=1.3.3 in /home/r/.local/lib/python3.6/site-packages (from plotly->catboost==0.22->aibolit==1.2.6rc2) (1.3.3) Requirement already satisfied: chardet<4,>=3.0.2 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==1.2.6rc2) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==1.2.6rc2) (2018.1.18) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==1.2.6rc2) (1.22) Requirement already satisfied: idna<3,>=2.5 in /usr/lib/python3/dist-packages (from requests>=2.7.9->codecov==2.0.15->aibolit==1.2.6rc2) (2.6) Requirement already satisfied: MarkupSafe>=0.23 in /home/r/.local/lib/python3.6/site-packages (from Jinja2>=2.3->sphinx==2.3.1->aibolit==1.2.6rc2) (1.1.1) Building wheels for collected packages: aibolit Building wheel for aibolit (setup.py) ... ?25ldone ?25h Created wheel for aibolit: filename=aibolit-1.2.6rc2-py2.py3-none-any.whl size=12134790 sha256=616a10512a34c1ddee30dab0660b46d5a10425d2263ca93f31567cdbf17f735f Stored in directory: /tmp/pip-ephem-wheel-cache-qlch6a33/wheels/6a/94/20/fb6515fe78e005049099e68caee81e4e2e53c92744d4ab767f Successfully built aibolit Installing collected packages: aibolit 33m WARNING: The script aibolit is installed in '/home/r/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.0m Successfully installed aibolit-1.2.6rc2 33mWARNING: You are using pip version 20.0.2; however, version 20.2.4 is available. You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.0m python3 -m flake8 aibolit test scripts setup.py --exclude scripts/target/* python3 -m mypy aibolit 1m32mSuccess: no issues found in 155 source filesBm python3 -m coverage run -m unittest discover .ss...............................................E............../home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:130: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) names = ast.children_with_type(node, ASTNodeType.STRING) /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:132: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) method_name = ast.get_attr(each_string, 'string') /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:108: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) each_block_type = ast.get_type(each_block) /home/r/repo/aibolit/ast_framework/ast.py:203: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) return self.get_attr(node, 'node_type') /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:90: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) each_block_type = ast.get_type(each_block) /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:75: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) assert(ast.get_type(node) == ASTNodeType.METHOD_INVOCATION) /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:92: DeprecationWarning: Call to deprecated method get_binary_operation_name. (Use ASTNode functionality instead.) bin_operator = ast.get_binary_operation_name(each_block) /home/r/repo/aibolit/ast_framework/ast.py:174: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) assert(self.get_type(node) == ASTNodeType.BINARY_OPERATION) /home/r/repo/aibolit/ast_framework/ast.py:175: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) name_node, = islice(self.children_with_type(node, ASTNodeType.STRING), 1) /home/r/repo/aibolit/ast_framework/ast.py:176: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) return self.get_attr(name_node, 'string') ./home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:48: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) if ast.get_type(all_childs[2]) == ASTNodeType.IF_STATEMENT: .../home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:63: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) if ast.get_type(binary_operation_node) != ASTNodeType.BINARY_OPERATION: /home/r/repo/aibolit/metrics/cognitiveC/cognitive_c.py:66: DeprecationWarning: Call to deprecated method get_binary_operation_params. (Use ASTNode functionality instead.) operator, left_side_node, right_side_node = ast.get_binary_operation_params(binary_operation_node) /home/r/repo/aibolit/ast_framework/ast.py:239: DeprecationWarning: Call to deprecated method get_type. (Use ASTNode functionality instead.) assert(self.get_type(binary_operation_node) == ASTNodeType.BINARY_OPERATION) /home/r/repo/aibolit/ast_framework/ast.py:241: DeprecationWarning: Call to deprecated method get_attr. (Use ASTNode functionality instead.) return BinaryOperationParams(self.get_attr(operation_node, 'string'), left_side_node, right_side_node) ..............sss..................sss................................sssssss............................................................................sssssssssssssss.............................sssssssssssss.......ss...........................................................................................................................Number of features: 28 ../home/r/repo/test/utils/test_cfg_builder.py:32: DeprecationWarning: Call to deprecated class JavaPackage. (This functionality must be transmitted to ASTNode) java_package = JavaPackage(Path(__file__).parent.absolute() / 'SimpleClass.java') /home/r/repo/aibolit/ast_framework/java_package.py:54: DeprecationWarning: Call to deprecated class JavaClass. (This functionality must be transmitted to ASTNode) java_class = JavaClass(class_ast.tree, class_ast.root, self) /home/r/repo/aibolit/ast_framework/java_class.py:48: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) class_name = next(self.children_with_type(self.root, ASTNodeType.STRING)) /home/r/repo/aibolit/ast_framework/java_class.py:61: DeprecationWarning: Call to deprecated class JavaClassMethod. (This functionality must be transmitted to ASTNode) method = JavaClassMethod(method_ast.tree, method_ast.root, self) /home/r/repo/aibolit/ast_framework/java_class_method.py:46: DeprecationWarning: Call to deprecated method children_with_type. (Use ASTNode functionality instead.) method_name = next(self.children_with_type(self.root, ASTNodeType.STRING)) ..ssssssssss ====================================================================== ERROR: test.integration.test_semantic_extraction (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test.integration.test_semantic_extraction Traceback (most recent call last): File "/usr/lib/python3.6/unittest/loader.py", line 428, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/home/r/repo/test/integration/test_semantic_extraction.py", line 30, in <module> from aibolit.extract_method_baseline.extract_semantic import extract_method_statements_semantic ModuleNotFoundError: No module named 'aibolit.extract_method_baseline' ---------------------------------------------------------------------- Ran 425 tests in 32.558s FAILED (errors=1, skipped=55) Makefile:15: recipe for target 'unittest' failed make: *** [unittest] Error 1 container 4252f12854b9e8e8021d18a779041730ccd66ea204e82550e608924805d7b607 is dead Fri Nov 20 19:42:48 CET 2020