CI YAML Process Spec failure: Job Failed #442973079
rspec ./spec/lib/gitlab/ci/yaml_processor_spec.rb:91 # Gitlab::Ci::YamlProcessor#build_attributes tags entry with default values applies default values
https://gitlab.com/gitlab-org/gitlab/-/jobs/442973079#L5177
1) Gitlab::Ci::YamlProcessor#build_attributes tags entry with default values applies default values
Failure/Error:
expect(config_processor.stage_builds_attributes("test").first).to eq({
stage: "test",
stage_idx: 2,
name: "rspec",
only: { refs: %w[branches tags] },
options: { script: ["rspec"] },
tag_list: %w[A B],
allow_failure: false,
when: "on_success",
yaml_variables: []
expected: {:allow_failure=>false, :name=>"rspec", :only=>{:refs=>["branches", "tags"]}, :options=>{:script=>["r..."]}, :stage=>"test", :stage_idx=>2, :tag_list=>["A", "B"], :when=>"on_success", :yaml_variables=>[]}
got: {:allow_failure=>false, :name=>"rspec", :only=>{:refs=>["branches", "tags"]}, :options=>{:script=>["r...age, :stage=>"test", :stage_idx=>2, :tag_list=>["A", "B"], :when=>"on_success", :yaml_variables=>[]}
Job #442973079 failed for e8f51a55: