Revert Datadog testagent version from 1.18.0 to 1.12.0 #4060
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR changes the Datadog testagent version from 1.18.0 back to 1.12.0 in the
docker-compose.yml
and.circleci/config.yml
.Motivation:
Testagent v1.18.0 causes local tracing parsing errors, such as:
ERROR -- datadog: [datadog] (/app/lib/datadog/tracing/transport/http/client.rb:42:in 'rescue in send_request') Internal error during Datadog::Tracing::Transport::HTTP::Client request. Cause: JSON::ParserError unexpected token at '{"rate_by_service": {"service:,e' Location: /usr/local/bundle/gems/json-2.7.5/lib/json/common.rb:220:in 'parse'
. No particular functionality of v1.18.0 was needed, and reverting the version to 1.12.0 fixes these errors.Change log entry
No change log entry needed.
Additional Notes:
N/A
How to test the change?
To test this change, run
docker compose run --rm -it tracer-<version number> bash -c "rm *lock && bundle install && bundle exec rake spec:main"
locally. All tests should pass, whereas previously, you would see many tracing errors.