[DRE-maint] Bug#880324: ruby-license-finder: FTBFS: ERROR: Test "ruby2.3" failed: Failure/Error: expect { action_items }.to raise_error(SystemExit)
Lucas Nussbaum
lucas at debian.org
Mon Oct 30 20:07:35 UTC 2017
Source: ruby-license-finder
Version: 2.1.2-2
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20171030 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part (hopefully):
> Failure/Error: expect { action_items }.to raise_error(SystemExit)
>
> expected SystemExit, got #<Bundler::GemNotFound: Could not find gem 'mime-types (< 3.0)' in any of the gem sources listed in your Gemfile.> with backtrace:
> # ./lib/license_finder/package_managers/bundler.rb:41:in `gem_details'
> # ./lib/license_finder/package_managers/bundler.rb:34:in `details'
> # ./lib/license_finder/package_managers/bundler.rb:13:in `current_packages'
> # ./lib/license_finder/package_manager.rb:60:in `current_packages_with_relations'
> # ./lib/license_finder/package_manager.rb:23:in `each'
> # ./lib/license_finder/package_manager.rb:23:in `flat_map'
> # ./lib/license_finder/package_manager.rb:23:in `current_packages'
> # ./lib/license_finder/core.rb:63:in `current_packages'
> # ./lib/license_finder/core.rb:58:in `decision_applier'
> # ./lib/license_finder/cli/main.rb:36:in `action_items'
> # ./spec/lib/license_finder/cli/main_spec.rb:183:in `action_items'
> # ./spec/lib/license_finder/cli/main_spec.rb:204:in `block (6 levels) in <module:CLI>'
> # ./spec/lib/license_finder/cli/main_spec.rb:204:in `block (5 levels) in <module:CLI>'
> # ./spec/support/stdout_helpers.rb:19:in `capture_stdout'
> # ./spec/lib/license_finder/cli/main_spec.rb:203:in `block (4 levels) in <module:CLI>'
> # ./spec/lib/license_finder/cli/main_spec.rb:204:in `block (5 levels) in <module:CLI>'
> # ./spec/support/stdout_helpers.rb:19:in `capture_stdout'
> # ./spec/lib/license_finder/cli/main_spec.rb:203:in `block (4 levels) in <module:CLI>'
>
> Finished in 2.33 seconds (files took 1.19 seconds to load)
> 502 examples, 14 failures
>
> Failed examples:
>
> rspec ./spec/lib/license_finder/cli/main_spec.rb:25 # LicenseFinder::CLI::Main default checks for action items
> rspec ./spec/lib/license_finder/cli/main_spec.rb:81 # LicenseFinder::CLI::Main#report reports acknowleged dependencies
> rspec ./spec/lib/license_finder/cli/main_spec.rb:85 # LicenseFinder::CLI::Main#report will output a specific format
> rspec ./spec/lib/license_finder/cli/main_spec.rb:91 # LicenseFinder::CLI::Main#report will output a custom csv
> rspec ./spec/lib/license_finder/cli/main_spec.rb:100 # LicenseFinder::CLI::Main#report when the package is a nuget package will includes package_manager for csv report
> rspec ./spec/lib/license_finder/cli/main_spec.rb:115 # LicenseFinder::CLI::Main#report in html reports when the project has a name should show the project name
> rspec ./spec/lib/license_finder/cli/main_spec.rb:123 # LicenseFinder::CLI::Main#report in html reports when the project has no name should default to the directory name
> rspec ./spec/lib/license_finder/cli/main_spec.rb:130 # LicenseFinder::CLI::Main#report when the --save option is passed calls report method and calls save_report
> rspec ./spec/lib/license_finder/cli/main_spec.rb:139 # LicenseFinder::CLI::Main#report when the --save option is passed when file name is not specified (--save) creates report that is called the default file name
> rspec ./spec/lib/license_finder/cli/main_spec.rb:158 # LicenseFinder::CLI::Main#report when the --save option is passed when file name is specified (--save='FILENAME') saves with a specified file name
> rspec ./spec/lib/license_finder/cli/main_spec.rb:169 # LicenseFinder::CLI::Main#report when the --save option is not passed calls report method and does not call save_report
> rspec ./spec/lib/license_finder/cli/main_spec.rb:210 # LicenseFinder::CLI::Main#action_items reports that all dependencies are approved
> rspec ./spec/lib/license_finder/cli/main_spec.rb:189 # LicenseFinder::CLI::Main#action_items with unapproved dependencies reports unapproved dependencies
> rspec ./spec/lib/license_finder/cli/main_spec.rb:202 # LicenseFinder::CLI::Main#action_items with blacklisted dependencies reports blacklisted dependencies
>
> /usr/bin/ruby2.3 /usr/bin/rspec ./spec/lib/license_finder/cli/approvals_spec.rb ./spec/lib/license_finder/cli/blacklist_spec.rb ./spec/lib/license_finder/cli/dependencies_spec.rb ./spec/lib/license_finder/cli/ignored_dependencies_spec.rb ./spec/lib/license_finder/cli/ignored_groups_spec.rb ./spec/lib/license_finder/cli/licenses_spec.rb ./spec/lib/license_finder/cli/main_spec.rb ./spec/lib/license_finder/cli/project_name_spec.rb ./spec/lib/license_finder/cli/whitelist_spec.rb ./spec/lib/license_finder/configuration_spec.rb ./spec/lib/license_finder/core_spec.rb ./spec/lib/license_finder/decision_applier_spec.rb ./spec/lib/license_finder/decisions_spec.rb ./spec/lib/license_finder/diff_spec.rb ./spec/lib/license_finder/license/definitions_spec.rb ./spec/lib/license_finder/license_aggregator_spec.rb ./spec/lib/license_finder/license_spec.rb ./spec/lib/license_finder/package_delta_spec.rb ./spec/lib/license_finder/package_manager_spec.rb ./spec/lib/license_finder/package_managers/bundler_package_spec.rb ./spec/lib/license_finder/package_managers/bundler_spec.rb ./spec/lib/license_finder/package_managers/cocoa_pods_package_spec.rb ./spec/lib/license_finder/package_managers/cocoa_pods_spec.rb ./spec/lib/license_finder/package_managers/go_package_spec.rb ./spec/lib/license_finder/package_managers/go_vendor_spec.rb ./spec/lib/license_finder/package_managers/go_workspace_spec.rb ./spec/lib/license_finder/package_managers/gradle_package_spec.rb ./spec/lib/license_finder/package_managers/gradle_spec.rb ./spec/lib/license_finder/package_managers/maven_package_spec.rb ./spec/lib/license_finder/package_managers/maven_spec.rb ./spec/lib/license_finder/package_managers/merged_package_spec.rb ./spec/lib/license_finder/package_managers/npm_package_spec.rb ./spec/lib/license_finder/package_managers/npm_spec.rb ./spec/lib/license_finder/package_managers/nuget_package_spec.rb ./spec/lib/license_finder/package_managers/nuget_spec.rb ./spec/lib/license_finder/package_managers/pip_package_spec.rb ./spec/lib/license_finder/package_managers/pip_spec.rb ./spec/lib/license_finder/package_managers/rebar_package_spec.rb ./spec/lib/license_finder/package_managers/rebar_spec.rb ./spec/lib/license_finder/package_spec.rb ./spec/lib/license_finder/packages/activation_spec.rb ./spec/lib/license_finder/packages/license_files_spec.rb ./spec/lib/license_finder/packages/licensing_spec.rb ./spec/lib/license_finder/packages/possible_license_file_spec.rb ./spec/lib/license_finder/project_finder_spec.rb ./spec/lib/license_finder/reports/csv_report_spec.rb ./spec/lib/license_finder/reports/diff_report_spec.rb ./spec/lib/license_finder/reports/html_report_spec.rb ./spec/lib/license_finder/reports/markdown_report_spec.rb ./spec/lib/license_finder/reports/merged_report_spec.rb ./spec/lib/license_finder/reports/text_report_spec.rb --format documentation failed
> ERROR: Test "ruby2.3" failed:
The full build log is available from:
http://aws-logs.debian.net/2017/10/30/ruby-license-finder_2.1.2-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-ruby-extras-maintainers
mailing list