From ad337aa8ab39ddb8e38524298fd72d8196b51739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Tue, 30 Jul 2024 17:45:21 +0200 Subject: [PATCH 01/20] fix typo --- tasks/pkg-redhat/install-installer-yum.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/pkg-redhat/install-installer-yum.yml b/tasks/pkg-redhat/install-installer-yum.yml index b84134ee..1c162eef 100644 --- a/tasks/pkg-redhat/install-installer-yum.yml +++ b/tasks/pkg-redhat/install-installer-yum.yml @@ -1,5 +1,5 @@ --- -- name: Install latest datadog-agent package (yum) +- name: Install latest datadog-installer package (yum) yum: name: "{{ datadog_installer_flavor }}" update_cache: true From 179d48e8934141d4b11430c2248e0c4574d68c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Tue, 30 Jul 2024 17:52:29 +0200 Subject: [PATCH 02/20] actually skip agent install on linux when instructed --- tasks/pkg-debian.yml | 4 ++-- tasks/pkg-redhat.yml | 4 ++-- tasks/pkg-suse.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tasks/pkg-debian.yml b/tasks/pkg-debian.yml index fd9dc8fd..79b7456d 100644 --- a/tasks/pkg-debian.yml +++ b/tasks/pkg-debian.yml @@ -123,11 +123,11 @@ - name: Include debian pinned version install task include_tasks: pkg-debian/install-pinned.yml - when: agent_datadog_agent_debian_version is defined + when: not agent_datadog_skip_install and agent_datadog_agent_debian_version is defined - name: Include debian latest version install task include_tasks: pkg-debian/install-latest.yml - when: agent_datadog_agent_debian_version is not defined + when: not agent_datadog_skip_install and agent_datadog_agent_debian_version is not defined - name: Install latest datadog-signing-keys package apt: diff --git a/tasks/pkg-redhat.yml b/tasks/pkg-redhat.yml index 31dc7b3b..b80b4b04 100644 --- a/tasks/pkg-redhat.yml +++ b/tasks/pkg-redhat.yml @@ -254,8 +254,8 @@ - name: Include redhat agent pinned version install task include_tasks: pkg-redhat/install-pinned.yml - when: agent_datadog_agent_redhat_version is defined + when: not agent_datadog_skip_install and agent_datadog_agent_redhat_version is defined - name: Include redhat agent latest version install task include_tasks: pkg-redhat/install-latest.yml - when: agent_datadog_agent_redhat_version is not defined + when: not agent_datadog_skip_install and agent_datadog_agent_redhat_version is not defined diff --git a/tasks/pkg-suse.yml b/tasks/pkg-suse.yml index fb1992af..51f394d8 100644 --- a/tasks/pkg-suse.yml +++ b/tasks/pkg-suse.yml @@ -138,8 +138,8 @@ - name: Include Suse agent pinned version install task include_tasks: pkg-suse/install-pinned.yml - when: agent_datadog_agent_suse_version is defined + when: not agent_datadog_skip_install and agent_datadog_agent_suse_version is defined - name: Include Suse agent latest version install task include_tasks: pkg-suse/install-latest.yml - when: agent_datadog_agent_suse_version is not defined + when: not agent_datadog_skip_install and agent_datadog_agent_suse_version is not defined From bd926a553dcd943ae44e1e9a1a0603b4ab64284b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Wed, 31 Jul 2024 08:50:49 +0200 Subject: [PATCH 03/20] don't refresh zypper repo if we're not going to install anything --- tasks/pkg-suse.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/pkg-suse.yml b/tasks/pkg-suse.yml index 51f394d8..124596db 100644 --- a/tasks/pkg-suse.yml +++ b/tasks/pkg-suse.yml @@ -133,7 +133,7 @@ # refresh zypper repos only if the template changed - name: Refresh Datadog zypper_repos # noqa: command-instead-of-module command: zypper refresh datadog - when: agent_datadog_zypper_repo_template.changed and not ansible_check_mode + when: not agent_datadog_skip_install and agent_datadog_zypper_repo_template.changed and not ansible_check_mode changed_when: true - name: Include Suse agent pinned version install task From 01b6f7af35fc199ca894259c6707b1c47501c9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Wed, 31 Jul 2024 08:58:39 +0200 Subject: [PATCH 04/20] check agent installation method --- .circleci/config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index cb0ab3ed..112c0ac0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -260,11 +260,19 @@ jobs: - run: > bash -c 'if [ -n "<>" ] || [ "<>" = "true" ]; then datadog-installer version; + if [ -d /opt/datadog-agent ]; then + echo "The agent should NOT have been installed by the distribution"; + exit 1; + fi elif command -v datadog-installer; then echo datadog-installer should not be installed; exit 2; else echo datadog-installer is not installed as expected; + if [ ! -d /opt/datadog-agent ]; then + echo "The agent should have been installed by the distribution"; + exit 1; + fi fi' workflows: From 78209a0e0950a0396b01328ddbd4c06e3a1e0349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Wed, 31 Jul 2024 09:27:31 +0200 Subject: [PATCH 05/20] debug --- tasks/installer-setup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/installer-setup.yml b/tasks/installer-setup.yml index 49b6f4d4..ce262d44 100644 --- a/tasks/installer-setup.yml +++ b/tasks/installer-setup.yml @@ -53,6 +53,10 @@ when: not datadog_installer_bootstrap_result.failed changed_when: true +- name: debug + debug: + msg: "owns agent rc: {{ datadog_installer_owns_agent }}" + - name: Disable agent install if owned by installer set_fact: agent_datadog_skip_install: true From be4846856fb322524f4c4b0ba57df8616c65f0f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 09:36:48 +0200 Subject: [PATCH 06/20] restart teh installer after updating the config --- handlers/main.yml | 7 +++++++ tasks/agent-linux.yml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/handlers/main.yml b/handlers/main.yml index 60bc9c67..d4aade4c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -12,6 +12,13 @@ state: restarted when: datadog_enabled and not ansible_check_mode and not ansible_facts.os_family == "Windows" and not ansible_facts.os_family == "Darwin" +- name: restart datadog-installer # noqa name[casing] + service: + name: datadog-installer + state: restarted + when: datadog_enabled and datadog_installer_enabled and not ansible_check_mode and + not ansible_facts.os_family == "Windows" and not ansible_facts.os_family == "Darwin" + # We can't add the Windows Agent service restart handler directly here because that makes the role require # the ansible.windows collection on all platforms. We only want it to be needed on Windows. # Therefore, what we do is the following: when needed, our Windows tasks call this handler to require a diff --git a/tasks/agent-linux.yml b/tasks/agent-linux.yml index f881679c..870367ec 100644 --- a/tasks/agent-linux.yml +++ b/tasks/agent-linux.yml @@ -30,7 +30,7 @@ agent_dd_config_dir: /etc/datadog-agent agent_dd_user: "{{ datadog_user }}" agent_dd_group: "{{ datadog_group }}" - agent_dd_notify_agent: restart datadog-agent + agent_dd_notify_agent: [restart datadog-agent, restart datadog-installer] - name: Create system-probe configuration file template: From c9a75410fbe5e7256ca1aa9b54c0d4a39471e6ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 11:15:05 +0200 Subject: [PATCH 07/20] ensure datadog_remote_updates is interpreted as a bool --- tasks/installer-setup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/installer-setup.yml b/tasks/installer-setup.yml index ce262d44..dbf5e33b 100644 --- a/tasks/installer-setup.yml +++ b/tasks/installer-setup.yml @@ -32,7 +32,7 @@ DATADOG_PARENT_ID: "{{ datadog_installer_trace_id }}" DD_SITE: "{{ datadog_site | default('datadoghq.com') }}" DD_API_KEY: "{{ datadog_api_key }}" - DD_REMOTE_UPDATES: "{{ 'true' if datadog_remote_updates is defined and datadog_remote_updates else '' }}" + DD_REMOTE_UPDATES: "{{ 'true' if datadog_remote_updates is defined and datadog_remote_updates | bool else '' }}" DD_APM_INSTRUMENTATION_ENABLED: "{{ datadog_apm_instrumentation_enabled }}" DD_APM_INSTRUMENTATION_LIBRARIES: "{{ datadog_apm_instrumentation_libraries | join(',') }}" ignore_errors: true From 6b130cfe4a6bb7d2d50c88c36abe4ce3a17e8267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 11:17:33 +0200 Subject: [PATCH 08/20] fix agent install method test --- .circleci/config.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 112c0ac0..5897ba9c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -260,15 +260,18 @@ jobs: - run: > bash -c 'if [ -n "<>" ] || [ "<>" = "true" ]; then datadog-installer version; - if [ -d /opt/datadog-agent ]; then - echo "The agent should NOT have been installed by the distribution"; - exit 1; - fi elif command -v datadog-installer; then echo datadog-installer should not be installed; exit 2; else echo datadog-installer is not installed as expected; + fi + if [ "<>" = "true" ]; then + if [ -d /opt/datadog-agent ]; then + echo "The agent should NOT have been installed by the distribution"; + exit 1; + fi + else if [ ! -d /opt/datadog-agent ]; then echo "The agent should have been installed by the distribution"; exit 1; From ef45282fde9f4faadd09032e9e4e6b2f99bb230c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 11:27:21 +0200 Subject: [PATCH 09/20] debug --- tasks/installer-setup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/installer-setup.yml b/tasks/installer-setup.yml index dbf5e33b..64ba01d3 100644 --- a/tasks/installer-setup.yml +++ b/tasks/installer-setup.yml @@ -24,6 +24,10 @@ include_tasks: pkg-debian/install-installer.yml when: ansible_facts.os_family == "Debian" and not ansible_check_mode +- name: debug remote updates + debug: + msg: "{{ 'true' if datadog_remote_updates is defined and datadog_remote_updates | bool else '' }}" + - name: Bootstrap the installer command: /usr/bin/datadog-bootstrap bootstrap register: datadog_installer_bootstrap_result From 3ad83e574ecc608606acd61a5eb1e70dc5904a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 13:46:56 +0200 Subject: [PATCH 10/20] increase installer tests verbosity --- .circleci/config.yml | 2 +- tasks/installer-setup.yml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5897ba9c..d9e948c6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -253,7 +253,7 @@ jobs: steps: - checkout - run: > - ANSIBLE_JINJA2_NATIVE="<>" ansible-playbook + ANSIBLE_JINJA2_NATIVE="<>" ansible-playbook -vv -i ./ci_test/inventory/<> "./ci_test/install_installer.yaml" -e datadog_apm_instrumentation_enabled="<>" -e datadog_remote_updates="<>" diff --git a/tasks/installer-setup.yml b/tasks/installer-setup.yml index 64ba01d3..cc0a6992 100644 --- a/tasks/installer-setup.yml +++ b/tasks/installer-setup.yml @@ -57,10 +57,6 @@ when: not datadog_installer_bootstrap_result.failed changed_when: true -- name: debug - debug: - msg: "owns agent rc: {{ datadog_installer_owns_agent }}" - - name: Disable agent install if owned by installer set_fact: agent_datadog_skip_install: true From ad74bc4b5d8e98065e50f17c8251c705787fedf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 14:12:16 +0200 Subject: [PATCH 11/20] attempt to add a dummy systemctl --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d9e948c6..6c4233d8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -252,6 +252,8 @@ jobs: - image: datadog/docker-library:ansible_<>_<> steps: - checkout + - run: printf "#!/bin/bash\n\nexit 0" > /usr/bin/systemctl && chmod +x /usr/bin/systemctl + - run: mkdir -p /etc/systemd/system/ - run: > ANSIBLE_JINJA2_NATIVE="<>" ansible-playbook -vv -i ./ci_test/inventory/<> "./ci_test/install_installer.yaml" From 5d29343ed3413e84f29be692ee01c05bbaae6456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 15:15:01 +0200 Subject: [PATCH 12/20] remove debug --- tasks/installer-setup.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tasks/installer-setup.yml b/tasks/installer-setup.yml index cc0a6992..0ebcfdbe 100644 --- a/tasks/installer-setup.yml +++ b/tasks/installer-setup.yml @@ -24,10 +24,6 @@ include_tasks: pkg-debian/install-installer.yml when: ansible_facts.os_family == "Debian" and not ansible_check_mode -- name: debug remote updates - debug: - msg: "{{ 'true' if datadog_remote_updates is defined and datadog_remote_updates | bool else '' }}" - - name: Bootstrap the installer command: /usr/bin/datadog-bootstrap bootstrap register: datadog_installer_bootstrap_result From fbfa2d382be5a48faabf58a8524bd57756affc57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 15:16:35 +0200 Subject: [PATCH 13/20] add a comment around dirty hack --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6c4233d8..e8cff672 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -252,6 +252,10 @@ jobs: - image: datadog/docker-library:ansible_<>_<> steps: - checkout + # datadog-installer will bailout if there's no systemctl binary, and won't attempt to + # create the systemd folder to store its units + # Since we're running the tests in a docker container without systemd, we can "help" it + # proceed by pretending systemd is there - run: printf "#!/bin/bash\n\nexit 0" > /usr/bin/systemctl && chmod +x /usr/bin/systemctl - run: mkdir -p /etc/systemd/system/ - run: > From 3a1a7050244b923d2e93dc423cdc7b0709677f33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Thu, 1 Aug 2024 15:19:11 +0200 Subject: [PATCH 14/20] reduce test verbosity --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e8cff672..9398ba63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -259,7 +259,7 @@ jobs: - run: printf "#!/bin/bash\n\nexit 0" > /usr/bin/systemctl && chmod +x /usr/bin/systemctl - run: mkdir -p /etc/systemd/system/ - run: > - ANSIBLE_JINJA2_NATIVE="<>" ansible-playbook -vv + ANSIBLE_JINJA2_NATIVE="<>" ansible-playbook -i ./ci_test/inventory/<> "./ci_test/install_installer.yaml" -e datadog_apm_instrumentation_enabled="<>" -e datadog_remote_updates="<>" From 4231245dd277888cc5ab06df1a600444c450a110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 2 Aug 2024 09:58:53 +0200 Subject: [PATCH 15/20] increase apm injector test verbosity --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9398ba63..579c2391 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -222,7 +222,7 @@ jobs: # these repos have expired GPG keys and make APT fail (and we don't need them) - run: sudo rm /etc/apt/sources.list.d/* - run: pip3 install ansible==<> - - run: ansible-playbook --become -i ./ci_test/inventory/ci.ini "./ci_test/install_agent_7_apm_python.yaml" + - run: ansible-playbook -vv --become -i ./ci_test/inventory/ci.ini "./ci_test/install_agent_7_apm_python.yaml" - run: sudo datadog-agent status || true - run: ps aux | grep -v grep | grep datadog-agent - run: git -C /tmp clone https://github.com/DataDog/system-tests.git From 39b4608dd4a2e9b09c4b0619d208f04e5a7152b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 2 Aug 2024 10:47:03 +0200 Subject: [PATCH 16/20] debug --- tasks/installer-setup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/installer-setup.yml b/tasks/installer-setup.yml index 0ebcfdbe..6017187f 100644 --- a/tasks/installer-setup.yml +++ b/tasks/installer-setup.yml @@ -80,6 +80,10 @@ - not datadog_installer_bootstrap_result.failed loop: "{{ datadog_installer_owned_apm_packages.results }}" +- name: debug APM libs + debug: + msg: "{{ datadog_apm_instrumentation_libraries }}" + - name: Stop duration measurements command: "date +%s%N" register: datadog_installer_stop_time From 4e8cd45451969d684efdd20a64283ea01e56e24b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 2 Aug 2024 10:48:53 +0200 Subject: [PATCH 17/20] more debug --- tasks/installer-setup.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/installer-setup.yml b/tasks/installer-setup.yml index 6017187f..4c146053 100644 --- a/tasks/installer-setup.yml +++ b/tasks/installer-setup.yml @@ -39,6 +39,10 @@ when: not datadog_installer_install_result.failed changed_when: true +# Ensure the service exists now +- name: Populate service facts + service_facts: + - name: Check if installer owns datadog-agent package command: datadog-installer is-installed "{{ datadog_agent_flavor }}" failed_when: datadog_installer_owns_agent.rc != 0 and datadog_installer_owns_agent.rc != 10 From 4ffc1b191970b8a3829c3b0584296bf0833d909c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 2 Aug 2024 11:13:01 +0200 Subject: [PATCH 18/20] only restart the installer when remote updates are enabled --- handlers/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index d4aade4c..c88aa12c 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -16,8 +16,9 @@ service: name: datadog-installer state: restarted - when: datadog_enabled and datadog_installer_enabled and not ansible_check_mode and - not ansible_facts.os_family == "Windows" and not ansible_facts.os_family == "Darwin" + # The installer currently only setup its systemd unit when remote updates are enabled + when: datadog_enabled and datadog_installer_enabled and datadog_remote_updates and + not ansible_check_mode and not ansible_facts.os_family == "Windows" and not ansible_facts.os_family == "Darwin" # We can't add the Windows Agent service restart handler directly here because that makes the role require # the ansible.windows collection on all platforms. We only want it to be needed on Windows. From b73896eaf57812d428b31223133f747a9109436c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 2 Aug 2024 11:25:41 +0200 Subject: [PATCH 19/20] remove debug --- tasks/installer-setup.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tasks/installer-setup.yml b/tasks/installer-setup.yml index 4c146053..0ebcfdbe 100644 --- a/tasks/installer-setup.yml +++ b/tasks/installer-setup.yml @@ -39,10 +39,6 @@ when: not datadog_installer_install_result.failed changed_when: true -# Ensure the service exists now -- name: Populate service facts - service_facts: - - name: Check if installer owns datadog-agent package command: datadog-installer is-installed "{{ datadog_agent_flavor }}" failed_when: datadog_installer_owns_agent.rc != 0 and datadog_installer_owns_agent.rc != 10 @@ -84,10 +80,6 @@ - not datadog_installer_bootstrap_result.failed loop: "{{ datadog_installer_owned_apm_packages.results }}" -- name: debug APM libs - debug: - msg: "{{ datadog_apm_instrumentation_libraries }}" - - name: Stop duration measurements command: "date +%s%N" register: datadog_installer_stop_time From 402592923bf546bf8b016f9abb320432ed47bc93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Beauz=C3=A9e-Luyssen?= Date: Fri, 2 Aug 2024 11:27:33 +0200 Subject: [PATCH 20/20] decrease verbosity --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 579c2391..9398ba63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -222,7 +222,7 @@ jobs: # these repos have expired GPG keys and make APT fail (and we don't need them) - run: sudo rm /etc/apt/sources.list.d/* - run: pip3 install ansible==<> - - run: ansible-playbook -vv --become -i ./ci_test/inventory/ci.ini "./ci_test/install_agent_7_apm_python.yaml" + - run: ansible-playbook --become -i ./ci_test/inventory/ci.ini "./ci_test/install_agent_7_apm_python.yaml" - run: sudo datadog-agent status || true - run: ps aux | grep -v grep | grep datadog-agent - run: git -C /tmp clone https://github.com/DataDog/system-tests.git