Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pr 1148 for 1.16.x #1152

Merged
merged 2 commits into from
Jan 2, 2018
Merged

Pr 1148 for 1.16.x #1152

merged 2 commits into from
Jan 2, 2018

Conversation

nmeyerhans
Copy link
Contributor

Summary

This is a port of the changes from #1148 to the v1.16.x branch. It was generated with:
git cherry-pick origin/dev..origin/pr/1148

The merge completely cleanly with no conflicts except the expected CHANGELOG.md conflicts.

Testing

  • Builds on Linux (make release)
  • Builds on Windows (go build -out amazon-ecs-agent.exe ./agent)
  • Unit tests on Linux (make test) pass
  • Unit tests on Windows (go test -timeout=25s ./agent/...) pass
  • Integration tests on Linux (make run-integ-tests) pass
  • Integration tests on Windows (.\scripts\run-integ-tests.ps1) pass
  • Functional tests on Linux (make run-functional-tests) pass
  • Functional tests on Windows (.\scripts\run-functional-tests.ps1) pass

New tests cover the changes:

Description for the changelog

Licensing

This contribution is under the terms of the Apache 2.0 License:

This commit adds back-off retry logic in:
* udev watcher: It takes a few milliseconds for the ENI's mac address to
show up on the instance once udev watcher detects that a new device has
been attached
* eni state lookup: If for whatever reason, there's a delay in ACS
sending the ENI attachment message to the agent, the agent's state
remains unaware of the ENI

This should lead to improved task start latencies of awsvpc tasks.
@nmeyerhans nmeyerhans merged commit 679b22d into aws:v1.16.x Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants