Skip to content

Fix CpuMem metrics on Alpine#1057

Merged
mikker merged 3 commits intoelastic:masterfrom
mikker:fix-metrics-alpine
Aug 16, 2021
Merged

Fix CpuMem metrics on Alpine#1057
mikker merged 3 commits intoelastic:masterfrom
mikker:fix-metrics-alpine

Conversation

@mikker
Copy link
Contributor

@mikker mikker commented Aug 14, 2021

Fixes #1055

Alpine reports as linux-musl:

$ docker run --rm ruby ruby -e "puts Gem::Platform.local.os; puts RbConfig::CONFIG.fetch('host_os')"
linux
linux
$ docker run --rm jruby ruby -e "puts Gem::Platform.local.os; puts RbConfig::CONFIG.fetch('host_os')"
java
linux
$ docker run --rm ruby:alpine ruby -e "puts Gem::Platform.local.os; puts RbConfig::CONFIG.fetch('host_os')"
linux
linux-musl
@mikker mikker self-assigned this Aug 14, 2021
@ghost
Copy link

ghost commented Aug 14, 2021

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-08-16T06:15:33.879+0000

  • Duration: 27 min 31 sec

  • Commit: 9927595

Test stats 🧪

Test Results
Failed 9
Passed 46222
Skipped 81
Total 46312

Trends 🧪

Image of Build Times

Image of Tests

Test errors 9

Expand to view the tests failures

Tests / Master Tests frameworks / Ruby:ruby:2.7#rails-main / GraphQL a query with an Operation Name adds spans and renames transaction – a query with an Operation Name
    Expand to view the error details

     failed GraphQL a query with an Operation Name adds spans and renames transaction 
    

    Expand to view the stacktrace

     
            undefined method `active_record' for #<Rails::Application::Configuration:0x000055bca6234638>
    ["/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie/configuration.rb:96:in `method_missing'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:97:in `block (2 levels) in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:96:in `block in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `instance_exec'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `run'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:61:in `block in run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:60:in `run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/application.rb:369:in `initialize!'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `public_send'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `method_missing'", "./spec/integration/graphql_spec.rb:162:in `block (2 levels) in <top (required)>'"]
           
    

Tests / Master Tests frameworks / Ruby:ruby:2.7#rails-main / GraphQL with an unnamed query renames to [unnamed] – with an unnamed query
    Expand to view the error details

     failed GraphQL with an unnamed query renames to [unnamed] 
    

    Expand to view the stacktrace

     
            undefined method `active_record' for #<Rails::Application::Configuration:0x000055bca6234638>
    ["/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie/configuration.rb:96:in `method_missing'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:97:in `block (2 levels) in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:96:in `block in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `instance_exec'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `run'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:61:in `block in run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:60:in `run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/application.rb:369:in `initialize!'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `public_send'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `method_missing'", "./spec/integration/graphql_spec.rb:162:in `block (2 levels) in <top (required)>'"]
           
    

Tests / Master Tests frameworks / Ruby:ruby:2.7#rails-main / GraphQL with multiple queries renames and concattenates – with multiple queries
    Expand to view the error details

     failed GraphQL with multiple queries renames and concattenates 
    

    Expand to view the stacktrace

     
            undefined method `active_record' for #<Rails::Application::Configuration:0x000055bca6234638>
    ["/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie/configuration.rb:96:in `method_missing'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:97:in `block (2 levels) in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:96:in `block in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `instance_exec'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `run'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:61:in `block in run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:60:in `run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/application.rb:369:in `initialize!'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `public_send'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `method_missing'", "./spec/integration/graphql_spec.rb:162:in `block (2 levels) in <top (required)>'"]
           
    

Tests / Master Tests frameworks / Ruby:ruby:2.7#rails-main / GraphQL with too many queries to list renames and concattenates – with too many queries to list
    Expand to view the error details

     failed GraphQL with too many queries to list renames and concattenates 
    

    Expand to view the stacktrace

     
            undefined method `active_record' for #<Rails::Application::Configuration:0x000055bca6234638>
    ["/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie/configuration.rb:96:in `method_missing'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:97:in `block (2 levels) in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:96:in `block in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `instance_exec'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `run'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:61:in `block in run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:60:in `run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/application.rb:369:in `initialize!'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `public_send'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `method_missing'", "./spec/integration/graphql_spec.rb:162:in `block (2 levels) in <top (required)>'"]
           
    

Tests / Master Tests frameworks / Ruby:ruby:3.0#rails-main / GraphQL a query with an Operation Name adds spans and renames transaction – a query with an Operation Name
    Expand to view the error details

     failed GraphQL a query with an Operation Name adds spans and renames transaction 
    

    Expand to view the stacktrace

     
            undefined method `active_record' for #<Rails::Application::Configuration:0x0000564cd19034a8 @root=#<Pathname:/app>, @generators=#<Rails::Configuration::Generators:0x0000564cd0a3ad18 @aliases={}, @options={}, @fallbacks={}, @templates=[], @colorize_logging=true, @api_only=false, @hidden_namespaces=[], @after_generate_callbacks=[]>, @middleware=#<Rails::Configuration::MiddlewareStackProxy:0x0000564cd1903228 @operations=[#<Proc:0x0000564cd19b8d80 /usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/configuration.rb:53 (lambda)>], @delete_operations=[]>, @javascript_path="javascript", @encoding=#<Encoding:UTF-8>, @allow_concurrency=nil, @consider_all_requests_local=false, @filter_parameters=[], @filter_redirect=[], @helpers_paths=[], @hosts=[], @host_authorization={}, @public_file_server=#<ActiveSupport::OrderedOptions {:enabled=>true, :index_name=>"index"}>, @force_ssl=false, @ssl_options={}, @session_store=nil, @time_zone="UTC", @beginning_of_week=:monday, @log_level=:debug, @cache_store=[:file_store, "/app/tmp/cache/"], @railties_order=[:all], @relative_url_root=nil, @reload_classes_only_on_change=true, @file_watcher=ActiveSupport::FileUpdateChecker, @exceptions_app=nil, @autoflush_log=true, @log_formatter=#<ActiveSupport::Logger::SimpleFormatter:0x0000564cd1902a58 @datetime_format=nil>, @eager_load=false, @secret_key_base="__secret_key_base", @api_only=false, @debug_exception_response_format=nil, @x=#<Rails::Application::Configuration::Custom:0x0000564cd19029b8 @configurations={}>, @enable_dependency_loading=false, @read_encrypted_secrets=false, @content_security_policy=nil, @content_security_policy_report_only=false, @content_security_policy_nonce_generator=nil, @content_security_policy_nonce_directives=nil, @require_master_key=false, @loaded_config_version=nil, @credentials=#<ActiveSupport::OrderedOptions {:content_path=>#<Pathname:/app/config/credentials.yml.enc>, :key_path=>#<Pathname:/app/config/master.key>}>, @disable_sandbox=false, @add_autoload_paths_to_load_path=true, @permissions_policy=nil, @rake_eager_load=false, @logger=#<Logger:0x0000564cd1a12510 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000564cd1a124e8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0000564cd1a12498 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x0000564cd00744c8>, @binmode=false, @mon_data=#<Monitor:0x0000564cd1a12470>, @mon_data_owner_object_id=8240>>, @paths=#<Rails::Paths::Root:0x0000564cd1ee12f8 @path=#<Pathname:/app>, @root={"app"=>#<Rails::Paths::Path:0x0000564cd1ee11b8 @paths=["app"], @current="app", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="{*,*/concerns}", @exclude=["assets", "javascript"], @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/assets"=>#<Rails::Paths::Path:0x0000564cd1ee1140 @paths=["app/assets"], @current="app/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "app/controllers"=>#<Rails::Paths::Path:0x0000564cd1ee10c8 @paths=["app/controllers"], @current="app/controllers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/channels"=>#<Rails::Paths::Path:0x0000564cd1ee1050 @paths=["app/channels"], @current="app/channels", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*_channel.rb", @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/helpers"=>#<Rails::Paths::Path:0x0000564cd1ee0fd8 @paths=["app/helpers"], @current="app/helpers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/models"=>#<Rails::Paths::Path:0x0000564cd1ee0f60 @paths=["app/models"], @current="app/models", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/mailers"=>#<Rails::Paths::Path:0x0000564cd1ee0ec0 @paths=["app/mailers"], @current="app/mailers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/views"=>#<Rails::Paths::Path:0x0000564cd1ee0da8 @paths=["app/views"], @current="app/views", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib"=>#<Rails::Paths::Path:0x0000564cd1ee0d08 @paths=["lib"], @current="lib", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=true>, "lib/assets"=>#<Rails::Paths::Path:0x0000564cd1ee0c90 @paths=["lib/assets"], @current="lib/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib/tasks"=>#<Rails::Paths::Path:0x0000564cd1ee0c18 @paths=["lib/tasks"], @current="lib/tasks", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rake", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config"=>#<Rails::Paths::Path:0x0000564cd1ee0ba0 @paths=["config"], @current="config", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/environments"=>#<Rails::Paths::Path:0x0000564cd1ee0b00 @paths=["config/environments"], @current="config/environments", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="test.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/initializers"=>#<Rails::Paths::Path:0x0000564cd1ee0a60 @paths=["config/initializers"], @current="config/initializers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/locales"=>#<Rails::Paths::Path:0x0000564cd1ee09e8 @paths=["config/locales"], @current="config/locales", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.{rb,yml}", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/routes.rb"=>#<Rails::Paths::Path:0x0000564cd1ee0970 @paths=["config/routes.rb"], @current="config/routes.rb", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/routes"=>#<Rails::Paths::Path:0x0000564cd1ee08f8 @paths=["config/routes"], @current="config/routes", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db"=>#<Rails::Paths::Path:0x0000564cd1ee0858 @paths=["db"], @current="db", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db/migrate"=>#<Rails::Paths::Path:0x0000564cd1ee07e0 @paths=["db/migrate"], @current="db/migrate", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db/seeds.rb"=>#<Rails::Paths::Path:0x0000564cd1ee0740 @paths=["db/seeds.rb"], @current="db/seeds.rb", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "vendor"=>#<Rails::Paths::Path:0x0000564cd1ee06c8 @paths=["vendor"], @current="vendor", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=true>, "vendor/assets"=>#<Rails::Paths::Path:0x0000564cd1ee0650 @paths=["vendor/assets"], @current="vendor/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/database"=>#<Rails::Paths::Path:0x0000564cd1ee05b0 @paths=["config/database.yml"], @current="config/database", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/secrets"=>#<Rails::Paths::Path:0x0000564cd1ee0510 @paths=["config"], @current="config/secrets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="secrets.yml{,.enc}", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/environment"=>#<Rails::Paths::Path:0x0000564cd1ee0470 @paths=["config/environment.rb"], @current="config/environment", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib/templates"=>#<Rails::Paths::Path:0x0000564cd1ee03f8 @paths=["lib/templates"], @current="lib/templates", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "log"=>#<Rails::Paths::Path:0x0000564cd1ee02e0 @paths=["log/test.log"], @current="log", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public"=>#<Rails::Paths::Path:0x0000564cd1ee0218 @paths=["public"], @current="public", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public/javascripts"=>#<Rails::Paths::Path:0x0000564cd1ee0150 @paths=["public/javascripts"], @current="public/javascripts", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public/stylesheets"=>#<Rails::Paths::Path:0x0000564cd1ee00b0 @paths=["public/stylesheets"], @current="public/stylesheets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "tmp"=>#<Rails::Paths::Path:0x0000564cd1ee0010 @paths=["tmp"], @current="tmp", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>}>, @autoload_paths=[], @eager_load_paths=[], @autoload_once_paths=[]>
    ["/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie/configuration.rb:96:in `method_missing'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:97:in `block (2 levels) in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:96:in `block in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `instance_exec'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `run'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:61:in `block in run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:60:in `run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/application.rb:369:in `initialize!'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `public_send'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `method_missing'", "./spec/integration/graphql_spec.rb:162:in `block (2 levels) in <top (required)>'"]
           
    

Tests / Master Tests frameworks / Ruby:ruby:3.0#rails-main / GraphQL with an unnamed query renames to [unnamed] – with an unnamed query
    Expand to view the error details

     failed GraphQL with an unnamed query renames to [unnamed] 
    

    Expand to view the stacktrace

     
            undefined method `active_record' for #<Rails::Application::Configuration:0x0000564cd19034a8 @root=#<Pathname:/app>, @generators=#<Rails::Configuration::Generators:0x0000564cd0a3ad18 @aliases={}, @options={}, @fallbacks={}, @templates=[], @colorize_logging=true, @api_only=false, @hidden_namespaces=[], @after_generate_callbacks=[]>, @middleware=#<Rails::Configuration::MiddlewareStackProxy:0x0000564cd1903228 @operations=[#<Proc:0x0000564cd19b8d80 /usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/configuration.rb:53 (lambda)>], @delete_operations=[]>, @javascript_path="javascript", @encoding=#<Encoding:UTF-8>, @allow_concurrency=nil, @consider_all_requests_local=false, @filter_parameters=[], @filter_redirect=[], @helpers_paths=[], @hosts=[], @host_authorization={}, @public_file_server=#<ActiveSupport::OrderedOptions {:enabled=>true, :index_name=>"index"}>, @force_ssl=false, @ssl_options={}, @session_store=nil, @time_zone="UTC", @beginning_of_week=:monday, @log_level=:debug, @cache_store=[:file_store, "/app/tmp/cache/"], @railties_order=[:all], @relative_url_root=nil, @reload_classes_only_on_change=true, @file_watcher=ActiveSupport::FileUpdateChecker, @exceptions_app=nil, @autoflush_log=true, @log_formatter=#<ActiveSupport::Logger::SimpleFormatter:0x0000564cd1902a58 @datetime_format=nil>, @eager_load=false, @secret_key_base="__secret_key_base", @api_only=false, @debug_exception_response_format=nil, @x=#<Rails::Application::Configuration::Custom:0x0000564cd19029b8 @configurations={}>, @enable_dependency_loading=false, @read_encrypted_secrets=false, @content_security_policy=nil, @content_security_policy_report_only=false, @content_security_policy_nonce_generator=nil, @content_security_policy_nonce_directives=nil, @require_master_key=false, @loaded_config_version=nil, @credentials=#<ActiveSupport::OrderedOptions {:content_path=>#<Pathname:/app/config/credentials.yml.enc>, :key_path=>#<Pathname:/app/config/master.key>}>, @disable_sandbox=false, @add_autoload_paths_to_load_path=true, @permissions_policy=nil, @rake_eager_load=false, @logger=#<Logger:0x0000564cd1a12510 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000564cd1a124e8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0000564cd1a12498 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x0000564cd00744c8>, @binmode=false, @mon_data=#<Monitor:0x0000564cd1a12470>, @mon_data_owner_object_id=8240>>, @paths=#<Rails::Paths::Root:0x0000564cd1ee12f8 @path=#<Pathname:/app>, @root={"app"=>#<Rails::Paths::Path:0x0000564cd1ee11b8 @paths=["app"], @current="app", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="{*,*/concerns}", @exclude=["assets", "javascript"], @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/assets"=>#<Rails::Paths::Path:0x0000564cd1ee1140 @paths=["app/assets"], @current="app/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "app/controllers"=>#<Rails::Paths::Path:0x0000564cd1ee10c8 @paths=["app/controllers"], @current="app/controllers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/channels"=>#<Rails::Paths::Path:0x0000564cd1ee1050 @paths=["app/channels"], @current="app/channels", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*_channel.rb", @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/helpers"=>#<Rails::Paths::Path:0x0000564cd1ee0fd8 @paths=["app/helpers"], @current="app/helpers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/models"=>#<Rails::Paths::Path:0x0000564cd1ee0f60 @paths=["app/models"], @current="app/models", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/mailers"=>#<Rails::Paths::Path:0x0000564cd1ee0ec0 @paths=["app/mailers"], @current="app/mailers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/views"=>#<Rails::Paths::Path:0x0000564cd1ee0da8 @paths=["app/views"], @current="app/views", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib"=>#<Rails::Paths::Path:0x0000564cd1ee0d08 @paths=["lib"], @current="lib", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=true>, "lib/assets"=>#<Rails::Paths::Path:0x0000564cd1ee0c90 @paths=["lib/assets"], @current="lib/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib/tasks"=>#<Rails::Paths::Path:0x0000564cd1ee0c18 @paths=["lib/tasks"], @current="lib/tasks", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rake", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config"=>#<Rails::Paths::Path:0x0000564cd1ee0ba0 @paths=["config"], @current="config", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/environments"=>#<Rails::Paths::Path:0x0000564cd1ee0b00 @paths=["config/environments"], @current="config/environments", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="test.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/initializers"=>#<Rails::Paths::Path:0x0000564cd1ee0a60 @paths=["config/initializers"], @current="config/initializers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/locales"=>#<Rails::Paths::Path:0x0000564cd1ee09e8 @paths=["config/locales"], @current="config/locales", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.{rb,yml}", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/routes.rb"=>#<Rails::Paths::Path:0x0000564cd1ee0970 @paths=["config/routes.rb"], @current="config/routes.rb", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/routes"=>#<Rails::Paths::Path:0x0000564cd1ee08f8 @paths=["config/routes"], @current="config/routes", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db"=>#<Rails::Paths::Path:0x0000564cd1ee0858 @paths=["db"], @current="db", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db/migrate"=>#<Rails::Paths::Path:0x0000564cd1ee07e0 @paths=["db/migrate"], @current="db/migrate", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db/seeds.rb"=>#<Rails::Paths::Path:0x0000564cd1ee0740 @paths=["db/seeds.rb"], @current="db/seeds.rb", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "vendor"=>#<Rails::Paths::Path:0x0000564cd1ee06c8 @paths=["vendor"], @current="vendor", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=true>, "vendor/assets"=>#<Rails::Paths::Path:0x0000564cd1ee0650 @paths=["vendor/assets"], @current="vendor/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/database"=>#<Rails::Paths::Path:0x0000564cd1ee05b0 @paths=["config/database.yml"], @current="config/database", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/secrets"=>#<Rails::Paths::Path:0x0000564cd1ee0510 @paths=["config"], @current="config/secrets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="secrets.yml{,.enc}", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/environment"=>#<Rails::Paths::Path:0x0000564cd1ee0470 @paths=["config/environment.rb"], @current="config/environment", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib/templates"=>#<Rails::Paths::Path:0x0000564cd1ee03f8 @paths=["lib/templates"], @current="lib/templates", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "log"=>#<Rails::Paths::Path:0x0000564cd1ee02e0 @paths=["log/test.log"], @current="log", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public"=>#<Rails::Paths::Path:0x0000564cd1ee0218 @paths=["public"], @current="public", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public/javascripts"=>#<Rails::Paths::Path:0x0000564cd1ee0150 @paths=["public/javascripts"], @current="public/javascripts", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public/stylesheets"=>#<Rails::Paths::Path:0x0000564cd1ee00b0 @paths=["public/stylesheets"], @current="public/stylesheets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "tmp"=>#<Rails::Paths::Path:0x0000564cd1ee0010 @paths=["tmp"], @current="tmp", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>}>, @autoload_paths=[], @eager_load_paths=[], @autoload_once_paths=[]>
    ["/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie/configuration.rb:96:in `method_missing'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:97:in `block (2 levels) in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:96:in `block in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `instance_exec'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `run'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:61:in `block in run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:60:in `run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/application.rb:369:in `initialize!'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `public_send'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `method_missing'", "./spec/integration/graphql_spec.rb:162:in `block (2 levels) in <top (required)>'"]
           
    

Tests / Master Tests frameworks / Ruby:ruby:3.0#rails-main / GraphQL with multiple queries renames and concattenates – with multiple queries
    Expand to view the error details

     failed GraphQL with multiple queries renames and concattenates 
    

    Expand to view the stacktrace

     
            undefined method `active_record' for #<Rails::Application::Configuration:0x0000564cd19034a8 @root=#<Pathname:/app>, @generators=#<Rails::Configuration::Generators:0x0000564cd0a3ad18 @aliases={}, @options={}, @fallbacks={}, @templates=[], @colorize_logging=true, @api_only=false, @hidden_namespaces=[], @after_generate_callbacks=[]>, @middleware=#<Rails::Configuration::MiddlewareStackProxy:0x0000564cd1903228 @operations=[#<Proc:0x0000564cd19b8d80 /usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/configuration.rb:53 (lambda)>], @delete_operations=[]>, @javascript_path="javascript", @encoding=#<Encoding:UTF-8>, @allow_concurrency=nil, @consider_all_requests_local=false, @filter_parameters=[], @filter_redirect=[], @helpers_paths=[], @hosts=[], @host_authorization={}, @public_file_server=#<ActiveSupport::OrderedOptions {:enabled=>true, :index_name=>"index"}>, @force_ssl=false, @ssl_options={}, @session_store=nil, @time_zone="UTC", @beginning_of_week=:monday, @log_level=:debug, @cache_store=[:file_store, "/app/tmp/cache/"], @railties_order=[:all], @relative_url_root=nil, @reload_classes_only_on_change=true, @file_watcher=ActiveSupport::FileUpdateChecker, @exceptions_app=nil, @autoflush_log=true, @log_formatter=#<ActiveSupport::Logger::SimpleFormatter:0x0000564cd1902a58 @datetime_format=nil>, @eager_load=false, @secret_key_base="__secret_key_base", @api_only=false, @debug_exception_response_format=nil, @x=#<Rails::Application::Configuration::Custom:0x0000564cd19029b8 @configurations={}>, @enable_dependency_loading=false, @read_encrypted_secrets=false, @content_security_policy=nil, @content_security_policy_report_only=false, @content_security_policy_nonce_generator=nil, @content_security_policy_nonce_directives=nil, @require_master_key=false, @loaded_config_version=nil, @credentials=#<ActiveSupport::OrderedOptions {:content_path=>#<Pathname:/app/config/credentials.yml.enc>, :key_path=>#<Pathname:/app/config/master.key>}>, @disable_sandbox=false, @add_autoload_paths_to_load_path=true, @permissions_policy=nil, @rake_eager_load=false, @logger=#<Logger:0x0000564cd1a12510 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000564cd1a124e8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0000564cd1a12498 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x0000564cd00744c8>, @binmode=false, @mon_data=#<Monitor:0x0000564cd1a12470>, @mon_data_owner_object_id=8240>>, @paths=#<Rails::Paths::Root:0x0000564cd1ee12f8 @path=#<Pathname:/app>, @root={"app"=>#<Rails::Paths::Path:0x0000564cd1ee11b8 @paths=["app"], @current="app", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="{*,*/concerns}", @exclude=["assets", "javascript"], @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/assets"=>#<Rails::Paths::Path:0x0000564cd1ee1140 @paths=["app/assets"], @current="app/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "app/controllers"=>#<Rails::Paths::Path:0x0000564cd1ee10c8 @paths=["app/controllers"], @current="app/controllers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/channels"=>#<Rails::Paths::Path:0x0000564cd1ee1050 @paths=["app/channels"], @current="app/channels", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*_channel.rb", @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/helpers"=>#<Rails::Paths::Path:0x0000564cd1ee0fd8 @paths=["app/helpers"], @current="app/helpers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/models"=>#<Rails::Paths::Path:0x0000564cd1ee0f60 @paths=["app/models"], @current="app/models", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/mailers"=>#<Rails::Paths::Path:0x0000564cd1ee0ec0 @paths=["app/mailers"], @current="app/mailers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/views"=>#<Rails::Paths::Path:0x0000564cd1ee0da8 @paths=["app/views"], @current="app/views", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib"=>#<Rails::Paths::Path:0x0000564cd1ee0d08 @paths=["lib"], @current="lib", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=true>, "lib/assets"=>#<Rails::Paths::Path:0x0000564cd1ee0c90 @paths=["lib/assets"], @current="lib/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib/tasks"=>#<Rails::Paths::Path:0x0000564cd1ee0c18 @paths=["lib/tasks"], @current="lib/tasks", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rake", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config"=>#<Rails::Paths::Path:0x0000564cd1ee0ba0 @paths=["config"], @current="config", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/environments"=>#<Rails::Paths::Path:0x0000564cd1ee0b00 @paths=["config/environments"], @current="config/environments", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="test.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/initializers"=>#<Rails::Paths::Path:0x0000564cd1ee0a60 @paths=["config/initializers"], @current="config/initializers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/locales"=>#<Rails::Paths::Path:0x0000564cd1ee09e8 @paths=["config/locales"], @current="config/locales", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.{rb,yml}", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/routes.rb"=>#<Rails::Paths::Path:0x0000564cd1ee0970 @paths=["config/routes.rb"], @current="config/routes.rb", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/routes"=>#<Rails::Paths::Path:0x0000564cd1ee08f8 @paths=["config/routes"], @current="config/routes", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db"=>#<Rails::Paths::Path:0x0000564cd1ee0858 @paths=["db"], @current="db", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db/migrate"=>#<Rails::Paths::Path:0x0000564cd1ee07e0 @paths=["db/migrate"], @current="db/migrate", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db/seeds.rb"=>#<Rails::Paths::Path:0x0000564cd1ee0740 @paths=["db/seeds.rb"], @current="db/seeds.rb", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "vendor"=>#<Rails::Paths::Path:0x0000564cd1ee06c8 @paths=["vendor"], @current="vendor", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=true>, "vendor/assets"=>#<Rails::Paths::Path:0x0000564cd1ee0650 @paths=["vendor/assets"], @current="vendor/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/database"=>#<Rails::Paths::Path:0x0000564cd1ee05b0 @paths=["config/database.yml"], @current="config/database", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/secrets"=>#<Rails::Paths::Path:0x0000564cd1ee0510 @paths=["config"], @current="config/secrets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="secrets.yml{,.enc}", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/environment"=>#<Rails::Paths::Path:0x0000564cd1ee0470 @paths=["config/environment.rb"], @current="config/environment", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib/templates"=>#<Rails::Paths::Path:0x0000564cd1ee03f8 @paths=["lib/templates"], @current="lib/templates", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "log"=>#<Rails::Paths::Path:0x0000564cd1ee02e0 @paths=["log/test.log"], @current="log", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public"=>#<Rails::Paths::Path:0x0000564cd1ee0218 @paths=["public"], @current="public", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public/javascripts"=>#<Rails::Paths::Path:0x0000564cd1ee0150 @paths=["public/javascripts"], @current="public/javascripts", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public/stylesheets"=>#<Rails::Paths::Path:0x0000564cd1ee00b0 @paths=["public/stylesheets"], @current="public/stylesheets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "tmp"=>#<Rails::Paths::Path:0x0000564cd1ee0010 @paths=["tmp"], @current="tmp", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>}>, @autoload_paths=[], @eager_load_paths=[], @autoload_once_paths=[]>
    ["/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie/configuration.rb:96:in `method_missing'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:97:in `block (2 levels) in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:96:in `block in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `instance_exec'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `run'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:61:in `block in run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:60:in `run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/application.rb:369:in `initialize!'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `public_send'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `method_missing'", "./spec/integration/graphql_spec.rb:162:in `block (2 levels) in <top (required)>'"]
           
    

Tests / Master Tests frameworks / Ruby:ruby:3.0#rails-main / GraphQL with too many queries to list renames and concattenates – with too many queries to list
    Expand to view the error details

     failed GraphQL with too many queries to list renames and concattenates 
    

    Expand to view the stacktrace

     
            undefined method `active_record' for #<Rails::Application::Configuration:0x0000564cd19034a8 @root=#<Pathname:/app>, @generators=#<Rails::Configuration::Generators:0x0000564cd0a3ad18 @aliases={}, @options={}, @fallbacks={}, @templates=[], @colorize_logging=true, @api_only=false, @hidden_namespaces=[], @after_generate_callbacks=[]>, @middleware=#<Rails::Configuration::MiddlewareStackProxy:0x0000564cd1903228 @operations=[#<Proc:0x0000564cd19b8d80 /usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/configuration.rb:53 (lambda)>], @delete_operations=[]>, @javascript_path="javascript", @encoding=#<Encoding:UTF-8>, @allow_concurrency=nil, @consider_all_requests_local=false, @filter_parameters=[], @filter_redirect=[], @helpers_paths=[], @hosts=[], @host_authorization={}, @public_file_server=#<ActiveSupport::OrderedOptions {:enabled=>true, :index_name=>"index"}>, @force_ssl=false, @ssl_options={}, @session_store=nil, @time_zone="UTC", @beginning_of_week=:monday, @log_level=:debug, @cache_store=[:file_store, "/app/tmp/cache/"], @railties_order=[:all], @relative_url_root=nil, @reload_classes_only_on_change=true, @file_watcher=ActiveSupport::FileUpdateChecker, @exceptions_app=nil, @autoflush_log=true, @log_formatter=#<ActiveSupport::Logger::SimpleFormatter:0x0000564cd1902a58 @datetime_format=nil>, @eager_load=false, @secret_key_base="__secret_key_base", @api_only=false, @debug_exception_response_format=nil, @x=#<Rails::Application::Configuration::Custom:0x0000564cd19029b8 @configurations={}>, @enable_dependency_loading=false, @read_encrypted_secrets=false, @content_security_policy=nil, @content_security_policy_report_only=false, @content_security_policy_nonce_generator=nil, @content_security_policy_nonce_directives=nil, @require_master_key=false, @loaded_config_version=nil, @credentials=#<ActiveSupport::OrderedOptions {:content_path=>#<Pathname:/app/config/credentials.yml.enc>, :key_path=>#<Pathname:/app/config/master.key>}>, @disable_sandbox=false, @add_autoload_paths_to_load_path=true, @permissions_policy=nil, @rake_eager_load=false, @logger=#<Logger:0x0000564cd1a12510 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x0000564cd1a124e8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0000564cd1a12498 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<StringIO:0x0000564cd00744c8>, @binmode=false, @mon_data=#<Monitor:0x0000564cd1a12470>, @mon_data_owner_object_id=8240>>, @paths=#<Rails::Paths::Root:0x0000564cd1ee12f8 @path=#<Pathname:/app>, @root={"app"=>#<Rails::Paths::Path:0x0000564cd1ee11b8 @paths=["app"], @current="app", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="{*,*/concerns}", @exclude=["assets", "javascript"], @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/assets"=>#<Rails::Paths::Path:0x0000564cd1ee1140 @paths=["app/assets"], @current="app/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "app/controllers"=>#<Rails::Paths::Path:0x0000564cd1ee10c8 @paths=["app/controllers"], @current="app/controllers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/channels"=>#<Rails::Paths::Path:0x0000564cd1ee1050 @paths=["app/channels"], @current="app/channels", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*_channel.rb", @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/helpers"=>#<Rails::Paths::Path:0x0000564cd1ee0fd8 @paths=["app/helpers"], @current="app/helpers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/models"=>#<Rails::Paths::Path:0x0000564cd1ee0f60 @paths=["app/models"], @current="app/models", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/mailers"=>#<Rails::Paths::Path:0x0000564cd1ee0ec0 @paths=["app/mailers"], @current="app/mailers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=true, @autoload=false, @load_path=false>, "app/views"=>#<Rails::Paths::Path:0x0000564cd1ee0da8 @paths=["app/views"], @current="app/views", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib"=>#<Rails::Paths::Path:0x0000564cd1ee0d08 @paths=["lib"], @current="lib", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=true>, "lib/assets"=>#<Rails::Paths::Path:0x0000564cd1ee0c90 @paths=["lib/assets"], @current="lib/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib/tasks"=>#<Rails::Paths::Path:0x0000564cd1ee0c18 @paths=["lib/tasks"], @current="lib/tasks", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rake", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config"=>#<Rails::Paths::Path:0x0000564cd1ee0ba0 @paths=["config"], @current="config", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/environments"=>#<Rails::Paths::Path:0x0000564cd1ee0b00 @paths=["config/environments"], @current="config/environments", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="test.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/initializers"=>#<Rails::Paths::Path:0x0000564cd1ee0a60 @paths=["config/initializers"], @current="config/initializers", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/locales"=>#<Rails::Paths::Path:0x0000564cd1ee09e8 @paths=["config/locales"], @current="config/locales", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.{rb,yml}", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/routes.rb"=>#<Rails::Paths::Path:0x0000564cd1ee0970 @paths=["config/routes.rb"], @current="config/routes.rb", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/routes"=>#<Rails::Paths::Path:0x0000564cd1ee08f8 @paths=["config/routes"], @current="config/routes", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="**/*.rb", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db"=>#<Rails::Paths::Path:0x0000564cd1ee0858 @paths=["db"], @current="db", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db/migrate"=>#<Rails::Paths::Path:0x0000564cd1ee07e0 @paths=["db/migrate"], @current="db/migrate", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "db/seeds.rb"=>#<Rails::Paths::Path:0x0000564cd1ee0740 @paths=["db/seeds.rb"], @current="db/seeds.rb", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "vendor"=>#<Rails::Paths::Path:0x0000564cd1ee06c8 @paths=["vendor"], @current="vendor", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=true>, "vendor/assets"=>#<Rails::Paths::Path:0x0000564cd1ee0650 @paths=["vendor/assets"], @current="vendor/assets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="*", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/database"=>#<Rails::Paths::Path:0x0000564cd1ee05b0 @paths=["config/database.yml"], @current="config/database", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/secrets"=>#<Rails::Paths::Path:0x0000564cd1ee0510 @paths=["config"], @current="config/secrets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob="secrets.yml{,.enc}", @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "config/environment"=>#<Rails::Paths::Path:0x0000564cd1ee0470 @paths=["config/environment.rb"], @current="config/environment", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "lib/templates"=>#<Rails::Paths::Path:0x0000564cd1ee03f8 @paths=["lib/templates"], @current="lib/templates", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "log"=>#<Rails::Paths::Path:0x0000564cd1ee02e0 @paths=["log/test.log"], @current="log", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public"=>#<Rails::Paths::Path:0x0000564cd1ee0218 @paths=["public"], @current="public", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public/javascripts"=>#<Rails::Paths::Path:0x0000564cd1ee0150 @paths=["public/javascripts"], @current="public/javascripts", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "public/stylesheets"=>#<Rails::Paths::Path:0x0000564cd1ee00b0 @paths=["public/stylesheets"], @current="public/stylesheets", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>, "tmp"=>#<Rails::Paths::Path:0x0000564cd1ee0010 @paths=["tmp"], @current="tmp", @root=#<Rails::Paths::Root:0x0000564cd1ee12f8 ...>, @glob=nil, @exclude=nil, @autoload_once=false, @eager_load=false, @autoload=false, @load_path=false>}>, @autoload_paths=[], @eager_load_paths=[], @autoload_once_paths=[]>
    ["/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie/configuration.rb:96:in `method_missing'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:97:in `block (2 levels) in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `each'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/activesupport/lib/active_support/lazy_load_hooks.rb:42:in `on_load'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/actionpack/lib/action_controller/railtie.rb:96:in `block in <class:Railtie>'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `instance_exec'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:32:in `run'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:61:in `block in run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/initializable.rb:60:in `run_initializers'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/application.rb:369:in `initialize!'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `public_send'", "/usr/local/bundle/bundler/gems/rails-f1229b8fbc74/railties/lib/rails/railtie.rb:207:in `method_missing'", "./spec/integration/graphql_spec.rb:162:in `block (2 levels) in <top (required)>'"]
           
    

Tests / Tests / Ruby:docker.elastic.co/observability-ci/jruby:9.2-8-jdk#rails-6.1 / ElasticAPM::Instrumenter#end_transaction with breakdown metrics disabled skips breakdown but keeps transaction metrics – with breakdown metrics disabled
    Expand to view the error details

     failed ElasticAPM::Instrumenter#end_transaction with breakdown metrics disabled skips breakdown but keeps transaction metrics 
    

    Expand to view the stacktrace

     
            
    expected #<Integer:3> => 1
         got #<Integer:1> => 0
    
    Compared using equal?, which compares object identity,
    but expected and actual are not the same object. Use
    `expect(actual).to eq(expected)` if you don't care about
    object identity in this example.
    
    
    ["./spec/elastic_apm/instrumenter_spec.rb:212:in `block in ElasticAPM'", "/usr/local/bundle/jruby/2.5.0/gems/webmock-3.14.0/lib/webmock/rspec.rb:37:in `block in /usr/local/bundle/jruby/2.5.0/gems/webmock-3.14.0/lib/webmock/rspec.rb'"]
           
    

Steps errors 9

Expand to view the steps failures

Shell Script
  • Took 2 min 29 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-13-jdk rails-6.1
Shell Script
  • Took 3 min 34 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-11-jdk rails-6.0
Shell Script
  • Took 2 min 14 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-8-jdk rails-6.1
Shell Script
  • Took 2 min 14 sec . View more details on here
  • Description: ./spec/scripts/spec.sh docker.elastic.co/observability-ci/jruby:9.2-8-jdk rails-6.1
Shell Script
  • Took 1 min 29 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:3.0 rails-main
Shell Script
  • Took 1 min 27 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:3.0 rails-main
Shell Script
  • Took 5 min 37 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:2.7 rails-main
Shell Script
  • Took 2 min 56 sec . View more details on here
  • Description: ./spec/scripts/spec.sh ruby:2.7 rails-main
Error signal
  • Took 0 min 0 sec . View more details on here
  • Description: Ruby:docker.elastic.co/observability-ci/jruby:9.2-8-jdk#rails-6.1 tests failed : hudson.AbortException: script returned exit code 1

Log output

Expand to view the last 100 lines of log output

[2021-08-16T06:41:53.122Z] Installing bunny 2.19.0
[2021-08-16T06:41:53.387Z] Installing webmock 3.14.0
[2021-08-16T06:41:53.387Z] Fetching domain_name 0.5.20190701
[2021-08-16T06:41:53.387Z] Installing domain_name 0.5.20190701
[2021-08-16T06:41:53.649Z] Fetching cucumber-create-meta 6.0.1
[2021-08-16T06:41:53.649Z] Installing cucumber-create-meta 6.0.1
[2021-08-16T06:41:53.649Z] Fetching http-parser 1.2.3
[2021-08-16T06:41:53.649Z] Fetching sinatra 2.1.0
[2021-08-16T06:41:53.649Z] Fetching grpc 1.38.0 (x86_64-linux)
[2021-08-16T06:41:53.649Z] Installing http-parser 1.2.3 with native extensions
[2021-08-16T06:41:53.649Z] Installing sinatra 2.1.0
[2021-08-16T06:41:54.596Z] Installing grpc 1.38.0 (x86_64-linux)
[2021-08-16T06:41:54.596Z] Fetching rspec-its 1.3.0
[2021-08-16T06:41:54.596Z] Fetching rspec 3.10.0
[2021-08-16T06:41:54.596Z] Installing rspec-its 1.3.0
[2021-08-16T06:41:54.859Z] Installing rspec 3.10.0
[2021-08-16T06:41:54.859Z] Fetching simplecov-cobertura 1.4.2
[2021-08-16T06:41:54.859Z] Fetching azure-storage-common 2.0.2
[2021-08-16T06:41:55.121Z] Installing simplecov-cobertura 1.4.2
[2021-08-16T06:41:55.121Z] Fetching rubocop 1.19.0
[2021-08-16T06:41:55.121Z] Installing azure-storage-common 2.0.2
[2021-08-16T06:41:55.121Z] Fetching aws-sdk-dynamodb 1.62.0
[2021-08-16T06:41:55.121Z] Installing rubocop 1.19.0
[2021-08-16T06:41:55.381Z] Installing aws-sdk-dynamodb 1.62.0
[2021-08-16T06:41:55.382Z] Fetching aws-sdk-kms 1.46.0
[2021-08-16T06:41:55.642Z] Installing aws-sdk-kms 1.46.0
[2021-08-16T06:41:55.642Z] Fetching aws-sdk-sns 1.44.0
[2021-08-16T06:41:55.642Z] Installing aws-sdk-sns 1.44.0
[2021-08-16T06:41:55.903Z] Fetching aws-sdk-sqs 1.42.0
[2021-08-16T06:41:55.903Z] Installing aws-sdk-sqs 1.42.0
[2021-08-16T06:41:55.903Z] Fetching shoryuken 5.2.3
[2021-08-16T06:41:55.903Z] Installing shoryuken 5.2.3
[2021-08-16T06:41:56.164Z] Fetching elasticsearch 7.14.0
[2021-08-16T06:41:56.164Z] Installing elasticsearch 7.14.0
[2021-08-16T06:41:56.425Z] Fetching cucumber-wire 6.1.0
[2021-08-16T06:41:56.425Z] Installing cucumber-wire 6.1.0
[2021-08-16T06:41:56.425Z] Fetching http-cookie 1.0.4
[2021-08-16T06:41:56.425Z] Installing http-cookie 1.0.4
[2021-08-16T06:41:56.686Z] Fetching sneakers 2.12.0
[2021-08-16T06:41:56.686Z] Installing sneakers 2.12.0
[2021-08-16T06:41:56.945Z] Fetching resque 2.1.0
[2021-08-16T06:41:56.945Z] Fetching yarjuf 2.0.0
[2021-08-16T06:41:56.945Z] Installing resque 2.1.0
[2021-08-16T06:41:56.945Z] Installing yarjuf 2.0.0
[2021-08-16T06:41:56.945Z] Fetching azure-storage-table 2.0.2
[2021-08-16T06:41:56.945Z] Installing azure-storage-table 2.0.2
[2021-08-16T06:41:56.945Z] Fetching aws-sdk-s3 1.98.0
[2021-08-16T06:41:57.204Z] Fetching cucumber 7.0.0
[2021-08-16T06:41:57.204Z] Fetching http 4.4.1
[2021-08-16T06:41:57.205Z] Installing aws-sdk-s3 1.98.0
[2021-08-16T06:41:57.205Z] Installing cucumber 7.0.0
[2021-08-16T06:41:57.205Z] Installing http 4.4.1
[2021-08-16T06:41:57.464Z] Fetching rubocop-performance 1.11.4
[2021-08-16T06:41:57.464Z] Using elastic-apm 4.3.0 from source at `.`
[2021-08-16T06:41:57.464Z] Installing rubocop-performance 1.11.4
[2021-08-16T06:41:57.464Z] Bundle complete! 39 Gemfile dependencies, 130 gems now installed.
[2021-08-16T06:41:57.464Z] Bundled gems are installed into `./vendor/2.7`
[2021-08-16T06:41:57.464Z] Post-install message from i18n:
[2021-08-16T06:41:57.465Z] 
[2021-08-16T06:41:57.465Z] HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
[2021-08-16T06:41:57.465Z] But that may break your application.
[2021-08-16T06:41:57.465Z] 
[2021-08-16T06:41:57.465Z] If you are upgrading your Rails application from an older version of Rails:
[2021-08-16T06:41:57.465Z] 
[2021-08-16T06:41:57.465Z] Please check your Rails app for 'config.i18n.fallbacks = true'.
[2021-08-16T06:41:57.465Z] If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
[2021-08-16T06:41:57.465Z] 'config.i18n.fallbacks = [I18n.default_locale]'.
[2021-08-16T06:41:57.465Z] If not, fallbacks will be broken in your app by I18n 1.1.x.
[2021-08-16T06:41:57.465Z] 
[2021-08-16T06:41:57.465Z] If you are starting a NEW Rails application, you can ignore this notice.
[2021-08-16T06:41:57.465Z] 
[2021-08-16T06:41:57.465Z] For more info see:
[2021-08-16T06:41:57.465Z] https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
[2021-08-16T06:41:57.465Z] 
[2021-08-16T06:41:57.465Z] Post-install message from sucker_punch:
[2021-08-16T06:41:57.465Z] Sucker Punch v2.0 introduces backwards-incompatible changes.
[2021-08-16T06:41:57.465Z] Please see https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md#200 for details.
[2021-08-16T06:41:59.372Z] Coverage report generated for RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec, RSpec to /app/coverage/coverage.xml. 2489 / 4178 LOC (59.57%) covered.
[2021-08-16T06:41:59.966Z] [Cobertura] Publishing Cobertura coverage report...
[2021-08-16T06:41:59.967Z] 
[2021-08-16T06:42:00.827Z] [Cobertura] Publishing Cobertura coverage results...
[2021-08-16T06:42:00.827Z] 
[2021-08-16T06:42:00.834Z] [Cobertura] Cobertura coverage report found.
[2021-08-16T06:42:00.834Z] 
[2021-08-16T06:42:04.069Z] Failed in branch Tests
[2021-08-16T06:42:04.137Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-08-16T06:42:04.158Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-08-16T06:42:04.199Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-08-16T06:42:04.268Z] Stage "Release" skipped due to earlier failure(s)
[2021-08-16T06:42:04.292Z] Stage "Release" skipped due to earlier failure(s)
[2021-08-16T06:42:04.336Z] Stage "Release" skipped due to earlier failure(s)
[2021-08-16T06:42:04.379Z] Stage "Release" skipped due to earlier failure(s)
[2021-08-16T06:42:04.418Z] Stage "Release" skipped due to earlier failure(s)
[2021-08-16T06:42:04.774Z] Running on Jenkins in /var/lib/jenkins/workspace/_ruby_apm-agent-ruby-mbp_PR-1057
[2021-08-16T06:42:04.829Z] [INFO] getVaultSecret: Getting secrets
[2021-08-16T06:42:04.886Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-08-16T06:42:05.594Z] + chmod 755 generate-build-data.sh
[2021-08-16T06:42:05.594Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-1057/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-1057/runs/2 FAILURE 1591446
[2021-08-16T06:42:05.594Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-1057/runs/2/steps/?limit=10000 -o steps-info.json
[2021-08-16T06:42:06.938Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-ruby/apm-agent-ruby-mbp/PR-1057/runs/2/tests/?status=FAILED -o tests-errors.json

@mikker
Copy link
Contributor Author

mikker commented Aug 16, 2021

Test errors unrelated.

@mikker mikker merged commit c0c4a25 into elastic:master Aug 16, 2021
@mikker mikker deleted the fix-metrics-alpine branch August 16, 2021 09:28
v1v added a commit to v1v/apm-agent-ruby that referenced this pull request Sep 22, 2021
…thub-commands

* upstream/master: (177 commits)
  synchronize json schema specs
  synchronize json schema specs
  synchronize json schema specs
  Update exit span definition (elastic#1154)
  test: synchronizing json specs
  Handle NaN in metrics (elastic#1157)
  Use Socket.gethostname instead (elastic#1155)
  test: synchronizing json specs
  synchronize json schema specs
  Debug instrumenter test (elastic#1146)
  test: synchronizing json specs
  v4.4.0
  Disable instrumenter/metrics spec for now (elastic#1048)
  Fix CpuMem metrics on Alpine (elastic#1057)
  Fix and update changelog
  Add config option log_ecs_formatting (elastic#1053)
  ES Spy: Fake out verification for 7.14+ (elastic#1054)
  synchronize json schema specs
  Add optional span param to end_span (elastic#1039)
  Filter Jenkins branches (elastic#1046)
  ...
estolfo pushed a commit that referenced this pull request Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant