Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-webmock.spec'], chrootPath='/var/lib/mock/f40-build-2389575-60521/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-webmock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/rubygem-webmock-3.18.1-2.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-webmock.spec'], chrootPath='/var/lib/mock/f40-build-2389575-60521/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-webmock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T8q792 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf webmock-3.18.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/webmock-3.18.1.gem Unpacked gem: '/builddir/build/BUILD/webmock-3.18.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd webmock-3.18.1 + rm -rf /builddir/build/BUILD/webmock-3.18.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/webmock-3.18.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + read -d '' gemspec_add_dep_script + : + echo 'gemspec_file = '\''/builddir/build/BUILD/webmock-3.18.1.gemspec'\'' name = '\''json'\'' requirements = nil type = :runtime spec = Gem::Specification.load(gemspec_file) abort("#{gemspec_file} is not accessible.") unless spec dep = spec.dependencies.detect { |d| d.type == type && d.name == name } if dep dep.requirement.concat requirements else spec.public_send "add_#{type}_dependency", name, requirements end File.write gemspec_file, spec.to_ruby' + ruby + unset -v gemspec_add_dep_script Patch #0 (rubygem-webmock-3.18.1-It-s-Minitest-now-not-MiniTest.patch): + echo 'Patch #0 (rubygem-webmock-3.18.1-It-s-Minitest-now-not-MiniTest.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file minitest/test_helper.rb patching file minitest/test_webmock.rb + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yLR2km + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd webmock-3.18.1 + gem build ../webmock-3.18.1.gemspec WARNING: open-ended dependency on addressable (>= 2.8.0) is not recommended if addressable is semantically versioned, use: add_runtime_dependency 'addressable', '~> 2.8', '>= 2.8.0' WARNING: open-ended dependency on crack (>= 0.3.2) is not recommended if crack is semantically versioned, use: add_runtime_dependency 'crack', '~> 0.3', '>= 0.3.2' WARNING: open-ended dependency on patron (>= 0.4.18, development) is not recommended if patron is semantically versioned, use: add_development_dependency 'patron', '~> 0.4', '>= 0.4.18' WARNING: open-ended dependency on curb (>= 0.7.16, development) is not recommended if curb is semantically versioned, use: add_development_dependency 'curb', '~> 0.7', '>= 0.7.16' WARNING: open-ended dependency on typhoeus (>= 0.5.0, development) is not recommended if typhoeus is semantically versioned, use: add_development_dependency 'typhoeus', '~> 0.5', '>= 0.5.0' WARNING: open-ended dependency on em-http-request (>= 1.0.2, development) is not recommended if em-http-request is semantically versioned, use: add_development_dependency 'em-http-request', '~> 1.0', '>= 1.0.2' WARNING: open-ended dependency on em-synchrony (>= 1.0.0, development) is not recommended if em-synchrony is semantically versioned, use: add_development_dependency 'em-synchrony', '~> 1.0', '>= 1.0.0' WARNING: open-ended dependency on http (>= 0.8.0, development) is not recommended if http is semantically versioned, use: add_development_dependency 'http', '~> 0.8', '>= 0.8.0' WARNING: open-ended dependency on rack (> 1.6, development) is not recommended if rack is semantically versioned, use: add_development_dependency 'rack', '~> 1.6', '> 1.6' WARNING: open-ended dependency on rspec (>= 3.1.0, development) is not recommended if rspec is semantically versioned, use: add_development_dependency 'rspec', '~> 3.1', '>= 3.1.0' WARNING: open-ended dependency on httpclient (>= 2.2.4, development) is not recommended if httpclient is semantically versioned, use: add_development_dependency 'httpclient', '~> 2.2', '>= 2.2.4' WARNING: open-ended dependency on excon (>= 0.27.5, development) is not recommended if excon is semantically versioned, use: add_development_dependency 'excon', '~> 0.27', '>= 0.27.5' WARNING: open-ended dependency on async-http (>= 0.48.0, development) is not recommended if async-http is semantically versioned, use: add_development_dependency 'async-http', '~> 0.48', '>= 0.48.0' WARNING: open-ended dependency on minitest (>= 5.0.0, development) is not recommended if minitest is semantically versioned, use: add_development_dependency 'minitest', '~> 5.0', '>= 5.0.0' WARNING: open-ended dependency on test-unit (>= 3.0.0, development) is not recommended if test-unit is semantically versioned, use: add_development_dependency 'test-unit', '~> 3.0', '>= 3.0.0' WARNING: open-ended dependency on rdoc (> 3.5.0, development) is not recommended if rdoc is semantically versioned, use: add_development_dependency 'rdoc', '~> 3.5', '> 3.5.0' WARNING: open-ended dependency on webrick (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on json (>= 0) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: webmock Version: 3.18.1 File: webmock-3.18.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer'\'' --with-cxxflags='\''-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc webmock-3.18.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/webmock-3.18.1 Bin dir: /builddir/build/BUILD/webmock-3.18.1/usr/bin Gem home: /builddir/build/BUILD/webmock-3.18.1/usr/share/gems Plugins dir: /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/plugins /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/.gemtest /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/.github/workflows/CI.yml /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/.gitignore /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/.rspec-tm /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/CHANGELOG.md /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/Gemfile /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/LICENSE /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/README.md /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/Rakefile /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/api.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/assertion_failure.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/callback_registry.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/config.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/cucumber.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/deprecation.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/errors.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/async_http_client_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/curb_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/em_http_request_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/excon_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/http_lib_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/http_rb/client.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/http_rb/request.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/http_rb/response.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/http_rb/streamer.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/http_rb/webmock.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/http_rb_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/httpclient_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/manticore_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/net_http.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/net_http_response.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/patron_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/matchers/any_arg_matcher.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/matchers/hash_argument_matcher.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/matchers/hash_excluding_matcher.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/matchers/hash_including_matcher.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/minitest.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/rack_response.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/request_body_diff.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/request_execution_verifier.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/request_pattern.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/request_registry.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/request_signature.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/request_signature_snippet.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/request_stub.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/response.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/responses_sequence.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/rspec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/rspec/matchers.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/rspec/matchers/request_pattern_matcher.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/rspec/matchers/webmock_matcher.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/stub_registry.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/stub_request_snippet.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/test_unit.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/hash_counter.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/hash_keys_stringifier.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/hash_validator.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/headers.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/json.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/query_mapper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/uri.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/values_stringifier.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/util/version_checker.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/version.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/lib/webmock/webmock.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/minitest/test_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/minitest/test_webmock.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/minitest/webmock_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/async_http_client/async_http_client_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/async_http_client/async_http_client_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/curb/curb_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/curb/curb_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/em_http_request/em_http_request_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/em_http_request/em_http_request_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/excon/excon_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/excon/excon_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/http_rb/http_rb_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/http_rb/http_rb_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/httpclient/httpclient_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/httpclient/httpclient_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/manticore/manticore_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/manticore/manticore_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/net_http/net_http_shared.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/net_http/net_http_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/net_http/net_http_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/net_http/real_net_http_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/patron/patron_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/patron/patron_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/shared/allowing_and_disabling_net_connect.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/shared/callbacks.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/shared/complex_cross_concern_behaviors.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/shared/enabling_and_disabling_webmock.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/shared/precedence_of_stubs.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/shared/request_expectations.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/shared/returning_declared_responses.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/shared/stubbing_requests.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/typhoeus/typhoeus_hydra_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/acceptance/webmock_shared.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/fixtures/test.txt /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/quality_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/spec_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/support/example_curl_output.txt /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/support/failures.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/support/my_rack_app.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/support/network_connection.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/support/webmock_server.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/api_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/errors_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/http_lib_adapters/http_lib_adapter_registry_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/http_lib_adapters/http_lib_adapter_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/matchers/hash_excluding_matcher_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/matchers/hash_including_matcher_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/rack_response_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/request_body_diff_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/request_execution_verifier_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/request_pattern_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/request_registry_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/request_signature_snippet_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/request_signature_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/request_stub_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/response_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/stub_registry_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/stub_request_snippet_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/util/hash_counter_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/util/hash_keys_stringifier_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/util/headers_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/util/json_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/util/query_mapper_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/util/uri_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/util/version_checker_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/spec/unit/webmock_spec.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/test/http_request.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/test/shared_test.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/test/test_helper.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/test/test_webmock.rb /builddir/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1/webmock.gemspec Successfully installed webmock-3.18.1 Parsing documentation for webmock-3.18.1 Parsing sources... 1% [ 1/59] lib/webmock.rb 3% [ 2/59] lib/webmock/api.rb 5% [ 3/59] lib/webmock/assertion_failure.rb 6% [ 4/59] lib/webmock/callback_registry.rb 8% [ 5/59] lib/webmock/config.rb 10% [ 6/59] lib/webmock/cucumber.rb 11% [ 7/59] lib/webmock/deprecation.rb 13% [ 8/59] lib/webmock/errors.rb 15% [ 9/59] lib/webmock/http_lib_adapters/async_http_client_adapter.rb 16% [10/59] lib/webmock/http_lib_adapters/curb_adapter.rb 18% [11/59] lib/webmock/http_lib_adapters/em_http_request_adapter.rb 20% [12/59] lib/webmock/http_lib_adapters/excon_adapter.rb 22% [13/59] lib/webmock/http_lib_adapters/http_lib_adapter.rb 23% [14/59] lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb 25% [15/59] lib/webmock/http_lib_adapters/http_rb/client.rb 27% [16/59] lib/webmock/http_lib_adapters/http_rb/request.rb 28% [17/59] lib/webmock/http_lib_adapters/http_rb/response.rb 30% [18/59] lib/webmock/http_lib_adapters/http_rb/streamer.rb 32% [19/59] lib/webmock/http_lib_adapters/http_rb/webmock.rb 33% [20/59] lib/webmock/http_lib_adapters/http_rb_adapter.rb 35% [21/59] lib/webmock/http_lib_adapters/httpclient_adapter.rb 37% [22/59] lib/webmock/http_lib_adapters/manticore_adapter.rb 38% [23/59] lib/webmock/http_lib_adapters/net_http.rb 40% [24/59] lib/webmock/http_lib_adapters/net_http_response.rb 42% [25/59] lib/webmock/http_lib_adapters/patron_adapter.rb 44% [26/59] lib/webmock/http_lib_adapters/typhoeus_hydra_adapter.rb 45% [27/59] lib/webmock/matchers/any_arg_matcher.rb 47% [28/59] lib/webmock/matchers/hash_argument_matcher.rb 49% [29/59] lib/webmock/matchers/hash_excluding_matcher.rb 50% [30/59] lib/webmock/matchers/hash_including_matcher.rb 52% [31/59] lib/webmock/minitest.rb 54% [32/59] lib/webmock/rack_response.rb 55% [33/59] lib/webmock/request_body_diff.rb 57% [34/59] lib/webmock/request_execution_verifier.rb 59% [35/59] lib/webmock/request_pattern.rb 61% [36/59] lib/webmock/request_registry.rb 62% [37/59] lib/webmock/request_signature.rb 64% [38/59] lib/webmock/request_signature_snippet.rb 66% [39/59] lib/webmock/request_stub.rb 67% [40/59] lib/webmock/response.rb 69% [41/59] lib/webmock/responses_sequence.rb 71% [42/59] lib/webmock/rspec.rb 72% [43/59] lib/webmock/rspec/matchers.rb 74% [44/59] lib/webmock/rspec/matchers/request_pattern_matcher.rb 76% [45/59] lib/webmock/rspec/matchers/webmock_matcher.rb 77% [46/59] lib/webmock/stub_registry.rb 79% [47/59] lib/webmock/stub_request_snippet.rb 81% [48/59] lib/webmock/test_unit.rb 83% [49/59] lib/webmock/util/hash_counter.rb 84% [50/59] lib/webmock/util/hash_keys_stringifier.rb 86% [51/59] lib/webmock/util/hash_validator.rb 88% [52/59] lib/webmock/util/headers.rb 89% [53/59] lib/webmock/util/json.rb 91% [54/59] lib/webmock/util/query_mapper.rb 93% [55/59] lib/webmock/util/uri.rb 94% [56/59] lib/webmock/util/values_stringifier.rb 96% [57/59] lib/webmock/util/version_checker.rb 98% [58/59] lib/webmock/version.rb 100% [59/59] lib/webmock/webmock.rb Installing ri documentation for webmock-3.18.1 Installing darkfish documentation for webmock-3.18.1 Done installing documentation for webmock after 20 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S1x3JV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-webmock-3.18.1-2.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-webmock-3.18.1-2.fc40.noarch ++ dirname /builddir/build/BUILDROOT/rubygem-webmock-3.18.1-2.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-webmock-3.18.1-2.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd webmock-3.18.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-webmock-3.18.1-2.fc40.noarch/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-webmock-3.18.1-2.fc40.noarch/usr/share/gems/ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.18.1-2.fc40 --unique-debug-suffix -3.18.1-2.fc40.noarch --unique-debug-src-base rubygem-webmock-3.18.1-2.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/webmock-3.18.1 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sVcsnr + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS ~/build/BUILD/webmock-3.18.1/usr/share/gems/gems/webmock-3.18.1 ~/build/BUILD/webmock-3.18.1 + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd webmock-3.18.1 + pushd ./usr/share/gems/gems/webmock-3.18.1 + ruby -e 'Dir.glob "./minitest/**/*.rb", &method(:require)' Run options: --seed 31993 # Running: ..................... Finished in 0.827204s, 25.3867 runs/s, 58.0268 assertions/s. 21 runs, 48 assertions, 0 failures, 0 errors, 0 skips + ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' Loaded suite -e Started Finished in 0.692865381 seconds. ------------------------------------------------------------------------------- 14 tests, 42 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ------------------------------------------------------------------------------- 20.21 tests/s, 60.62 assertions/s + ignore_list=(%{with_async_http_client} 1 1 1 %{with_http_rb} 1 %{with_manticore} 1 %{with_patron} 1) + ignore_list=($(echo ${ignore_list[*]} | sed 's/1//g' | sed -r 's/%\{with_([^{]*)\}/\1/g')) ++ echo '%{with_async_http_client}' 1 1 1 '%{with_http_rb}' 1 '%{with_manticore}' 1 '%{with_patron}' 1 ++ sed s/1//g ++ sed -r 's/%\{with_([^{]*)\}/\1/g' + for i in ${ignore_list[*]} + sed -i '/async_http_client/ s/^/#/' spec/spec_helper.rb + for i in ${ignore_list[*]} + sed -i '/http_rb/ s/^/#/' spec/spec_helper.rb + for i in ${ignore_list[*]} + sed -i '/manticore/ s/^/#/' spec/spec_helper.rb + for i in ${ignore_list[*]} + sed -i '/patron/ s/^/#/' spec/spec_helper.rb + rspec spec --exclude-pattern 'spec/{quality_spec.rb,acceptance/**/*}' Run options: include {:focus=>true} exclude {:without_webmock=>true} All examples were filtered out; ignoring {:focus=>true} .......................................................Error! ................................................................................................................WebMock warning: ignoring query params in RFC 6570 template and checking them with WebMock ...................................................................................................................................................................................................................................................................................................... Finished in 8.16 seconds (files took 13.06 seconds to load) 461 examples, 0 failures + for t in spec/acceptance/*/ ++ basename spec/acceptance/async_http_client/ + acceptance_test=async_http_client + [[ async_http_client http_rb manticore patron =~ async_http_client ]] + echo '* async_http_client acceptance test ignored due to missing dependency' * async_http_client acceptance test ignored due to missing dependency + continue + for t in spec/acceptance/*/ ++ basename spec/acceptance/curb/ + acceptance_test=curb + [[ async_http_client http_rb manticore patron =~ curb ]] + rspec spec/acceptance/curb/ Run options: include {:focus=>true} exclude {:without_webmock=>true} All examples were filtered out; ignoring {:focus=>true} ................................F............F.........FF...FF...F...F..................................................................................................................................................................................................................................................FF.......F....FFF.............................F............F.........FF...FF...F...F..................................................................................................................................................................................................................................................FF.......F....FFF.....................F............F.........FF...FF...F...F..................................................................................................................................................................................................................................................FF.......F....FFF.....................F............F.........FF...FF...F...F..................................................................................................................................................................................................................................................FF.......F....FFF.....................F............F.........FF...FF...F...F..................................................................................................................................................................................................................................................FF.......F....FFF.................. Failures: 1) Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.com Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:14:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 2) Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:118:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 3) Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:202:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 4) Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:207:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 5) Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:238:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 6) Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:244:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 7) Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:275:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 8) Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:306:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 9) Webmock with Curb using #http for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).to have_been_made }.not_to raise_error expected no Exception, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:917:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 10) Webmock with Curb using #http for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).not_to have_been_made }.to fail_with(%r(The request GET http://www.example.com/ was not expected to execute but it executed 1 time)) expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was not expected to execute but it executed 1 time/, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:924:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 11) Webmock with Curb using #http for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.example.net Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:136:in `block (3 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 12) Webmock with Curb using #http for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 13) Webmock with Curb using #http for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 14) Webmock with Curb using #http for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:355 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./spec/acceptance/curb/curb_spec_helper.rb:72:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 15) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.com Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:14:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 16) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:118:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 17) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:202:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 18) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:207:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 19) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:238:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 20) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:244:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 21) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:275:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 22) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:306:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 23) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).to have_been_made }.not_to raise_error expected no Exception, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:917:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 24) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).not_to have_been_made }.to fail_with(%r(The request GET http://www.example.com/ was not expected to execute but it executed 1 time)) expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was not expected to execute but it executed 1 time/, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:924:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 25) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.example.net Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:136:in `block (3 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 26) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 27) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 28) Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:422 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # ./spec/acceptance/curb/curb_spec_helper.rb:85:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 29) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.com Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:14:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 30) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:118:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 31) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:202:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 32) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:207:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 33) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:238:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 34) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:244:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 35) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:275:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 36) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:306:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 37) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).to have_been_made }.not_to raise_error expected no Exception, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:917:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 38) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).not_to have_been_made }.to fail_with(%r(The request GET http://www.example.com/ was not expected to execute but it executed 1 time)) expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was not expected to execute but it executed 1 time/, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:924:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 39) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.example.net Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:136:in `block (3 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 40) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 41) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 42) Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:474 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./spec/acceptance/curb/curb_spec_helper.rb:106:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 43) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.com Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:14:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 44) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:118:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 45) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:202:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 46) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:207:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 47) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:238:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 48) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:244:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 49) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:275:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 50) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:306:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 51) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).to have_been_made }.not_to raise_error expected no Exception, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:917:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 52) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).not_to have_been_made }.to fail_with(%r(The request GET http://www.example.com/ was not expected to execute but it executed 1 time)) expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was not expected to execute but it executed 1 time/, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:924:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 53) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.example.net Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:136:in `block (3 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 54) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 55) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 56) Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:479 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:116:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 57) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.com Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:14:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 58) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:118:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 59) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:202:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 60) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:207:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 61) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:238:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 62) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.google.pl Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:244:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 63) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:275:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 64) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "allowing and disabling net connect" called from ./spec/acceptance/webmock_shared.rb:25 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/allowing_and_disabling_net_connect.rb:306:in `block (6 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 65) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).to have_been_made }.not_to raise_error expected no Exception, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:917:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # ./spec/acceptance/shared/request_expectations.rb:916:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 66) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made Failure/Error: expect { http_request(:get, "http://www.example.com/") expect(a_request(:get, "http://www.example.com")).not_to have_been_made }.to fail_with(%r(The request GET http://www.example.com/ was not expected to execute but it executed 1 time)) expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was not expected to execute but it executed 1 time/, got # with backtrace: # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/request_expectations.rb:924:in `block (5 levels) in ' # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Shared Example Group: "request expectations" called from ./spec/acceptance/webmock_shared.rb:33 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # ./spec/acceptance/shared/request_expectations.rb:923:in `block (4 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 67) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: www.example.net Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:136:in `block (3 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 68) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 69) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' 70) Webmock with Curb using .perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body Failure/Error: curb_or_webmock { super } Curl::Err::HostResolutionError: Couldn't resolve host name: Could not resolve host: httpstat.us Shared Example Group: "callbacks" called from ./spec/acceptance/webmock_shared.rb:35 Shared Example Group: "with WebMock" called from ./spec/acceptance/curb/curb_spec.rb:10 Shared Example Group: "Curb" called from ./spec/acceptance/curb/curb_spec.rb:484 # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:80:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `block in perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:68:in `curb_or_webmock' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:272:in `perform' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:246:in `http' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:303:in `http_get' # ./lib/webmock/http_lib_adapters/curb_adapter.rb:252:in `block (2 levels) in ' # /usr/share/gems/gems/curb-1.0.5/lib/curl/easy.rb:353:in `http_get' # ./spec/acceptance/curb/curb_spec_helper.rb:129:in `curb_http_request' # ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request' # ./spec/acceptance/shared/callbacks.rb:105:in `block (5 levels) in ' # ./lib/webmock/rspec.rb:37:in `block (2 levels) in ' Finished in 30.65 seconds (files took 16.35 seconds to load) 1627 examples, 70 failures Failed examples: rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:1:1:2] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:1:4:1:2:2] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:1:4:3:2:2] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:1:4:3:2:3] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:1:4:4:2:2] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:1:4:4:2:3] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:1:4:5:2:2] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:1:4:6:2:2] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:9:3:1] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:9:3:2] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:10:9] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:10:7:2:1] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:10:7:2:2] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers rspec ./spec/acceptance/curb/curb_spec.rb[2:1:1:1:10:7:2:3] # Webmock with Curb using #http for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:1:1:2] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:1:4:1:2:2] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:1:4:3:2:2] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:1:4:3:2:3] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:1:4:4:2:2] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:1:4:4:2:3] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:1:4:5:2:2] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:1:4:6:2:2] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:9:3:1] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:9:3:2] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:10:9] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:10:7:2:1] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:10:7:2:2] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers rspec ./spec/acceptance/curb/curb_spec.rb[2:2:1:1:10:7:2:3] # Webmock with Curb using #http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:1:1:2] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:1:4:1:2:2] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:1:4:3:2:2] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:1:4:3:2:3] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:1:4:4:2:2] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:1:4:4:2:3] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:1:4:5:2:2] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:1:4:6:2:2] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:9:3:1] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:9:3:2] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:10:9] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:10:7:2:1] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:10:7:2:2] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers rspec ./spec/acceptance/curb/curb_spec.rb[2:3:1:1:10:7:2:3] # Webmock with Curb using #perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:1:1:2] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:1:4:1:2:2] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:1:4:3:2:2] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:1:4:3:2:3] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:1:4:4:2:2] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:1:4:4:2:3] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:1:4:5:2:2] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:1:4:6:2:2] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:9:3:1] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:9:3:2] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:10:9] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:10:7:2:1] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:10:7:2:2] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers rspec ./spec/acceptance/curb/curb_spec.rb[2:4:1:1:10:7:2:3] # Webmock with Curb using .http_* methods for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:1:1:2] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is allowed should make a real https request if request is not stubbed rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:1:4:1:2:2] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by host string when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:1:4:3:2:2] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:1:4:3:2:3] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by scheme:host string when the host is allowed should make a real request to allowed host with scheme and port rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:1:4:4:2:2] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:1:4:4:2:3] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by regular expression when the host is allowed should make a real request if request is allowed by path regexp and url contains default port rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:1:4:5:2:2] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a callable when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:1:4:6:2:2] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when net connect is not allowed, with exceptions allowing by a list of the above when the host is allowed should make a real request to allowed host rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:9:3:1] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should satisfy expectation if expected requests was made rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:9:3:2] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when request expectations are set when net connect is allowed should fail request expected not to be made, was made rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:10:9] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when after_request callback is declared should invoke callbacks only for real requests if requested rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:10:7:2:1] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:10:7:2:2] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with headers rspec ./spec/acceptance/curb/curb_spec.rb[2:5:1:1:10:7:2:3] # Webmock with Curb using .perform for requests it should behave like Curb with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass response to callback with body RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.sVcsnr (%check) Bad exit status from /var/tmp/rpm-tmp.sVcsnr (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-webmock.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-webmock.spec