A new failure behavior was noticed in one environment for python apps:
**ERROR** Unable to rewrite she-bangs: open /tmp/contents364703663/deps/0/bin/python: text file busy
Failed to compile droplet: Failed to run all supply scripts: exit status 14
Error staging application: BuildpackCompileFailed - App staging failed in the buildpack compile phase
FAILED
The DynaTrace OneAgent created a process which competed with the app itself for access to the python binary.
There is a python-related feature in DynaTrace which had to be disabled in order to avoid the conflict between the app and the DynaTrace agent, so that it does not create contention during application startup.
Under "Settings / Monitored Technologies / Python," disable the "Monitor Python" toggle switch.