spec/services/packages/debian/generate_distribution_service_spec.rb # Packages::Debian::GenerateDistributionService#execute for project behaves like Generate Debian Distribution and component files with Debian components and architectures ge
Summary
Job #3689992043 failed for 0bd6e00e:
1) Packages::Debian::GenerateDistributionService#execute for project behaves like Generate Debian Distribution and component files with Debian components and architectures generates Debian distribution and component files
Got 2 failures:
Shared Example Group: "Generate Debian Distribution and component files" called from ./spec/services/packages/debian/generate_distribution_service_spec.rb:18
1.1) Failure/Error: expect(File.read(file_path)).to eq(expected_release_content)
expected: "Codename: unstable\nDate: Sat, 25 Jan 2020 15:17:18 +0000\nValid-Until: Mon, 27 Jan 2020 15:17:18 +0...s\n 838f927a50b67edd63c1240bd6a2934ac5d9d2787557f5a5d84551e3c74be43d 855 main/source/Sources\n"
got: "Codename: unstable\nDate: Sat, 25 Jan 2020 15:17:18 +0000\nValid-Until: Mon, 27 Jan 2020 15:17:18 +0...s\n 838f927a50b67edd63c1240bd6a2934ac5d9d2787557f5a5d84551e3c74be43d 855 main/source/Sources\n"
(compared using ==)
Diff:
@@ -14,7 +14,7 @@
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 contrib/source/Sources
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 main/binary-all/Packages
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 main/debian-installer/binary-all/Packages
- b5d4eb822136dbbf009d5230d1ea45f910783c959f72ca8e4e0d46e546c3ec4b 998 main/binary-amd64/Packages
+ b5d4eb822136dbbf009d5230d1ea45f910783c959f72ca8e4e0d46e546c3ec4b 998 main/binary-amd64/Packages
050d6b6a2a9f04a21e7db86f70c4c1932e3969b5c33fc85583495693a05af44b 190 main/debian-installer/binary-amd64/Packages
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 main/binary-arm64/Packages
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 0 main/debian-installer/binary-arm64/Packages
# ./spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb:10:in `block in check_release_files'
# ./app/uploaders/object_storage.rb:457:in `unsafe_use_file'
# ./app/uploaders/object_storage.rb:231:in `block in use_file'
# ./app/uploaders/object_storage.rb:415:in `with_exclusive_lease'
# ./app/uploaders/object_storage.rb:230:in `use_file'
# ./spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb:9:in `check_release_files'
# ./spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb:210:in `block (4 levels) in <main>'
# ./spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb:60:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:511:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:503:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:499:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:499:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
1.2) Failure/Error: expect(File.read(file_path)).to start_with("-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA512\n\n#{expected_release_content}-----BEGIN PGP SIGNATURE-----\n")
expected "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA512\n\nCodename: unstable\nDate: Sat, 25 Jan 2020 15:17...v7d0+Sz\nM5nR+Nrzz1JEnOmNgl79Y3wWnA1/Wr5ju7civEhu9RubKSfrdgY=\n=/GU+\n-----END PGP SIGNATURE-----\n" to start with "-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA512\n\nCodename: unstable\nDate: Sat, 25 Jan 2020 15:17...2934ac5d9d2787557f5a5d84551e3c74be43d 855 main/source/Sources\n-----BEGIN PGP SIGNATURE-----\n"
# ./spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb:17:in `block in check_release_files'
# ./app/uploaders/object_storage.rb:457:in `unsafe_use_file'
# ./app/uploaders/object_storage.rb:231:in `block in use_file'
# ./app/uploaders/object_storage.rb:415:in `with_exclusive_lease'
# ./app/uploaders/object_storage.rb:230:in `use_file'
# ./spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb:16:in `check_release_files'
# ./spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb:210:in `block (4 levels) in <main>'
# ./spec/support/shared_examples/services/packages/debian/generate_distribution_shared_examples.rb:60:in `block (3 levels) in <main>'
# ./spec/spec_helper.rb:511:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:18:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:503:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:499:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:59:in `with_raw_context'
# ./spec/spec_helper.rb:499:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:239:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <main>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:62:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:108:in `block (2 levels) in <main>'
Finished in 21.22 seconds (files took 45.24 seconds to load)
1 example, 1 failure
Failed examples:
rspec './spec/services/packages/debian/generate_distribution_service_spec.rb[1:1:1:1:1:1]' # Packages::Debian::GenerateDistributionService#execute for project behaves like Generate Debian Distribution and component files with Debian components and architectures generates Debian distribution and component files
Steps to reproduce
Please refer to Flaky tests documentation to learn more about how to reproduce them.
Proposed Resolution
Please refer to the Resolution guidance to learn more about resolution of broken master.
Once the flaky failure has been fixed on the default branch, open merge requests to cherry-pick the fix to the active stable branches.