Created
November 30, 2009 21:03
-
-
Save stormsilver/245743 to your computer and use it in GitHub Desktop.
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
| ssilver@cynosure:~$ cd /Users/ssilver/work/deployment/chef && sudo rake dev:features:start:chef_solr_indexer | |
| (in /Users/ssilver/work/deployment/chef) | |
| Hit CTRL-C to destroy development environment | |
| [Mon, 30 Nov 2009 14:59:29 -0600] INFO: [setup] setting log level to INFO | |
| [Mon, 30 Nov 2009 14:59:29 -0600] INFO: [setup] setting log level to INFO | |
| [Mon, 30 Nov 2009 14:59:29 -0600] WARN: Actors dir /Users/ssilver/work/deployment/chef/actors does not exist or is not reachable | |
| [Mon, 30 Nov 2009 14:59:29 -0600] WARN: init.rb /Users/ssilver/work/deployment/chef/init.rb does not exist or is not reachable | |
| [Mon, 30 Nov 2009 14:59:29 -0600] INFO: SEND [register] 7c3c4e54-ca10-46db-885c-42fba0f50269, tags: | |
| [Mon, 30 Nov 2009 14:59:29 -0600] INFO: [actor] Chef::Solr::IndexActor, prefix index | |
| [Mon, 30 Nov 2009 14:59:29 -0600] INFO: SEND [register] 7c3c4e54-ca10-46db-885c-42fba0f50269, services: /index/add, /index/delete, /index/commit, /index/optimize, tags: | |
| [Mon, 30 Nov 2009 14:59:44 -0600] INFO: RECV [advertise] (55 bytes) | |
| [Mon, 30 Nov 2009 14:59:44 -0600] INFO: SEND [register] 7c3c4e54-ca10-46db-885c-42fba0f50269, services: /index/add, /index/delete, /index/commit, /index/optimize, tags: | |
| [Mon, 30 Nov 2009 15:00:29 -0600] INFO: RECV [advertise] (55 bytes) | |
| [Mon, 30 Nov 2009 15:00:29 -0600] INFO: SEND [register] 7c3c4e54-ca10-46db-885c-42fba0f50269, services: /index/add, /index/delete, /index/commit, /index/optimize, tags: | |
| [Mon, 30 Nov 2009 15:00:43 -0600] INFO: RECV [push] (960 bytes) <81989c54f9a839ffbc2f9a38deb34b30> /index/add from mapper | |
| [Mon, 30 Nov 2009 15:00:43 -0600] INFO: RECV [push] (981 bytes) <f9b02f02289c5d18638c9d1a20a30090> /index/add from mapper | |
| [Mon, 30 Nov 2009 15:00:43 -0600] INFO: Indexing client 3634f973-a734-4c96-9a36-dcee8a8b587c from chef_integration status ok | |
| [Mon, 30 Nov 2009 15:00:43 -0600] INFO: SEND [un_register] | |
| /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:222:in `send_data': eventmachine not initialized: evma_send_data_to_connection (RuntimeError) | |
| from /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/connection.rb:222:in `send_data' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/amqp/client.rb:120:in `send' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/mq.rb:240:in `send' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/mq.rb:237:in `each' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/mq.rb:237:in `send' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/mq.rb:236:in `synchronize' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/mq.rb:236:in `send' | |
| from /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:47:in `call' | |
| from /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:47:in `callback' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/mq.rb:235:in `send' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/mq/exchange.rb:261:in `publish' | |
| from /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:47:in `call' | |
| from /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:47:in `callback' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/mq/exchange.rb:246:in `publish' | |
| from /usr/local/lib/ruby/gems/1.8/gems/nanite-0.4.1.13/lib/nanite/agent.rb:253:in `un_register' | |
| from /usr/local/lib/ruby/gems/1.8/gems/nanite-0.4.1.13/lib/nanite/agent.rb:118:in `run' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/ext/em.rb:29 | |
| /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:996:in `run_deferred_callbacks': undefined method `each' for nil:NilClass (NoMethodError) | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/ext/em.rb:26:in `run_machine' | |
| from /usr/local/lib/ruby/gems/1.8/gems/amqp-0.6.0/lib/ext/em.rb:26:in `run' | |
| from /Users/ssilver/work/deployment/chef/chef-solr/lib/chef/solr/application/indexer.rb:131:in `run_application' | |
| from /Users/ssilver/work/deployment/chef/chef/lib/chef/application.rb:57:in `run' | |
| from ./chef-solr/bin/chef-solr-indexer:26 |
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
| Listing permissions in vhost "/nanite" ... | |
| mapper .* .* .* | |
| nanite .* .* .* | |
| ...done. |
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
| @api @data @api_data @api_data_item | |
| Feature: Create a data bag item via the REST API | |
| In order to store an item in a data bag programatically | |
| As a Devleoper | |
| I want to store data bag items via the REST API | |
| Scenario: Create a new data bag item # features/api/data/create_data_bag_item_api.feature:7 | |
| Given a 'registration' named 'bobo' exists # features/steps/fixture_steps.rb:162 | |
| And a 'data_bag' named 'users' exists # features/steps/fixture_steps.rb:162 | |
| And a 'data_bag_item' named 'francis' # features/steps/fixture_steps.rb:150 | |
| When I authenticate as 'bobo' # features/steps/request_steps.rb:53 | |
| And I 'PUT' the 'data_bag_item' to the path '/data/users/francis' # features/steps/request_steps.rb:23 | |
| Then the inflated responses key 'id' should match '^francis$' # features/steps/response_steps.rb:13 | |
| undefined method `[]' for nil:NilClass (NoMethodError) | |
| ./features/steps/response_steps.rb:15:in `/^the inflated responses key '(.+)' should match '(.+)'$/' | |
| features/api/data/create_data_bag_item_api.feature:13:in `Then the inflated responses key 'id' should match '^francis$'' | |
| Scenario: Create a new data bag item as a non-admin # features/api/data/create_data_bag_item_api.feature:31 | |
| Given a 'registration' named 'not_admin' exists # features/steps/fixture_steps.rb:162 | |
| And a 'data_bag' named 'users' exists # features/steps/fixture_steps.rb:162 | |
| And a 'data_bag_item' named 'francis' # features/steps/fixture_steps.rb:150 | |
| When I 'PUT' the 'data_bag_item' to the path '/data/users/francis' # features/steps/request_steps.rb:23 | |
| Then I should get a '401 "Unauthorized"' exception # features/steps/response_steps.rb:1 | |
| expected: "401 \"Unauthorized\"", | |
| got: "404 \"Not Found\"" (using ==) | |
| Diff: | |
| @@ -1,2 +1,2 @@ | |
| -401 "Unauthorized" | |
| +404 "Not Found" | |
| (Spec::Expectations::ExpectationNotMetError) | |
| ./features/steps/response_steps.rb:2:in `/^I should get a '(.+)' exception$/' | |
| features/api/data/create_data_bag_item_api.feature:36:in `Then I should get a '401 "Unauthorized"' exception' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment