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

Closed
wants to merge 51 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
d5611f3
[Do not merge] Investigate crashes at startup
cbeauchesne Jul 18, 2024
e9dd02a
Less agressive
cbeauchesne Jul 18, 2024
f836a6a
Even less agressive with GH action
cbeauchesne Jul 18, 2024
867b13e
Fix artifact
cbeauchesne Jul 18, 2024
cd8e374
good artifact struture
cbeauchesne Jul 18, 2024
f400a0e
Remove useless matrix dimension
cbeauchesne Jul 18, 2024
7f827df
Try this
cbeauchesne Jul 18, 2024
34394bc
use pip git
cbeauchesne Jul 18, 2024
8f9894b
Full list
cbeauchesne Jul 18, 2024
a9b8930
hack artifact production
cbeauchesne Jul 18, 2024
37085c7
More agressive
cbeauchesne Jul 18, 2024
12b8d5a
Add more scenarios
cbeauchesne Jul 19, 2024
e412b7b
Merge remote-tracking branch 'origin/main' into cbeauchesne/crash-inv…
juanjux Jul 24, 2024
9d6ab8f
testing with IAST totally disabled
juanjux Jul 24, 2024
2e35258
format fix
juanjux Jul 24, 2024
4d786a0
type
juanjux Jul 24, 2024
5a5aa99
fmt
juanjux Jul 24, 2024
4b34975
force CI rerun
juanjux Jul 24, 2024
729723a
force CI rerun
juanjux Jul 24, 2024
8d94dcb
force CI rerun
juanjux Jul 24, 2024
f43389f
New test with import hooks re-enabled but patching disabled
juanjux Jul 24, 2024
17e8e56
format
juanjux Jul 24, 2024
0ceca71
format
juanjux Jul 24, 2024
6a3c6e1
Merge branch 'main' into cbeauchesne/crash-investigation
juanjux Jul 24, 2024
8ee03d6
Another test: activate enable_iast_propagation (register_pre_exec_hook)
juanjux Jul 24, 2024
ebd2537
Merge branch 'cbeauchesne/crash-investigation' of github.com:DataDog/…
juanjux Jul 24, 2024
0a6638b
fmt
juanjux Jul 24, 2024
392199f
another retry
juanjux Jul 24, 2024
5f2688a
another retry
juanjux Jul 24, 2024
42f4fd6
test: astpatch and compile but run the original module
juanjux Jul 24, 2024
b633bda
retry
juanjux Jul 24, 2024
7a80076
retry
juanjux Jul 24, 2024
a93d401
test: patch, compile and exec but not doing any changes to the source
juanjux Jul 25, 2024
be3c07a
fix
juanjux Jul 25, 2024
0c75efb
retry
juanjux Jul 25, 2024
a44b7f0
retry
juanjux Jul 25, 2024
ef76915
retry
juanjux Jul 25, 2024
8c4b0d6
test: add requests to the denylist
juanjux Jul 25, 2024
79ce71f
undo commented code
juanjux Jul 25, 2024
3486631
Merge branch 'main' into cbeauchesne/crash-investigation
juanjux Jul 25, 2024
de9e6d9
fmt
juanjux Jul 25, 2024
1a14d41
retry
juanjux Jul 25, 2024
57b08d3
retry
juanjux Jul 25, 2024
e835985
test: remove requests from denylist
juanjux Jul 25, 2024
616d82d
retry
juanjux Jul 25, 2024
c6abe93
fmt
juanjux Jul 25, 2024
c6946d1
Merge branch 'main' into cbeauchesne/crash-investigation
juanjux Jul 25, 2024
42a0a3d
Merge branch 'main' into cbeauchesne/crash-investigation
juanjux Jul 25, 2024
0fffe4f
Merge branch 'main' into cbeauchesne/crash-investigation
juanjux Jul 25, 2024
ff97a33
Merge remote-tracking branch 'origin/main' into cbeauchesne/crash-inv…
juanjux Jul 26, 2024
68bed79
Merge branch 'main' into cbeauchesne/crash-investigation
juanjux Jul 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions .github/workflows/apm-transport-stress-test.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/backport.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/build-and-publish-image.yml

This file was deleted.

93 changes: 0 additions & 93 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,93 +0,0 @@
name: Build

on:
push:
pull_request:
release:
types:
- published
workflow_dispatch:
# Allow manually triggering, but do NOT upload the result
schedule:
# Nightly builds after weekdays
- cron: 0 2 * * 2-6

jobs:
build_wheels:
uses: ./.github/workflows/build_python_3.yml
with:
cibw_build: 'cp37* cp38* cp39* cp310* cp311* cp312*'

build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Include all history and tags
with:
fetch-depth: 0
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.7'
- name: Build sdist
run: |
pip install "setuptools_scm[toml]>=4" "cython" "cmake>=3.24.2,<3.28" "setuptools-rust"
python setup.py sdist
- uses: actions/upload-artifact@v4
with:
name: source-dist
path: dist/*.tar.gz

test_alpine_sdist:
# alpine is the only environment not built/tested by cibuildwheel
name: Test source distribution on Alpine Linux
needs: [build_sdist]
runs-on: ubuntu-latest
container:
image: python:3.9-alpine
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: source-dist
path: dist

- name: Install build dependencies
# Rust + Cargo are needed for Cryptography
run: apk add git gcc g++ musl-dev libffi-dev openssl-dev bash rust cargo make cmake

- name: Check source package
run: |
pip install twine readme_renderer[md]
twine check dist/*.tar.gz
- name: Install source package
run: pip install dist/*.tar.gz

- name: Test the source package
run: python $GITHUB_WORKSPACE/tests/smoke_test.py
# Move out of the workspace to avoid importing ddtrace from the source
working-directory: /

upload_pypi:
needs:
- build_wheels
- test_alpine_sdist
runs-on: ubuntu-latest
if: (github.event_name == 'release' && github.event.action == 'published')
steps:
- uses: actions/download-artifact@v4
with:
path: dist
merge-multiple: true

- uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
# To test: repository_url: https://test.pypi.org/legacy/
# Setting skip_existing will prevent the deploy from erring out early
# due to a duplicate wheel being present which will ensure that the rest
# of the wheels will be uploaded if some are uploaded manually.
skip_existing: true
163 changes: 0 additions & 163 deletions .github/workflows/build_python_3.yml

This file was deleted.

Loading