Permanent failure in spec/lib/gitlab/import_export/attribute_configuration_spec.rb likely dependent on run order
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/31756382
master
is currently failing with this:
Failures:
1) Import/Export attribute configuration has no new columns
Failure/Error: relation_attributes = relation_class.new.attributes.keys
ActiveModel::MissingAttributeError:
can't write unknown attribute `theme_id`
# ./spec/lib/gitlab/import_export/attribute_configuration_spec.rb:29:in `block (3 levels) in <top (required)>'
# ./spec/lib/gitlab/import_export/attribute_configuration_spec.rb:27:in `each'
# ./spec/lib/gitlab/import_export/attribute_configuration_spec.rb:27:in `block (2 levels) in <top (required)>'
Finished in 16 minutes 28 seconds (files took 26.22 seconds to load)
1548 examples, 1 failure, 11 pending
Failed examples:
rspec ./spec/lib/gitlab/import_export/attribute_configuration_spec.rb:26 # Import/Export attribute configuration has no new columns
It passes locally so it's likely dependent on run order. Unfortunately this particular file is deep in the list:
spec/services/system_note_service_spec.rb
spec/requests/api/merge_requests_spec.rb
spec/features/issues/filtered_search/dropdown_emoji_spec.rb
spec/models/project_spec.rb
spec/features/projects/blobs/blob_show_spec.rb
spec/features/task_lists_spec.rb
spec/features/projects/branches_spec.rb
spec/features/merge_requests/user_lists_merge_requests_spec.rb
spec/features/calendar_spec.rb
spec/features/users_spec.rb
spec/models/concerns/resolvable_note_spec.rb
spec/features/groups/merge_requests_spec.rb
spec/services/groups/destroy_service_spec.rb
spec/requests/api/group_milestones_spec.rb
spec/features/projects/commits/rss_spec.rb
spec/controllers/projects/tree_controller_spec.rb
spec/controllers/projects/discussions_controller_spec.rb
spec/models/project_services/microsoft_teams_service_spec.rb
spec/services/test_hooks/project_service_spec.rb
spec/models/milestone_spec.rb
spec/controllers/sessions_controller_spec.rb
spec/features/tags/master_deletes_tag_spec.rb
spec/features/users/snippets_spec.rb
spec/serializers/build_details_entity_spec.rb
spec/services/merge_requests/get_urls_service_spec.rb
spec/features/projects/files/edit_file_soft_wrap_spec.rb
spec/features/groups/empty_states_spec.rb
spec/lib/gitlab/git/storage/circuit_breaker_spec.rb
spec/features/reportable_note/snippets_spec.rb
spec/controllers/sent_notifications_controller_spec.rb
spec/controllers/projects/uploads_controller_spec.rb
spec/controllers/application_controller_spec.rb
spec/services/discussions/resolve_service_spec.rb
spec/controllers/import/gitlab_controller_spec.rb
spec/services/merge_requests/resolved_discussion_notification_service_spec.rb
spec/lib/gitlab/slash_commands/command_spec.rb
spec/lib/gitlab/ci/status/build/play_spec.rb
spec/services/projects/create_service_spec.rb
spec/lib/gitlab/diff/line_mapper_spec.rb
spec/lib/gitlab/ci/status/build/retryable_spec.rb
spec/controllers/profiles/accounts_controller_spec.rb
spec/features/groups/members/manage_access_requests_spec.rb
spec/workers/prune_old_events_worker_spec.rb
spec/migrations/convert_custom_notification_settings_to_columns_spec.rb
spec/features/admin/admin_hook_logs_spec.rb
spec/services/projects/propagate_service_template_spec.rb
spec/services/members/create_service_spec.rb
spec/workers/project_cache_worker_spec.rb
spec/models/route_spec.rb
spec/helpers/todos_helper_spec.rb
spec/features/dashboard/issuables_counter_spec.rb
spec/migrations/move_personal_snippets_files_spec.rb
spec/models/label_spec.rb
spec/features/projects/files/files_sort_submodules_with_folders_spec.rb
spec/views/projects/jobs/_build.html.haml_spec.rb
spec/views/projects/environments/terminal.html.haml_spec.rb
spec/features/users/projects_spec.rb
spec/lib/gitlab/group_hierarchy_spec.rb
spec/serializers/build_artifact_entity_spec.rb
spec/lib/gitlab/metrics/influx_sampler_spec.rb
spec/features/admin/admin_browse_spam_logs_spec.rb
spec/controllers/projects/settings/ci_cd_controller_spec.rb
spec/features/raven_js_spec.rb
spec/lib/gitlab/url_sanitizer_spec.rb
spec/lib/gitlab/cycle_analytics/test_event_fetcher_spec.rb
spec/lib/gitlab/popen_spec.rb
spec/services/notes/destroy_service_spec.rb
spec/policies/global_policy_spec.rb
spec/lib/gitlab/bitbucket_import/project_creator_spec.rb
spec/features/snippets/user_deletes_snippet_spec.rb
spec/lib/gitlab/import_export/attribute_configuration_spec.rb
So far I've only seen it on mysql so it might also be dependent on that. Fun times!
Edited by Robert Speicher