Broken master - Job Failed #2665317422
Job #2665317422 failed for 5d71a75e:
Knapsack global time execution for tests: 36m 54s
Pending: (Failures listed here are expected and do not affect your suite's status)
1) Epic show Epic metadata Sort dropdown when sorted by `Oldest first` shows comments in the correct order
# around hook at ./spec/support/flaky_tests.rb:21 did not execute the example
# ./ee/spec/features/epics/epic_show_spec.rb:198
2) Project Custom instance-level projects templates when feature custom_project_templates is enabled has a working pagination
# around hook at ./spec/support/flaky_tests.rb:21 did not execute the example
# ./ee/spec/features/projects/custom_projects_template_spec.rb:105
3) User approves a merge request when a merge request is approved additionally shows multiple approvers beyond the needed count
# Temporarily skipped with xit
# ./ee/spec/features/projects/merge_requests/user_approves_merge_request_spec.rb:40
4) Account recovery regular check callout when signed in when user has two-factor authentication enabled hides callout on next session if user dismissed it
# around hook at ./spec/support/flaky_tests.rb:21 did not execute the example
# ./ee/spec/features/account_recovery_regular_check_spec.rb:89
Failures:
1) CI minutes renders two dropdowns of available analytics for project charts
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page.all('[data-testid="minutes-usage-project-month-dropdown-item"]').size).to eq 2
expected: 2
got: 3
(compared using ==)
# ./ee/spec/features/ci/ci_minutes_spec.rb:36:in `block (3 levels) in <top (required)>'
# ./ee/spec/features/ci/ci_minutes_spec.rb:35:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:52:in `with_raw_context'
# ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
# ./spec/support/capybara.rb:200:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:52:in `with_raw_context'
# ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:261:in `block (2 levels) in <top (required)>'
# ./spec/support/system_exit_detected.rb:7:in `block (2 levels) in <top (required)>'
# ./spec/support/flaky_tests.rb:27:in `block (2 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (3 levels) in <top (required)>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <top (required)>'
Finished in 36 minutes 58 seconds (files took 1 minute 17.87 seconds to load)
509 examples, 1 failure, 4 pending
Failed examples:
rspec ./ee/spec/features/ci/ci_minutes_spec.rb:24 # CI minutes renders two dropdowns of available analytics for project charts
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
Failed to write to log, write log/workhorse-test.log: file already closed
RSpec exited with 1.
Retrying the failing examples in a new RSpec process...
$ gem install junit_merge --no-document --version 0.1.2
Successfully installed nokogiri-1.13.6-x86_64-linux
Successfully installed junit_merge-0.1.2
2 gems installed
==> 'gem install junit_merge --no-document --version 0.1.2' succeeded in 0 seconds.
Running RSpec command: bin/rspec -Ispec -rspec_helper --color --format documentation --format RspecJunitFormatter --out rspec/junit_rspec-retry.xml --only-failures --pattern "{ee/}spec/{features}{,/**/}*_spec.rb"
DEPRECATION WARNING: /builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/activerecord-6.1.4.7/lib/active_record/connection_adapters/postgresql_adapter.rb:78: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/builds/gitlab-org/gitlab/vendor/ruby/2.7.0/gems/pg-1.3.5/lib/pg.rb:68: warning: The called method `connect' is defined here
(called from new_client at /builds/gitlab-org/gitlab/config/initializers/00_connection_logger.rb:21)
Run options: include {:last_run_status=>"failed"}
Test environment set up in 1.080769558 seconds
CI minutes
Starting the Capybara driver server...
Capybara starting Puma...
* Version 5.6.2 , codename: Birdie's Version
* Min threads: 0, max threads: 4
* Listening on unix:///tmp/20220701-3413-3odolf
renders two dropdowns of available analytics for project charts (FAILED - 1)
1st Try error in ./ee/spec/features/ci/ci_minutes_spec.rb:24:
expected: 2
got: 3
(compared using ==)
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
RSpec::Retry: 2nd try ./ee/spec/features/ci/ci_minutes_spec.rb:24
2nd Try error in ./ee/spec/features/ci/ci_minutes_spec.rb:24:
expected: 2
got: 3
(compared using ==)
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
RSpec::Retry: 3rd try ./ee/spec/features/ci/ci_minutes_spec.rb:24
3rd Try error in ./ee/spec/features/ci/ci_minutes_spec.rb:24:
expected: 2
got: 3
(compared using ==)
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
RSpec::Retry: 4th try ./ee/spec/features/ci/ci_minutes_spec.rb:24
HTML screenshot: /builds/gitlab-org/gitlab/tmp/capybara/ci_minutes_renders_two_dropdowns_of_available_analytics_for_project_charts.html
Image screenshot: /tmp/capybara/ci_minutes_renders_two_dropdowns_of_available_analytics_for_project_charts.png
Failures:
1) CI minutes renders two dropdowns of available analytics for project charts
Got 1 failure and 1 other error:
1.1) Failure/Error: expect(page.all('[data-testid="minutes-usage-project-month-dropdown-item"]').size).to eq 2
expected: 2
got: 3
(compared using ==)
# ./ee/spec/features/ci/ci_minutes_spec.rb:36:in `block (3 levels) in <main>'
# ./ee/spec/features/ci/ci_minutes_spec.rb:35:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:52:in `with_raw_context'
# ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:261: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:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
1.2) Failure/Error: raise JSConsoleError, message
JSConsoleError:
Unexpected browser console output:
security - Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.
# ./spec/support/capybara.rb:200:in `block (2 levels) in <main>'
# ./spec/spec_helper.rb:405:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:396:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:392:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:52:in `with_raw_context'
# ./spec/spec_helper.rb:392:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:261: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:106:in `block (3 levels) in <main>'
# ./spec/support/database/prevent_cross_joins.rb:60:in `with_cross_joins_prevented'
# ./spec/support/database/prevent_cross_joins.rb:106:in `block (2 levels) in <main>'
Finished in 26.5 seconds (files took 56.03 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./ee/spec/features/ci/ci_minutes_spec.rb:24 # CI minutes renders two dropdowns of available analytics for project charts
Failed to write to log, write log/workhorse-test.log: file already closed
Uploading artifacts for failed job 00:06
Uploading artifacts...
coverage/: found 4 matching files and directories
crystalball/: found 2 matching files and directories
deprecations/: found 9 matching files and directories
knapsack/: found 3 matching files and directories
rspec/: found 11 matching files and directories
tmp/capybara/: found 3 matching files and directories
log/*.log: found 19 matching files and directories
WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2665317422/artifacts?artifact_format=zip&artifact_type=archive&expire_in=31d new-url=https://gitlab.com
WARNING: Retrying... context=artifacts-uploader error=request redirected
Uploading artifacts as "archive" to coordinator... 201 Created id=2665317422 responseStatus=201 Created token=APExHoTW
Uploading artifacts...
rspec/junit_rspec.xml: found 1 matching files and directories
WARNING: Upload request redirected location=https://gitlab.com/api/v4/jobs/2665317422/artifacts?artifact_format=gzip&artifact_type=junit&expire_in=31d new-url=https://gitlab.com
WARNING: Retrying... context=artifacts-uploader error=request redirected
Uploading artifacts as "junit" to coordinator... 201 Created id=2665317422 responseStatus=201 Created token=APExHoTW
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: exit code 1
Edited by Ezekiel Kigbo