db:seed_fu failure - NoMethodError: undefined method `pipelines' for #<Vulnerabilities::Finding:0x000055e20d869620>
When attempting to run a gdk install
as part of a CI job - https://gitlab.com/gitlab-org/gitlab-development-kit/-/jobs/1741905583 - we see the following error:
--snip--
NoMethodError: undefined method `pipelines' for #<Vulnerabilities::Finding:0x000055e20d869620>
Did you mean? pipeline_branch
(eval):22:in `block in seed!'
(eval):17:in `times'
(eval):17:in `seed!'
(eval):180:in `block (4 levels) in run_file'
(eval):178:in `each'
(eval):178:in `block (3 levels) in run_file'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/seeder.rb:80:in `block (2 levels) in quiet'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/seeder.rb:108:in `without_new_note_notifications'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/seeder.rb:79:in `block in quiet'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/seeder.rb:116:in `without_statement_timeout'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/seeder.rb:78:in `quiet'
(eval):177:in `block (2 levels) in run_file'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:119:in `block in write_using_load_balancer'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:109:in `block in read_write'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:169:in `retry_with_backoff'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:107:in `read_write'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:118:in `write_using_load_balancer'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:70:in `transaction'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/database.rb:271:in `block in transaction'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/gitlab/database.rb:270:in `transaction'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/tasks/gitlab/setup.rake:36:in `setup_db'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/tasks/gitlab/setup.rake:7:in `block (2 levels) in <main>'
/builds/gitlab-org/gitlab-development-kit/gdk/gitlab/lib/tasks/dev.rake:9:in `block (2 levels) in <main>'
/home/gdk/.asdf/installs/ruby/2.7.4/bin/bundle:23:in `load'
/home/gdk/.asdf/installs/ruby/2.7.4/bin/bundle:23:in `<main>'
Tasks: TOP => db:seed_fu
(See full trace by running task with --trace)
support/bootstrap-rails failed
make: *** [support/makefiles/Makefile.postgresql.mk:9: postgresql-seed-rails] Error 1
ERROR: Failed to install.