Mock Version: 1.1.35 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rubygem-bcrypt-ruby.spec'], False, '/var/lib/mock/epel-6-x86_64-mockbuilder-1704/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/rubygem-bcrypt-ruby.spec'] with env {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} warning: Could not canonicalize hostname: i-00003bb8 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rubygem-bcrypt-ruby.spec'], False, '/var/lib/mock/epel-6-x86_64-mockbuilder-1704/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/rubygem-bcrypt-ruby.spec'] with env {'LANG': 'C', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3UVqRH + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf ror40-rubygem-bcrypt-ruby-3.1.2 + /bin/mkdir -p ror40-rubygem-bcrypt-ruby-3.1.2 + cd ror40-rubygem-bcrypt-ruby-3.1.2 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iXi6xa + umask 022 + cd /builddir/build/BUILD + cd ror40-rubygem-bcrypt-ruby-3.1.2 + LANG=C + export LANG + unset DISPLAY + export 'CONFIGURE_ARGS=--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'\''' + CONFIGURE_ARGS='--with-cflags='\''-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'\''' + scl enable ror40 - Installing gem bcrypt-ruby-3.1.2 /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/.gitignore /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/.rspec /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/.travis.yml /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/CHANGELOG /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/COPYING /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/Gemfile /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/Gemfile.lock /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/README.md /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/Rakefile /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/bcrypt-ruby.gemspec /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/jruby/bcrypt_jruby/BCrypt.java /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/bcrypt_ext.c /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/crypt.c /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/crypt.h /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/crypt_blowfish.c /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/crypt_gensalt.c /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/extconf.rb /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/ow-crypt.h /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/wrapper.c /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/lib/bcrypt.rb /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/lib/bcrypt/engine.rb /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/lib/bcrypt/error.rb /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/lib/bcrypt/password.rb /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/spec/TestBCrypt.java /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/spec/bcrypt/engine_spec.rb /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/spec/bcrypt/error_spec.rb /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/spec/bcrypt/password_spec.rb /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/spec/spec_helper.rb Building native extensions. This could take a while... /opt/rh/ruby200/root/usr/bin/ruby extconf.rb checking for ruby/util.h... yes creating Makefile make "DESTDIR=" gcc -I. -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -DHAVE_RUBY_UTIL_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64 -o crypt.o -c crypt.c gcc -I. -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -DHAVE_RUBY_UTIL_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64 -o bcrypt_ext.o -c bcrypt_ext.c gcc -I. -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -DHAVE_RUBY_UTIL_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64 -o crypt_gensalt.o -c crypt_gensalt.c gcc -I. -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -DHAVE_RUBY_UTIL_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64 -o crypt_blowfish.o -c crypt_blowfish.c gcc -I. -I/opt/rh/ruby200/root/usr/include -I/opt/rh/ruby200/root/usr/include/ruby/backward -I/opt/rh/ruby200/root/usr/include -I. -DHAVE_RUBY_UTIL_H -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64 -o wrapper.o -c wrapper.c rm -f bcrypt_ext.so gcc -shared -o bcrypt_ext.so crypt.o bcrypt_ext.o crypt_gensalt.o crypt_blowfish.o wrapper.o -L. -L/opt/rh/ruby200/root/usr/lib64 -L. -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lrt -ldl -lcrypt -lm -lc make "DESTDIR=" install /bin/mkdir -p ./.gem.20140311-2274-8vcoav exit > .RUBYARCHDIR.time /usr/bin/install -c -m 0755 bcrypt_ext.so ./.gem.20140311-2274-8vcoav unable to convert "\xE4" from ASCII-8BIT to UTF-8 for lib/bcrypt_ext.so, skipping Successfully installed bcrypt-ruby-3.1.2 Parsing documentation for bcrypt-ruby-3.1.2 Installing ri documentation for bcrypt-ruby-3.1.2 Installing darkfish documentation for bcrypt-ruby-3.1.2 1 gem installed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7K7nGU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64 + cd ror40-rubygem-bcrypt-ruby-3.1.2 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64/opt/rh/ror40/root/usr/share/gems + mkdir -p /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64/opt/rh/ror40/root/usr/lib64/gems/ruby/bcrypt-ruby-3.1.2/lib + cp -a ./opt/rh/ror40/root/usr/share/gems/build_info ./opt/rh/ror40/root/usr/share/gems/cache ./opt/rh/ror40/root/usr/share/gems/doc ./opt/rh/ror40/root/usr/share/gems/gems ./opt/rh/ror40/root/usr/share/gems/specifications /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64/opt/rh/ror40/root/usr/share/gems/ + mv /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/lib/bcrypt_ext.so /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64/opt/rh/ror40/root/usr/lib64/gems/ruby/bcrypt-ruby-3.1.2/lib + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2 extracting debug info from /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/bcrypt_ext.so extracting debug info from /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64/opt/rh/ror40/root/usr/lib64/gems/ruby/bcrypt-ruby-3.1.2/lib/bcrypt_ext.so *** WARNING: identical binaries are copied, not linked: /opt/rh/ror40/root/usr/lib64/gems/ruby/bcrypt-ruby-3.1.2/lib/bcrypt_ext.so and /opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2/ext/mri/bcrypt_ext.so 77 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-scl-compress /opt/rh/ror40/root + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-scl-python-bytecompile /usr/bin/python /opt/rh/ror40/root + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.iu1rCR + umask 022 + cd /builddir/build/BUILD + cd ror40-rubygem-bcrypt-ruby-3.1.2 + unset DISPLAY + pushd ./opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2 ~/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2/opt/rh/ror40/root/usr/share/gems/gems/bcrypt-ruby-3.1.2 ~/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2 + scl enable ror40 - Errors BCrypt::Error can be rescued as a StandardError BCrypt::Errors::InvalidCost can be rescued as a BCrypt::Error BCrypt::Errors::InvalidHash can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSalt can be rescued as a BCrypt::Error BCrypt::Errors::InvalidSecret can be rescued as a BCrypt::Error Creating a hashed password should return a BCrypt::Password should return a valid bcrypt password should behave normally if the secret is not a string should tolerate empty string secrets Reading a hashed password the cost is too damn high the cost should be set to the default if nil the cost should be set to the default if empty hash the cost should be set to the passed value if provided the cost should be set to the global value if set the cost should be set to an overridden constant for backwards compatibility should read the version, cost, salt, and hash should raise an InvalidHashError when given an invalid hash Comparing a hashed password with a secret should compare successfully to the original secret should compare unsuccessfully to anything besides original secret Validating a generated salt should not accept an invalid salt should accept a valid salt Validating a password hash should not accept an invalid password should accept a valid password The BCrypt engine should calculate the optimal cost factor to fit in a specific time Generating BCrypt salts should produce strings should produce random data should raise a InvalidCostError if the cost parameter isn't numeric should raise a InvalidCostError if the cost parameter isn't greater than 0 Autodetecting of salt cost should work Generating BCrypt hashes should produce a string should raise an InvalidSalt error if the salt is invalid should raise an InvalidSecret error if the secret is invalid should call #to_s on the secret and use the return value as the actual secret data should be interoperable with other implementations Finished in 2.14 seconds 34 examples, 0 failures ~/build/BUILD/ror40-rubygem-bcrypt-ruby-3.1.2 + popd + exit 0 Processing files: ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64 Provides: bcrypt_ext.so()(64bit) ror40-rubygem(bcrypt-ruby) = 3.1.2 scl-package(ror40) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) librt.so.1()(64bit) libruby.so.2.0()(64bit) rtld(GNU_HASH) Processing files: ror40-rubygem-bcrypt-ruby-debuginfo-3.1.2-3.el6.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64 warning: Could not canonicalize hostname: i-00003bb8 Wrote: /builddir/build/RPMS/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64.rpm Wrote: /builddir/build/RPMS/ror40-rubygem-bcrypt-ruby-debuginfo-3.1.2-3.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Dj4gH9 + umask 022 + cd /builddir/build/BUILD + cd ror40-rubygem-bcrypt-ruby-3.1.2 + /bin/rm -rf /builddir/build/BUILDROOT/ror40-rubygem-bcrypt-ruby-3.1.2-3.el6.x86_64 + exit 0 Child return code was: 0 LEAVE do -->