Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1020241 > unrolled thread

Bug#966838: rails: newapp autopkgtest failed and it also broke autopkgtest for many rails assets packages

Started byPirate Praveen <praveen@onenetbeyond.org>
First post2020-08-03 09:00 +0200
Last post2020-08-03 22:00 +0200
Articles 4 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#966838: rails: newapp autopkgtest failed and it also broke autopkgtest for many rails assets packages Pirate Praveen <praveen@onenetbeyond.org> - 2020-08-03 09:00 +0200
    Bug#966838: this appears to be caused by our patch Pirate Praveen <praveen@onenetbeyond.org> - 2020-08-03 09:20 +0200
    Bug#967007: Now dependencies are satisfied Pirate Praveen <praveen@onenetbeyond.org> - 2020-08-03 18:20 +0200
    Bug#967007: Now dependencies are satisfied Pirate Praveen <praveen@onenetbeyond.org> - 2020-08-03 22:00 +0200

#1020241 — Bug#966838: rails: newapp autopkgtest failed and it also broke autopkgtest for many rails assets packages

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-08-03 09:00 +0200
SubjectBug#966838: rails: newapp autopkgtest failed and it also broke autopkgtest for many rails assets packages
Message-ID<AzCBY-831-5@gated-at.bofh.it>
Package: rails
Version: 6.0.3.2+dfsg-4
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/arm64/r/ruby-rails-assets-autosize/6520761/log.gz 
(same error in rails as well other autopkgtest failures)

         run bundle install --local
/usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/generators/app_base.rb:364:in 
`block in bundle_command': undefined local variable or method 
`_bundle_command' for 
#<Rails::Generators::AppGenerator:0x0000aaaad68bccd0> (NameError)
Did you mean? bundle_command
               exec_bundle_command
 from /usr/lib/ruby/2.7.0/bundler.rb:364:in `block in with_original_env'
 from /usr/lib/ruby/2.7.0/bundler.rb:677:in `with_env'
 from /usr/lib/ruby/2.7.0/bundler.rb:364:in `with_original_env'
 from 
/usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/generators/app_base.rb:363:in 
`bundle_command'
 from 
/usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/generators/app_base.rb:406:in 
`run_bundle'
 from (eval):1:in `run_bundle'
 from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
 from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in 
`invoke_command'
 from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `block in 
invoke_all'
 from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `each'
 from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `map'
 from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:133:in `invoke_all'
 from /usr/lib/ruby/vendor_ruby/thor/group.rb:232:in `dispatch'
 from /usr/lib/ruby/vendor_ruby/thor/base.rb:466:in `start'
 from 
/usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/commands/application/application_command.rb:26:in 
`perform'
 from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in `run'
 from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in 
`invoke_command'
 from /usr/lib/ruby/vendor_ruby/thor.rb:387:in `dispatch'
 from 
/usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/command/base.rb:69:in 
`perform'
 from 
/usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/command.rb:46:in 
`invoke'
 from 
/usr/share/rubygems-integration/all/gems/railties-6.0.3.2/lib/rails/cli.rb:18:in 
`<top (required)>'
 from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in 
`require'
 from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in 
`require'
 from 
/usr/share/rubygems-integration/all/gems/railties-6.0.3.2/exe/rails:10:in 
`<top (required)>'
 from /usr/bin/rails:23:in `load'
 from /usr/bin/rails:23:in `<main>'

[toc] | [next] | [standalone]


#1020244 — Bug#966838: this appears to be caused by our patch

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-08-03 09:20 +0200
SubjectBug#966838: this appears to be caused by our patch
Message-ID<AzCVj-8pl-5@gated-at.bofh.it>
In reply to#1020241
debian/patches/0001-Be-careful-with-that-bundler.patch

[toc] | [prev] | [next] | [standalone]


#1020402 — Bug#967007: Now dependencies are satisfied

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-08-03 18:20 +0200
SubjectBug#967007: Now dependencies are satisfied
Message-ID<AzLlT-5cD-3@gated-at.bofh.it>
In reply to#1020241

On Mon, Aug 3, 2020 at 20:12, Pirate Praveen <praveen@onenetbeyond.org> 
wrote:
> Once ruby-webpacker and ruby-webdrivers clears NEW creating new rails 
> app will work.
> 
> Now some tests for the newly created app fails. I think running rails 
> webpacker:install will fix it.

+ rails webpacker:install
Warning: Running `gem pristine --all` to regenerate your installed 
gemspecs (and deleting then reinstalling your bundle if you use bundle 
--path) will improve the startup performance of Spring.
Node.js not installed. Please download and install Node.js 
https://nodejs.org/en/download/

This seems strange as rails metapackage has a dependency on webpack, 
and yarnpkg which should pull nodejs.

[toc] | [prev] | [next] | [standalone]


#1020435 — Bug#967007: Now dependencies are satisfied

FromPirate Praveen <praveen@onenetbeyond.org>
Date2020-08-03 22:00 +0200
SubjectBug#967007: Now dependencies are satisfied
Message-ID<AzOMN-79f-9@gated-at.bofh.it>
In reply to#1020241

On Tue, Aug 4, 2020 at 00:25, Pirate Praveen <praveen@onenetbeyond.org> 
wrote:
> This was fixed in ruby-webpacker 4.2.2-3. Now the autopkgtest is 
> passing.
> 
> It took almost a whole day to troubleshoot and fix this.

with ruby-webpacker 4.2.2-3 and ruby-webdrivers 4.4.1-1 in NEW, passed 
as local debs,

Run options: --seed 51583

# Running:

.......

Finished in 18.984631s, 0.3687 runs/s, 0.4741 assertions/s.
7 runs, 9 assertions, 0 failures, 0 errors, 0 skips
autopkgtest [01:19:44]: test newapp: -----------------------]
autopkgtest [01:19:44]: test newapp:  - - - - - - - - - - results - - - 
- - - - - - -
newapp               PASS

I have pushed the changes to 'newapp-autopkgtest` branch as I don't 
want to block further changes in master till we get  ruby-webpacker and 
ruby-webdrivers in the archive.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web