rultor.com logo This build log was produced by rultor.com for yegor256/rultor-remote#16
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 26129
+ echo '1.61.8 b552866'
1.61.8 b552866
+ date
Mon Mar 28 22:55:50 UTC 2016
+ uptime
 22:55:50 up 10 days,  6:35,  0 users,  load average: 9.27, 8.01, 7.56
+ head=git@github.com:yegor256/rultor-remote.git
+ head_branch=master
+ tag=0.4.3
+ vars=('--env=head=git@github.com:yegor256/rultor-remote.git' '--env=head_branch=master' '--env=tag=0.4.3')
+ image=yegor256/rultor
+ directory=
+ scripts=('sudo bundle install' ';' 'sudo apt-get install -y bcrypt' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/rultor/version.rb' ';' 'gem build rultor.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'sudo gem install pdd' ';' 'pdd --source=$(pwd) --verbose --file=rultor-remote.xml' ';' 's3cmd --no-progress put rultor-remote.xml --config=../s3cfg s3://pdd.teamed.io/rltor-remote.xml' ';')
+ squash=false
+ ff=default
+ rebase=false
+ container=yegor256_rultor-remote_16
+ 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/rultor-remote.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'sudo bundle install' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'sudo bundle install' ';' 'sudo apt-get install -y bcrypt' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/rultor/version.rb' ';' 'gem build rultor.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'sudo gem install pdd' ';' 'pdd --source=$(pwd) --verbose --file=rultor-remote.xml' ';' 's3cmd --no-progress put rultor-remote.xml --config=../s3cfg s3://pdd.teamed.io/rltor-remote.xml' ';'
+ gpgconf --reload gpg-agent
+ gpg --keyserver hkp://pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C
gpg: requesting key 9AF0FA4C from hkp server pool.sks-keyservers.net
Version: SKS 1.1.5
gpg: armor header:
Comment: Hostname: keyserver.secure-u.de
gpg: armor header:
gpg: pub  2048R/9AF0FA4C 2014-08-17  Rultor.com <gpg@rultor.com>
gpg: key 9AF0FA4C: "Rultor.com <gpg@rultor.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
+ gpg --version
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
++ pwd
++ pwd
+ gpg --verbose --keyring=/tmp/rultor-77Oo/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-77Oo/.gpg/secring.gpg --decrypt repo/rubygems.yml.asc
Version: GnuPG v1
gpg: armor header:
gpg: public key is 9A839C3A
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: encrypted with 2048-bit RSA key, ID 9A839C3A, created 2014-08-17
      "Rultor.com <gpg@rultor.com>"
gpg: AES256 encrypted data
gpg: original file name='rubygems.yml.enc'
+ gpg --no-tty --batch --verbose --decrypt --passphrase rultor-key:yegor256/rultor-remote rubygems.yml.enc
Version: GnuPG v1
gpg: armor header:
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: original file name='rubygems.yml'
gpg: WARNING: message was not integrity protected
+ rm -rf rubygems.yml.enc
+ rm -rf .gpg
+ '[' -z 0.4.3 ']'
+ [[ 0.4.3 =~ ^[a-zA-Z0-9\\.\\-]+$ ]]
+ echo 'tag name is valid: "0.4.3"'
tag name is valid: "0.4.3"
+ cd repo
++ git tag -l 0.4.3
+ '[' ']'
+ 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
++ tail -n 1
++ uptime
++ sed 's/ /\n/g'
+ load=7.56
++ echo 7.56 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 7.56, low enough to run a new Docker container'
load average is 7.56, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Using default tag: latest
latest: Pulling from yegor256/rultor
203137e8afd5: Already exists
2ff1bbbe9310: Already exists
933ae2486129: Already exists
a3ed95caeb02: Already exists
b0b1a1814f84: Already exists
0971288e54f2: Already exists
7dfba2b28197: Already exists
eab9dbe9b043: Already exists
0cf5e837f77e: Already exists
533ef2793267: Already exists
0fc223dbbbdf: Already exists
55653b94bc4a: Already exists
76c8da141806: Already exists
f4c7478a0548: Already exists
b0773a193c86: Already exists
52ccff1a1b2d: Already exists
5e83cb4c9c45: Already exists
8b66dc767d53: Already exists
c92c9984452d: Already exists
741f3f321b7a: Already exists
f15ad3a8cc6d: Already exists
679550ba5812: Already exists
c8a104b19d27: Already exists
1a5e0614d8b0: Already exists
4356a15a04cb: Already exists
1a05743eac7c: Already exists
fe35af7c838e: Already exists
91a6b853cc26: Already exists
5ad169a5b4ee: Already exists
eec8bec02d78: Already exists
bdd1d0aaa218: Already exists
cc4100d11dc4: Already exists
276f30ae2dbd: Already exists
087d7bf2a80b: Already exists
20a6bfa89f47: Already exists
4efc1502fcac: Already exists
c25b08305e15: Already exists
b578c815dfb9: Already exists
b09fc525deea: Already exists
c1b2cecfa948: Already exists
55741e1b6e73: Already exists
9420dcbcb578: Already exists
8d975705bc6c: Already exists
aad78c640e02: Already exists
872713feca32: Already exists
3ed75104b1be: Already exists
Digest: sha256:de4cda9fb41e1754441207cded0ed4712460a067b464eb6f2921f41351449b05
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_rultor-remote_16\s*$'
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-77Oo:/main --env=head=git@github.com:yegor256/rultor-remote.git --env=head_branch=master --env=tag=0.4.3 --hostname=docker --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-77Oo/cid -w=/main --name=yegor256_rultor-remote_16 yegor256/rultor /main/entry.sh
+ 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/.java /root/.m2 /root/.npm /root/.profile /root/texmf /root/.texmf-var /root/tmp /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su -m r -c /home/r/script.sh
+ set -e
+ set -o pipefail
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ sudo bundle install
33mDon't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.0m
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....................
Using rake 10.4.2
32mInstalling i18n 0.7.00m
Using json 1.8.3
32mInstalling minitest 5.4.00m
32mInstalling thread_safe 0.3.50m
32mInstalling builder 3.2.20m
32mInstalling erubis 2.7.00m
Using mini_portile2 2.0.0
32mInstalling rack 1.6.40m
32mInstalling ast 2.2.00m
32mInstalling multi_json 1.11.20m
32mInstalling unf_ext 0.0.7.2 with native extensions0m
32mInstalling mime-types 2.99.10m
32mInstalling netrc 0.11.00m
32mInstalling docile 1.1.50m
32mInstalling simplecov-html 0.10.00m
32mInstalling tins 1.9.00m
32mInstalling thor 0.19.10m
32mInstalling diff-lcs 1.2.50m
32mInstalling multi_test 0.1.20m
32mInstalling powerpack 0.0.90m
32mInstalling rainbow 2.1.00m
32mInstalling rspec-core 2.13.10m
32mInstalling rspec-mocks 2.13.10m
32mInstalling ruby-progressbar 1.7.50m
32mInstalling slop 3.6.00m
Using bundler 1.11.2
32mInstalling rdoc 3.110m
32mInstalling tzinfo 1.2.20m
Using nokogiri 1.6.7.2
32mInstalling rack-test 0.6.30m
32mInstalling parser 2.3.0.70m
32mInstalling gherkin 2.12.2 with native extensions0m
32mInstalling unf 0.1.40m
32mInstalling simplecov 0.11.20m
32mInstalling term-ansicolor 1.3.20m
32mInstalling rspec-expectations 2.13.00m
Using rultor 1.0.snapshot from source at `.`
32mInstalling activesupport 4.2.60m
32mInstalling loofah 2.0.30m
32mInstalling rubocop 0.24.10m
32mInstalling cucumber 1.3.110m
32mInstalling domain_name 0.5.201603100m
32mInstalling rails-deprecated_sanitizer 1.0.30m
32mInstalling rails-html-sanitizer 1.0.30m
32mInstalling rubocop-rspec 1.1.00m
32mInstalling http-cookie 1.0.20m
32mInstalling rails-dom-testing 1.0.70m
32mInstalling rest-client 1.8.00m
32mInstalling actionview 4.2.60m
32mInstalling coveralls 0.7.00m
32mInstalling actionpack 4.2.60m
32mInstalling railties 4.2.60m
32mInstalling rspec-rails 2.13.00m
32mBundle complete! 9 Gemfile dependencies, 54 gems now installed.0m
32mUse `bundle show [gemname]` to see where a bundled gem is installed.0m
32mPost-install message from rdoc:0m
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
+ sudo apt-get install -y bcrypt
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
bcrypt is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
+ rake
/home/r/repo/Rakefile:36: warning: already initialized constant CLEAN
/var/lib/gems/2.2.0/gems/rake-11.1.2/lib/rake/clean.rb:61: warning: previous definition of CLEAN was here
[DEPRECATION] `last_comment` is deprecated.  Please use `last_description` instead.
Run options: --seed 57638

# Running:

/home/r/repo/lib/rultor.rb:40: warning: instance variable @log not initialized
"log works"
.+ set -e
+ file=/tmp/test20160328-1977-2eh883/secret.txt
+ asc=/tmp/test20160328-1977-2eh883/secret.txt.asc
+ [ -e /tmp/test20160328-1977-2eh883/secret.txt.asc ]
+ mktemp -t rultor-XXXX
+ tmp=/tmp/rultor-RnZd
+ rm -f /tmp/rultor-RnZd
+ gpg --version
gpg (GnuPG) 1.4.16
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
+ gpg --symmetric --armor --verbose --batch --no-tty --passphrase rultor-key:test -o /tmp/rultor-RnZd /tmp/test20160328-1977-2eh883/secret.txt
gpg: directory `/home/r/.gnupg' created
gpg: new configuration file `/home/r/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/r/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/home/r/.gnupg/pubring.gpg' created
gpg: using cipher CAST5
gpg: writing to `/tmp/rultor-RnZd'
+ gpg --keyserver hkp://pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C
gpg: keyring `/home/r/.gnupg/secring.gpg' created
gpg: requesting key 9AF0FA4C from hkp server pool.sks-keyservers.net
gpg: armor header: Version: SKS 1.1.5
gpg: armor header: Comment: Hostname: keys.bonus-communis.eu
gpg: pub  2048R/9AF0FA4C 2014-08-17  Rultor.com <gpg@rultor.com>
gpg: /home/r/.gnupg/trustdb.gpg: trustdb created
gpg: using PGP trust model
gpg: key 9AF0FA4C: public key "Rultor.com <gpg@rultor.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ gpg --trust-model always --output /tmp/test20160328-1977-2eh883/secret.txt.asc --batch --no-tty --armor --encrypt --verbose --recipient 9AF0FA4C /tmp/rultor-RnZd
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: No trust check due to `--trust-model always' option
gpg: reading from `/tmp/rultor-RnZd'
gpg: writing to `/tmp/test20160328-1977-2eh883/secret.txt.asc'
gpg: RSA/AES256 encrypted for: "9A839C3A Rultor.com <gpg@rultor.com>"
+ rm -f /tmp/rultor-RnZd
"secret.txt encrypted into /tmp/test20160328-1977-2eh883/secret.txt.asc (738 bytes)"
.

Finished in 0.605522s, 3.3029 runs/s, 1.6515 assertions/s.

2 runs, 1 assertions, 0 failures, 0 errors, 0 skips
/usr/bin/ruby2.2 -S bundle exec cucumber  --profile travis
/var/lib/gems/2.2.0/gems/cucumber-1.3.11/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name
/home/r/repo/.simplecov:42:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
"logging to stdout"
Using the travis profile...
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

5 scenarios (32m5 passed0m)
16 steps (32m16 passed0m)
0m5.405s
Coverage report generated for Cucumber Features to /home/r/repo/coverage. 10 / 10 LOC (100.0%) covered.
33m[Coveralls] Outside the Travis environment, not sending data.0m
Running RuboCop...
Inspecting 10 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

10 files inspected, 32mno offenses detected0m
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.4.3/g' lib/rultor/version.rb
+ gem build rultor.gemspec
  Successfully built RubyGem
  Name: rultor
  Version: 0.4.3
  File: rultor-0.4.3.gem
+ chmod 0600 ../rubygems.yml
+ gem push rultor-0.4.3.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: rultor (0.4.3)
+ sudo gem install pdd
Fetching: nokogiri-1.6.7.1.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.6.7.1
Fetching: ruby-filemagic-0.7.1.gem (100%)
Building native extensions.  This could take a while...

ruby-filemagic-0.7.1 [2015-10-27]:

* List default lib and header directories (pull request #18 by Adam Wróbel).

Successfully installed ruby-filemagic-0.7.1
Fetching: pdd-0.15.4.gem (100%)
Successfully installed pdd-0.15.4
Parsing documentation for nokogiri-1.6.7.1
Installing ri documentation for nokogiri-1.6.7.1
Parsing documentation for ruby-filemagic-0.7.1
Installing ri documentation for ruby-filemagic-0.7.1
Parsing documentation for pdd-0.15.4
Installing ri documentation for pdd-0.15.4
Done installing documentation for nokogiri, ruby-filemagic, pdd after 7 seconds
3 gems installed
++ pwd
+ pdd --source=/home/r/repo --verbose --file=rultor-remote.xml
INFO: "my version is 0.15.4"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /home/r/repo"
INFO: "64 file(s) found"
INFO: "reading Gemfile..."
INFO: "reading Gemfile.lock..."
INFO: "reading LICENSE.txt..."
INFO: "reading PUZZLES.md..."
INFO: "reading README.md..."
INFO: "reading Rakefile..."
INFO: "reading TEAM.md..."
INFO: "reading appveyor.yml..."
INFO: "reading bin/rultor..."
INFO: "reading coverage/assets/0.10.0/application.css..."
INFO: "reading coverage/assets/0.10.0/application.js..."
INFO: "reading coverage/index.html..."
INFO: "reading cucumber.yml..."
INFO: "reading features/cli/encrypt.feature..."
INFO: "reading features/cli/help.feature..."
INFO: "reading features/cli/version.feature..."
INFO: "reading features/gem_package.feature..."
INFO: "reading features/step_definitions/steps.rb..."
INFO: "reading features/support/env.rb..."
INFO: "reading lib/rultor.rb..."
INFO: "reading lib/rultor/encrypt.rb..."
INFO: "reading lib/rultor/version.rb..."
INFO: "reading rultor.gemspec..."
INFO: "reading test/test_encrypt.rb..."
INFO: "reading test/test_rultor.rb..."
+ s3cmd --no-progress put rultor-remote.xml --config=../s3cfg s3://pdd.teamed.io/rltor-remote.xml
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
File 'rultor-remote.xml' stored as 's3://pdd.teamed.io/rltor-remote.xml' (278 bytes in 0.1 seconds, 2.87 kB/s) [1 of 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'
M       lib/rultor/version.rb
+ git tag 0.4.3 -m '0.4.3: tagged by rultor.com'
+ git reset --hard
HEAD is now at 9e87b12 #16 template for mktemp
+ git clean -fd
Removing rultor-remote.xml
+ git checkout master
Switched to branch 'master'
+ git branch -D __rultor
Deleted branch __rultor (was 9e87b12).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/rultor-remote.git
 * [new tag]         0.4.3 -> 0.4.3
container e0676d30f24bbf5163bbad1747cbac7a12c92c84955d452818f9c47331813e22 is dead
Mon Mar 28 23:00:56 UTC 2016