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

DNS tests: Cancel asynchronous dns query if it times out #11936

Merged
merged 1 commit into from Nov 26, 2019
Merged

DNS tests: Cancel asynchronous dns query if it times out #11936

merged 1 commit into from Nov 26, 2019

Conversation

kivaisan
Copy link
Contributor

Description

Summary of change

In this test case if asynchronous DNS request results does not happen
in requested time, the request must be cancelled to ensure it does not
happen later on when test has exited already.

We've seen couple of crashes in CI tests which indicate this kind of behaviour
but this is very difficult to reproduce.

Documentation


Pull request type

[X] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[X] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers

@AriParkkila @tymoteuszblochmobica

Release Notes

Summary of changes

Impact of changes

Migration actions required

In this test case if asynchronous DNS request results does not happen
in requested time, the request must be cancelled to ensure it does not
happen later on when test has exited already.

We've seen couple of crashes in CI tests which indicate this kind of behaviour
but this is very difficult to reproduce.
@ciarmcom
Copy link
Member

@kivaisan, thank you for your changes.
@AriParkkila @tymoteuszblochmobica @ARMmbed/mbed-os-test @ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers please review.

@bulislaw
Copy link
Member

What's the fix version for this PR?

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 25, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Nov 25, 2019

Test run: FAILED

Summary: 1 of 4 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-IAR

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 26, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Nov 26, 2019

Test run: SUCCESS

Summary: 5 of 5 test jobs passed
Build number : 2
Build artifacts

@0xc0170 0xc0170 merged commit e4b3603 into ARMmbed:master Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants