Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fails since rails/rails#41577 #2152

Closed
yahonda opened this issue Mar 16, 2021 · 1 comment · Fixed by #2157
Closed

CI fails since rails/rails#41577 #2152

yahonda opened this issue Mar 16, 2021 · 1 comment · Fixed by #2157

Comments

@yahonda
Copy link
Collaborator

yahonda commented Mar 16, 2021

Investigated CI failure at #2151 and found this failure is triggered by rails/rails#41577

Steps to reproduce

$ bundle install
$ bundle exec rspec ./spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb:234

Expected behavior

It should pass.

Actual behavior

It always fails as follows.

$ ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
$ bundle install
Using rake 13.0.3
Using concurrent-ruby 1.1.8
Using i18n 1.8.9
Using minitest 5.14.4
Using tzinfo 2.0.4
Using zeitwerk 2.4.2
Using activesupport 7.0.0.alpha from https://github.com/rails/rails.git (at /home/yahonda/src/github.com/rails/rails@1baa068)
Using activemodel 7.0.0.alpha from https://github.com/rails/rails.git (at /home/yahonda/src/github.com/rails/rails@1baa068)
Using activerecord 7.0.0.alpha from https://github.com/rails/rails.git (at /home/yahonda/src/github.com/rails/rails@1baa068)
Using ast 2.4.2
Using bundler 2.2.5
Using byebug 11.1.3
Using diff-lcs 1.4.4
Using parallel 1.20.1
Using parser 3.0.0.0
Using rack 2.2.3
Using rainbow 3.0.0
Using rdoc 6.3.0
Using regexp_parser 2.1.1
Using rexml 3.2.4
Using rspec-support 3.10.2
Using rspec-core 3.10.1
Using rspec-expectations 3.10.1
Using rspec-mocks 3.10.2
Using rspec 3.10.0
Using rubocop-ast 1.4.1
Using ruby-progressbar 1.11.0
Using unicode-display_width 2.0.0
Using rubocop 1.11.0
Using rubocop-performance 1.10.1
Using rubocop-rails 2.9.1
Using ruby-oci8 2.2.9 from https://github.com/kubo/ruby-oci8.git
Using ruby-plsql 0.7.1 from https://github.com/rsim/ruby-plsql.git (at master@950d13f)
Bundle complete! 12 Gemfile dependencies, 33 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
yahonda@myryzen:~/src/github.com/rsim/oracle-enhanced$ bundle exec rspec ./spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb:234
==> Loading config from ENV or use default
==> Running specs with ruby version 3.0.0
==> Effective ActiveRecord version 7.0.0.alpha
Run options: include {:locations=>{"./spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb"=>[234]}}
F
An error occurred in an `after(:context)` hook.
Failure/Error: Object.send(:remove_const, "Post")

NameError:
  constant Object::Post not defined
# ./spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb:230:in `remove_const'
# ./spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb:230:in `block (3 levels) in <top (required)>'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:381:in `instance_exec'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:381:in `run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:480:in `run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:591:in `block in run_after_context_hooks'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb:186:in `block in isolate_for_context_hook'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb:182:in `instance_exec'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb:182:in `isolate_for_context_hook'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:590:in `run_after_context_hooks'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:617:in `run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/exe/rspec:4:in `<top (required)>'
# /home/yahonda/.rbenv/versions/3.0.0/bin/rspec:23:in `load'
# /home/yahonda/.rbenv/versions/3.0.0/bin/rspec:23:in `<top (required)>'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli/exec.rb:63:in `load'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli/exec.rb:63:in `kernel_load'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli/exec.rb:28:in `run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli.rb:494:in `exec'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli.rb:30:in `dispatch'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli.rb:24:in `start'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/exe/bundle:49:in `block in <top (required)>'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
# /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/exe/bundle:37:in `<top (required)>'
# /home/yahonda/.rbenv/versions/3.0.0/bin/bundle:23:in `load'
# /home/yahonda/.rbenv/versions/3.0.0/bin/bundle:23:in `<main>'


Failures:

  1) OracleEnhancedConnection default_timezone should respect default_timezone = :utc than time_zone setting
     Failure/Error: @raw_cursor.bind_param(position, value)

     ActiveRecord::StatementInvalid:
       OCIError: ORA-01036: illegal variable name/number
     # stmt.c:218:in oci8lib_300.so
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/bundler/gems/ruby-oci8-d7426d763dd0/lib/oci8/cursor.rb:105:in `bind_param'
     # ./lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:137:in `bind_param'
     # ./lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:120:in `block in bind_params'
     # ./lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:116:in `each'
     # ./lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:116:in `bind_params'
     # ./lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:37:in `block (2 levels) in exec_query'
     # ./lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:279:in `block in with_retry'
     # ./lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:433:in `with_retry'
     # ./lib/active_record/connection_adapters/oracle_enhanced/oci_connection.rb:101:in `with_retry'
     # ./lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:278:in `with_retry'
     # ./lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:27:in `block in exec_query'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:712:in `block (2 levels) in log'
     # /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
     # /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
     # /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
     # /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
     # /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:711:in `block in log'
     # /home/yahonda/src/github.com/rails/rails/activesupport/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb:702:in `log'
     # ./lib/active_record/connection_adapters/oracle_enhanced/dbms_output.rb:35:in `log'
     # ./lib/active_record/connection_adapters/oracle_enhanced/database_statements.rb:24:in `exec_query'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:547:in `select'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `select_all'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:110:in `select_all'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/querying.rb:51:in `_query_by_sql'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:927:in `block in exec_main_query'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:949:in `skip_query_cache_if_necessary'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:913:in `exec_main_query'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:899:in `block in exec_queries'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:949:in `skip_query_cache_if_necessary'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:893:in `exec_queries'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:687:in `load'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:254:in `records'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation/finder_methods.rb:533:in `find_take'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation/finder_methods.rb:98:in `take'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation/finder_methods.rb:81:in `find_by'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/relation.rb:231:in `find_or_initialize_by'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/querying.rb:22:in `find_or_initialize_by'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/internal_metadata.rb:29:in `[]='
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/schema.rb:58:in `define'
     # /home/yahonda/src/github.com/rails/rails/activerecord/lib/active_record/schema.rb:46:in `define'
     # ./spec/spec_helper.rb:112:in `schema_define'
     # ./spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb:220:in `block (3 levels) in <top (required)>'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `instance_exec'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:365:in `run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `each'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/hooks.rb:480:in `run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:553:in `block in run_before_context_hooks'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb:186:in `block in isolate_for_context_hook'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb:182:in `instance_exec'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/memoized_helpers.rb:182:in `isolate_for_context_hook'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:552:in `run_before_context_hooks'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:605:in `run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `block in run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `map'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/example_group.rb:607:in `run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `map'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2067:in `with_suite_hooks'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:116:in `block in run_specs'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/reporter.rb:74:in `report'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:115:in `run_specs'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:89:in `run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in `run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in `invoke'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/rspec-core-3.10.1/exe/rspec:4:in `<top (required)>'
     # /home/yahonda/.rbenv/versions/3.0.0/bin/rspec:23:in `load'
     # /home/yahonda/.rbenv/versions/3.0.0/bin/rspec:23:in `<top (required)>'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli/exec.rb:63:in `load'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli/exec.rb:63:in `kernel_load'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli/exec.rb:28:in `run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli.rb:494:in `exec'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli.rb:30:in `dispatch'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/cli.rb:24:in `start'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/exe/bundle:49:in `block in <top (required)>'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
     # /home/yahonda/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-2.2.5/exe/bundle:37:in `<top (required)>'
     # /home/yahonda/.rbenv/versions/3.0.0/bin/bundle:23:in `load'
     # /home/yahonda/.rbenv/versions/3.0.0/bin/bundle:23:in `<main>'
     # ------------------
     # --- Caused by: ---
     # OCIError:
     #   ORA-01036: illegal variable name/number
     #   stmt.c:218:in oci8lib_300.so

Finished in 0.59873 seconds (files took 0.38567 seconds to load)
1 example, 1 failure, 1 error occurred outside of examples

Failed examples:

rspec ./spec/active_record/connection_adapters/oracle_enhanced/connection_spec.rb:234 # OracleEnhancedConnection default_timezone should respect default_timezone = :utc than time_zone setting

$

System configuration

Rails version:master branch

Oracle enhanced adapter version:master branch

Ruby version:ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]

Oracle Database version:Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

@yahonda
Copy link
Collaborator Author

yahonda commented Mar 16, 2021

rails/rails#39219 may be related also.

koic added a commit to koic/oracle-enhanced that referenced this issue Mar 25, 2021
koic added a commit to koic/oracle-enhanced that referenced this issue Mar 25, 2021
Resolves rsim#2152 and
follow rails/rails#41577.

The tests that fail below have not yet been resolved.
rails/rails@6ee96a8.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant