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

integration-tests: Fix nightly job failures #71

Merged
merged 1 commit into from
May 7, 2024

Conversation

urutva
Copy link
Contributor

@urutva urutva commented May 1, 2024

Description

With FreeRTOS/FreeRTOS-Plus-TCP@4471af6, a validation logic has been introduced which checks, if one of the address in an IP packet is loopback then both source and destination addresses must be loopback. For network interface tests, we run the server on the local machine and use loopback interface address in integration tests to communicate with the server. This causes validation logic to fail, as the destination address in the IP in the packet returned by the server is not a loopback address, but instead address assigned to the device. As a workaround, we use the ethernet interface address of the host machine instead of loopback to communicate with the server.

In addition, add a job retry logic to nightly build jobs so that, jobs gets restarted for known failures.

Test Steps

Changes validated in the CI, no regressions observed.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

With FreeRTOS/FreeRTOS-Plus-TCP@4471af6,
a validation logic has been introduced which checks, if one of the
address in an IP packet is loopback then both source and destination
addresses must be loopback. For network interface tests, we run the
server on the local machine and use loopback interface address in
integration tests to communicate with the server. This causes
validation logic to fail, as the destination address in the IP in the
packet returned by the server is not a loopback address, but instead
address assigned to the device. As a workaround, we use the ethernet
interface address of the host machine instead of loopback to
communicate with the server.

In addition, add a job retry logic to nightly build jobs so that, jobs
gets restarted for known failures.

Signed-off-by: Devaraj Ranganna <[email protected]>
@urutva urutva requested a review from a team as a code owner May 1, 2024 12:46
@urutva urutva merged commit 35da8b9 into FreeRTOS:main May 7, 2024
15 checks passed
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.

3 participants