{"receipt_id":"agent1-1","seq":1,"branch_id":"agent1","kind":"command","cmd":"git ls-files -z","path":null,"exit_code":0,"stdout_tail":"tDatadog.test_comments.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_comments.handle\u0000tests/integration/api/cassettes/TestDatadog.test_comments.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_distribution_metrics.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_distribution_metrics.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_downtime.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_downtime.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_downtime_cancel_by_scope.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_downtime_cancel_by_scope.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_embed_crud.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_events.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_events.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_get_all_embeds.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_graph_snapshot.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_graph_snapshot.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_host_muting.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_host_muting.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_metrics_list.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_metrics_list.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_metrics_simple.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_metrics_simple.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_metrics_tuple.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_metrics_tuple.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_monitor_can_delete.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_monitor_can_delete.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_monitor_can_delete_with_force.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_monitor_can_delete_with_force.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_monitor_crud.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_monitor_crud.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_monitor_muting.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_monitor_validate.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_roles_crud.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_screenboard.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_search.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_service_check.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_service_level_objective_crud.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_service_level_objective_crud.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_tags.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_tags.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_timeboard.yaml\u0000tests/integration/api/cassettes/TestDatadog.test_user_crud.frozen\u0000tests/integration/api/cassettes/TestDatadog.test_user_crud.yaml\u0000tests/integration/api/cassettes/TestGcpIntegration.test_gcp_crud.yaml\u0000tests/integration/api/cassettes/TestSynthetics.test_delete_test.yaml\u0000tests/integration/api/cassettes/TestSynthetics.test_get_all_tests.yaml\u0000tests/integration/api/cassettes/TestSynthetics.test_get_devices.yaml\u0000tests/integration/api/cassettes/TestSynthetics.test_get_locations.yaml\u0000tests/integration/api/cassettes/TestSynthetics.test_get_update_pause_test.yaml\u0000tests/integration/api/constants.py\u0000tests/integration/api/test_api.py\u0000tests/integration/api/test_aws_integration.py\u0000tests/integration/api/test_aws_logs.py\u0000tests/integration/api/test_azure_integration.py\u0000tests/integration/api/test_gcp_integration.py\u0000tests/integration/api/test_synthetics.py\u0000tests/integration/cassettes/test_freezer.frozen\u0000tests/integration/conftest.py\u0000tests/integration/dogshell/__init__.py\u0000tests/integration/dogshell/cassettes/TestDogshell.test_comment.handle\u0000tests/integration/dogshell/cassettes/TestDogshell.test_comment.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_downtime_cancel_by_scope.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_downtime_schedule.frozen\u0000tests/integration/dogshell/cassettes/TestDogshell.test_downtime_schedule.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_event.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_host_muting.frozen\u0000tests/integration/dogshell/cassettes/TestDogshell.test_host_muting.seed\u0000tests/integration/dogshell/cassettes/TestDogshell.test_host_muting.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_metrics.frozen\u0000tests/integration/dogshell/cassettes/TestDogshell.test_metrics.seed\u0000tests/integration/dogshell/cassettes/TestDogshell.test_metrics.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_monitors.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_screenboards.frozen\u0000tests/integration/dogshell/cassettes/TestDogshell.test_screenboards.seed\u0000tests/integration/dogshell/cassettes/TestDogshell.test_screenboards.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_service_check.yaml\u0000tests/integration/dogshell/cassettes/TestDogshell.test_timeboards.frozen\u0000tests/integration/dogshell/cassettes/TestDogshell.test_timeboards.seed\u0000tests/integration/dogshell/cassettes/TestDogshell.test_timeboards.yaml\u0000tests/integration/dogshell/test_dogshell.py\u0000tests/integration/test_freezer.py\u0000tests/performance/__init__.py\u0000tests/performance/test_lambda_wrapper_thread_safety.py\u0000tests/performance/test_statsd_thread_safety.py\u0000tests/performance/test_threadstats_thread_safety.py\u0000tests/unit/__init__.py\u0000tests/unit/api/__init__.py\u0000tests/unit/api/helper.py\u0000tests/unit/api/test_api.py\u0000tests/unit/dogstatsd/__init__.py\u0000tests/unit/dogstatsd/fixtures.py\u0000tests/unit/dogstatsd/fixtures/route\u0000tests/unit/dogstatsd/test_statsd.py\u0000tests/unit/dogwrap/__init__.py\u0000tests/unit/dogwrap/fixtures/proc_out.txt\u0000tests/unit/dogwrap/test_dogwrap.py\u0000tests/unit/threadstats/__init__.py\u0000tests/unit/threadstats/test_threadstats.py\u0000tests/unit/util/__init__.py\u0000tests/unit/util/test_cli.py\u0000tests/unit/util/test_format.py\u0000tests/util/__init__.py\u0000tests/util/contextmanagers.py\u0000tox.ini\u0000","stderr_tail":"","stdout_sha256":"6ea8c6721880f16b797fa6b509e00567b7b1afa2a2e24085a9468a7bb2054afb","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/datadog__datadogpy-555/runs/pilot-datadog__datadogpy-555-5e9a23aa00/logs/agent1/agent1-1.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:20:10.200697Z","duration_s":0.003439,"timed_out":false,"image_before":"db367bc3-8f41-4f76-b202-0ffe76861c4e","image_after":"d6d429d7-1c73-4d87-bd25-e4a532396854","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-2","seq":2,"branch_id":"agent1","kind":"write","cmd":"/opt/receipts-26292804f50b4b0fb055a265a0f7a0a6/bin/busybox sh -c 'mkdir -p /datadogpy/datadog/dogshell && cp /opt/receipts-26292804f50b4b0fb055a265a0f7a0a6/incoming/061d200310613d2f571b1dbd85a39c18dd9800151b430706478814953f9572f7 /datadogpy/datadog/dogshell/wrap.py'","path":"datadog/dogshell/wrap.py","exit_code":0,"stdout_tail":"","stderr_tail":"","stdout_sha256":"061d200310613d2f571b1dbd85a39c18dd9800151b430706478814953f9572f7","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/datadog__datadogpy-555/runs/pilot-datadog__datadogpy-555-5e9a23aa00/logs/agent1/agent1-2.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:20:19.417442Z","duration_s":0.004667,"timed_out":false,"image_before":"d6d429d7-1c73-4d87-bd25-e4a532396854","image_after":"8775ca94-3ded-4361-bbba-2e7c2cf568c6","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-3","seq":3,"branch_id":"agent1","kind":"command","cmd":"cd /datadogpy && python -m pytest tests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_build_event_body -v 2>&1","path":null,"exit_code":0,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nrootdir: /datadogpy\nconfigfile: tox.ini\ncollecting ... collected 1 item\n\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_build_event_body PASSED [100%]\n\n=============================== warnings summary ===============================\ndatadog/util/compat.py:110\n  /datadogpy/datadog/util/compat.py:110: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.\n    import pkg_resources as pkg\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n========================= 1 passed, 1 warning in 0.30s =========================\n","stderr_tail":"","stdout_sha256":"ca6781bcbd7a18e56b6370993a9b0fe9bdab1bd8b000046cd4930a7a1e5ead0f","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/datadog__datadogpy-555/runs/pilot-datadog__datadogpy-555-5e9a23aa00/logs/agent1/agent1-3.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:20:23.535306Z","duration_s":0.367013,"timed_out":false,"image_before":"8775ca94-3ded-4361-bbba-2e7c2cf568c6","image_after":"bdd160dd-af10-4d66-9a9e-9d504700575d","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-4","seq":4,"branch_id":"agent1","kind":"command","cmd":"cd /datadogpy && python -m pytest tests/unit/dogwrap/ -v 2>&1","path":null,"exit_code":0,"stdout_tail":"============================= test session starts ==============================\nplatform linux -- Python 3.10.19, pytest-9.0.2, pluggy-1.6.0 -- /usr/local/bin/python\ncachedir: .pytest_cache\nrootdir: /datadogpy\nconfigfile: tox.ini\ncollecting ... collected 12 items\n\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_build_event_body PASSED [  8%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute PASSED     [ 16%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_cmd_timeout PASSED [ 25%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_exit_code PASSED [ 33%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_oserror PASSED [ 41%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_popen_fail PASSED [ 50%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_sigkill_timeout PASSED [ 58%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_sigterm_timeout PASSED [ 66%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_output_reader PASSED [ 75%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_parse_options PASSED [ 83%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_poll_proc PASSED   [ 91%]\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_poll_timeout PASSED [100%]\n\n=============================== warnings summary ===============================\ndatadog/util/compat.py:110\n  /datadogpy/datadog/util/compat.py:110: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.\n    import pkg_resources as pkg\n\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_cmd_timeout\n  /usr/local/lib/python3.10/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-3\n  \n  Traceback (most recent call last):\n    File \"/usr/local/lib/python3.10/threading.py\", line 1016, in _bootstrap_inner\n      self.run()\n    File \"/datadogpy/datadog/dogshell/wrap.py\", line 78, in run\n      self._fwd_out.write(line)\n  TypeError: a bytes-like object is required, not 'str'\n  \n  Enable tracemalloc to get traceback where the object was allocated.\n  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.\n    warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))\n\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_exit_code\n  /usr/local/lib/python3.10/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-5\n  \n  Traceback (most recent call last):\n    File \"/usr/local/lib/python3.10/threading.py\", line 1016, in _bootstrap_inner\n      self.run()\n    File \"/datadogpy/datadog/dogshell/wrap.py\", line 78, in run\n      self._fwd_out.write(line)\n  TypeError: a bytes-like object is required, not 'str'\n  \n  Enable tracemalloc to get traceback where the object was allocated.\n  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.\n    warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))\n\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_oserror\n  /usr/local/lib/python3.10/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-7\n  \n  Traceback (most recent call last):\n    File \"/usr/local/lib/python3.10/threading.py\", line 1016, in _bootstrap_inner\n      self.run()\n    File \"/datadogpy/datadog/dogshell/wrap.py\", line 78, in run\n      self._fwd_out.write(line)\n  TypeError: a bytes-like object is required, not 'str'\n  \n  Enable tracemalloc to get traceback where the object was allocated.\n  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.\n    warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))\n\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_sigkill_timeout\n  /usr/local/lib/python3.10/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-9\n  \n  Traceback (most recent call last):\n    File \"/usr/local/lib/python3.10/threading.py\", line 1016, in _bootstrap_inner\n      self.run()\n    File \"/datadogpy/datadog/dogshell/wrap.py\", line 78, in run\n      self._fwd_out.write(line)\n  TypeError: a bytes-like object is required, not 'str'\n  \n  Enable tracemalloc to get traceback where the object was allocated.\n  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.\n    warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))\n\ntests/unit/dogwrap/test_dogwrap.py::TestDogwrap::test_execute_sigterm_timeout\n  /usr/local/lib/python3.10/site-packages/_pytest/threadexception.py:58: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-11\n  \n  Traceback (most recent call last):\n    File \"/usr/local/lib/python3.10/threading.py\", line 1016, in _bootstrap_inner\n      self.run()\n    File \"/datadogpy/datadog/dogshell/wrap.py\", line 78, in run\n      self._fwd_out.write(line)\n  TypeError: a bytes-like object is required, not 'str'\n  \n  Enable tracemalloc to get traceback where the object was allocated.\n  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.\n    warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg))\n\n-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\n======================== 12 passed, 6 warnings in 0.66s ========================\n","stderr_tail":"","stdout_sha256":"b995da4b53c34b97ab1388504d7594d5b2a405bcde53eb5f77327bce0f1e71e0","log_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/datadog__datadogpy-555/runs/pilot-datadog__datadogpy-555-5e9a23aa00/logs/agent1/agent1-4.log","tree_digest":null,"tree_download_s":null,"started_at":"2026-10-03T22:20:27.078884Z","duration_s":0.30466899999999997,"timed_out":false,"image_before":"bdd160dd-af10-4d66-9a9e-9d504700575d","image_after":"f70f5fb1-765c-4b5d-908f-d43dcc7dfad6","junit":null,"diff":null,"patch_sha256":null,"dropped_paths":[],"snapshot_sha":null}
{"receipt_id":"agent1-5","seq":5,"branch_id":"agent1","kind":"diff","cmd":"compute patch in executor staging agent1-0e94de1db7124b9f9a6603be056618bb: /opt/homebrew/Cellar/git/2.53.0/bin/git -c core.hooksPath=/dev/null -c core.attributesFile=/dev/null -c diff.external= -c core.quotePath=false add -A && /opt/homebrew/Cellar/git/2.53.0/bin/git -c core.hooksPath=/dev/null -c core.attributesFile=/dev/null -c diff.external= -c core.quotePath=false diff --cached --binary --no-ext-diff --no-textconv --no-renames ae2b89ca0d1d2e4a1aea5159e5df08b4027a7616","path":null,"exit_code":0,"stdout_tail":"diff --git a/datadog/dogshell/wrap.py b/datadog/dogshell/wrap.py\nindex 022b333..f3bc1ad 100644\n--- a/datadog/dogshell/wrap.py\n+++ b/datadog/dogshell/wrap.py\n@@ -211,8 +211,10 @@ def build_event_body(cmd, returncode, stdout, stderr, notifications):\n         )\n \n     if notifications:\n+        if isinstance(notifications, bytes):\n+            notifications = notifications.decode(\"utf-8\", \"replace\")\n         fmt_notifications = u\"**>>>> NOTIFICATIONS <<<<**\\n\\n {notifications}\\n\".format(\n-            notifications=notifications.decode(\"utf-8\", \"replace\")\n+            notifications=notifications\n         )\n \n     return \\\n","stderr_tail":"","stdout_sha256":"44a65bdaa64b2f3f3bd3126f55b90c6a063c120df5bfd9d6766d6db0cba58be5","log_path":null,"tree_digest":"356bdfaf2a003c3f9cf1b187a382b000500efdf9c614540ec85189f42eaa6388","tree_download_s":3.254706542007625,"started_at":"2026-10-03T22:20:40.481455Z","duration_s":0.03685829206369817,"timed_out":false,"image_before":"f70f5fb1-765c-4b5d-908f-d43dcc7dfad6","image_after":"f70f5fb1-765c-4b5d-908f-d43dcc7dfad6","junit":null,"diff":{"files":[{"path":"datadog/dogshell/wrap.py","added":3,"deleted":1,"category":"source","status":"modified"}],"patch_sha256":"44a65bdaa64b2f3f3bd3126f55b90c6a063c120df5bfd9d6766d6db0cba58be5","patch_path":"~/dev/nebius-hackathon/pilot/v2-arm-lightning/datadog__datadogpy-555/runs/pilot-datadog__datadogpy-555-5e9a23aa00/artifacts/agent1/agent1-5.patch"},"patch_sha256":"44a65bdaa64b2f3f3bd3126f55b90c6a063c120df5bfd9d6766d6db0cba58be5","dropped_paths":[],"snapshot_sha":"ae2b89ca0d1d2e4a1aea5159e5df08b4027a7616"}
