> > Hi, > > I re-recorded all fixtures for EC2 using Ruby 1.8: > > firefly ~/code/core/server $ rvm list > > => ruby-1.8.7-p370 [ i686 ] > * ruby-1.9.3-p125 [ x86_64 ] > > firefly ~/code/core/server $ rake test:drivers:ec2 > Run options: --seed 24923 > > # Running tests: > > /Users/mfojtik/.rvm/gems/ruby-1.8.7-p370/gems/aws-2.5.6/lib/awsbase/awsbase.rb:66: > warning: already initialized constant AMAZON_PROBLEMS > /Users/mfojtik/.rvm/gems/ruby-1.8.7-p370/gems/aws-2.5.6/lib/awsbase/awsbase.rb:86: > warning: already initialized constant DEFAULT_SIGNATURE_VERSION > .................... > > Finished tests in 0.000000s, inf tests/s, inf assertions/s. > > 20 tests, 159 assertions, 0 failures, 0 errors, 0 skips > ACK - EC2 test work for QE ...
Finished tests in 0.000000s, inf tests/s, inf assertions/s. 20 tests, 159 assertions, 0 failures, 0 errors, 0 skips > > Now both Ruby 1.9 and 1.8 works for me without VCR failures. > > Can you try a new patch set I attached on Fedora? Also attaching > my bundler lockfile, just for sure: > > http://omicron.mifo.sk/patches.tar.gz > http://omicron.mifo.sk/Gemfile.lock > > -- Michal > > > Michal Fojtik > http://deltacloud.org > [email protected] > > > > On Jul 27, 2012, at 11:19 PM, Ronelle Landy <[email protected]> > wrote: > > >> From: "David Lutterkort" <[email protected]> > >> To: [email protected] > >> Sent: Friday, July 27, 2012 5:04:06 PM > >> Subject: Re: RHEV-M driver unit tests, EC2 fronted tests and 1.8 > >> fixes > >> > >> On Fri, 2012-07-27 at 14:28 +0200, Michal Fojtik wrote: > >>> Hi, > >>> > >>> The problem under 1.8 seems missing 'require "rubygems"' on top > >>> of 'test_helper.rb'. Adding that solved this problem. > >>> > >>> I applied David patches on top of my patches + added the EC2 > >>> front-end > >>> patches. > >>> > >>> Everything seems to play nicely together though now it is more > >>> than > >>> 20 > >>> patches ;-) (I know I promised not send patch-bombs anymore). > >>> > >>> To make it more easy to review, I compressed them into tar > >>> archive > >>> you > >>> found attached to this email. > >>> > >>> David: Can we just commit what we have now, even it is not ideal > >>> in > >>> terms of > >>> recording credentials and then fix it later? > >> > >> I'd love to commit the patches, but for me 'rake test' fails with > >> a > >> whole bunch of VCR failures in the EC2 tests. I've uploaded a log > >> of > >> 'rake test'[1] and attach my Gemfile.lock > > > > I also tried the tests on RHEL 6.2 box (ruby 1.8.7) using >> bundle > > && bundle exec rake test > > I see the same ec2 test failures. > > > >> > >> These patches get an ACK from me if rerecording the VCR data does > >> indeed > >> fix the failures - if that's all you need to do, feel free to > >> commit > >> them. > >> > >> David > >> > >> [1] http://people.apache.org/~lutter/rake-test.txt > >> > >> > >> > >> > >
