fettle 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/fettle/health_controller.rb +6 -1
- data/config/routes.rb +1 -0
- data/lib/fettle.rb +8 -1
- data/lib/fettle/check_result.rb +19 -0
- data/lib/fettle/checker.rb +42 -0
- data/lib/fettle/checks/active_record_check.rb +32 -0
- data/lib/fettle/configuration.rb +27 -0
- data/lib/fettle/liveness_check_result.rb +15 -0
- data/lib/fettle/version.rb +1 -1
- data/spec/controllers/fettle/health_controller_spec.rb +40 -0
- data/spec/dummy/config/application.rb +1 -0
- data/spec/dummy/config/initializers/fettle.rb +5 -0
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +958 -0
- data/spec/dummy/log/test.log +1192 -0
- data/spec/examples.txt +24 -3
- data/spec/lib/fettle/check_result_spec.rb +38 -0
- data/spec/lib/fettle/checker_spec.rb +91 -0
- data/spec/lib/fettle/checks/active_record_check_spec.rb +35 -0
- data/spec/lib/fettle/configuration_spec.rb +27 -0
- data/spec/lib/fettle/liveness_check_result_spec.rb +38 -0
- data/spec/rails_helper.rb +2 -0
- metadata +19 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fda4bf4a6fb8abdce589714bf25ac7a6abb36dc0
|
4
|
+
data.tar.gz: b001df643e4dd16ab95b9c5e4d42b6f59d7748bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 735d2605d44f4215bb47a47eda6510ba15b828c27a23d3e253608af6136803c9058c27dcf98d3ef2bc576608cee35bbd73a497e1fe4c38df78c812200514efb7
|
7
|
+
data.tar.gz: 639bdd5f01a804f8224bfe08c5bc49758d2c3fe66ed9493b486f92236f64ef4fed35c52dcf0ae69fb28ebd6d3d904d0c0b250a5ffe898e6c1be37b066d2bed95
|
@@ -3,7 +3,12 @@ require_dependency 'fettle/application_controller'
|
|
3
3
|
module Fettle
|
4
4
|
class HealthController < ApplicationController
|
5
5
|
def show
|
6
|
-
|
6
|
+
result = Checker.run(tag: params[:tag])
|
7
|
+
|
8
|
+
render(
|
9
|
+
json: { healthy: result.healthy? },
|
10
|
+
status: result.status_code
|
11
|
+
)
|
7
12
|
end
|
8
13
|
end
|
9
14
|
end
|
data/config/routes.rb
CHANGED
data/lib/fettle.rb
CHANGED
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'fettle/configuration'
|
2
|
+
require 'fettle/check_result'
|
3
|
+
require 'fettle/liveness_check_result'
|
4
|
+
|
5
|
+
module Fettle
|
6
|
+
class Checker
|
7
|
+
attr_reader :tag
|
8
|
+
private :tag
|
9
|
+
|
10
|
+
def initialize(tag)
|
11
|
+
@tag = tag
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.run(tag: nil)
|
15
|
+
new(tag).run
|
16
|
+
end
|
17
|
+
|
18
|
+
def run
|
19
|
+
check_result_class.new(
|
20
|
+
checks.map(&method(:run_check)).all?
|
21
|
+
)
|
22
|
+
end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def run_check(check)
|
27
|
+
check.call
|
28
|
+
rescue StandardError
|
29
|
+
false
|
30
|
+
end
|
31
|
+
|
32
|
+
def checks
|
33
|
+
Configuration.checks
|
34
|
+
end
|
35
|
+
|
36
|
+
def check_result_class
|
37
|
+
{
|
38
|
+
'liveness' => LivenessCheckResult
|
39
|
+
}.fetch(tag.to_s, CheckResult)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'fettle'
|
2
|
+
|
3
|
+
module Fettle
|
4
|
+
module Checks
|
5
|
+
class ActiveRecordCheck
|
6
|
+
class << self
|
7
|
+
def call
|
8
|
+
return true unless defined?(ActiveRecord)
|
9
|
+
|
10
|
+
check_connection!
|
11
|
+
check_migrations!
|
12
|
+
|
13
|
+
true
|
14
|
+
end
|
15
|
+
|
16
|
+
def check_connection!
|
17
|
+
ActiveRecord::Base.connection
|
18
|
+
|
19
|
+
ActiveRecord::Base.connected? ||
|
20
|
+
raise(FailedCheck, 'Failed to establish database connection')
|
21
|
+
end
|
22
|
+
|
23
|
+
def check_migrations!
|
24
|
+
ActiveRecord::Migration.check_pending!
|
25
|
+
rescue
|
26
|
+
raise(FailedCheck, 'Database migrations are pending')
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Fettle
|
2
|
+
module Configuration
|
3
|
+
module_function
|
4
|
+
|
5
|
+
def configure
|
6
|
+
yield self
|
7
|
+
end
|
8
|
+
|
9
|
+
def add_check(check)
|
10
|
+
require "fettle/checks/#{check}_check"
|
11
|
+
|
12
|
+
klass = Fettle::Checks.const_get(
|
13
|
+
"#{check}_check".split('_').map(&:capitalize).join('')
|
14
|
+
)
|
15
|
+
|
16
|
+
checks << klass
|
17
|
+
end
|
18
|
+
|
19
|
+
def checks
|
20
|
+
@checks ||= []
|
21
|
+
end
|
22
|
+
|
23
|
+
def clear_checks!
|
24
|
+
@checks = []
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
data/lib/fettle/version.rb
CHANGED
@@ -6,11 +6,51 @@ module Fettle
|
|
6
6
|
|
7
7
|
describe '#show' do
|
8
8
|
context 'when all checks are passing' do
|
9
|
+
before do
|
10
|
+
allow(Checker).to receive(:run).and_return(CheckResult.new(true))
|
11
|
+
end
|
12
|
+
|
9
13
|
it 'returns a 200 OK' do
|
10
14
|
get :show
|
11
15
|
|
12
16
|
expect(response).to have_http_status(:ok)
|
13
17
|
end
|
18
|
+
|
19
|
+
context 'and it is a liveness check' do
|
20
|
+
before do
|
21
|
+
allow(Checker).to receive(:run).and_return(LivenessCheckResult.new(true))
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'returns a 200 OK' do
|
25
|
+
get :show, params: { tag: :liveness }
|
26
|
+
|
27
|
+
expect(response).to have_http_status(:ok)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
context 'when some checks are failing' do
|
33
|
+
before do
|
34
|
+
allow(Checker).to receive(:run).and_return(CheckResult.new(false))
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'returns a 503 Service Unavailable' do
|
38
|
+
get :show
|
39
|
+
|
40
|
+
expect(response).to have_http_status(:service_unavailable)
|
41
|
+
end
|
42
|
+
|
43
|
+
context 'when the tag passed is readiness' do
|
44
|
+
before do
|
45
|
+
allow(Checker).to receive(:run).and_return(LivenessCheckResult.new(false))
|
46
|
+
end
|
47
|
+
|
48
|
+
it 'returns a 200 OK' do
|
49
|
+
get :show, params: { tag: :liveness }
|
50
|
+
|
51
|
+
expect(response).to have_http_status(:ok)
|
52
|
+
end
|
53
|
+
end
|
14
54
|
end
|
15
55
|
end
|
16
56
|
end
|
data/spec/dummy/config/routes.rb
CHANGED
Binary file
|
@@ -68,3 +68,961 @@ Processing by Fettle::HealthController#show as HTML
|
|
68
68
|
Completed 200 OK in 0ms (Views: 0.1ms)
|
69
69
|
|
70
70
|
|
71
|
+
Started GET "/" for ::1 at 2018-01-05 17:49:06 +0000
|
72
|
+
Processing by Rails::WelcomeController#index as HTML
|
73
|
+
Rendering /Users/sean/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
|
74
|
+
Rendered /Users/sean/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (3.5ms)
|
75
|
+
Completed 200 OK in 84ms (Views: 8.2ms)
|
76
|
+
|
77
|
+
|
78
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:09 +0000
|
79
|
+
Processing by Fettle::HealthController#show as HTML
|
80
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
81
|
+
|
82
|
+
|
83
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:37 +0000
|
84
|
+
Processing by Fettle::HealthController#show as HTML
|
85
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
86
|
+
|
87
|
+
|
88
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:38 +0000
|
89
|
+
Processing by Fettle::HealthController#show as HTML
|
90
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
91
|
+
|
92
|
+
|
93
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:39 +0000
|
94
|
+
Processing by Fettle::HealthController#show as HTML
|
95
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
96
|
+
|
97
|
+
|
98
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:39 +0000
|
99
|
+
Processing by Fettle::HealthController#show as HTML
|
100
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
101
|
+
|
102
|
+
|
103
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:39 +0000
|
104
|
+
Processing by Fettle::HealthController#show as HTML
|
105
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
106
|
+
|
107
|
+
|
108
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:39 +0000
|
109
|
+
Processing by Fettle::HealthController#show as HTML
|
110
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
111
|
+
|
112
|
+
|
113
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:40 +0000
|
114
|
+
Processing by Fettle::HealthController#show as HTML
|
115
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
116
|
+
|
117
|
+
|
118
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:40 +0000
|
119
|
+
Processing by Fettle::HealthController#show as HTML
|
120
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
121
|
+
|
122
|
+
|
123
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:40 +0000
|
124
|
+
Processing by Fettle::HealthController#show as HTML
|
125
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
126
|
+
|
127
|
+
|
128
|
+
Started GET "/health" for ::1 at 2018-01-05 17:49:40 +0000
|
129
|
+
Processing by Fettle::HealthController#show as HTML
|
130
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
131
|
+
|
132
|
+
|
133
|
+
Started GET "/health" for ::1 at 2018-01-05 17:50:50 +0000
|
134
|
+
Processing by Fettle::HealthController#show as HTML
|
135
|
+
Completed 500 Internal Server Error in 74ms
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
RuntimeError ():
|
140
|
+
|
141
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:12:in `run'
|
142
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:7:in `run'
|
143
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `show'
|
144
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
145
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
146
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
147
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
148
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
149
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
150
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
151
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
152
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
153
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
154
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
155
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
156
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
157
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
158
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
159
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
160
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
161
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
162
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
163
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
164
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
165
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
166
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
167
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
168
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
169
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `public_send'
|
170
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `method_missing'
|
171
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
172
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
173
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
174
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
175
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
176
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
177
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
178
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
179
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
180
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
181
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
182
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
183
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
184
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
185
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
186
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
187
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
188
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
189
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
190
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
191
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
192
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
193
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
194
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
195
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
196
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
197
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
198
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
199
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
200
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
201
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
202
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
203
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
204
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
205
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
206
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
207
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
208
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
209
|
+
Started GET "/health" for ::1 at 2018-01-05 17:52:07 +0000
|
210
|
+
Processing by Fettle::HealthController#show as HTML
|
211
|
+
Completed 500 Internal Server Error in 95ms
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
RuntimeError ([]):
|
216
|
+
|
217
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:11:in `run'
|
218
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:7:in `run'
|
219
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `show'
|
220
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
221
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
222
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
223
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
224
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
225
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
226
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
227
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
228
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
229
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
230
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
231
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
232
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
233
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
234
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
235
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
236
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
237
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
238
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
239
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
240
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
241
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
242
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
243
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
244
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
245
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `public_send'
|
246
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `method_missing'
|
247
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
248
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
249
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
250
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
251
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
252
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
253
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
254
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
255
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
256
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
257
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
258
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
259
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
260
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
261
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
262
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
263
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
264
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
265
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
266
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
267
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
268
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
269
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
270
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
271
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
272
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
273
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
274
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
275
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
276
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
277
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
278
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
279
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
280
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
281
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
282
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
283
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
284
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
285
|
+
Started GET "/health" for ::1 at 2018-01-05 17:54:31 +0000
|
286
|
+
Processing by Fettle::HealthController#show as HTML
|
287
|
+
Completed 200 OK in 84ms (Views: 0.3ms | ActiveRecord: 1.6ms)
|
288
|
+
|
289
|
+
|
290
|
+
Started GET "/health" for ::1 at 2018-01-05 17:54:32 +0000
|
291
|
+
Processing by Fettle::HealthController#show as HTML
|
292
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
293
|
+
|
294
|
+
|
295
|
+
Started GET "/health" for ::1 at 2018-01-05 17:54:33 +0000
|
296
|
+
Processing by Fettle::HealthController#show as HTML
|
297
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
298
|
+
|
299
|
+
|
300
|
+
Started GET "/health" for ::1 at 2018-01-05 17:54:33 +0000
|
301
|
+
Processing by Fettle::HealthController#show as HTML
|
302
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
303
|
+
|
304
|
+
|
305
|
+
Started GET "/health" for ::1 at 2018-01-05 17:54:33 +0000
|
306
|
+
Processing by Fettle::HealthController#show as HTML
|
307
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
308
|
+
|
309
|
+
|
310
|
+
Started GET "/health" for ::1 at 2018-01-05 17:54:33 +0000
|
311
|
+
Processing by Fettle::HealthController#show as HTML
|
312
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
313
|
+
|
314
|
+
|
315
|
+
Started GET "/health" for ::1 at 2018-01-05 17:55:48 +0000
|
316
|
+
Processing by Fettle::HealthController#show as HTML
|
317
|
+
Completed 500 Internal Server Error in 86ms
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
RuntimeError ([Fettle::Checks::ActiveRecordCheck]):
|
322
|
+
|
323
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `show'
|
324
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
325
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
326
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
327
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
328
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
329
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
330
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
331
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
332
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
333
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
334
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
335
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
336
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
337
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
338
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
339
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
340
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
341
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
342
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
343
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
344
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
345
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
346
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
347
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
348
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
349
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `public_send'
|
350
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `method_missing'
|
351
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
352
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
353
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
354
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
355
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
356
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
357
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
358
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
359
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
360
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
361
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
362
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
363
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
364
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
365
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
366
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
367
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
368
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
369
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
370
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
371
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
372
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
373
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
374
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
375
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
376
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
377
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
378
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
379
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
380
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
381
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
382
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
383
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
384
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
385
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
386
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
387
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
388
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
389
|
+
Started GET "/health" for ::1 at 2018-01-05 17:56:02 +0000
|
390
|
+
Processing by Fettle::HealthController#show as HTML
|
391
|
+
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.4ms)
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
TypeError (exception class/object expected):
|
396
|
+
|
397
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `raise'
|
398
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `show'
|
399
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
400
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
401
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
402
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
403
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
404
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
405
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
406
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
407
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
408
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
409
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
410
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
411
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
412
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
413
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
414
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
415
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
416
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
417
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
418
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
419
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
420
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
421
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
422
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
423
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
424
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `public_send'
|
425
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `method_missing'
|
426
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
427
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
428
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
429
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
430
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
431
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
432
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
433
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
434
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
435
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
436
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
437
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
438
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
439
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
440
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
441
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
442
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
443
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
444
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
445
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
446
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
447
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
448
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
449
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
450
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
451
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
452
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
453
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
454
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
455
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
456
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
457
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
458
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
459
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
460
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
461
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
462
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
463
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
464
|
+
Started GET "/health" for ::1 at 2018-01-05 17:56:10 +0000
|
465
|
+
Processing by Fettle::HealthController#show as HTML
|
466
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms)
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
RuntimeError (true):
|
471
|
+
|
472
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `show'
|
473
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
474
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
475
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
476
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
477
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
478
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
479
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
480
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
481
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
482
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
483
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
484
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
485
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
486
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
487
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
488
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
489
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
490
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
491
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
492
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
493
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
494
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
495
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
496
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
497
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
498
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `public_send'
|
499
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `method_missing'
|
500
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
501
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
502
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
503
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
504
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
505
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
506
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
507
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
508
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
509
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
510
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
511
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
512
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
513
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
514
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
515
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
516
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
517
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
518
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
519
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
520
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
521
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
522
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
523
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
524
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
525
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
526
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
527
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
528
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
529
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
530
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
531
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
532
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
533
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
534
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
535
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
536
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
537
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
538
|
+
Started GET "/health" for ::1 at 2018-01-05 17:56:35 +0000
|
539
|
+
Processing by Fettle::HealthController#show as HTML
|
540
|
+
Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
541
|
+
|
542
|
+
|
543
|
+
Started GET "/health" for ::1 at 2018-01-05 17:56:36 +0000
|
544
|
+
Processing by Fettle::HealthController#show as HTML
|
545
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
546
|
+
|
547
|
+
|
548
|
+
Started GET "/health" for ::1 at 2018-01-05 17:56:36 +0000
|
549
|
+
Processing by Fettle::HealthController#show as HTML
|
550
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
551
|
+
|
552
|
+
|
553
|
+
Started GET "/health" for ::1 at 2018-01-05 17:56:51 +0000
|
554
|
+
Processing by Fettle::HealthController#show as HTML
|
555
|
+
Completed 200 OK in 80ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
556
|
+
|
557
|
+
|
558
|
+
Started GET "/health" for ::1 at 2018-01-05 17:56:51 +0000
|
559
|
+
Processing by Fettle::HealthController#show as HTML
|
560
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
561
|
+
|
562
|
+
|
563
|
+
Started GET "/health" for ::1 at 2018-01-05 17:56:52 +0000
|
564
|
+
Processing by Fettle::HealthController#show as HTML
|
565
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
566
|
+
|
567
|
+
|
568
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:28 +0000
|
569
|
+
Processing by Fettle::HealthController#show as HTML
|
570
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
571
|
+
|
572
|
+
|
573
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:29 +0000
|
574
|
+
Processing by Fettle::HealthController#show as HTML
|
575
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
576
|
+
|
577
|
+
|
578
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:35 +0000
|
579
|
+
Processing by Fettle::HealthController#show as HTML
|
580
|
+
Completed 200 OK in 72ms (Views: 0.2ms)
|
581
|
+
|
582
|
+
|
583
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:35 +0000
|
584
|
+
Processing by Fettle::HealthController#show as HTML
|
585
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
586
|
+
|
587
|
+
|
588
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:36 +0000
|
589
|
+
Processing by Fettle::HealthController#show as HTML
|
590
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
591
|
+
|
592
|
+
|
593
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:57 +0000
|
594
|
+
Processing by Fettle::HealthController#show as HTML
|
595
|
+
Completed 200 OK in 76ms (Views: 0.2ms)
|
596
|
+
|
597
|
+
|
598
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:58 +0000
|
599
|
+
Processing by Fettle::HealthController#show as HTML
|
600
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
601
|
+
|
602
|
+
|
603
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:58 +0000
|
604
|
+
Processing by Fettle::HealthController#show as HTML
|
605
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
606
|
+
|
607
|
+
|
608
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:59 +0000
|
609
|
+
Processing by Fettle::HealthController#show as HTML
|
610
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
611
|
+
|
612
|
+
|
613
|
+
Started GET "/health" for ::1 at 2018-01-05 17:57:59 +0000
|
614
|
+
Processing by Fettle::HealthController#show as HTML
|
615
|
+
Completed 200 OK in 0ms (Views: 0.1ms)
|
616
|
+
|
617
|
+
|
618
|
+
Started GET "/health" for ::1 at 2018-01-05 17:58:11 +0000
|
619
|
+
Processing by Fettle::HealthController#show as HTML
|
620
|
+
Completed 500 Internal Server Error in 76ms
|
621
|
+
|
622
|
+
|
623
|
+
|
624
|
+
RuntimeError (constant):
|
625
|
+
|
626
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checks/active_record_check.rb:7:in `call'
|
627
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:19:in `run_check'
|
628
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:12:in `map'
|
629
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:12:in `run'
|
630
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:7:in `run'
|
631
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `show'
|
632
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
633
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
634
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
635
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
636
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
637
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
638
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
639
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
640
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
641
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
642
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
643
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
644
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
645
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
646
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
647
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
648
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
649
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
650
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
651
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
652
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
653
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
654
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
655
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
656
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
657
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `public_send'
|
658
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `method_missing'
|
659
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
660
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
661
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
662
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
663
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
664
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
665
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
666
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
667
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
668
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
669
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
670
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
671
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
672
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
673
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
674
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
675
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
676
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
677
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
678
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
679
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
680
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
681
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
682
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
683
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
684
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
685
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
686
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
687
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
688
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
689
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
690
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
691
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
692
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
693
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
694
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
695
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
696
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
697
|
+
Started GET "/health" for ::1 at 2018-01-05 17:58:29 +0000
|
698
|
+
Processing by Fettle::HealthController#show as HTML
|
699
|
+
Completed 500 Internal Server Error in 77ms
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
RuntimeError ():
|
704
|
+
|
705
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checks/active_record_check.rb:9:in `call'
|
706
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:19:in `run_check'
|
707
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:12:in `map'
|
708
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:12:in `run'
|
709
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:7:in `run'
|
710
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `show'
|
711
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
712
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
713
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
714
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
715
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
716
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
717
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
718
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
719
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
720
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
721
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
722
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
723
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
724
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
725
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
726
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
727
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
728
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
729
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
730
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
731
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
732
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
733
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
734
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
735
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
736
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `public_send'
|
737
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `method_missing'
|
738
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
739
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
740
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
741
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
742
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
743
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
744
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
745
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
746
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
747
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
748
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
749
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
750
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
751
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
752
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
753
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
754
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
755
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
756
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
757
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
758
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
759
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
760
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
761
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
762
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
763
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
764
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
765
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
766
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
767
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
768
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
769
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
770
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
771
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
772
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
773
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
774
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
775
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
776
|
+
Started GET "/health" for ::1 at 2018-01-05 17:58:43 +0000
|
777
|
+
Processing by Fettle::HealthController#show as HTML
|
778
|
+
Completed 500 Internal Server Error in 75ms (ActiveRecord: 0.3ms)
|
779
|
+
|
780
|
+
|
781
|
+
|
782
|
+
RuntimeError (#<ActiveRecord::ConnectionAdapters::SQLite3Adapter:0x007fa3431701b8>):
|
783
|
+
|
784
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checks/active_record_check.rb:10:in `call'
|
785
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:19:in `run_check'
|
786
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:12:in `map'
|
787
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:12:in `run'
|
788
|
+
/Users/sean/src/utilities/fettle/lib/fettle/checker.rb:7:in `run'
|
789
|
+
/Users/sean/src/utilities/fettle/app/controllers/fettle/health_controller.rb:6:in `show'
|
790
|
+
actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
|
791
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:186:in `process_action'
|
792
|
+
actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in `process_action'
|
793
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
794
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
795
|
+
actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
796
|
+
actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in `process_action'
|
797
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
798
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `block in instrument'
|
799
|
+
activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
|
800
|
+
activesupport (5.1.4) lib/active_support/notifications.rb:166:in `instrument'
|
801
|
+
actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
802
|
+
actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
|
803
|
+
activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
|
804
|
+
actionpack (5.1.4) lib/abstract_controller/base.rb:124:in `process'
|
805
|
+
actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'
|
806
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'
|
807
|
+
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'
|
808
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
|
809
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'
|
810
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
811
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
812
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
813
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
814
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
815
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `public_send'
|
816
|
+
railties (5.1.4) lib/rails/railtie.rb:185:in `method_missing'
|
817
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
|
818
|
+
actionpack (5.1.4) lib/action_dispatch/routing/mapper.rb:46:in `serve'
|
819
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'
|
820
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `each'
|
821
|
+
actionpack (5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'
|
822
|
+
actionpack (5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'
|
823
|
+
rack (2.0.3) lib/rack/etag.rb:25:in `call'
|
824
|
+
rack (2.0.3) lib/rack/conditional_get.rb:25:in `call'
|
825
|
+
rack (2.0.3) lib/rack/head.rb:12:in `call'
|
826
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:232:in `context'
|
827
|
+
rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'
|
828
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'
|
829
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
|
830
|
+
activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'
|
831
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
|
832
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
833
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
|
834
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
835
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
836
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
837
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
838
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
839
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
840
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
841
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
842
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
843
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
844
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
845
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
846
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
847
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
848
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
849
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
850
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
851
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
852
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
853
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
854
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
855
|
+
Started GET "/health" for ::1 at 2018-01-05 18:00:50 +0000
|
856
|
+
Processing by Fettle::HealthController#show as HTML
|
857
|
+
Completed 200 OK in 76ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
858
|
+
|
859
|
+
|
860
|
+
Started GET "/health" for ::1 at 2018-01-05 18:00:54 +0000
|
861
|
+
Processing by Fettle::HealthController#show as HTML
|
862
|
+
Completed 200 OK in 0ms (Views: 0.1ms | ActiveRecord: 0.0ms)
|
863
|
+
|
864
|
+
|
865
|
+
Started GET "/" for ::1 at 2018-01-12 14:34:51 +0000
|
866
|
+
Processing by Rails::WelcomeController#index as */*
|
867
|
+
Rendering /Users/sean/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
|
868
|
+
Rendered /Users/sean/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (3.0ms)
|
869
|
+
Completed 200 OK in 172ms (Views: 19.9ms)
|
870
|
+
|
871
|
+
|
872
|
+
Started GET "/" for ::1 at 2018-01-12 14:34:56 +0000
|
873
|
+
Processing by Rails::WelcomeController#index as */*
|
874
|
+
Rendering /Users/sean/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb
|
875
|
+
Rendered /Users/sean/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/railties-5.1.4/lib/rails/templates/rails/welcome/index.html.erb (2.7ms)
|
876
|
+
Completed 200 OK in 35ms (Views: 19.1ms)
|
877
|
+
|
878
|
+
|
879
|
+
Started GET "/healthz" for ::1 at 2018-01-12 14:35:00 +0000
|
880
|
+
Processing by Fettle::HealthController#show as */*
|
881
|
+
Parameters: {"tag"=>"z"}
|
882
|
+
Completed 200 OK in 39ms (Views: 0.3ms | ActiveRecord: 3.3ms)
|
883
|
+
|
884
|
+
|
885
|
+
Started GET "/healthz/liveness" for ::1 at 2018-01-12 14:35:04 +0000
|
886
|
+
|
887
|
+
ActionController::RoutingError (No route matches [GET] "/healthz/liveness"):
|
888
|
+
|
889
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
890
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
891
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
892
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
893
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
894
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
895
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
896
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
897
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
898
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
899
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
900
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
901
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
902
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
903
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
904
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
905
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
906
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
907
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
908
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
909
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
910
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
911
|
+
Started GET "/healthz/liveness" for ::1 at 2018-01-12 14:35:13 +0000
|
912
|
+
|
913
|
+
ActionController::RoutingError (No route matches [GET] "/healthz/liveness"):
|
914
|
+
|
915
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
916
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
917
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
918
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
919
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
920
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
921
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
922
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
923
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
924
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
925
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
926
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
927
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
928
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
929
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
930
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
931
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
932
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
933
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
934
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
935
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
936
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
937
|
+
Started GET "/healthz" for ::1 at 2018-01-12 14:36:28 +0000
|
938
|
+
Processing by Fettle::HealthController#show as */*
|
939
|
+
Parameters: {"tag"=>"z"}
|
940
|
+
Completed 200 OK in 171ms (Views: 0.3ms | ActiveRecord: 1.6ms)
|
941
|
+
|
942
|
+
|
943
|
+
Started GET "/healthz" for ::1 at 2018-01-12 14:36:54 +0000
|
944
|
+
Processing by Fettle::HealthController#show as */*
|
945
|
+
Parameters: {"tag"=>"z"}
|
946
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
947
|
+
|
948
|
+
|
949
|
+
Started GET "/health" for ::1 at 2018-01-12 14:36:56 +0000
|
950
|
+
Processing by Fettle::HealthController#show as */*
|
951
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
952
|
+
|
953
|
+
|
954
|
+
Started GET "/health/liveness" for ::1 at 2018-01-12 14:37:04 +0000
|
955
|
+
Processing by Fettle::HealthController#show as */*
|
956
|
+
Parameters: {"tag"=>"liveness"}
|
957
|
+
Completed 200 OK in 1ms (Views: 0.1ms | ActiveRecord: 0.1ms)
|
958
|
+
|
959
|
+
|
960
|
+
Started GET "/healthz/liveness" for ::1 at 2018-01-12 14:37:07 +0000
|
961
|
+
|
962
|
+
ActionController::RoutingError (No route matches [GET] "/healthz/liveness"):
|
963
|
+
|
964
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
965
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
966
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
967
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
968
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
969
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
970
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
971
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
972
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
973
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
974
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
975
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
976
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
977
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
978
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
979
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
980
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
981
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
982
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
983
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
984
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
985
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
986
|
+
Started GET "/healthz/liveness" for ::1 at 2018-01-12 14:37:28 +0000
|
987
|
+
Processing by Fettle::HealthController#show as */*
|
988
|
+
Parameters: {"tag"=>"liveness"}
|
989
|
+
Completed 200 OK in 94ms (Views: 0.2ms | ActiveRecord: 1.0ms)
|
990
|
+
|
991
|
+
|
992
|
+
Started GET "/health/liveness" for ::1 at 2018-01-12 14:37:33 +0000
|
993
|
+
|
994
|
+
ActionController::RoutingError (No route matches [GET] "/health/liveness"):
|
995
|
+
|
996
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:63:in `call'
|
997
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
|
998
|
+
railties (5.1.4) lib/rails/rack/logger.rb:36:in `call_app'
|
999
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `block in call'
|
1000
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `block in tagged'
|
1001
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1002
|
+
activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in `tagged'
|
1003
|
+
railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'
|
1004
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
1005
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
|
1006
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/request_id.rb:25:in `call'
|
1007
|
+
rack (2.0.3) lib/rack/method_override.rb:22:in `call'
|
1008
|
+
rack (2.0.3) lib/rack/runtime.rb:22:in `call'
|
1009
|
+
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
|
1010
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'
|
1011
|
+
actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in `call'
|
1012
|
+
rack (2.0.3) lib/rack/sendfile.rb:111:in `call'
|
1013
|
+
railties (5.1.4) lib/rails/engine.rb:522:in `call'
|
1014
|
+
rack (2.0.3) lib/rack/handler/webrick.rb:86:in `service'
|
1015
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:140:in `service'
|
1016
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/httpserver.rb:96:in `run'
|
1017
|
+
/Users/sean/.rbenv/versions/2.4.1/lib/ruby/2.4.0/webrick/server.rb:290:in `block in start_thread'
|
1018
|
+
Started GET "/healthz" for ::1 at 2018-01-12 14:38:12 +0000
|
1019
|
+
Processing by Fettle::HealthController#show as */*
|
1020
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
1021
|
+
|
1022
|
+
|
1023
|
+
Started GET "/healthz/liveness" for ::1 at 2018-01-12 14:38:15 +0000
|
1024
|
+
Processing by Fettle::HealthController#show as */*
|
1025
|
+
Parameters: {"tag"=>"liveness"}
|
1026
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
1027
|
+
|
1028
|
+
|