[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error while building ruby-fog-aws





On ബു, ഫെബ്രു 6, 2019 at 9:27 രാവിലെ, Pirate Praveen <praveen@onenetbeyond.org> wrote:


On 2019, ഫെബ്രുവരി 6 4:35:45 AM IST, Utkarsh Gupta <guptautkarsh2102@gmail.com> wrote:
Hey,

I was updating ruby-fog-aws and the following error occurred during
build:
https://paste.debian.net/1065487/

As it seems to me, it requires someone who's versed with Ruby to patch
this
up.
And since I am new to the language, I can't seem to get it working.

And as this is an immediate dependency of diaspora, we need a fix at
the
earliest.

Try to reproduce the error with upstream test suite.

bundle install
bundle exec rake

If that is working, adjust dependency versions to match version in Debian. I have noticed a version difference for rake at least.

The upstream test suite itself is failing, I think we can disable tests untill upstream fixes the test suite, please report this failure upstream.

bundle install --path vendor/bundle
bundle exec rake
export FOG_MOCK=true && bundle exec shindont

 Fog::Compute[:aws] | region requests (aws) +++++
 Fog::Compute[:aws] | snapshot requests (aws) +++++++
 Fog::Compute[:aws] | spot instance requests (aws) +++
 Fog::Compute[:aws] | internet_gateway requests (aws) +++
 Fog::Compute[:aws] | address requests (aws) +++++++++++++++++++++++
 Fog::Compute[:aws] | placement group requests (aws) #####
 Fog::Compute[:aws] | network acl requests (aws) ++++++++++++++
 Fog::Compute[:aws] | key pair requests (aws) +++++++++
 Fog::Compute[:aws] | security group requests (aws) #
Fog::Compute[:aws] | route table requests (aws) +++++++++++++++++++++++++++++++++++++++++++++
 Fog::Compute[:aws] | spot datafeed subscription requests (aws) ##
 Fog::Compute[:aws] | image requests (aws) +++++++++++++++++
 Fog::Compute[:aws] | availability zone requests (aws) ++
 Fog::Compute[:aws] | account tests (aws) +++
Fog::Compute[:aws] | network interface requests (aws) +++++++++++++++++++++++++++++
 Fog::Compute[:aws] | instance requests (aws) ++++++++#++++++++++++++
Fog::Compute[:aws] | describe_instance_attribute request (aws) ++++++++++++++++++++++++++++++++++++++++++++++++ Fog::Compute[:aws] | vpc requests (aws) +++++++++++++++++++++++++++++++++++++++ Fog::Compute[:aws] | volume requests (aws) +++++++++#+++++++++++++++++++
 Fog::Compute[:aws] | dhcp_options requests (aws) +++++
 Fog::Compute[:aws] | tag requests (aws) ++++++++++++++++
 Fog::Compute[:aws] | subnet requests (aws) ++++++++
 Fog::Compute[:aws] | internet_gateway requests (aws) ++++++
 Fog::Compute[:aws] | spot price history requests (aws) +
 AWS::DataPipeline | pipeline_tests (aws, data_pipeline) ++++++++++
 AWS::Federation | signin tokens (aws) +
 AWS::STS | assume role with web identity (aws) +
 AWS::STS | assume role with SAML (aws) #
 AWS::STS | session tokens (aws) +
 AWS::STS | assume role (aws) #
 AWS::STS | session tokens (aws) #
 AWS::SES | topic lifecycle tests (aws, sns) ######
 AWS::SNS | topic lifecycle tests (aws, sns) +++++++
 AWS::ElasticBeanstalk | solution_stack_tests (aws, beanstalk) #
 AWS::ElasticBeanstalk | application_tests (aws, beanstalk) #
 Fog::DNS[:aws] | change_resource_record_sets (aws, dns)
     tests/requests/dns/change_resource_record_sets_tests.rb
       success
       Fog::DNS[:aws] | change_resource_record_sets (aws, dns)
     - #elb_hosted_zone_mapping from DNS name

     tests/requests/dns/change_resource_record_sets_tests.rb
undefined method `hosted_zone_for_alias_target' for Fog::AWS::DNS:Class (NoMethodError) tests/requests/dns/change_resource_record_sets_tests.rb:4:in `block (3 levels) in <top (required)>' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:140:in `instance_eval' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:140:in `assert' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:116:in `test' tests/requests/dns/change_resource_record_sets_tests.rb:3:in `block (2 levels) in <top (required)>' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:79:in `instance_eval' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:79:in `tests' tests/requests/dns/change_resource_record_sets_tests.rb:2:in `block in <top (required)>' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:79:in `instance_eval' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:79:in `tests' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:38:in `initialize' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:13:in `new' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:13:in `tests' tests/requests/dns/change_resource_record_sets_tests.rb:1:in `<top (required)>' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo/bin.rb:61:in `load' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo/bin.rb:61:in `block (2 levels) in run_in_thread' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo/bin.rb:58:in `each' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo/bin.rb:58:in `block in run_in_thread'

     tests/requests/dns/change_resource_record_sets_tests.rb
       #change_resource_record_sets_data formats geolocation properly
undefined method `change_resource_record_sets_data' for Fog::AWS::DNS:Class (NoMethodError) tests/requests/dns/change_resource_record_sets_tests.rb:21:in `block (2 levels) in <top (required)>' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:79:in `instance_eval' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:79:in `tests' tests/requests/dns/change_resource_record_sets_tests.rb:9:in `block in <top (required)>' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:79:in `instance_eval' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:79:in `tests' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:38:in `initialize' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:13:in `new' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo.rb:13:in `tests' tests/requests/dns/change_resource_record_sets_tests.rb:1:in `<top (required)>' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo/bin.rb:61:in `load' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo/bin.rb:61:in `block (2 levels) in run_in_thread' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo/bin.rb:58:in `each' /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/vendor/bundle/ruby/2.5.0/gems/shindo-0.3.8/lib/shindo/bin.rb:58:in `block in run_in_thread'
An error occurred outside of a test
Coverage report generated for Shindo to /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/coverage. 7885 / 14835 LOC (53.15%) covered.
rake aborted!
Command failed with status (1): [export FOG_MOCK=true && bundle exec shindo...] /home/pravi/forge/debian/git/ruby-team/ruby-fog-aws/Rakefile:7:in `block in <top (required)>'
Tasks: TOP => default => test
(See full trace by running task with --trace)







Reply to: