os icon indicating copy to clipboard operation
os copied to clipboard

datadog-agent/7.57.2 package update

Open octo-sts[bot] opened this issue 1 year ago • 6 comments

octo-sts[bot] avatar Oct 02 '24 15:10 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "ERROR: failed to build package. the build environment has been preserved:
INFO   workspace dir: /temp/melange-workspace-2027185007
INFO   guest dir: /temp/melange-guest-2657609443
ERRO failed to build package: unable to run subpackage datadog-agent-core-integrations pipeline: unable to run pipeline: unable to run pipeline: unable to run pipeline: exit status 1
make[1]: *** [Makefile:111: packages/aarch64/datadog-agent-7.57.2-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/datadog-agent] Error 2
##[error]Process completed with exit code 2."

1. Verify dependencies for `datadog-agent-core-integrations`.
2. Check the `Makefile` for correct paths and targets.
3. Ensure the build environment is correctly set up.
4. Review logs in `/temp/melange-workspace-2027185007` and `/temp/melange-guest-2657609443`.
5. Run the build command manually to identify specific issues.
6. Update or fix any broken scripts or commands in the pipeline.

octo-sts[bot] avatar Oct 02 '24 15:10 octo-sts[bot]

Open AI suggestions to solve the build error:

The error log indicates a failure in building the package due to an issue with the `datadog-agent-core-integrations` subpackage pipeline, resulting in an exit status 1. Here are some steps you can take to troubleshoot:

1. **Check Logs**: Look into the logs located in `/temp/melange-workspace-1707605405` for more detailed error messages.
2. **Verify Dependencies**: Ensure that all dependencies for `datadog-agent-core-integrations` are correctly installed and configured.
3. **Build Tools**: Confirm that all necessary build tools are installed and accessible in your environment.
4. **Permissions**: Check the permissions for both the workspace and guest directories to ensure there are no access issues.
5. **Increase Verbosity**: Re-run the build process with increased verbosity to gather more detailed information about the failure.

octo-sts[bot] avatar Oct 03 '24 20:10 octo-sts[bot]

Open AI suggestions to solve the build error:

The error log indicates a failure in building the package due to an issue with the `datadog-agent-core-integrations` subpackage. The error message suggests checking the logs in `/temp/melange-workspace-1562266069` for more details, verifying dependencies, ensuring Makefile paths and targets are correct, running `make clean` to clear previous builds, and retrying the build process.

octo-sts[bot] avatar Oct 05 '24 18:10 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message indicates a failure in building the package due to an issue with the `datadog-agent-core-integrations` subpackage pipeline, resulting in an exit status 1. You can check the logs in `/temp/melange-workspace-2599521205` for more details, verify dependencies and configurations, ensure all required tools and libraries are installed, and consider re-running the build with increased verbosity for more insights.

octo-sts[bot] avatar Oct 07 '24 23:10 octo-sts[bot]

@TaylorBloom129 running test/datadog-agent fails on agent check disk which segfaults. That whole thing is very very difficult to debug, as it appears that go application, starts a python interpreter, and then runs the disk check that than segfaults things. It would need escalation to foundations at a P0, as this is likely take a long time to debug and resolve. To even understand what the problem is.

I couldn't even figure out how to run the disk check stand-alone, to see if it was a regular python runtime error, or something else more worrying.

@joshrwolf do you have any tips on running checks standalone without the go wrapper?

xnox avatar Oct 08 '24 16:10 xnox

As requested by @xnox I have escalated this to foundations.

philroche avatar Oct 14 '24 10:10 philroche

Gen AI suggestions to solve the build error:

The error message indicates: "failed to test package: unable to run pipeline: unable to run pipeline: task exited with code 2". Here are some suggestions to fix the error:

1. Check logs for detailed error messages.
2. Verify the test package and its dependencies.
3. Ensure the pipeline configuration is correct.
4. Review recent code changes for potential issues.
5. Run the task manually to identify specific problems.

octo-sts[bot] avatar Oct 15 '24 17:10 octo-sts[bot]

malcontent detected files with a risk score equal or higher than 'CRITICAL': Click to expand/collapse

/tmp/malcontent1119105509/packages/x86_64/datadog-agent-oci-compat-7.57.2-r0.apk/opt/datadog-agent/embedded/share/system-probe/java/agent-usm.jar ∴ /appsec/default_config.json [🚨 CRITICAL]

RISK KEY DESCRIPTION EVIDENCE
HIGH combo/stealer/linux_server may steal sensitive Linux secrets .bash_history
.ssh/id_rsa
chmod
crontab
crypto
echo
etc/shadow
find
http
scp
tar
HIGH combo/stealer/ssh possible SSH stealer .ssh
curl
socket
tar
wget
zip
HIGH device/hardware/enumeration linux dmidecode hardware profiler high dmidecode",
HIGH evasion/int_to_char converts strings into integers fromCharCode
HIGH persist/bash Writes to bash configuration files to persist .bash_logout
CRITICAL persist/linux_multi references multiple methods of persistence in Linux .bash_logout
.bash_profile
.bashrc
crontab
etc/udev
HIGH secrets/bash_history access .bash_history file .bash_history
HIGH shell/bash_dev_tcp uses /dev/tcp for network access (bash) /dev/tcp
HIGH shell/bash_dev_udp uses /dev/udp for network access (bash) /dev/udp

octo-sts[bot] avatar Oct 15 '24 18:10 octo-sts[bot]

@pnasrat is awesome for providing expert knowledge of debugging crashes; and datadog in general.

xnox avatar Oct 15 '24 18:10 xnox