Skip to content

Broken master: uninitialized constant Events::RepositoryUpdatedEvent

Failures:

  1) Gitlab::Geo::LogCursor::Daemon#run_once! when node has namespace restrictions replays events for projects that belong to selected namespaces to replicate
     Failure/Error: daemon.run_once!

     NameError:
       uninitialized constant Events::RepositoryUpdatedEvent
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `const_get'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `event_klass_for'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:79:in `process_event'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:75:in `handle_single_event'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:56:in `block in handle_events'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:53:in `each'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:53:in `handle_events'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:42:in `block (2 levels) in run_once!'
     # ./ee/lib/gitlab/geo/log_cursor/event_logs.rb:14:in `block in fetch_in_batches'
     # ./ee/lib/gitlab/geo/log_cursor/event_logs.rb:13:in `fetch_in_batches'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:42:in `block in run_once!'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:41:in `run_once!'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:120:in `block (4 levels) in <top (required)>'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:15:in `block (3 levels) in <top (required)>'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:15:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:237:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # NameError:
     #   uninitialized constant Events::RepositoryUpdatedEvent
     #   ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `const_get'

  2) Gitlab::Geo::LogCursor::Daemon#run_once! when node has namespace restrictions detects when an event was skipped
     Failure/Error: daemon.run_once!

     NameError:
       uninitialized constant Events::RepositoryUpdatedEvent
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `const_get'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `event_klass_for'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:79:in `process_event'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:75:in `handle_single_event'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:56:in `block in handle_events'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:53:in `each'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:53:in `handle_events'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:42:in `block (2 levels) in run_once!'
     # ./ee/lib/gitlab/geo/log_cursor/event_logs.rb:14:in `block in fetch_in_batches'
     # ./ee/lib/gitlab/geo/log_cursor/event_logs.rb:13:in `fetch_in_batches'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:42:in `block in run_once!'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:41:in `run_once!'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:135:in `block (4 levels) in <top (required)>'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:15:in `block (3 levels) in <top (required)>'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:15:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:237:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # NameError:
     #   uninitialized constant Events::RepositoryUpdatedEvent
     #   ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `const_get'

  3) Gitlab::Geo::LogCursor::Daemon#run_once! when node has namespace restrictions detects when an event was skipped between batches
     Failure/Error: daemon.run_once!

     NameError:
       uninitialized constant Events::RepositoryUpdatedEvent
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `const_get'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `event_klass_for'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:79:in `process_event'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:75:in `handle_single_event'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:56:in `block in handle_events'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:53:in `each'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:53:in `handle_events'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:42:in `block (2 levels) in run_once!'
     # ./ee/lib/gitlab/geo/log_cursor/event_logs.rb:14:in `block in fetch_in_batches'
     # ./ee/lib/gitlab/geo/log_cursor/event_logs.rb:13:in `fetch_in_batches'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:42:in `block in run_once!'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:41:in `run_once!'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:148:in `block (4 levels) in <top (required)>'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:15:in `block (3 levels) in <top (required)>'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:15:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:237:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # NameError:
     #   uninitialized constant Events::RepositoryUpdatedEvent
     #   ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `const_get'

  4) Gitlab::Geo::LogCursor::Daemon#run_once! when node has namespace restrictions logs a message if an associated event can't be found
     Failure/Error: daemon.run_once!

     NameError:
       uninitialized constant Events::RepositoryUpdatedEvent
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `const_get'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `event_klass_for'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:79:in `process_event'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:75:in `handle_single_event'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:56:in `block in handle_events'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:53:in `each'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:53:in `handle_events'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:42:in `block (2 levels) in run_once!'
     # ./ee/lib/gitlab/geo/log_cursor/event_logs.rb:14:in `block in fetch_in_batches'
     # ./ee/lib/gitlab/geo/log_cursor/event_logs.rb:13:in `fetch_in_batches'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:42:in `block in run_once!'
     # ./ee/lib/gitlab/geo/log_cursor/daemon.rb:41:in `run_once!'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:169:in `block (4 levels) in <top (required)>'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:15:in `block (3 levels) in <top (required)>'
     # ./ee/spec/lib/gitlab/geo/log_cursor/daemon_spec.rb:15:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:237:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:180:in `block (2 levels) in <top (required)>'
     # ------------------
     # --- Caused by: ---
     # NameError:
     #   uninitialized constant Events::RepositoryUpdatedEvent
     #   ./ee/lib/gitlab/geo/log_cursor/daemon.rb:88:in `const_get'

https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/142211363