rultor.com logo This build log was produced by rultor.com for yegor256/aibolit#2
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 30863
+ echo '1.68.9 b65c1294d'
1.68.9 b65c1294d
+ date
Fri Jan 31 20:32:34 CET 2020
+ uptime
 20:32:34 up 106 days, 17:41,  0 users,  load average: 4.79, 4.78, 4.85
+ head=git@github.com:yegor256/aibolit.git
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.0.1
+ vars=('--env=head=git@github.com:yegor256/aibolit.git' '--env=tag=0.0.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export LC_ALL=en_US.UTF-8'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" aibolit/__init__.py'\'' '\'';'\'' '\''git add aibolit/__init__.py'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''pip3 install --upgrade pip'\'' '\'';'\'' '\''pip3 install .'\'' '\'';'\'' '\''python3 aibolit'\'' '\'';'\'' '\''python3 setup.py sdist bdist_wheel'\'' '\'';'\'' '\''pip3 install twine'\'' '\'';'\'' '\''python3 -m twine upload dist/* -u __token__ -p $(cat ../twine_token)'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/aibolit.git'\''' ';' 'export '\''tag=0.0.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export LC_ALL=en_US.UTF-8' ';' 'sed -i "s/0\.0\.0/${tag}/g" aibolit/__init__.py' ';' 'git add aibolit/__init__.py' ';' 'git commit -am "${tag}"' ';' 'pip3 install --upgrade pip' ';' 'pip3 install .' ';' 'python3 aibolit' ';' 'python3 setup.py sdist bdist_wheel' ';' 'pip3 install twine' ';' 'python3 -m twine upload dist/* -u __token__ -p $(cat ../twine_token)' ';')
+ directory=
+ container=yegor256_aibolit_2
+ 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:yegor256/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:yegor256/aibolit.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/aibolit.git'\''' ';' 'export '\''tag=0.0.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export LC_ALL=en_US.UTF-8' ';' 'sed -i "s/0\.0\.0/${tag}/g" aibolit/__init__.py' ';' 'git add aibolit/__init__.py' ';' 'git commit -am "${tag}"' ';' 'pip3 install --upgrade pip' ';' 'pip3 install .' ';' 'python3 aibolit' ';' 'python3 setup.py sdist bdist_wheel' ';' 'pip3 install twine' ';' 'python3 -m twine upload dist/* -u __token__ -p $(cat ../twine_token)' ';'
+ sensitive=()
+ rm -rf .gpg
+ '[' -z 0.0.1 ']'
+ [[ 0.0.1 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.0.1"'
tag name is valid: "0.0.1"
+ cd repo
++ git tag -l 0.0.1
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=4.85
++ echo 4.85 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 4.85, low enough to run a new Docker container'
load average is 4.85, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image
+ docker pull yegor256/rultor-image
Using default tag: latest
latest: Pulling from yegor256/rultor-image
Digest: sha256:19d2c90ba1171da6ef54d03d612fae3db81b5b29f52984a05900d6e58f91099a
Status: Image is up to date for yegor256/rultor-image:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_aibolit_2\s*$'
+ ls -al .
total 712
drwx--x--x  3 rultor rultor   4096 Jan 31 20:32 .
drwxrwxrwt 12 root   root   684032 Jan 31 20:32 ..
-rw-rw-r--  1 rultor rultor    444 Jan 31 20:32 end.sh
-rwxrwxr-x  1 rultor rultor    338 Jan 31 20:32 entry.sh
-rw-rw-r--  1 rultor rultor      6 Jan 31 20:32 pid
drwxrwxr-x  4 rultor rultor   4096 Jan 31 20:32 repo
-rwxrwxr-x  1 rultor rultor   5767 Jan 31 20:32 run.sh
-rw-rw-r--  1 rultor rultor    578 Jan 31 20:32 script.sh
-rw-rw-r--  1 rultor rultor   3910 Jan 31 20:32 stdout
-rw-rw-r--  1 rultor rultor    173 Jan 31 20:32 twine_token
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-fAUN:/main --env=head=git@github.com:yegor256/aibolit.git --env=tag=0.0.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/aibolit.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export LC_ALL=en_US.UTF-8'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" aibolit/__init__.py'\'' '\'';'\'' '\''git add aibolit/__init__.py'\'' '\'';'\'' '\''git commit -am "${tag}"'\'' '\'';'\'' '\''pip3 install --upgrade pip'\'' '\'';'\'' '\''pip3 install .'\'' '\'';'\'' '\''python3 aibolit'\'' '\'';'\'' '\''python3 setup.py sdist bdist_wheel'\'' '\'';'\'' '\''pip3 install twine'\'' '\'';'\'' '\''python3 -m twine upload dist/* -u __token__ -p $(cat ../twine_token)'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-fAUN/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --entrypoint=/main/entry.sh --name=yegor256_aibolit_2 yegor256/rultor-image /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /root/.wget-hsts /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: change /dev/pts/0 mode failed: Operation not permitted
+ 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:yegor256/aibolit.git
+ head=git@github.com:yegor256/aibolit.git
+ export tag=0.0.1
+ tag=0.0.1
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ export LC_ALL=en_US.UTF-8
+ LC_ALL=en_US.UTF-8
+ sed -i 's/0\.0\.0/0.0.1/g' aibolit/__init__.py
+ git add aibolit/__init__.py
+ git commit -am 0.0.1
[__rultor 08861fb] 0.0.1
 1 file changed, 1 insertion(+), 1 deletion(-)
+ pip3 install --upgrade pip
Collecting pip
  Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB)
K25l 100%||████████████████████████████████|11.4MB5780kB/seta00:00:01
?25hInstalling collected packages: pip
Successfully installed pip-8.1.1
33mYou are using pip version 8.1.1, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.0m
+ pip3 install .
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Processing /home/r/repo
Building wheels for collected packages: aibolit
  Building wheel for aibolit (setup.py) ... ?25ldone
?25h  Created wheel for aibolit: filename=aibolit-0.0.1-py2.py3-none-any.whl size=3083 sha256=f0cd6fba20dce4d5c6b6985640af28f1061e90ee56efce2552cea78fa3b39e86
  Stored in directory: /tmp/pip-ephem-wheel-cache-t0dmbcfq/wheels/86/4b/24/2deacaf3fca4088fa6e06cb289854d943b0502dd2039992d3c
Successfully built aibolit
Installing collected packages: aibolit
33m  WARNING: The script http 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-0.0.1
+ python3 aibolit
Hello, world!
+ python3 setup.py sdist bdist_wheel
running sdist
running egg_info
creating aibolit.egg-info
writing entry points to aibolit.egg-info/entry_points.txt
writing aibolit.egg-info/PKG-INFO
writing top-level names to aibolit.egg-info/top_level.txt
writing dependency_links to aibolit.egg-info/dependency_links.txt
writing manifest file 'aibolit.egg-info/SOURCES.txt'
reading manifest file 'aibolit.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'LICENSE'
warning: no files found matching 'README.rst'
writing manifest file 'aibolit.egg-info/SOURCES.txt'
warning: sdist: standard file not found: should have one of README, README.rst, README.txt

running check
creating aibolit-0.0.1
creating aibolit-0.0.1/aibolit
creating aibolit-0.0.1/aibolit.egg-info
making hard links in aibolit-0.0.1...
hard linking MANIFEST.in -> aibolit-0.0.1
hard linking setup.cfg -> aibolit-0.0.1
hard linking setup.py -> aibolit-0.0.1
hard linking aibolit/__init__.py -> aibolit-0.0.1/aibolit
hard linking aibolit/__main__.py -> aibolit-0.0.1/aibolit
hard linking aibolit.egg-info/PKG-INFO -> aibolit-0.0.1/aibolit.egg-info
hard linking aibolit.egg-info/SOURCES.txt -> aibolit-0.0.1/aibolit.egg-info
hard linking aibolit.egg-info/dependency_links.txt -> aibolit-0.0.1/aibolit.egg-info
hard linking aibolit.egg-info/entry_points.txt -> aibolit-0.0.1/aibolit.egg-info
hard linking aibolit.egg-info/top_level.txt -> aibolit-0.0.1/aibolit.egg-info
copying setup.cfg -> aibolit-0.0.1
Writing aibolit-0.0.1/setup.cfg
creating dist
Creating tar archive
removing 'aibolit-0.0.1' (and everything under it)
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/aibolit
copying aibolit/__main__.py -> build/lib/aibolit
copying aibolit/__init__.py -> build/lib/aibolit
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/aibolit
copying build/lib/aibolit/__main__.py -> build/bdist.linux-x86_64/wheel/aibolit
copying build/lib/aibolit/__init__.py -> build/bdist.linux-x86_64/wheel/aibolit
running install_egg_info
Copying aibolit.egg-info to build/bdist.linux-x86_64/wheel/aibolit-0.0.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/aibolit-0.0.1.dist-info/WHEEL
+ pip3 install twine
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
Collecting twine
  Downloading twine-1.15.0-py2.py3-none-any.whl (35 kB)
Requirement already satisfied: setuptools>=0.7.0 in /usr/lib/python3/dist-packages (from twine) (20.7.0)
Collecting tqdm>=4.14
  Downloading tqdm-4.42.0-py2.py3-none-any.whl (59 kB)
K25l  |████████████████████████████████| 59 kB 7314kB/ssetaa0:00:011
?25hCollecting requests-toolbelt!=0.9.0,>=0.8.0
  Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
K25l  |████████████████████████████████| 54 kB 3536kB/ssetaa0:00:011
?25hCollecting readme-renderer>=21.0
  Downloading readme_renderer-24.0-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: requests!=2.15,!=2.16,>=2.5.0 in /usr/lib/python3/dist-packages (from twine) (2.9.1)
Collecting pkginfo>=1.4.2
  Downloading pkginfo-1.5.0.1-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from readme-renderer>=21.0->twine) (1.10.0)
Collecting Pygments
  Downloading Pygments-2.5.2-py2.py3-none-any.whl (896 kB)
K25l  |████████████████████████████████| 896kkB22.0MMB/seeta00:00:01
?25hCollecting bleach>=2.1.0
  Downloading bleach-3.1.0-py2.py3-none-any.whl (157 kB)
K25l  |████████████████████████████████| 157kkB11.6MMB/seeta00:00:01
?25hCollecting docutils>=0.13.1
  Downloading docutils-0.16-py2.py3-none-any.whl (548 kB)
K25l  |████████████████████████████████| 548kkB22.3MMB/seeta00:00:01
?25hCollecting webencodings
  Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Installing collected packages: tqdm, requests-toolbelt, Pygments, webencodings, bleach, docutils, readme-renderer, pkginfo, twine
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 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 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 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.5.2 bleach-3.1.0 docutils-0.16 pkginfo-1.5.0.1 readme-renderer-24.0 requests-toolbelt-0.9.1 tqdm-4.42.0 twine-1.15.0 webencodings-0.5.1
++ cat ../twine_token
+ python3 -m twine upload dist/aibolit-0.0.1-py2.py3-none-any.whl dist/aibolit-0.0.1.tar.gz -u __token__ -p pypi-AgEIcHlwaS5vcmcCJDYxZmY5ZGVhLWI4NzItNGI2OC1iODk3LWRhZmMxNzQwYmIzZQACJXsicGVybWlzc2lvbnMiOiAidXNlciIsICJ2ZXJzaW9uIjogMX0AAAYgOVsT_eFYsu8h6FDd13c7ZJYrNGHvDeOz2DCVHv1zYWY
Uploading distributions to https://upload.pypi.org/legacy/
Uploading aibolit-0.0.1-py2.py3-none-any.whl
100% 6.44k/6.44k[[00:01<00:00,]4.19kB/s]
Uploading aibolit-0.0.1.tar.gz
100% 4.94k/4.94k[[00:01<00:00,]4.42kB/s]

View at:
https://pypi.org/project/aibolit/0.0.1/
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.0.1 -m '0.0.1: tagged by rultor.com'
+ git reset --hard
HEAD is now at 08861fb 0.0.1
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was 08861fb).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/aibolit.git
 * [new tag]         0.0.1 -> 0.0.1
container e4ff54b21e4cc3bcc3dea0e71ce770e38cf2b59006a02db3c4ba1bf2e4ae9a65 is dead
Fri Jan 31 20:34:28 CET 2020