Broken master in spec/scripts/trigger-build_spec.rb:274 # Trigger Trigger::Omnibus#variables invokes the trigger with expected variables
Job #2361524312 failed for c088aa12:
1) Trigger Trigger::Omnibus#variables invokes the trigger with expected variables
Failure/Error:
expect(subject.variables).to include(
'QA_IMAGE' => env['QA_IMAGE'],
'SKIP_QA_DOCKER' => 'true',
'ALTERNATIVE_SOURCES' => 'true',
'CACHE_UPDATE' => env['OMNIBUS_GITLAB_CACHE_UPDATE'],
'GITLAB_QA_OPTIONS' => env['GITLAB_QA_OPTIONS'],
'QA_TESTS' => env['QA_TESTS'],
'ALLURE_JOB_NAME' => env['ALLURE_JOB_NAME']
)
expected {"ALLURE_JOB_NAME" => nil, "ALTERNATIVE_SOURCES" => "true", "CACHE_UPDATE" => "true", "GITALY_SERVER_VERSIO..."ci_commit_sha", "TRIGGERED_USER" => "gitlab_user_name", "TRIGGER_SOURCE" => "ci_job_url", "ee" => "true"} to include {"CACHE_UPDATE" => nil}
Diff:
@@ -1,8 +1,28 @@
"ALLURE_JOB_NAME" => nil,
"ALTERNATIVE_SOURCES" => "true",
-"CACHE_UPDATE" => nil,
+"CACHE_UPDATE" => "true",
+"GITALY_SERVER_VERSION" => "53768dae0bc6395d2b80438286723a912aa50921",
+"GITLAB_ELASTICSEARCH_INDEXER_VERSION" => "2.17.0",
+"GITLAB_KAS_VERSION" => "14.10.0",
+"GITLAB_PAGES_VERSION" => "1.57.0",
"GITLAB_QA_OPTIONS" => nil,
+"GITLAB_REF_SLUG" => "ci_commit_ref_slug",
+"GITLAB_SHELL_VERSION" => "13.25.1",
+"GITLAB_VERSION" => "ci_commit_sha",
+"GITLAB_WORKHORSE_VERSION" => "14.11.0-pre",
+"IMAGE_TAG" => "ci_commit_sha",
+"QA_BRANCH" => "master",
"QA_IMAGE" => "qa_image",
"QA_TESTS" => nil,
+"SECURITY_SOURCES" => "false",
"SKIP_QA_DOCKER" => "true",
+"TOP_UPSTREAM_MERGE_REQUEST_IID" => "ci_merge_request_iid",
+"TOP_UPSTREAM_MERGE_REQUEST_PROJECT_ID" => "ci_merge_request_project_id",
+"TOP_UPSTREAM_SOURCE_JOB" => "ci_job_url",
+"TOP_UPSTREAM_SOURCE_PROJECT" => "ci_project_path",
+"TOP_UPSTREAM_SOURCE_REF" => "ci_commit_ref_name",
+"TOP_UPSTREAM_SOURCE_SHA" => "ci_commit_sha",
+"TRIGGERED_USER" => "gitlab_user_name",
+"TRIGGER_SOURCE" => "ci_job_url",
+"ee" => "true",
# ./spec/scripts/trigger-build_spec.rb:275:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:423:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:414:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:410:in `block (3 levels) in <top (required)>'
# ./lib/gitlab/application_context.rb:48:in `with_raw_context'
# ./spec/spec_helper.rb:410:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:268: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 5.3 seconds (files took 1 minute 22.06 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/scripts/trigger-build_spec.rb:274 # Trigger Trigger::Omnibus#variables invokes the trigger with expected variables