[Bug 283971] www/gitlab

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Jan 2025 07:24:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283971

            Bug ID: 283971
           Summary: www/gitlab
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mfechner@FreeBSD.org
          Reporter: admin@asu-vei.ru
             Flags: maintainer-feedback?(mfechner@FreeBSD.org)
          Assignee: mfechner@FreeBSD.org

Hi!

database migration could not be completed, log below:

main: == [advisory_lock_connection] object_id: 48560, pg_backend_pid: 19612
main: == 20241017160505 RegenerateCiJobTokenSigningKey: migrating
===================
main: == [advisory_lock_connection] object_id: 48560, pg_backend_pid: 19612
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
(StandardError)

/usr/local/www/gitlab/vendor/gems/attr_encrypted/lib/attr_encrypted.rb:244:in
`attr_decrypt'
/usr/local/www/gitlab/vendor/gems/attr_encrypted/lib/attr_encrypted.rb:333:in
`attr_decrypt'
/usr/local/www/gitlab/vendor/gems/attr_encrypted/lib/attr_encrypted.rb:163:in
`block (2 levels) in attr_encrypted'
/usr/local/www/gitlab/db/migrate/20241017160505_regenerate_ci_job_token_signing_key.rb:23:in
`block in up'
/usr/local/www/gitlab/db/migrate/20241017160505_regenerate_ci_job_token_signing_key.rb:22:in
`up'
/usr/local/www/gitlab/lib/gitlab/database/migration_helpers/restrict_gitlab_schema.rb:33:in
`block in exec_migration'
/usr/local/www/gitlab/lib/gitlab/database/query_analyzer.rb:83:in `within'
/usr/local/www/gitlab/lib/gitlab/database/migration_helpers/restrict_gitlab_schema.rb:30:in
`exec_migration'
/usr/local/www/gitlab/lib/gitlab/database/migration_helpers/automatic_lock_writes_on_tables.rb:21:in
`exec_migration'
/usr/local/www/gitlab/lib/gitlab/database/with_lock_retries.rb:123:in
`run_block'
/usr/local/www/gitlab/lib/gitlab/database/with_lock_retries.rb:134:in `block in
run_block_with_lock_timeout'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:127:in
`public_send'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:127:in
`block in write_using_load_balancer'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:141:in
`block in read_write'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:228:in
`retry_with_backoff'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:130:in
`read_write'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:126:in
`write_using_load_balancer'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:78:in
`transaction'
/usr/local/www/gitlab/lib/gitlab/database/with_lock_retries.rb:129:in
`run_block_with_lock_timeout'
/usr/local/www/gitlab/lib/gitlab/database/with_lock_retries.rb:97:in `run'
/usr/local/www/gitlab/lib/gitlab/database/migrations/lock_retry_mixin.rb:52:in
`ddl_transaction'
/usr/local/www/gitlab/lib/gitlab/database/migrations/runner_backoff/active_record_mixin.rb:21:in
`execute_migration_in_transaction'
/usr/local/www/gitlab/lib/gitlab/database/migrations/pg_backend_pid.rb:28:in
`block in with_advisory_lock_connection'
/usr/local/www/gitlab/lib/gitlab/database/migrations/pg_backend_pid.rb:25:in
`with_advisory_lock_connection'

Caused by:
OpenSSL::Cipher::CipherError: OpenSSL::Cipher::CipherError
/usr/local/www/gitlab/vendor/gems/attr_encrypted/lib/attr_encrypted.rb:244:in
`attr_decrypt'
/usr/local/www/gitlab/vendor/gems/attr_encrypted/lib/attr_encrypted.rb:333:in
`attr_decrypt'
/usr/local/www/gitlab/vendor/gems/attr_encrypted/lib/attr_encrypted.rb:163:in
`block (2 levels) in attr_encrypted'
/usr/local/www/gitlab/db/migrate/20241017160505_regenerate_ci_job_token_signing_key.rb:23:in
`block in up'
/usr/local/www/gitlab/db/migrate/20241017160505_regenerate_ci_job_token_signing_key.rb:22:in
`up'
/usr/local/www/gitlab/lib/gitlab/database/migration_helpers/restrict_gitlab_schema.rb:33:in
`block in exec_migration'
/usr/local/www/gitlab/lib/gitlab/database/query_analyzer.rb:83:in `within'
/usr/local/www/gitlab/lib/gitlab/database/migration_helpers/restrict_gitlab_schema.rb:30:in
`exec_migration'
/usr/local/www/gitlab/lib/gitlab/database/migration_helpers/automatic_lock_writes_on_tables.rb:21:in
`exec_migration'
/usr/local/www/gitlab/lib/gitlab/database/with_lock_retries.rb:123:in
`run_block'
/usr/local/www/gitlab/lib/gitlab/database/with_lock_retries.rb:134:in `block in
run_block_with_lock_timeout'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:127:in
`public_send'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:127:in
`block in write_using_load_balancer'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:141:in
`block in read_write'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:228:in
`retry_with_backoff'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/load_balancer.rb:130:in
`read_write'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:126:in
`write_using_load_balancer'
/usr/local/www/gitlab/lib/gitlab/database/load_balancing/connection_proxy.rb:78:in
`transaction'
/usr/local/www/gitlab/lib/gitlab/database/with_lock_retries.rb:129:in
`run_block_with_lock_timeout'
/usr/local/www/gitlab/lib/gitlab/database/with_lock_retries.rb:97:in `run'
/usr/local/www/gitlab/lib/gitlab/database/migrations/lock_retry_mixin.rb:52:in
`ddl_transaction'
/usr/local/www/gitlab/lib/gitlab/database/migrations/runner_backoff/active_record_mixin.rb:21:in
`execute_migration_in_transaction'
/usr/local/www/gitlab/lib/gitlab/database/migrations/pg_backend_pid.rb:28:in
`block in with_advisory_lock_connection'
/usr/local/www/gitlab/lib/gitlab/database/migrations/pg_backend_pid.rb:25:in
`with_advisory_lock_connection'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)

Thank you!

-- 
You are receiving this mail because:
You are the assignee for the bug.