Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/erlang-ibrowse.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-80774598aa72dd58ec66d922854686b00866cb22/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/erlang-ibrowse.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/erlang-ibrowse-4.0.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/erlang-ibrowse.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-80774598aa72dd58ec66d922854686b00866cb22/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/erlang-ibrowse.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0Yi4w0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ibrowse-4.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/ibrowse-4.0.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ibrowse-4.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e s,./rebar,rebar,g Makefile Patch #1 (erlang-ibrowse-0001-Support-SOCKS5-protocol-for-replication.patch): + echo 'Patch #1 (erlang-ibrowse-0001-Support-SOCKS5-protocol-for-replication.patch):' + /usr/bin/cat /builddir/build/SOURCES/erlang-ibrowse-0001-Support-SOCKS5-protocol-for-replication.patch + /usr/bin/patch -p1 -b --suffix .socks5 --fuzz=0 patching file src/ibrowse_http_client.erl patching file src/ibrowse_lib.erl patching file src/ibrowse_socks5.erl + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oFGuH1 + umask 022 + cd /builddir/build/BUILD + cd ibrowse-4.0.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + REBAR_FLAGS='--verbose 2' + make -j4 rebar compile ==> ibrowse-4.0.1 (compile) Compiled src/ibrowse_app.erl Compiled src/ibrowse.erl Compiled src/ibrowse_test.erl Compiled src/ibrowse_sup.erl Compiled src/ibrowse_socks5.erl Compiled src/ibrowse_lb.erl Compiled src/ibrowse_lib.erl src/ibrowse_http_client.erl:1023: Warning: variable 'State' is unused Compiled src/ibrowse_http_client.erl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YuVhtK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm ++ dirname /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm + cd ibrowse-4.0.1 + make install DESTDIR=/builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/lib/erlang rebar compile ==> ibrowse-4.0.1 (compile) mkdir -p /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/lib/erlang/lib/ibrowse-4.0.1/ cp -r ebin /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/lib/erlang/lib/ibrowse-4.0.1/ + rm -f /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/lib/erlang/lib/ibrowse-4.0.1/ebin/ibrowse_test.beam + sed -i -e 's,\,ibrowse_test,,g' /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/lib/erlang/lib/ibrowse-4.0.1/ebin/ibrowse.app + install -p -m 0644 -D include/ibrowse.hrl /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/lib/erlang/lib/ibrowse-4.0.1/include/ibrowse.hrl + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.5oxFm9 + umask 022 + cd /builddir/build/BUILD + cd ibrowse-4.0.1 + make test rebar compile ==> ibrowse-4.0.1 (compile) rebar eunit ==> ibrowse-4.0.1 (eunit) Compiled test/ibrowse_lib_tests.erl Compiled test/ibrowse_test_server.erl Compiled src/ibrowse_test.erl Compiled src/ibrowse_app.erl Compiled src/ibrowse_sup.erl Compiled src/ibrowse_socks5.erl Compiled src/ibrowse_lb.erl Compiled src/ibrowse.erl Compiled src/ibrowse_lib.erl src/ibrowse_http_client.erl:1023: Warning: variable 'State' is unused Compiled src/ibrowse_http_client.erl ======================== EUnit ======================== module 'ibrowse' module 'ibrowse_lib' ibrowse_lib_tests: parse_urls_test_ (module 'ibrowse_lib_tests')...[0.001 s] ok [done in 0.004 s] module 'ibrowse_lb' module 'ibrowse_socks5' module 'ibrowse_app' module 'ibrowse_test_server' ibrowse_test: ue_test (module 'ibrowse_test')...[0.029 s] ok module 'ibrowse_sup' module 'ibrowse_http_client' ======================================================= All 2 tests passed. (cd test; make) make[1]: Entering directory `/builddir/build/BUILD/ibrowse-4.0.1/test' erlc -W +warn_unused_vars +nowarn_shadow_vars +warn_unused_import -I./ -o ./ ibrowse_test_server.erl make[1]: Leaving directory `/builddir/build/BUILD/ibrowse-4.0.1/test' erl -noshell -pa ebin -pa test -s ibrowse -s ibrowse_test unit_tests \ -s ibrowse_test verify_chunked_streaming \ -s ibrowse_test test_chunked_streaming_once \ -s erlang halt get, http://intranet/messenger: {error,{conn_failed,{error,nxdomain}}} get, http://www.google.co.uk: Status code: "200" get, http://www.google.com: Status code: "200" options, http://www.google.com: Status code: "405" get, https://mail.google.com: {error,{conn_failed,{error,ssl_not_started}}} get, http://www.sun.com: Status code: "301" get, http://www.oracle.com: Status code: "301" get, http://www.bbc.co.uk: Status code: "301" trace, http://www.bbc.co.uk: Status code: "405" options, http://www.bbc.co.uk: Status code: "405" get, http://yaws.hyber.org: Status code: "200" get, http://jigsaw.w3.org/HTTP/ChunkedScript: Status code: "200" get, http://jigsaw.w3.org/HTTP/TE/foo.txt: Status code: "200" get, http://jigsaw.w3.org/HTTP/TE/bar.txt: Status code: "200" get, http://jigsaw.w3.org/HTTP/connection.html: Status code: "200" get, http://jigsaw.w3.org/HTTP/cc.html: Status code: "200" get, http://jigsaw.w3.org/HTTP/cc-private.html: Status code: "200" get, http://jigsaw.w3.org/HTTP/cc-proxy-revalidate.html: Status code: "200" get, http://jigsaw.w3.org/HTTP/cc-nocache.html: Status code: "200" get, http://jigsaw.w3.org/HTTP/h-content-md5.html: Status code: "200" get, http://jigsaw.w3.org/HTTP/h-retry-after.html: Status code: "503" get, http://jigsaw.w3.org/HTTP/h-retry-after-date.html: Status code: "503" get, http://jigsaw.w3.org/HTTP/neg: Status code: "300" get, http://jigsaw.w3.org/HTTP/negbad: Status code: "406" get, http://jigsaw.w3.org/HTTP/400/toolong/: Status code: "414" get, http://jigsaw.w3.org/HTTP/300/: Status code: "200" get, http://jigsaw.w3.org/HTTP/Basic/: Status code: "200" get, http://jigsaw.w3.org/HTTP/CL/: Status code: "200" get, http://www.httpwatch.com/httpgallery/chunked/: Status code: "200" get, https://github.com: {error,{conn_failed,{error,ssl_not_started}}} test_20122010 : success test_pipeline_head_timeout : success test_head_transfer_encoding : success test_head_response_with_body : success Verifying that chunked streaming is working... URL: http://www.httpwatch.com/httpgallery/chunked/ Fetching data without streaming... Fetching data with streaming as list... Fetching data with streaming as binary... Fetching data with streaming as binary, {active, once}... Chunked streaming working Testing chunked streaming with the {stream_to, {Pid, once}} option... URL: http://www.httpwatch.com/httpgallery/chunked/ Fetching data with streaming as binary, {active, once}... Success! + exit 0 Processing files: erlang-ibrowse-4.0.1-1.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UL3VAK + umask 022 + cd /builddir/build/BUILD + cd ibrowse-4.0.1 + DOCDIR=/builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/share/doc/erlang-ibrowse-4.0.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/share/doc/erlang-ibrowse-4.0.1 + cp -pr BSD_LICENSE /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/share/doc/erlang-ibrowse-4.0.1 + cp -pr LICENSE /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/share/doc/erlang-ibrowse-4.0.1 + cp -pr CHANGELOG /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/share/doc/erlang-ibrowse-4.0.1 + cp -pr CONTRIBUTORS /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/share/doc/erlang-ibrowse-4.0.1 + cp -pr README.md /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm/usr/share/doc/erlang-ibrowse-4.0.1 + exit 0 Provides: erlang-ibrowse = 4.0.1-1.el7 erlang-ibrowse(armv7hl-32) = 4.0.1-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm Wrote: /builddir/build/RPMS/erlang-ibrowse-4.0.1-1.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.asfaIZ + umask 022 + cd /builddir/build/BUILD + cd ibrowse-4.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/erlang-ibrowse-4.0.1-1.el7.arm + exit 0 Child return code was: 0