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

Update integrations images build script #4243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

p-datadog
Copy link
Member

What does this PR do?
Remove pre-2.5 image builds commands since the minimum Ruby version we now support is 2.5.

Add 3.4 as a supported Ruby version to the help text (it is already handled by the script).

Motivation:
Researching how to perform integration testing of DI.

Change log entry
None

Additional Notes:

How to test the change?
N/A

@p-datadog p-datadog requested a review from a team as a code owner December 25, 2024 16:53
@p-datadog p-datadog added the dev/internal Other internal work that does not need to be included in the changelog label Dec 25, 2024
@github-actions github-actions bot added the dev/testing Involves testing processes (e.g. RSpec) label Dec 25, 2024
Remove pre-2.5 image builds commands since the minimum Ruby
version we now support is 2.5.

Add 3.4 as a supported Ruby version to the help text
(it is already handled by the script).
@datadog-datadog-prod-us1
Copy link
Contributor

Datadog Report

Branch report: integrations-build
Commit report: 18140fc
Test service: dd-trace-rb

❌ 15 Failed (0 Known Flaky), 20884 Passed, 1327 Skipped, 3m 23.7s Total Time
❄️ 49 New Flaky

❌ Failed Tests (15)

This report shows up to 5 failed tests.

  • Rails cache #delete - rspec - Details

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:66:in 'ActiveSupport::LazyLoadHooks#execute_hook'
     ...
    
  • Rails cache #delete when cache_key.enabled is false - rspec - Details

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:66:in 'ActiveSupport::LazyLoadHooks#execute_hook'
     ...
    
  • Rails cache #fetch_multi when the method is defined with exception - rspec - Details

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:66:in 'ActiveSupport::LazyLoadHooks#execute_hook'
     ...
    
  • Rails cache #fetch_multi when the method is defined with exception and when cache_key.enabled is false - rspec - Details

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:66:in 'ActiveSupport::LazyLoadHooks#execute_hook'
     ...
    
  • Rails cache #fetch_multi when the method is not defined - rspec - Details

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:66:in 'ActiveSupport::LazyLoadHooks#execute_hook'
     ...
    

New Flaky Tests (49)

  • Rails cache #delete behaves like an instrumented cache method behaves like measured span for integration does not set _dd.measured on the span - rspec - Last Failure

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     Shared Example Group: "measured span for integration" called from ./spec/datadog/tracing/contrib/rails/cache_spec.rb:84
     Shared Example Group: "an instrumented cache method" called from ./spec/datadog/tracing/contrib/rails/cache_spec.rb:329
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     ...
    
  • Rails cache #delete behaves like an instrumented cache method disabled at integration level does not instrument - rspec - Last Failure

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     Shared Example Group: "an instrumented cache method" called from ./spec/datadog/tracing/contrib/rails/cache_spec.rb:329
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     ...
    
  • Rails cache #delete behaves like an instrumented cache method disabled at tracer level does not instrument - rspec - Last Failure

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     Shared Example Group: "an instrumented cache method" called from ./spec/datadog/tracing/contrib/rails/cache_spec.rb:329
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     ...
    
  • Rails cache #delete behaves like an instrumented cache method with a cache different from Rails' default store returns the matching backend type - rspec - Last Failure

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     Shared Example Group: "an instrumented cache method" called from ./spec/datadog/tracing/contrib/rails/cache_spec.rb:329
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     ...
    
  • Rails cache #delete behaves like an instrumented cache method with a cache not in the ActiveSupport::Cache:: namespace returns the matching backend type - rspec - Last Failure

    Expand for error
     undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     
     Failure/Error: initialize!
     
     NoMethodError:
       undefined method 'embed_authenticity_token_in_remote_forms=' for module ActionView::Helpers::FormTagHelper
     Shared Example Group: "an instrumented cache method" called from ./spec/datadog/tracing/contrib/rails/cache_spec.rb:329
     /usr/local/bundle/gems/actionview-6.1.7.10/lib/action_view/railtie.rb:17:in 'block in <class:Railtie>'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:68:in 'block in ActiveSupport::LazyLoadHooks#execute_hook'
     /usr/local/bundle/gems/activesupport-6.1.7.10/lib/active_support/lazy_load_hooks.rb:61:in 'ActiveSupport::LazyLoadHooks#with_execution_control'
     ...
    

@pr-commenter
Copy link

pr-commenter bot commented Dec 25, 2024

Benchmarks

Benchmark execution time: 2024-12-25 17:19:23

Comparing candidate commit 18140fc in PR branch integrations-build with baseline commit 44f36d3 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 31 metrics, 2 unstable metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog dev/testing Involves testing processes (e.g. RSpec)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants