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

[Do not merge] Investigate crashes at startup #9869

Draft
wants to merge 51 commits into
base: main
Choose a base branch
from

Conversation

cbeauchesne
Copy link
Contributor

Checklist

  • PR author has checked that all the criteria below are met
  • The PR description includes an overview of the change
  • The PR description articulates the motivation for the change
  • The change includes tests OR the PR description describes a testing strategy
  • The PR description notes risks associated with the change, if any
  • Newly-added code is easy to change
  • The change follows the library release note guidelines
  • The change includes or references documentation updates if necessary
  • Backport labels are set (if applicable)

Reviewer Checklist

  • Reviewer has checked that all the criteria below are met
  • Title is accurate
  • All changes are related to the pull request's stated goal
  • Avoids breaking API changes
  • Testing strategy adequately addresses listed risks
  • Newly-added code is easy to change
  • Release note makes sense to a user of the library
  • If necessary, author has acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment
  • Backport labels are set in a manner that is consistent with the release branch maintenance policy

@cbeauchesne cbeauchesne force-pushed the cbeauchesne/crash-investigation branch from 67cbbe7 to f67db92 Compare July 18, 2024 12:05
@cbeauchesne cbeauchesne force-pushed the cbeauchesne/crash-investigation branch from f67db92 to 0f95e05 Compare July 18, 2024 12:29
@cbeauchesne cbeauchesne reopened this Jul 18, 2024
@datadog-datadog-prod-us1
Copy link
Contributor

datadog-datadog-prod-us1 bot commented Jul 18, 2024

Library Vulnerabilities

Critical badge  High badge  Medium badge

@cbeauchesne cbeauchesne force-pushed the cbeauchesne/crash-investigation branch from b248ab9 to ec25e37 Compare July 18, 2024 17:18
@cbeauchesne cbeauchesne force-pushed the cbeauchesne/crash-investigation branch from ec25e37 to 37085c7 Compare July 18, 2024 17:20
cbeauchesne and others added 6 commits July 19, 2024 10:02
…estigation

# Conflicts:
#	.github/workflows/requirements-locks.yml
Signed-off-by: Juanjo Alvarez <[email protected]>
Signed-off-by: Juanjo Alvarez <[email protected]>
Signed-off-by: Juanjo Alvarez <[email protected]>
@datadog-dd-trace-py-rkomorn
Copy link

datadog-dd-trace-py-rkomorn bot commented Jul 24, 2024

Datadog Report

Branch report: cbeauchesne/crash-investigation
Commit report: 5f2688a
Test service: dd-trace-py

❌ 11 Failed (0 Known Flaky), 109790 Passed, 3911 Skipped, 6m 12.64s Total duration (7m 18s time saved)

❌ Failed Tests (11)

This report shows up to 5 failed tests.

  • test_ddtrace_iast_flask_app_create_app_patch_all_enable_iast_propagation - test_flask_entrypoint_iast_patches.py - Details

    Expand for error
     Expected status 0, got 1.
     === Captured STDOUT ===
     === End of captured STDOUT ===
     === Captured STDERR ===
     Traceback (most recent call last):
       File "tests/appsec/integrations/test_flask_entrypoint_iast_patches.py", line 173, in <module>
         assert "(add_aspect)" in str_output
     AssertionError
     === End of captured STDERR ===
    
  • test_ddtrace_iast_flask_app_create_app_patch_all_enable_iast_propagation - test_flask_entrypoint_iast_patches.py

  • test_ddtrace_iast_flask_app_create_app_patch_all_enable_iast_propagation - test_flask_entrypoint_iast_patches.py - Details

    Expand for error
     Expected status 0, got 1.
     === Captured STDOUT ===
     === End of captured STDOUT ===
     === Captured STDERR ===
     Traceback (most recent call last):
       File "tests/appsec/integrations/test_flask_entrypoint_iast_patches.py", line 173, in <module>
         assert "(add_aspect)" in str_output
     AssertionError
     === End of captured STDERR ===
    
  • test_ddtrace_iast_flask_app_create_app_patch_all_enable_iast_propagation - test_flask_entrypoint_iast_patches.py - Details

    Expand for error
     Expected status 0, got 1.
     === Captured STDOUT ===
     === End of captured STDOUT ===
     === Captured STDERR ===
     Traceback (most recent call last):
       File "tests/appsec/integrations/test_flask_entrypoint_iast_patches.py", line 173, in <module>
         assert "(add_aspect)" in str_output
     AssertionError
     === End of captured STDERR ===
    
  • test_ddtrace_iast_flask_app_create_app_patch_all_enable_iast_propagation - test_flask_entrypoint_iast_patches.py - Details

    Expand for error
     Expected status 0, got 1.
     === Captured STDOUT ===
     === End of captured STDOUT ===
     === Captured STDERR ===
     Traceback (most recent call last):
       File "tests/appsec/integrations/test_flask_entrypoint_iast_patches.py", line 173, in <module>
         assert "(add_aspect)" in str_output
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     AssertionError
     === End of captured STDERR ===
    

@juanjux juanjux closed this Jul 24, 2024
@juanjux juanjux reopened this Jul 24, 2024
@juanjux juanjux closed this Jul 24, 2024
@juanjux juanjux reopened this Jul 24, 2024
Signed-off-by: Juanjo Alvarez <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.55%. Comparing base (3237351) to head (ff97a33).
Report is 2 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (3237351) and HEAD (ff97a33). Click for more details.

HEAD has 1 upload less than BASE
Flag BASE (3237351) HEAD (ff97a33)
2 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #9869       +/-   ##
===========================================
- Coverage   73.94%   10.55%   -63.40%     
===========================================
  Files        1402     1367       -35     
  Lines      130460   127971     -2489     
===========================================
- Hits        96465    13502    -82963     
- Misses      33995   114469    +80474     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pr-commenter
Copy link

pr-commenter bot commented Jul 25, 2024

Benchmarks

Benchmark execution time: 2024-07-26 16:19:19

Comparing candidate commit 68bed79 in PR branch cbeauchesne/crash-investigation with baseline commit ebf3fa9 in branch main.

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

Signed-off-by: Juanjo Alvarez <[email protected]>
Signed-off-by: Juanjo Alvarez <[email protected]>
Signed-off-by: Juanjo Alvarez <[email protected]>
Signed-off-by: Juanjo Alvarez <[email protected]>
@juanjux juanjux closed this Jul 25, 2024
@juanjux juanjux reopened this Jul 25, 2024
@juanjux juanjux closed this Jul 25, 2024
@juanjux juanjux reopened this Jul 25, 2024
@juanjux juanjux closed this Jul 25, 2024
@juanjux juanjux reopened this Jul 25, 2024
@juanjux juanjux closed this Jul 25, 2024
@juanjux juanjux reopened this Jul 25, 2024
@juanjux juanjux closed this Jul 25, 2024
@juanjux juanjux reopened this Jul 25, 2024
@juanjux juanjux closed this Jul 25, 2024
@juanjux juanjux reopened this Jul 25, 2024
@juanjux juanjux closed this Jul 25, 2024
@juanjux juanjux reopened this Jul 25, 2024
@juanjux juanjux closed this Jul 26, 2024
@juanjux juanjux reopened this Jul 26, 2024
@juanjux juanjux closed this Jul 26, 2024
@juanjux juanjux reopened this Jul 26, 2024
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 this pull request may close these issues.

3 participants