rultor.com logo This build log was produced by rultor.com for yegor256/rultor-remote#5
+ set -e
+ set -o pipefail
++ dirname /tmp/rultor-rb7O/run.sh
+ cd /tmp/rultor-rb7O
+ echo 3948
+ echo '1.52.10 14d5a91'
1.52.10 14d5a91
+ date
Sun May 10 22:29:50 UTC 2015
+ uptime
 22:29:50 up 11 days, 23:00,  0 users,	load average: 10.37, 8.60, 6.59
+ head=git@github.com:yegor256/rultor-remote.git
+ head_branch=master
+ tag=0.3.2
+ vars=('--env=head=git@github.com:yegor256/rultor-remote.git' '--env=head_branch=master' '--env=tag=0.3.2')
+ image=yegor256/rultor
+ squash=false
+ 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' ';')
+ container=yegor256_rultor-remote_5
+ 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' ';'
+ 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: keys.fedoraproject.org
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
++ pwd
++ pwd
+ gpg --verbose --keyring=/tmp/rultor-rb7O/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-rb7O/.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.3.2 ']'
+ cd repo
++ git tag -l 0.3.2
+ '[' ']'
+ 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
+ load=6.59
++ bc
++ echo 6.59 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 6.59, low enough to run a new Docker container'
load average is 6.59, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Trying to pull repository docker.io/yegor256/rultor ...
df0608d44329: Pulling image (latest) from docker.io/yegor256/rultor
df0608d44329: Pulling image (latest) from docker.io/yegor256/rultor, endpoint: https://registry-1.docker.io/v1/
df0608d44329: Pulling dependent layers
511136ea3c5a: Download complete
d7ac5e4f1812: Download complete
2f4b4d6a4a06: Download complete
83ff768040a0: Download complete
6c37f792ddac: Download complete
e54ca5efa2e9: Download complete
18e5e08ce16d: Download complete
cfd3123899d7: Download complete
7fdbbba76594: Download complete
452bfe735d07: Download complete
2d8dc22e2c1a: Download complete
5dba824e2096: Download complete
996aaaaa3be6: Download complete
e2730cdac0e5: Download complete
3d8c369c7792: Download complete
2ed8d6c88527: Download complete
39a477af720b: Download complete
b97894feaf2c: Download complete
5a2f0c609499: Download complete
9ad8daa2cd1d: Download complete
fbb3c7ffb85b: Download complete
63892fa9dc21: Download complete
244638a429a4: Download complete
c0b899df8169: Download complete
689ff7a95ae2: Download complete
da4c3c51f876: Download complete
af8fbf8cd4dc: Download complete
7d0fc5b517c8: Download complete
a7280d0d7ae9: Download complete
2ad7249bf03c: Download complete
1ccd85a022a2: Download complete
ef7a01b3f761: Download complete
99499274d0d3: Download complete
df0608d44329: Download complete
df0608d44329: Download complete
Status: Image is up to date for docker.io/yegor256/rultor:latest
+ grep --quiet '\syegor256_rultor-remote_5\s*$'
+ docker ps --filter=status=exited
++ pwd
++ pwd
+ docker run --rm -v /tmp/rultor-rb7O:/main --env=head=git@github.com:yegor256/rultor-remote.git --env=head_branch=master --env=tag=0.3.2 --privileged=true --memory=4g --cidfile=/tmp/rultor-rb7O/cid -w=/main --name=yegor256_rultor-remote_5 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/.ivy2 /root/.java /root/.m2 /root/.profile /root/.sbt /home/r
+ cp -R ./cid ./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
Don'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.
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Installing rake 10.4.2
Installing i18n 0.7.0
Installing json 1.8.2
Installing minitest 5.6.1
Installing thread_safe 0.3.5
Installing tzinfo 1.2.2
Installing activesupport 4.2.1
Installing builder 3.2.2
Installing erubis 2.7.0
Installing mini_portile 0.6.2
Installing nokogiri 1.6.6.2
Installing rails-deprecated_sanitizer 1.0.3
Installing rails-dom-testing 1.0.6
Installing loofah 2.0.2
Installing rails-html-sanitizer 1.0.2
Installing actionview 4.2.1
Installing rack 1.6.1
Installing rack-test 0.6.3
Installing actionpack 4.2.1
Installing activemodel 4.2.1
Installing ast 2.0.0
Installing parser 2.2.2.2
Installing astrolabe 1.3.0
Installing unf_ext 0.0.7.1
Installing unf 0.1.4
Installing domain_name 0.5.24
Installing http-cookie 1.0.2
Installing mime-types 2.5
Installing netrc 0.10.3
Installing rest-client 1.8.0
Installing docile 1.1.5
Installing simplecov-html 0.10.0
Installing simplecov 0.10.0
Installing tins 1.5.1
Installing term-ansicolor 1.3.0
Installing thor 0.19.1
Installing coveralls 0.8.1
Installing diff-lcs 1.2.5
Installing multi_json 1.11.0
Installing gherkin 2.12.2
Installing multi_test 0.1.2
Installing cucumber 1.3.11
Installing powerpack 0.1.1
Installing railties 4.2.1
Installing rainbow 2.0.0
Installing rdoc 3.12.2
Installing rspec-expectations 2.99.2
Installing rspec-collection_matchers 1.1.2
Installing rspec-core 2.99.2
Installing rspec-mocks 2.99.3
Installing rspec-rails 2.99.0
Installing ruby-progressbar 1.7.5
Installing rubocop 0.31.0
Installing rubocop-rspec 1.3.0
Using slop 3.6.0
Using rultor 1.0.snapshot from source at .
Using bundler 1.6.3
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
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...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libnss3-1d
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
  bcrypt
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.3 kB of archives.
After this operation, 66.6 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe bcrypt amd64 1.1-8 [20.3 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 20.3 kB in 0s (313 kB/s)
Selecting previously unselected package bcrypt.
(Reading database ... 58045 files and directories currently installed.)
Preparing to unpack .../bcrypt_1.1-8_amd64.deb ...
Unpacking bcrypt (1.1-8) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up bcrypt (1.1-8) ...
+ rake
/home/r/repo/Rakefile:36: warning: already initialized constant CLEAN
Warning: you should require 'minitest/autorun' instead.
Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
From:
  /usr/lib/ruby/1.9.1/minitest/autorun.rb:14:in `<top (required)>'
  /home/r/repo/test/test_encrypt.rb:31:in `<top (required)>'
  /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>'
  /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:9:in `each'
  /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:9:in `block in <main>'
  /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:4:in `select'
  /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:4:in `<main>'
MiniTest::Unit.autorun is now Minitest.autorun. From /usr/lib/ruby/1.9.1/minitest/autorun.rb:18:in `<top (required)>'
Run options: --seed 50665

# Running:

+ set -e
+ file=secret.txt
+ enc=secret.txt.enc
+ [ -e secret.txt.enc ]
+ asc=secret.txt.asc
+ [ -e secret.txt.asc ]
+ cd /tmp/test20150510-20995-odygz3
+ gpg --symmetric --armor --verbose --batch --no-tty --passphrase rultor-key:test -o secret.txt.enc 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 `secret.txt.enc'
+ 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: klucze.achjoj.info
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 secret.txt.asc --batch --no-tty --armor --encrypt --verbose --recipient 9AF0FA4C secret.txt.enc
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: No trust check due to `--trust-model always' option
gpg: reading from `secret.txt.enc'
gpg: writing to `secret.txt.asc'
gpg: RSA/AES256 encrypted for: "9A839C3A Rultor.com <gpg@rultor.com>"
+ rm -f secret.txt.enc
"secret.txt encrypted"
."log works"
.

Finished in 1.002938s, 1.9941 runs/s, 0.9971 assertions/s.

2 runs, 1 assertions, 0 failures, 0 errors, 0 skips
/usr/bin/ruby1.9.1 -S bundle exec cucumber  --profile travis
"logging to stdout"
Using the travis profile...
................

5 scenarios (5 passed)
16 steps (16 passed)
0m4.713s
Coverage report generated for Cucumber Features to /home/r/repo/coverage. 10 / 10 LOC (100.0%) covered.
33m[Coveralls] Outside the CI environment, not sending data.0m
Running RuboCop...
Inspecting 11 files
...........

11 files inspected, no offenses detected
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.3.2/g' lib/rultor/version.rb
+ gem build rultor.gemspec
  Successfully built RubyGem
  Name: rultor
  Version: 0.3.2
  File: rultor-0.3.2.gem
+ chmod 0600 ../rubygems.yml
+ gem push rultor-0.3.2.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: rultor (0.3.2)
+ sudo gem install pdd
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...
unable to convert U+2019 from UTF-8 to US-ASCII for lib/nokogiri.rb, skipping
unable to convert "\xE6" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.ja.rdoc, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.rdoc, skipping
unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.ja.rdoc, skipping
unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.rdoc, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/nokogiri/xml_node_set.c, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ChangeLog, skipping
unable to convert U+2019 from UTF-8 to US-ASCII for lib/nokogiri.rb, skipping
unable to convert "\xE6" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.ja.rdoc, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.rdoc, skipping
unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.ja.rdoc, skipping
unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.rdoc, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/nokogiri/xml_node_set.c, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ChangeLog, skipping

ruby-filemagic-0.6.1 [2014-08-19]:

* Account for options passed to FileMagic.fm (issue #7 reported by Adam
  Wróbel).

Successfully installed nokogiri-1.6.5
Successfully installed ruby-filemagic-0.6.1
Successfully installed pdd-0.14.2
3 gems installed
Installing ri documentation for nokogiri-1.6.5...
Installing ri documentation for ruby-filemagic-0.6.1...
Installing ri documentation for pdd-0.14.2...
Installing RDoc documentation for nokogiri-1.6.5...
Installing RDoc documentation for ruby-filemagic-0.6.1...
Installing RDoc documentation for pdd-0.14.2...
++ pwd
+ pdd --source=/home/r/repo --verbose --file=rultor-remote.xml
INFO: "my version is 0.14.2"
INFO: "Ruby version is 1.9.3 at x86_64-linux"
INFO: "reading /home/r/repo"
INFO: "61 file(s) found"
INFO: "reading Gemfile..."
INFO: "reading Gemfile.lock..."
INFO: "reading LICENSE.txt..."
INFO: "reading README.md..."
INFO: "reading Rakefile..."
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...&quot;
INFO: &quot;reading features/step_definitions/steps.rb...&quot;
INFO: &quot;reading features/support/env.rb...&quot;
INFO: &quot;reading lib/rultor.rb...&quot;
INFO: &quot;reading lib/rultor/encrypt.rb...&quot;
INFO: &quot;reading lib/rultor/version.rb...&quot;
INFO: &quot;reading rultor.gemspec...&quot;
INFO: &quot;reading test/test_encrypt.rb...&quot;
INFO: &quot;reading test/test_rultor.rb...&quot;
+ s3cmd --no-progress put rultor-remote.xml --config=../s3cfg s3://pdd.teamed.io/rltor-remote.xml
File 'rultor-remote.xml' stored as 's3://pdd.teamed.io/rltor-remote.xml' (278 bytes in 0.1 seconds, 3.02 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.3.2 -m '0.3.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at 468df5f #5 encrypted rubygems.yml
+ git clean -fd
Removing rultor-remote.xml
+ git checkout master
Switched to branch 'master'
+ git branch -D __rultor
Deleted branch __rultor (was 468df5f).
+ git push --all origin
Everything up-to-date