Created
October 12, 2018 10:21
-
-
Save tansaku/bc7c6034e033f4273f9b10f56e592c31 to your computer and use it in GitHub Desktop.
intermittent fail on localsupport builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/travis/.rvm/rubies/ruby-2.5.1/bin/ruby -S bundle exec cucumber --profile second_try | |
Deprecated: Found tags option '~@wip'. Support for '~@tag' will be removed from the next release of Cucumber. Please use 'not @tag' instead. | |
Using the second_try profile... | |
@vcr @billy | |
Feature: Event Location | |
As a super Admin | |
So that others can see events location | |
I would like to add an event address field to the system | |
Background: Data has been added to the database # features/admin/events/event_location.feature:7 | |
Given the following organisations exist: # features/step_definitions/factory_steps.rb:78 | |
| name | description | address | postcode | website | | |
| Us | Animal Shelter | 34 pinner road | HA1 4HZ | http://a.com/ | | |
Given the following users are registered: # features/step_definitions/factory_steps.rb:88 | |
| email | password | superadmin | confirmed_at | organisation | | |
| [email protected] | pppppppp | true | 2007-01-01 10:00:00 | Friendly | | |
And the following events exist: # features/step_definitions/events_steps.rb:17 | |
| title | description | organisation | start_date | end_date | address | | |
| Care | Care for animals | Us | today | today | 64 pinner road | | |
Capybara starting Puma... | |
* Version 3.12.0 , codename: Llamas in Pajamas | |
* Min threads: 0, max threads: 4 | |
* Listening on tcp://127.0.0.1:38946 | |
And cookies are approved # features/step_definitions/authentication_steps.rb:98 | |
And I am signed in as a superadmin # features/step_definitions/authentication_steps.rb:17 | |
Scenario: uses default coordinates when user enters invalid address # features/admin/events/event_location.feature:38 | |
Given I visit the new event page # features/step_definitions/navigation_steps.rb:52 | |
And I fill in the new event page validly # features/step_definitions/events_steps.rb:1 | |
When I fill in "event_address" with "+==+" # features/step_definitions/basic_steps.rb:607 | |
Google API error: over query limit. | |
And I press "Create Event" # features/step_definitions/navigation_steps.rb:128 | |
Google API error: over query limit. | |
Google API error: over query limit. | |
When I visit the events page # features/step_definitions/navigation_steps.rb:52 | |
Then I should see "Great place to brain storm" description marker in "Hackathon" organisation location in the map # features/step_definitions/events_steps.rb:40 | |
Google API error: over query limit. | |
2018-10-09 15:32:58 +0000: Rack app error handling request { GET /events.json } | |
#<VCR::Errors::UnhandledHTTPRequestError: | |
================================================================================ | |
An HTTP request has been made that VCR does not know how to handle: | |
GET http://maps.googleapis.com/maps/api/geocode/json?address=%2B==%2B&language=en&sensor=false | |
There is currently no cassette in use. There are a few ways | |
you can configure VCR to handle this request: | |
* If you're surprised VCR is raising this error | |
and want insight about how VCR attempted to handle the request, | |
you can use the debug_logger configuration option to log more details [1]. | |
* If you want VCR to record this request and play it back during future test | |
runs, you should wrap your test (or this portion of your test) in a | |
`VCR.use_cassette` block [2]. | |
* If you only want VCR to handle requests made while a cassette is in use, | |
configure `allow_http_connections_when_no_cassette = true`. VCR will | |
ignore this request since it is made when there is no cassette [3]. | |
* If you want VCR to ignore this request (and others like it), you can | |
set an `ignore_request` callback [4]. | |
[1] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/debug-logging | |
[2] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/getting-started | |
[3] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/allow-http-connections-when-no-cassette | |
[4] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/ignore-request | |
================================================================================ | |
> | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/vcr-4.0.0/lib/vcr/request_handler.rb:97:in `on_unhandled_request' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/vcr-4.0.0/lib/vcr/library_hooks/webmock.rb:129:in `on_unhandled_request' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/vcr-4.0.0/lib/vcr/request_handler.rb:24:in `handle' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/vcr-4.0.0/lib/vcr/library_hooks/webmock.rb:144:in `block in <module:WebMock>' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/stub_registry.rb:28:in `block in register_global_stub' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/request_pattern.rb:40:in `matches?' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/stub_registry.rb:58:in `block in request_stub_for' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/stub_registry.rb:57:in `each' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/stub_registry.rb:57:in `detect' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/stub_registry.rb:57:in `request_stub_for' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/stub_registry.rb:50:in `response_for_request' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/http_lib_adapters/net_http.rb:79:in `request' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/lookups/base.rb:285:in `block in make_api_request' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/webmock-3.4.2/lib/webmock/http_lib_adapters/net_http.rb:150:in `start' | |
/home/travis/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/net/http.rb:609:in `start' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/lookups/base.rb:276:in `make_api_request' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/lookups/base.rb:226:in `fetch_raw_data' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/lookups/base.rb:177:in `fetch_data' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/lookups/google.rb:48:in `results' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/lookups/base.rb:47:in `search' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/query.rb:11:in `execute' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder.rb:22:in `search' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/stores/base.rb:100:in `do_lookup' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/geocoder-1.4.9/lib/geocoder/stores/active_record.rb:300:in `geocode' | |
/home/travis/build/[secure]/app/models/event.rb:54:in `check_geocode' | |
/home/travis/build/[secure]/app/models/event.rb:50:in `lat_lng_supplier' | |
/home/travis/build/[secure]/app/models/event.rb:36:in `block in event_with_coordinates' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/relation/delegation.rb:39:in `each' | |
/home/travis/build/[secure]/app/models/event.rb:35:in `map' | |
/home/travis/build/[secure]/app/models/event.rb:35:in `event_with_coordinates' | |
/home/travis/build/[secure]/app/models/event.rb:28:in `build_by_coordinates' | |
/home/travis/build/[secure]/app/controllers/events_controller.rb:12:in `index' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/abstract_controller/base.rb:186:in `process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_controller/metal/rendering.rb:30:in `process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:20:in `block in process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:131:in `run_callbacks' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/abstract_controller/callbacks.rb:19:in `process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_controller/metal/rescue.rb:20:in `process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/notifications.rb:166:in `block in instrument' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/notifications/instrumenter.rb:21:in `instrument' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/notifications.rb:166:in `instrument' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_controller/metal/instrumentation.rb:30:in `process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_controller/metal/params_wrapper.rb:252:in `process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.6/lib/active_record/railties/controller_runtime.rb:22:in `process_action' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/abstract_controller/base.rb:124:in `process' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.6/lib/action_view/rendering.rb:30:in `process' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_controller/metal.rb:189:in `dispatch' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_controller/metal.rb:253:in `dispatch' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:49:in `dispatch' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:31:in `serve' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:50:in `block in serve' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:33:in `each' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/journey/router.rb:33:in `serve' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/routing/route_set.rb:844:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack_session_access-0.2.0/lib/rack_session_access/middleware.rb:33:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:36:in `block in call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `catch' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb:35:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/etag.rb:25:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/conditional_get.rb:25:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/head.rb:12:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb:232:in `context' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/session/abstract/id.rb:226:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/cookies.rb:613:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/callbacks.rb:26:in `block in call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:97:in `run_callbacks' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/callbacks.rb:24:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/airbrake-7.3.5/lib/airbrake/rack/middleware.rb:48:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/cucumber-rails-1.6.0/lib/cucumber/rails/action_controller.rb:10:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/rack/logger.rb:36:in `call_app' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/rack/logger.rb:24:in `block in call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/tagged_logging.rb:69:in `block in tagged' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/tagged_logging.rb:26:in `tagged' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/tagged_logging.rb:69:in `tagged' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/rack/logger.rb:24:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/remote_ip.rb:79:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/request_id.rb:25:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/method_override.rb:22:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/runtime.rb:22:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.6/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/executor.rb:12:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.6/lib/action_dispatch/middleware/static.rb:125:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/sendfile.rb:111:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/railties-5.1.6/lib/rails/engine.rb:522:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/urlmap.rb:68:in `block in call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/urlmap.rb:53:in `each' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/rack-2.0.5/lib/rack/urlmap.rb:53:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/capybara-3.7.2/lib/capybara/server/middleware.rb:48:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/configuration.rb:225:in `call' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/server.rb:658:in `handle_request' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/server.rb:472:in `process_client' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/server.rb:332:in `block in run' | |
/home/travis/build/[secure]/vendor/bundle/ruby/2.5.0/gems/puma-3.12.0/lib/puma/thread_pool.rb:133:in `block in spawn_thread' | |
================================================================================ | |
An HTTP request has been made that VCR does not know how to handle: | |
GET http://maps.googleapis.com/maps/api/geocode/json?address=%2B==%2B&language=en&sensor=false | |
There is currently no cassette in use. There are a few ways | |
you can configure VCR to handle this request: | |
* If you're surprised VCR is raising this error | |
and want insight about how VCR attempted to handle the request, | |
you can use the debug_logger configuration option to log more details [1]. | |
* If you want VCR to record this request and play it back during future test | |
runs, you should wrap your test (or this portion of your test) in a | |
`VCR.use_cassette` block [2]. | |
* If you only want VCR to handle requests made while a cassette is in use, | |
configure `allow_http_connections_when_no_cassette = true`. VCR will | |
ignore this request since it is made when there is no cassette [3]. | |
* If you want VCR to ignore this request (and others like it), you can | |
set an `ignore_request` callback [4]. | |
[1] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/debug-logging | |
[2] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/getting-started | |
[3] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/allow-http-connections-when-no-cassette | |
[4] https://www.relishapp.com/vcr/vcr/v/4-0-0/docs/configuration/ignore-request | |
================================================================================ | |
(VCR::Errors::UnhandledHTTPRequestError) | |
./app/models/event.rb:54:in `check_geocode' | |
./app/models/event.rb:50:in `lat_lng_supplier' | |
./app/models/event.rb:36:in `block in event_with_coordinates' | |
./app/models/event.rb:35:in `map' | |
./app/models/event.rb:35:in `event_with_coordinates' | |
./app/models/event.rb:28:in `build_by_coordinates' | |
./app/controllers/events_controller.rb:12:in `index' | |
Failing Scenarios: | |
cucumber -p second_try features/admin/events/event_location.feature:38 # Scenario: uses default coordinates when user enters invalid address | |
1 scenario (1 failed) | |
11 steps (11 passed) | |
0m5.411s | |
Coverage report generated for Cucumber Features, RSpec to /home/travis/build/[secure]/coverage. 1836 / 1999 LOC (91.85%) covered. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment