D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/erlang-oauth2-0.7.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.x4x7rv Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5l64sU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + rm -rf oauth2-0.7.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/oauth2-0.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oauth2-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/erlang-oauth2-0001-Don-t-use-deprecated-funs-in-Erlang-18.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/erlang-oauth2-0002-Pass-on-error-from-authenticate_user.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zx4uK5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd oauth2-0.7.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' '!' -f src/oauth2.app.src -a '!' -f src/oauth2.app -a '!' -f ebin/oauth2.app ']' + echo '*.app file (or *.app.src template) was found.' *.app file (or *.app.src template) was found. + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=0.7.0 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/vsn.cache + export REBAR_VSN_CACHE_FILE + echo '{{git, "/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0"}, "0.7.0"}.' + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + IGNORE_MISSING_DEPS=TRUE + export IGNORE_MISSING_DEPS + ERL_LIBS=/usr/share/erlang/lib/ + export ERL_LIBS + /usr/bin/rebar compile skip_deps=true -vv DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/src/oauth2.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0: [] DEBUG: Predirs: [] ==> oauth2-0.7.0 (compile) DEBUG: Matched required ERTS version: 15.2.4 -> .* DEBUG: Matched required OTP release: 27 -> .* DEBUG: Min OTP version unconfigured DEBUG: erl_opts [debug_info] DEBUG: Files to compile first: ["src/oauth2_token_generation.erl"] Compiled src/oauth2_token_generation.erl DEBUG: Starting 3 compile worker(s) Compiled src/oauth2_config.erl Compiled src/oauth2_backend.erl Compiled src/oauth2_response.erl Compiled src/oauth2_priv_set.erl DEBUG: Worker exited cleanly Compiled src/oauth2_token.erl DEBUG: Worker exited cleanly Compiled src/oauth2.erl DEBUG: Worker exited cleanly INFO: No app_vars_file defined. DEBUG: Postdirs: [] + '[' -f doc/overview.edoc ']' + echo 'No '\''doc/overview.edoc'\'' file was found, so docs aren'\''t generated.' No 'doc/overview.edoc' file was found, so docs aren't generated. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BUwzth + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + mkdir /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd oauth2-0.7.0 + '[' 1 -eq 1 ']' + '[' oauth2 '!=' '' ']' + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/lib64/erlang/lib/oauth2-0.7.0/ + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/lib64/erlang/lib/oauth2-0.7.0/ebin/ + '[' -f ebin/oauth2.app ']' + /usr/bin/install -m 0644 -p ebin/oauth2.app /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/lib64/erlang/lib/oauth2-0.7.0/ebin/ + /usr/bin/install -m 0644 -p ebin/oauth2.beam ebin/oauth2_backend.beam ebin/oauth2_config.beam ebin/oauth2_priv_set.beam ebin/oauth2_response.beam ebin/oauth2_token.beam ebin/oauth2_token_generation.beam /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/lib64/erlang/lib/oauth2-0.7.0/ebin/ + '[' -d include/ ']' + '[' -d priv/ ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.52g62u + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd oauth2-0.7.0 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=0.7.0 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/vsn.cache + export REBAR_VSN_CACHE_FILE + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + /usr/bin/rebar eunit skip_deps=true -vv DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/src/oauth2.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0: [] DEBUG: Predirs: [] ==> oauth2-0.7.0 (eunit) DEBUG: Matched required ERTS version: 15.2.4 -> .* DEBUG: Matched required OTP release: 27 -> .* DEBUG: Min OTP version unconfigured DEBUG: Triq availability: true DEBUG: PropEr availability: true DEBUG: QuickCheck availability: false INFO: sh info: cwd: "/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0" cmd: cp -R src/oauth2_config.erl src/oauth2_token_generation.erl src/oauth2.erl src/oauth2_backend.erl src/oauth2_priv_set.erl src/oauth2_response.erl src/oauth2_token.erl test/oauth2_token_tests.erl test/oauth2_response_tests.erl test/oauth2_priv_set_tests.erl test/oauth2_tests.erl test/oauth2_mock_backend.erl ".eunit" DEBUG: opts: [{use_stdout,false},abort_on_error] DEBUG: Port Cmd: "cp -R src/oauth2_config.erl src/oauth2_token_generation.erl src/oauth2.erl src/oauth2_backend.erl src/oauth2_priv_set.erl src/oauth2_response.erl src/oauth2_token.erl test/oauth2_token_tests.erl test/oauth2_response_tests.erl test/oauth2_priv_set_tests.erl test/oauth2_tests.erl test/oauth2_mock_backend.erl \".eunit\"" Port Opts: [exit_status,{line,16384},use_stdio,stderr_to_stdout,hide] DEBUG: erl_opts [{d,'TEST'},debug_info,{d,'TRIQ'},{d,'PROPER'}] DEBUG: Files to compile first: ["src/oauth2_token_generation.erl"] Compiled src/oauth2_token_generation.erl DEBUG: Starting 3 compile worker(s) Compiled src/oauth2_config.erl Compiled src/oauth2_backend.erl Compiled src/oauth2_response.erl Compiled src/oauth2_priv_set.erl Compiled src/oauth2.erl Compiled src/oauth2_token.erl Compiled test/oauth2_token_tests.erl Compiled test/oauth2_priv_set_tests.erl Compiled test/oauth2_mock_backend.erl DEBUG: Worker exited cleanly Compiled test/oauth2_response_tests.erl DEBUG: Worker exited cleanly Compiled test/oauth2_tests.erl DEBUG: Worker exited cleanly ======================== EUnit ======================== module 'oauth2_backend' module 'oauth2_mock_backend' module 'oauth2_token_generation' module 'oauth2_response' module 'oauth2_response_tests' oauth2_response_tests:46: -proper_type_spec_test_/0-fun-0-...Testing oauth2_response:token_type/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:scope/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:access_code/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:refresh_token_expires_in/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:refresh_token/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:expires_in/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:access_token/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:new/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:resource_owner/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:new/7 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:refresh_token_expires_in/1 ! Failed: After 1 test(s). [{response,undefined,undefined,undefined,undefined,undefined,<<128>>,undefined,<<>>}]  Shrinking .(1 time(s)) [{response,undefined,undefined,undefined,undefined,undefined,<<>>,undefined,<<>>}] Testing oauth2_response:refresh_token/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:scope/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:expires_in/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:access_code/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:access_token/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:to_map/1 Error: The typeserver encountered an error: {missing_type,oauth2_response,{type,map,1}}. Testing oauth2_response:new/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:resource_owner/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:new/4 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_response:to_proplist/1 .....! Failed: After 6 test(s). An exception was raised: error:{error,badarg}. Stacktrace: [{proper_typeserver,'-apply_spec_test/5-fun-0-', [{erlang,list_to_binary, [[{}]], [{error_info,#{module => erl_erts_errors}}]}, {oauth2_response,to_binary,1, [{file,"src/oauth2_response.erl"},{line,214}]}, {oauth2_response,response_foldr,4, [{file,"src/oauth2_response.erl"},{line,204}]}, {oauth2_response,response_foldr,4, [{file,"src/oauth2_response.erl"},{line,205}]}, {proper_typeserver,'-apply_spec_test/5-fun-0-',6, [{file,"src/proper_typeserver.erl"},{line,513}]}, {proper,apply_args,4,[{file,"src/proper.erl"},{line,1834}]}, {proper,child,4,[{file,"src/proper.erl"},{line,1870}]}, {proper,'-spawn_link_migrate/2-fun-1-',2, [{file,"src/proper.erl"},{line,816}]}], [{file,"src/proper_typeserver.erl"},{line,536}]}, {proper,apply_args,4,[{file,"src/proper.erl"},{line,1834}]}, {proper,child,4,[{file,"src/proper.erl"},{line,1870}]}, {proper,'-spawn_link_migrate/2-fun-1-',2, [{file,"src/proper.erl"},{line,816}]}]. [{response,undefined,<<136,76>>,undefined,[{}],undefined,undefined,undefined,<<40>>}]  Shrinking ....(4 time(s)) [{response,undefined,undefined,undefined,[0.0],undefined,undefined,undefined,<<>>}] Testing oauth2_response:new/6 .................................................................................................... OK: Passed 100 test(s).  [1.609 s] ok oauth2_response_tests:56: -new_1_test_/0-fun-7-...ok oauth2_response_tests:57: -new_1_test_/0-fun-5-...ok oauth2_response_tests:58: -new_1_test_/0-fun-3-...ok oauth2_response_tests:59: -new_1_test_/0-fun-1-...ok oauth2_response_tests:69: -new_2_test_/0-fun-7-...ok oauth2_response_tests:70: -new_2_test_/0-fun-5-...ok oauth2_response_tests:71: -new_2_test_/0-fun-3-...ok oauth2_response_tests:72: -new_2_test_/0-fun-1-...ok oauth2_response_tests:82: -new_4_test_/0-fun-7-...ok oauth2_response_tests:83: -new_4_test_/0-fun-5-...ok oauth2_response_tests:84: -new_4_test_/0-fun-3-...ok oauth2_response_tests:85: -new_4_test_/0-fun-1-...ok oauth2_response_tests:95: -new_5_test_/0-fun-7-...ok oauth2_response_tests:96: -new_5_test_/0-fun-5-...ok oauth2_response_tests:97: -new_5_test_/0-fun-3-...ok oauth2_response_tests:98: -new_5_test_/0-fun-1-...ok oauth2_response_tests:109: -new_6_test_/0-fun-9-...ok oauth2_response_tests:110: -new_6_test_/0-fun-7-...ok oauth2_response_tests:111: -new_6_test_/0-fun-5-...ok oauth2_response_tests:112: -new_6_test_/0-fun-3-...ok oauth2_response_tests:113: -new_6_test_/0-fun-1-...ok oauth2_response_tests: access_token_test...ok oauth2_response_tests: access_code_test...ok oauth2_response_tests: expires_in_test...ok oauth2_response_tests: scope_test...ok oauth2_response_tests: refresh_token_test...ok oauth2_response_tests: resource_owner_test...ok oauth2_response_tests: token_type_test...ok oauth2_response_tests: to_proplist_test....................................................................................................... OK: Passed 100 test(s). [0.099 s] ok oauth2_response_tests: to_map_test....................................................................................................... OK: Passed 100 test(s). [0.072 s] ok [done in 1.896 s] [done in 1.896 s] module 'oauth2_token' Testing oauth2_token:generate/1 module 'oauth2_token_tests' oauth2_token_tests:37: -proper_type_spec_test_/0-fun-0-....................................................................................................... OK: Passed 100 test(s).  [1.446 s] ok oauth2_token_tests: generate_test...ok oauth2_token_tests:48: -generate_low_entropy_test_/0-fun-3-...ok oauth2_token_tests:49: -generate_low_entropy_test_/0-fun-1-...ok [done in 1.459 s] [done in 1.459 s] module 'oauth2_config' module 'oauth2' module 'oauth2_tests' oauth2_tests:52: -bad_authorize_password_test_/0-fun-17-...ok oauth2_tests:57: -bad_authorize_password_test_/0-fun-15-...ok oauth2_tests:62: -bad_authorize_password_test_/0-fun-13-...ok oauth2_tests:67: -bad_authorize_password_test_/0-fun-11-...ok oauth2_tests:72: -bad_authorize_password_test_/0-fun-9-...ok oauth2_tests:78: -bad_authorize_password_test_/0-fun-7-...ok oauth2_tests:84: -bad_authorize_password_test_/0-fun-5-...ok oauth2_tests:90: -bad_authorize_password_test_/0-fun-3-...ok oauth2_tests:96: -bad_authorize_password_test_/0-fun-1-...ok oauth2_tests: -authorize_implicit_grant_test_/0-fun-1-...ok oauth2_tests:134: -bad_authorize_client_credentials_test_/0-fun-7-...ok oauth2_tests:140: -bad_authorize_client_credentials_test_/0-fun-5-...ok oauth2_tests:145: -bad_authorize_client_credentials_test_/0-fun-3-...ok oauth2_tests:151: -bad_authorize_client_credentials_test_/0-fun-1-...ok oauth2_tests: -bad_ttl_test_/0-fun-5-...ok oauth2_tests: -bad_ttl_test_/0-fun-3-...ok oauth2_tests: -bad_ttl_test_/0-fun-1-...ok oauth2_tests: -verify_access_token_test_/0-fun-3-...ok oauth2_tests:217: -verify_access_token_test_/0-fun-1-...ok oauth2_tests: -bad_access_code_test_/0-fun-2-...ok oauth2_tests: -verify_access_code_test_/0-fun-3-...ok oauth2_tests: -bad_refresh_token_test_/0-fun-4-...ok oauth2_tests: -verify_refresh_token_test_/0-fun-5-...ok oauth2_tests: -verify_refresh_token_test_/0-fun-3-...ok [done in 0.096 s] [done in 0.096 s] module 'oauth2_priv_set' Testing oauth2_priv_set:union/2 module 'oauth2_priv_set_tests' .oauth2_priv_set_tests:37: -proper_type_spec_test_/0-fun-0-...................................................................................................... OK: Passed 100 test(s).  Testing oauth2_priv_set:new/1 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_priv_set:is_member/2 .................................................................................................... OK: Passed 100 test(s).  Testing oauth2_priv_set:is_subset/2 .................................................................................................... OK: Passed 100 test(s).  [1.431 s] ok oauth2_priv_set_tests:43: -new_test_/0-fun-7-...ok oauth2_priv_set_tests:46: -new_test_/0-fun-5-...ok oauth2_priv_set_tests:49: -new_test_/0-fun-3-...ok oauth2_priv_set_tests:52: -new_test_/0-fun-1-...ok oauth2_priv_set_tests:59: -is_subset_test_/0-fun-15-...ok oauth2_priv_set_tests:69: -is_subset_test_/0-fun-13-...ok oauth2_priv_set_tests:72: -is_subset_test_/0-fun-11-...ok oauth2_priv_set_tests:75: -is_subset_test_/0-fun-9-...ok oauth2_priv_set_tests:78: -is_subset_test_/0-fun-7-...ok oauth2_priv_set_tests:81: -is_subset_test_/0-fun-5-...ok oauth2_priv_set_tests:84: -is_subset_test_/0-fun-3-...ok oauth2_priv_set_tests:87: -is_subset_test_/0-fun-1-...ok [done in 1.477 s] [done in 1.477 s] ======================================================= All 72 tests passed. DEBUG: Reconstruct kernel [{logger_level,notice}, {logger_sasl_compatible,false}, {net_tickintensity,4}, {net_ticktime,60}, {prevent_overlapping_partitions,true}, {shell_docs_ansi,auto}, {shell_history_drop,[]}] DEBUG: Reconstruct stdlib [] DEBUG: Reconstruct crypto [{fips_mode,false},{rand_cache_size,896}] DEBUG: Reconstruct rebar [{log_level,warn}, {log_colored,uncolored}, {any_dir_modules, [rebar_require_vsn,rebar_deps,rebar_subdirs, rebar_templater,rebar_cleaner]}, {modules, [{app_dir, [rebar_proto_compiler, rebar_protobuffs_compiler, rebar_neotoma_compiler, rebar_asn1_compiler,rebar_dia_compiler, rebar_dialyzer,rebar_erlc_compiler, rebar_lfe_compiler,rebar_erlydtl_compiler, rebar_port_compiler,rebar_otp_app, rebar_otp_appup,rebar_ct,rebar_eunit, rebar_qc,rebar_escripter,rebar_edoc, rebar_shell,rebar_xref,rebar_metacmds]}, {rel_dir, [rebar_appups,rebar_reltool, rebar_upgrade]}]}, {recursive_cmds, ['check-deps',compile,'delete-deps','get-deps', 'list-deps','update-deps']}] + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + VSN=0.7.0 + export VSN + REBAR_VSN_CACHE_FILE=/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/vsn.cache + export REBAR_VSN_CACHE_FILE + REBAR_DEPS_PREFER_LIBS=TRUE + export REBAR_DEPS_PREFER_LIBS + /usr/bin/rebar ct skip_deps=true -vv DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/rebar.config" DEBUG: Rebar location: "/usr/bin/rebar" DEBUG: Consult config file "/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/src/oauth2.app.src" DEBUG: Available deps: [] DEBUG: Missing deps : [] DEBUG: Plugins requested while processing /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0: [] DEBUG: Predirs: [] ==> oauth2-0.7.0 (ct) WARN: test directory present, but no common_test SUITES - skipping DEBUG: Postdirs: [] + RPM_EC=0 ++ jobs -p + exit 0 Processing files: erlang-oauth2-0.7.0-1.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HnxN0s + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + cd oauth2-0.7.0 + DOCDIR=/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/share/doc/erlang-oauth2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/share/doc/erlang-oauth2 + cp -pr /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/README.md /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/share/doc/erlang-oauth2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.k8pf7k + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + cd oauth2-0.7.0 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/share/licenses/erlang-oauth2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/share/licenses/erlang-oauth2 + cp -pr /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/oauth2-0.7.0/LICENSE /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT/usr/share/licenses/erlang-oauth2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: erlang-oauth2 = 0.7.0-1.mga10 erlang-oauth2(x86-64) = 0.7.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: erlang-crypto(x86-64) erlang-erts(x86-64) erlang-kernel(x86-64) erlang-stdlib(x86-64) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/erlang-oauth2-0.7.0-1.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VblJ1y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + test -d /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/erlang-oauth2-0.7.0-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!