Skip to content

Instantly share code, notes, and snippets.

@nathenharvey
Created November 30, 2015 13:33
Show Gist options
  • Save nathenharvey/7303c8dc3baaf2c09717 to your computer and use it in GitHub Desktop.
Save nathenharvey/7303c8dc3baaf2c09717 to your computer and use it in GitHub Desktop.
2015-11-30_13:30:52.24030 [GIN] 2015/11/30 - 13:30:52 | 200 | 3.695145ms | 69.250.19.123 | GET /owners/nathenharvey/scans
2015-11-30_13:30:52.27626 [GIN] 2015/11/30 - 13:30:52 | 200 | 3.326383ms | 69.250.19.123 | GET /owners/nathenharvey/scans/6403d083-dbaa-4820-402c-adfa996e2ebc/nodes
2015-11-30_13:30:55.69568 [GIN] 2015/11/30 - 13:30:55 | 200 | 2.862087ms | 69.250.19.123 | POST /owners/nathenharvey/scans
2015-11-30_13:30:55.69582 13:30:55.695 DEB => execute job on worker 1
2015-11-30_13:30:55.69643 13:30:55.696 DEB => [nathenharvey/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e] Detect target nathenharvey/default/52.71.253.76:0
2015-11-30_13:30:55.69646 13:30:55.696 DEB => run inspec: PATH=/opt/chef-compliance/bin:/opt/chef-compliance/embedded/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin inspec detect --sudo --host 52.71.253.76 --user chef --key-files /var/opt/chef-compliance/core/runtime/.tmp/access_keys/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/184db4c5-8b56-4553-577f-80601bb935cd/key --backend ssh
2015-11-30_13:30:55.74188 [GIN] 2015/11/30 - 13:30:55 | 200 | 5.814972ms | 69.250.19.123 | GET /owners/nathenharvey/scans
2015-11-30_13:30:55.74893 [GIN] 2015/11/30 - 13:30:55 | 200 | 925.31µs | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e
2015-11-30_13:30:55.77999 [GIN] 2015/11/30 - 13:30:55 | 200 | 1.731727ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/rules
2015-11-30_13:30:55.78141 [GIN] 2015/11/30 - 13:30:55 | 200 | 4.486614ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/nodes
2015-11-30_13:30:56.77900 [GIN] 2015/11/30 - 13:30:56 | 200 | 1.394412ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e
2015-11-30_13:30:56.80091 [GIN] 2015/11/30 - 13:30:56 | 200 | 1.944582ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/rules
2015-11-30_13:30:57.80348 [GIN] 2015/11/30 - 13:30:57 | 200 | 1.267133ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e
2015-11-30_13:30:57.82564 [GIN] 2015/11/30 - 13:30:57 | 200 | 1.931644ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/rules
2015-11-30_13:30:57.92172 13:30:57.921 DEB => [nathenharvey/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e] Detect target finished on nathenharvey/default/52.71.253.76:0, it's a ubuntu:14.04
2015-11-30_13:30:57.92218 13:30:57.921 DEB => execute job on worker 0
2015-11-30_13:30:57.92219 13:30:57.921 INF => [nathenharvey/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e] start scan on nathenharvey/default/52.71.253.76:0 with base/apache
2015-11-30_13:30:57.92221 13:30:57.921 DEB => run inspec: PATH=/opt/chef-compliance/bin:/opt/chef-compliance/embedded/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin inspec exec --format json /var/opt/chef-compliance/core/runtime/compliance-profiles/base/apache --id base/apache --sudo --host 52.71.253.76 --user chef --key-files /var/opt/chef-compliance/core/runtime/.tmp/access_keys/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/184db4c5-8b56-4553-577f-80601bb935cd/key --backend ssh
2015-11-30_13:30:58.83863 [GIN] 2015/11/30 - 13:30:58 | 200 | 1.490733ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e
2015-11-30_13:30:58.86250 [GIN] 2015/11/30 - 13:30:58 | 200 | 2.041006ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/rules
2015-11-30_13:30:59.86989 [GIN] 2015/11/30 - 13:30:59 | 200 | 1.367834ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e
2015-11-30_13:30:59.89586 [GIN] 2015/11/30 - 13:30:59 | 200 | 2.119205ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/rules
2015-11-30_13:31:00.50476 13:31:00.504 ERR => Unknown Ruby error: /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/utils/find_files.rb:27:in `find_files': undefined method `run_command' for #<#<Class:0x00000002c77778>:0x00000002c74488> (NoMethodError)
2015-11-30_13:31:00.50478 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/resources/apache_conf.rb:94:in `block in include_files'
2015-11-30_13:31:00.50478 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/resources/apache_conf.rb:92:in `each'
2015-11-30_13:31:00.50478 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/resources/apache_conf.rb:92:in `include_files'
2015-11-30_13:31:00.50479 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/resources/apache_conf.rb:76:in `read_content'
2015-11-30_13:31:00.50479 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/resources/apache_conf.rb:21:in `initialize'
2015-11-30_13:31:00.50479 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/plugins/resource.rb:23:in `initialize'
2015-11-30_13:31:00.50479 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/profile_context.rb:75:in `new'
2015-11-30_13:31:00.50480 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/profile_context.rb:75:in `block (3 levels) in create_inner_dsl'
2015-11-30_13:31:00.50480 from /var/opt/chef-compliance/core/runtime/compliance-profiles/base/apache/test/apache_spec.rb:18:in `block in load'
2015-11-30_13:31:00.50480 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/rule.rb:62:in `instance_eval'
2015-11-30_13:31:00.50481 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/rule.rb:62:in `initialize'
2015-11-30_13:31:00.50481 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/profile_context.rb:106:in `new'
2015-11-30_13:31:00.50481 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/profile_context.rb:106:in `block (2 levels) in create_outer_dsl'
2015-11-30_13:31:00.50481 from /var/opt/chef-compliance/core/runtime/compliance-profiles/base/apache/test/apache_spec.rb:15:in `load'
2015-11-30_13:31:00.50482 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/profile_context.rb:32:in `instance_eval'
2015-11-30_13:31:00.50482 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/profile_context.rb:32:in `load'
2015-11-30_13:31:00.50482 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/runner.rb:84:in `add_content'
2015-11-30_13:31:00.50484 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/runner.rb:65:in `block in add_tests'
2015-11-30_13:31:00.50485 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/runner.rb:64:in `each'
2015-11-30_13:31:00.50485 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/lib/inspec/runner.rb:64:in `add_tests'
2015-11-30_13:31:00.50485 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/bin/inspec:77:in `exec'
2015-11-30_13:31:00.50485 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
2015-11-30_13:31:00.50486 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
2015-11-30_13:31:00.50486 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
2015-11-30_13:31:00.50486 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
2015-11-30_13:31:00.50487 from /opt/chef-compliance/embedded/lib/ruby/gems/2.2.0/gems/inspec-0.9.4/bin/inspec:109:in `<top (required)>'
2015-11-30_13:31:00.50487 from /opt/chef-compliance/embedded/bin/inspec:23:in `load'
2015-11-30_13:31:00.50487 from /opt/chef-compliance/embedded/bin/inspec:23:in `<main>'
2015-11-30_13:31:00.50487 zlib(finalizer): the stream was freed prematurely.
2015-11-30_13:31:00.50488
2015-11-30_13:31:00.50488 13:31:00.504 INF => [nathenharvey/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e] scan result | 0 | 0 | 0 | 0 | 4 | packages | 0 | 0 | 0 |
2015-11-30_13:31:00.51398 13:31:00.513 DEB => [nathenharvey/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e] db updated
2015-11-30_13:31:00.90207 [GIN] 2015/11/30 - 13:31:00 | 200 | 3.928277ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e
2015-11-30_13:31:00.92746 [GIN] 2015/11/30 - 13:31:00 | 200 | 2.910253ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/rules
2015-11-30_13:31:00.93222 [GIN] 2015/11/30 - 13:31:00 | 200 | 1.446876ms | 69.250.19.123 | GET /owners/nathenharvey/envs
2015-11-30_13:31:00.94811 [GIN] 2015/11/30 - 13:31:00 | 200 | 3.957793ms | 69.250.19.123 | GET /owners/nathenharvey/scans
2015-11-30_13:31:00.96375 [GIN] 2015/11/30 - 13:31:00 | 200 | 1.967114ms | 69.250.19.123 | GET /owners/nathenharvey/summary
2015-11-30_13:31:00.96881 [GIN] 2015/11/30 - 13:31:00 | 200 | 3.416823ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/nodes
2015-11-30_13:31:00.98946 [GIN] 2015/11/30 - 13:31:00 | 200 | 5.560277ms | 69.250.19.123 | GET /owners/nathenharvey/scans
2015-11-30_13:31:00.99356 [GIN] 2015/11/30 - 13:31:00 | 200 | 3.067693ms | 69.250.19.123 | GET /owners/nathenharvey/envs/default/nodes
2015-11-30_13:31:01.00986 [GIN] 2015/11/30 - 13:31:01 | 200 | 1.867519ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/envs/default/nodes/52.71.253.76/patches
2015-11-30_13:31:01.01505 [GIN] 2015/11/30 - 13:31:01 | 200 | 1.685266ms | 69.250.19.123 | GET /owners/nathenharvey/scans/17dd9f92-2bc8-4fb6-7b47-35cd0c4e525e/envs/default/nodes/52.71.253.76/compliance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment