[DRE-maint] Bug#908613: ruby-rspec breaks chef autopkgtest

Paul Gevers elbrus at debian.org
Tue Sep 11 20:18:05 BST 2018


Source: ruby-rspec, chef
Control: found -1 ruby-rspec/3.8.0c0e1m0s0-1
Control: found -1 chef/13.8.7-2
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of ruby-rspec the autopkgtest of chef fails in
testing when that autopkgtest is run with the binary packages of
ruby-rspec from unstable. It passes when run with only packages from
testing. I copied some of the output at the bottom of this report.

Currently this regression is contributing to the delay of the migration
of ruby-rspec to testing [1]. Due to the nature of this issue, I filed
this bug report against both packages. Can you please investigate the
situation and reassign the bug to the right package? If needed, please
change the bug's severity.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=ruby-rspec

https://ci.debian.net/data/autopkgtest/testing/amd64/c/chef/972119/log.gz

Failures:

  1) Chef::RunContext::ChildRunContext with a run context with stuff in
it and a child run context resource_collection is not the same as the parent
     Failure/Error: expect(child.resource_collection).to include f

       expected {"instance_vars" => {:@resource_list =>
#<Chef::ResourceCollection::ResourceList:0x000055a415489978
@reso...delayed_notification_collection={}, @delayed_actions=[]>},
"json_class" => "Chef::ResourceCollection"} to include <file[hi] @name:
"hi" @before: nil @params: {} @provider: nil @allowed_actions:
[:nothing, :create, :...lse @source_line: nil @guard_interpreter: nil
@default_guard_interpreter: :default @elapsed_time: 0>

<huge amount of diff cut>

  2) Shell::SoloLegacySession returns a collection based on it's
compilation object and the extra recipe provided by chef-shell
     Failure/Error: expect(@session.resource_collection).to include(kitteh)

       expected {"instance_vars" => {:@resource_list =>
#<Chef::ResourceCollection::ResourceList:0x000055a412941338
@reso...tion_collection={}, @delayed_notification_collection={}>},
"json_class" => "Chef::ResourceCollection"} to include <cat[keyboard]
@name: "keyboard" @before: nil @params: {} @provider: nil
@allowed_actions: [:nothing]...lse @source_line: nil @guard_interpreter:
nil @default_guard_interpreter: :default @elapsed_time: 0>

<big amount of diff cut>

  3) Shell::SoloLegacySession generates its resource collection from the
compiled cookbooks and the ad hoc recipe
     Failure/Error: expect(@session.resource_collection).to
include(kitteh_cat, keyboard_cat)

       expected {"instance_vars" => {:@resource_list =>
#<Chef::ResourceCollection::ResourceList:0x000055a41279b060
@reso...tion_collection={}, @delayed_notification_collection={}>},
"json_class" => "Chef::ResourceCollection"} to include <cat[kitteh]
@name: "kitteh" @before: nil @params: {} @provider: nil
@allowed_actions: [:nothing] @ac...lse @source_line: nil
@guard_interpreter: nil @default_guard_interpreter: :default
@elapsed_time: 0> and <cat[keyboard_cat] @name: "keyboard_cat" @before:
nil @params: {} @provider: nil @allowed_actions: [:...lse @source_line:
nil @guard_interpreter: nil @default_guard_interpreter: :default
@elapsed_time: 0>

<big amount of diff cut>

Finished in 2 minutes 55.5 seconds (files took 7.42 seconds to load)
11422 examples, 3 failures, 24 pending

Failed examples:

rspec ./spec/unit/run_context/child_run_context_spec.rb:54 #
Chef::RunContext::ChildRunContext with a run context with stuff in it
and a child run context resource_collection is not the same as the parent
rspec ./spec/unit/shell/shell_session_spec.rb:203 #
Shell::SoloLegacySession returns a collection based on it's compilation
object and the extra recipe provided by chef-shell
rspec ./spec/unit/shell/shell_session_spec.rb:220 #
Shell::SoloLegacySession generates its resource collection from the
compiled cookbooks and the ad hoc recipe

/usr/bin/ruby2.5 <lots of .rb files> --format documentation failed


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20180911/ddd1d863/attachment.sig>


More information about the Pkg-ruby-extras-maintainers mailing list