Fwd: Chef - Master branch build 41 has FAILED (4 tests failed). Change made by AJ Christensen aj@junglist.gen.nz


#1

Strange, this build is failing on hash comparison:

expected {}
got {}

(compared using eql?)
(Spec::Expectations::ExpectationNotMetError)
./spec/unit/provider/subversion_spec.rb:34
expected {:repository_cache=>“cached-copy”, :deploy_to=>"/my/deploy/
dir", :before=>nil, :allowed_actions=>
[:nothing, :deploy, :rollback], :supports=>{}, :copy_exclude=>
[], :only_if=>nil, :source_line=>"/usr/local/lib/ruby/gems/1.8/gems/
rspec-1.2.8/lib/spec/example/example_methods.rb line
70", :scm_provider=>Chef::Provider::Git, :migrate=>false, :name=>"/my/
deploy/dir", :revision=>“HEAD”, :params=>
{}, :action

:deploy
, :force_deploy

false
, :remote

“origin
”, :environment
=>nil, :resource_name=>:deploy, :ignore_failure=>false, :actions=>
{}, :updated=>false, :node=>#<Chef::Node:0x9e2dfc0 @attribute={},
@run_state={:template_cache=>{}, :seen_recipes=>{}},
@run_list=#<Chef::RunList:0x9e2dcdc @roles=[], @recipes=[], @run_list=
[]>, @couchdb=#<Chef::CouchDB:0x9e2dc00 @rest=#<Chef::REST:0x9e2db38
@cookies={}, @url=“http://localhost:5984”>>, @override={}, @name=nil,
@couchdb_rev=nil, @default={}

, :shallow_clone

false
, :noop

nil
, :enable_submodules
=>false, :not_if=>nil, :provider=>Chef::Provider::Deploy}
got {:repository_cache=>“cached-copy”, :deploy_to=>"/my/deploy/
dir", :before=>nil, :allowed_actions=>
[:nothing, :deploy, :rollback], :supports=>{}, :copy_exclude=>
[], :only_if=>nil, :source_line=>"/usr/local/lib/ruby/gems/1.8/gems/
rspec-1.2.8/lib/spec/example/example_methods.rb line
70", :scm_provider=>Chef::Provider::Git, :migrate=>false, :name=>"/my/
deploy/dir", :revision=>“HEAD”, :params=>
{}, :action

:deploy
, :force_deploy

false
, :remote

“origin
”, :environment
=>nil, :resource_name=>:deploy, :ignore_failure=>false, :actions=>
{}, :updated=>false, :node=>#<Chef::Node:0x9e2dfc0 @attribute={},
@run_state={:template_cache=>{}, :seen_recipes=>{}},
@run_list=#<Chef::RunList:0x9e2dcdc @roles=[], @recipes=[], @run_list=
[]>, @couchdb=#<Chef::CouchDB:0x9e2dc00 @rest=#<Chef::REST:0x9e2db38
@cookies={}, @url=“http://localhost:5984”>>, @override={}, @name=nil,
@couchdb_rev=nil, @default={}

, :shallow_clone

false
, :noop

nil
, :enable_submodules
=>false, :not_if=>nil, :provider=>Chef::Provider::Deploy}

(compared using eql?)
(Spec::Expectations::ExpectationNotMetError)
./spec/unit/provider/deploy_spec.rb:186
expected {“RAILS_ENV”=>“production”}
got {“RAILS_ENV”=>“production”}

(compared using eql?)
(Spec::Expectations::ExpectationNotMetError)
./spec/unit/resource/deploy_spec.rb:86
expected {“MERB_ENV”=>“production”, “RAILS_ENV”=>“production”,
“RACK_ENV”=>“production”}
got {“MERB_ENV”=>“production”, “RAILS_ENV”=>“production”,
“RACK_ENV”=>“production”}

(compared using eql?)
(Spec::Expectations::ExpectationNotMetError)
./spec/unit/resource/deploy_spec.rb:91
I’m getting green lights locally - any ideas?!

Begin forwarded message:

From: Bamboo noreply@rubaidh.com
Date: 16 September 2009 7:47:56 AM NZST
To: chef-dev@lists.opscode.com
Subject: [[chef-dev]] [Bamboo] Chef - Master branch build 41 has
FAILED (4 tests failed). Change made by AJ Christensen aj@junglist.gen.nz

      	CHEF-MASTER-41 failed.

Code has been updated by AJ Christensen aj@junglist.gen.nz .
4/1752 tests failed.

Code Changes See full change details
AJ Christensen aj@junglist.gen.nz
CHEF-526: Chef Deploy support Squashed commit of the
following: commit 9613037fd2cca28280bccc8254ec06974551d6b3
Author: Dan DeLeo danielsdeleo@mac.com Date: Thu Sep 10
20:34:54 2009 -0600 injecting into an array is just
silly commit efecfd6b26029bf6a74c8b203b0240cec28486ce
Author: Dan DeLeo danielsdeleo@mac.com Date: Thu Sep 10
20:22:53 2009 -0600 deploy cuke clones from a source that
can be expected to exist :slight_smile: commit
2a0fc82344bf0f459c46886b6eac3bbd2c3901b0 Author: Dan DeLeo <danielsdeleo@mac.com

Date: Thu Sep 10 17:34:00 2009 -0600 deploy cuke:
test that database.yml is copied from releases to current
commit f664bb0f88a5ce7d33519d591998fef9bf8fcccd Author: Dan DeLeo
danielsdeleo@mac.com Date: Thu Sep 10 07:38:11 2009
-0600 check that the restart action was executed in
deploy cuke commit
459308f6cbc14338717ea409e8dbbbebf9b6793f Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 10 00:01:42 2009 -0600 more thorough
cuke for deploying a rails app with db:migrate commit
d8bbcaa02e6b5b6e55a0ab1572c53fb8d4cc9aed Author: Dan DeLeo <danielsdeleo@mac.com
Date: Wed Sep 9 23:56:39 2009 -0600 fix bug where
migrate would fail if environment was nil commit
9d8d8dcf4a7faba01842efade524b88fc14751bd Author: Dan DeLeo <danielsdeleo@mac.com
Date: Wed Sep 9 20:16:15 2009 -0600 cukes for re-
deploy and rollback commit
7caaf6dd2846799cda00f71271f9b9326fd3dd51 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Wed Sep 9 19:27:36 2009 -0600 a Cuke for
deploying commit cf441f98d490ea44fde5d79901efcb714f2eab0a
Author: Dan DeLeo danielsdeleo@mac.com Date: Wed Sep 9
17:59:16 2009 -0600 Cuke for git resource/provider: clone
thyself commit 898231fca0bde5a0e48545ed0391471ae4cbee0c
Author: Dan DeLeo danielsdeleo@mac.com Date: Tue Sep 8
20:16:55 2009 -0600 need to check for the .svn directory
to determine if theres a working cp commit
4de025bc3ad018a06b5daccb65427026a31d30b1 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Tue Sep 8 20:03:05 2009 -0600 log (info)
when removing old releases commit
67e34a5c5c271e92044a4b28a6fefed900b455d5 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Tue Sep 8 19:58:20 2009 -0600 deploy
resource need svn_arguments to quack like a svn resource
commit c671a85dd8f0b2da6e123438c45ea915b7dc2b0e Author: Dan DeLeo
danielsdeleo@mac.com Date: Mon Sep 7 22:24:37 2009
-0600 remove stubs for diff and log actions they’re of
questionable value w/ chef These features weren’t
accessible in chef-deploy, though their implementations were
brought over from cap. But they aren’t of much use without a 2-
way communication channel between the chef-server and -client
anyway. commit a51c23f64ea021961a9326882f84de79fa887729
Author: Dan DeLeo danielsdeleo@mac.com Date: Mon Sep 7
20:42:55 2009 -0600 better logging for subversion
commit 1a23413090870ac5f191c499eaa4bfb4cc5a2588 Author: Dan DeLeo
danielsdeleo@mac.com Date: Mon Sep 7 20:04:30 2009
-0600 use run_command properly commit
637015de3b3fc930e9680124d2ca73e6872daf5e Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 19:52:51 2009 -0600 set
subversion’s and git’s resource names commit
baad186507e38bf94066824dfb7f8f2e70e4f43c Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 18:34:42 2009 -0600 helpful error
for action_rollback when there’s no release to rollback to
commit 121f8d973c3057698397ba3ea789270fcdf77b8e Author: Dan DeLeo
danielsdeleo@mac.com Date: Mon Sep 7 15:22:51 2009
-0600 More backwards compat magic. @configuration
[:environment] is a string (or nil) commit
838dc4e0e794bfeb3b26e57fd6571e7e78a76d64 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 14:10:07 2009 -0600 prettier log
output for environment variables commit
27206f67796bd7d019bcc27af715e90b6218b183 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 13:48:58 2009 -0600 explain the
use of @configuration in Provider::Deploy commit
c01574851ecdda02d55ed1081f607d158657931a Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 13:46:44 2009 -0600 convert deploy
resource to a hash and set as @configuration for cap compat
commit 3e83cd8c2178910bb07ab0339d0f16fb817d2bb7 Author: Dan DeLeo
danielsdeleo@mac.com Date: Mon Sep 7 13:46:00 2009
-0600 tweak the logging for string environments
commit bb02b1bd3560513cc408c9c08bef9a6636110031 Author: Dan DeLeo
danielsdeleo@mac.com Date: Mon Sep 7 13:44:31 2009
-0600 sha_hash isn’t a constant cause that gives ugly
warnings, privatize methods commit
2dd5924b2cd533e06f55bf4c883d474ddda65d72 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 13:33:10 2009 -0600 Add
Resource#to_hash with symbolic keys commit
17191c44906cc07d3798f922a31910a178b2c93b Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 12:49:18 2009 -0600 Deploy
resource needs to accept a string for environment for
compatibility commit
3766900dede0721905dcca8b29fb1f2ea3659e5b Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 12:27:50 2009 -0600 Refactor Git
provider implementation and add proper logging commit
99c483a6c26384eb0f27485b64fc207bf985052d Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 10:43:22 2009 -0600 set the
correct ivar for Resource::Deploy#current_path commit
75fad9eae7417b72bc5663d69161fb994407dfaa Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 01:49:48 2009 -0600 better logging
messages commit 0d497379aab8451c1bca8f3e077796e69d7916b5
Author: Dan DeLeo danielsdeleo@mac.com Date: Mon Sep 7
01:15:47 2009 -0600 using #inspect on an attribute
produces absurd output commit
7474a3c06d97fb5f200e542b3324f99a7aafb0bb Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 01:10:48 2009 -0600 make sure the
release dir exists before copying the release to it commit
4c08f83a02441030427ad5a477cfd661437c8aff Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 01:04:43 2009 -0600 enforce
ownership before trying to clone or sync repo commit
28591bfdf591939251c0577beea6f5a80d554fcb Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 00:47:57 2009 -0600
git_ssh_wrapper <-> ssh_wrapper to look like a duck commit
4610c3decfd952846ac7340382d6daf43cddea53 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 00:44:48 2009 -0600 alias repo as
repository for more duck quacking goodness commit
2e9bdc658e853199abefea911c3bba59cbc4517c Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 00:41:09 2009 -0600 also need to
respond to depth to quack like a scm resource commit
b59e257f7daf00c98128807e2e2fc9a0c5b8b4ef Author: Dan DeLeo <danielsdeleo@mac.com
Date: Mon Sep 7 00:36:05 2009 -0600 Deploy
resource needs a remote attr to quack like a git resource
commit b79c28722091a9f154aea12e847c31f3864632ab Author: Dan DeLeo
danielsdeleo@mac.com Date: Mon Sep 7 00:27:04 2009
-0600 set the provider to Chef::Provider::Deploy
commit 587b7396a46f7d4f4d7ce054d2b1a6382c709e25 Author: Dan DeLeo
danielsdeleo@mac.com Date: Sun Sep 6 22:48:01 2009
-0600 stub for provider Deploy#load_current_resource to
meet required API commit
9c71c19e7cb33f0dd97ead4d752d0f40b37be2f1 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sun Sep 6 21:18:21 2009 -0600 completed
rollback action for the deploy provider commit
dc3ba9000dd38b5efc9387c6246ee4ec17259c8c Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sun Sep 6 16:53:10 2009 -0600 completed the
deploy action for the deploy provider commit
5e22f8fd55d9fcd544f69e5ed3d4bed664e703b0 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sun Sep 6 16:52:49 2009 -0600 cleaner syntax
using run_options as a method commit
3fca61fae1a24b09faa8e072637599fdd0660126 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sun Sep 6 15:41:11 2009 -0600 Deploy
resource calculates the current deployment path commit
4faf562b844a7e939d5c8f59327ad2411b26e2f8 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sun Sep 6 12:41:37 2009 -0600 Deploy
provider is a port of ezra’s chef-deploy commit
b4f73ba5aca2bd10b49aecfb75bb7e8900cdd3a6 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sun Sep 6 12:28:07 2009 -0600 deploy
resource looks like scm resource so it can be used a scm
provider hooray duck typing! commit
3fa37b8b13ed4ea6e11af39672bc2b973bc582ce Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sat Sep 5 17:56:53 2009 -0600 set
environment variables for deploy via a hash commit
20655fe66969196cc45894c14938701042ed4193 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sat Sep 5 17:22:09 2009 -0600 added
attributes for scm_provider and force_deploy commit
d13c0bc20be501a5bb2cc4854cc86010a94e5da8 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sat Sep 5 17:10:35 2009 -0600 rm commented
code commit c466e9f36142240ec8a11eeda3e3554819d16628
Author: Dan DeLeo danielsdeleo@mac.com Date: Sat Sep 5
14:50:08 2009 -0600 SVN provider uses
Command.output_of_command commit
7789a4a466c472b53379055db85ec7b3fc8f2c86 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sat Sep 5 14:35:20 2009 -0600 modify git
provider to use Command.output_of_command and handle failures
commit 67e2fb7e7df2b872aceaff735d0676a9c97fd8d5 Author: Dan DeLeo
danielsdeleo@mac.com Date: Sat Sep 5 14:33:43 2009
-0600 extract status,stdout,stderr=output_of_command()
from run_command() commit
4ea80cc70d08c556a70f4c89dd8c78c27976b895 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sat Sep 5 13:45:54 2009 -0600 Extract
command failure handling into its own method I need to
use the command failure code elsewhere commit
3fb84f913ceee2193543da6e8175bfb4dbebe327 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sat Sep 5 13:45:01 2009 -0600 make it easier
to learn about SCM resource by reading the specs commit
2b247e99bc02f944390245631ff777c89a5ad173 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sat Sep 5 13:04:30 2009 -0600 modify SCM
resources to accommodate Chef’s “reverse-Liskov” policy
That is to say, for resources, the superclass is expected to be
usable through the subclass’ interface and the subclass is
just a convenience wrapper. commit
5f7c61ece72161cc63802d62484b5ad456a98b3a Author: Dan DeLeo <danielsdeleo@mac.com
Date: Sat Sep 5 12:01:05 2009 -0600 begin port of
ezra’s deploy resource commit
7a8dabc8cf6f9630b9648da6312d32aa9752f45e Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 22:34:40 2009 -0600 SVN provider
runs action_checkout, action_sync, and :action_export commit
9510109c3220c2df4b832e8c9c71dad5e09fe66b Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 22:17:44 2009 -0600 if a checkout
is needed when running sync, don’t also run the sync commit
a32100aee3596b05e2a6322799e7f385706f14e5 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 18:55:03 2009 -0600 SVN provider
generates the commands to run …but doesn’t yet have
them wired to actions commit
372c45406fc424785e51af4a3c9c078c3524ec9d Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 15:28:22 2009 -0600 SVN provider
loads current resource & resolves revision via server query
commit cf17d2695b2ae7127ac67af0bf61f61462063f22 Author: Dan DeLeo
danielsdeleo@mac.com Date: Fri Sep 4 15:11:42 2009
-0600 fix a wtf non-test in the specs commit
27afcc17c574e7a8dee99287bb9020530fe04051 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 14:54:28 2009 -0600 subversion
provider has stubs for actions, can determine revision of current
repo commit 8dc9e4970d81959a0827cb068e4180d8cc1ac304
Author: Dan DeLeo danielsdeleo@mac.com Date: Fri Sep 4
14:52:42 2009 -0600 revise spec example string to match
reality commit ad75499c928c655f2cf98e75b21aa8eeedad29f9
Author: Dan DeLeo danielsdeleo@mac.com Date: Fri Sep 4
12:04:08 2009 -0600 SVN resource lookin’ good
commit fbf99496232ca4bd4992c8d8ae2154954907ee94 Author: Dan DeLeo
danielsdeleo@mac.com Date: Fri Sep 4 11:51:26 2009
-0600 all SCMs must support :checkout,:export,:sync,:log,
and :diff actions commit
a3bc7e8ab4eabd244bdaa83464f884da9f9128a9 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 11:44:01 2009 -0600 slightly
simpler remote reference resolution commit
e80a586c6b40473d90a2145ef96e41f265aff450 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 11:37:38 2009 -0600 simplify the
aliasing of revision => branch, reference commit
75dd4059b1143bf3e10d28a150c5e4af4cb5ec28 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 11:18:48 2009 -0600 for git, treat
branch, revision, and reference as interchangeable
Discussion: however you specify what code you want from the repo, it
is always resolved to a particular commit’s SHA1 via git ls-
remote. This is especially confusing in the chef-deploy code:
because it originally used subversion only, the different
variations of these terms are used throughout the code in a
way that they appear to mean different things. commit
adde2749b7c77eda1d8d3e5b2c4d9c6d8b6dd6e6 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 09:56:31 2009 -0600 Subversion
provider and resource stubs commit
fef08c68403f0ecd33f13ec7e7eb39700beb43d7 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 09:47:58 2009 -0600 move the
deploy user attr up to Scm resource–svn also uses it commit
35548f160714c287421892258fe3caa366dd7c91 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 09:44:08 2009 -0600 move svn hints
comment to subversion_spec commit
95214df0e67de7a5780af25337dd6ed7a2c77015 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Fri Sep 4 09:31:32 2009 -0600 query revision
is more of an internal thing (for now at least) commit
8e1fc7a858fa8bfa9c5cb95525e1e39eb7840d2c Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 23:05:10 2009 -0600 Fix author
attribution and remove unneeded comments commit
d0b362502f02dab4a8104534f89cd0d13f3320d2 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 21:59:33 2009 -0600 pass git user
and env (GIT_SSH) options to run_command and popen4 commit
772eb25f96455aa036c9ab7dcbe8db988e335cba Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 21:40:36 2009 -0600 git resource
can specify the user to run as commit
91a911f0426aa034d1cc7957776fe8993320a24f Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 21:07:47 2009 -0600 Must also run
checkout with sync if deploy dir exists but is empty commit
d4160cdae1fb446a883194c0d523595f832312b6 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 20:40:09 2009 -0600
Provider::Git#action_sync implies a checkout if the deploy dir
doesn’t exist commit
edce733112073361b62c7efbbf0bd84c9bea019e Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 19:42:59 2009 -0600 implement
#current_resource for Git provider commit
d009c6868ebd9f6b8931d7e0d0dda231ff8a5af0 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 15:12:52 2009 -0600 initial dev of
checkout, sync, and export actions completed commit
a5117ed670763bfa78de7ef2138f0f9e2d6a5204 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 14:28:27 2009 -0600 use provider
action naming convention correctly, compile sync command
strings commit 05a40480f48b4df8a13c9c0cc475a875ba70f970
Author: Dan DeLeo danielsdeleo@mac.com Date: Thu Sep 3
13:09:35 2009 -0600 merged revision resolver into git
provider commit e552bb7d5f77360dad6e2cd91ff0df2848a214ec
Author: Dan DeLeo danielsdeleo@mac.com Date: Thu Sep 3
00:10:43 2009 -0600 Git provider, mostly a stub but has
checkout option. commit
296231393af609e258e13c35100e0417ebba1213 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Thu Sep 3 00:04:15 2009 -0600 SCM resources
need to specify the revision commit
d4560c7bf798bb8be58ef74704ccd800a8261dd8 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Wed Sep 2 23:45:23 2009 -0600 allow recipes
to set the ssh wrapper commit
b98bd32fe08f5afb231297d3fc7909f777aeb0ed Author: Dan DeLeo <danielsdeleo@mac.com
Date: Wed Sep 2 23:22:01 2009 -0600 git resource,
uses git provider (which only minimally exists so far) commit
ca09ea9f4edf00925fbdad3000a7bbb0f385d257 Author: Dan DeLeo <danielsdeleo@mac.com
Date: Wed Sep 2 23:17:21 2009 -0600 base scm class
upon which git and svn resources can be built commit
958a383a601d48231a30b08bd7162d7dbe359abe Author: Dan DeLeo <danielsdeleo@mac.com
Date: Wed Sep 2 20:38:08 2009 -0600 create stubs
for git provider and its spec …but this will be easier
if I start with the SCM resource.

Tests See full test details
Failed Tests (4)
Chef::Provider::Subversion : Converts resource attributes to
options for run command and popen4 (New)
Chef::Provider::Deploy : Puts resource.to hash in @configuration
for backwards compat with capistano-esque deploy hooks (New)
Chef::Resource::Deploy : Takes arbitrary environment variables in
a hash (New)
Chef::Resource::Deploy : Takes string arguments to environment for
backwards compat, setting r a i l s e n v, r a c k e n v, and m e r
b e n v (New)

JIRA Issues See full issue details
CHEF-526 (Related)
Could not obtain issue details from JIRA

Error Summary See full build log
rm -rf spec/reports
rake spec
rake aborted!
Command /usr/local/bin/ruby -I"/usr/local/lib/ruby/gems/1.8/gems/
rspec-1.2.8/lib" “/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/bin/
spec” “spec/unit/role_spec.rb” “spec/unit/cookbook/metadata_spec.rb”
“spec/unit/cookbook/metadata/version_spec.rb” “spec/unit/
config_spec.rb” “spec/unit/resource_collection_spec.rb” “spec/unit/
provider/deploy_spec.rb” “spec/unit/provider/subversion_spec.rb”
“spec/unit/provider/cron_spec.rb” “spec/unit/provider/user/
useradd_spec.rb” “spec/unit/provider/user/pw_spec.rb” “spec/unit/
provider/file_spec.rb” “spec/unit/provider/service/
simple_service_spec.rb” “spec/unit/provider/service/
init_service_spec.rb” “spec/unit/provider/service/redhat_spec.rb”
“spec/unit/provider/service/gentoo_service_spec.rb” “spec/unit/
provider/service/debian_service_spec.rb” “spec/unit/provider/service/
freebsd_service_spec.rb” “spec/unit/provider/mount/mount_spec.rb”
“spec/unit/provider/user_spec.rb” “spec/unit/provider/
template_spec.rb” “spec/unit/provider/group_spec.rb” “spec/unit/
provider/package_spec.rb” “spec/unit/provider/directory_spec.rb”
“spec/unit/provider/route_spec.rb” “spec/unit/provider/
mount_spec.rb” “spec/unit/provider/service_spec.rb” “spec/unit/
provider/group/groupadd_spec.rb” “spec/unit/provider/group/
pw_spec.rb” “spec/unit/provider/link_spec.rb” “spec/unit/provider/
git_spec.rb” “spec/unit/provider/package/portage_spec.rb” “spec/unit/
provider/package/dpkg_spec.rb” “spec/unit/provider/package/
macports_spec.rb” “spec/unit/provider/package/freebsd_spec.rb” “spec/
unit/provider/package/yum_spec.rb” “spec/unit/provider/package/
apt_spec.rb” “spec/unit/provider/package/rubygems_spec.rb” “spec/
unit/provider/package/rpm_spec.rb” “spec/unit/provider/
remote_file_spec.rb” “spec/unit/provider/script_spec.rb” “spec/unit/
provider/http_request_spec.rb” “spec/unit/rest_spec.rb” “spec/unit/
cookbook_loader_spec.rb” “spec/unit/resource/deploy_spec.rb” “spec/
unit/resource/bash_spec.rb” “spec/unit/resource/subversion_spec.rb”
“spec/unit/resource/cron_spec.rb” “spec/unit/resource/
python_spec.rb” “spec/unit/resource/file_spec.rb” “spec/unit/
resource/csh_spec.rb” “spec/unit/resource/user_spec.rb” “spec/unit/
resource/template_spec.rb” “spec/unit/resource/gem_package_spec.rb”
“spec/unit/resource/group_spec.rb” “spec/unit/resource/
package_spec.rb” “spec/unit/resource/directory_spec.rb” “spec/unit/
resource/route_spec.rb” “spec/unit/resource/
remote_directory_spec.rb” “spec/unit/resource/ruby_spec.rb” “spec/
unit/resource/mount_spec.rb” “spec/unit/resource/service_spec.rb”
“spec/unit/resource/link_spec.rb” “spec/unit/resource/git_spec.rb”
“spec/unit/resource/macports_package_spec.rb” “spec/unit/resource/
remote_file_spec.rb” “spec/unit/resource/apt_package_spec.rb” “spec/
unit/resource/script_spec.rb” “spec/unit/resource/
portage_package_spec.rb” “spec/unit/resource/http_request_spec.rb”
“spec/unit/resource/perl_spec.rb” “spec/unit/resource/
execute_spec.rb” “spec/unit/resource/dpkg_package_spec.rb” “spec/
unit/resource/scm_spec.rb” “spec/unit/search/result_spec.rb” “spec/
unit/file_cache_spec.rb” “spec/unit/couchdb_spec.rb” “spec/unit/util/
file_edit_spec.rb” “spec/unit/platform_spec.rb” “spec/unit/
node_spec.rb” “spec/unit/resource_spec.rb” “spec/unit/log_spec.rb”
“spec/unit/application_spec.rb” “spec/unit/application/solo_spec.rb”
“spec/unit/application/server_spec.rb” “spec/unit/application/
agent_spec.rb” “spec/unit/application/indexer_spec.rb” “spec/unit/
application/client_spec.rb” “spec/unit/runner_spec.rb” “spec/unit/
mixin/params_validate_spec.rb” “spec/unit/mixin/template_spec.rb”
“spec/unit/mixin/command_spec.rb” “spec/unit/node/attribute_spec.rb”
“spec/unit/cookbook_spec.rb” “spec/unit/queue_spec.rb” “spec/unit/
compile_spec.rb” “spec/unit/fileedit_spec.rb” “spec/unit/
recipe_spec.rb” “spec/unit/client_spec.rb” “spec/unit/
daemon_spec.rb” “spec/unit/chef_spec.rb” “spec/unit/
run_list_spec.rb” “spec/unit/openid_registration_spec.rb” “spec/unit/
provider_spec.rb” “spec/unit/resource_definition_spec.rb” –
require /usr/local/lib/ruby/gems/1.8/gems/ci_reporter-1.6.0/lib/ci/
reporter/rake/rspec_loader.rb --format CI::Reporter::RSpec failed

(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake spec…]

(See full trace by running task with --trace)

Email generated by Atlassian Bamboo - if you wish to stop receiving
these emails edit your user profile or notify your administrator
Want this information in your IDE?
Actions
View Online
Add Comments
View Artifacts
Download Logs
Link to JIRA issue


Arjuna Christensen, Software Development Engineer
Opscode, Inc.
E: aj@opscode.com