Skip to content

DNS Tests - Falsely Returns Fail/Skip? #108

Closed

Description

@noursaidi

Describe the bug
The DNS tests falsely return skip and fail, despite there being DNS traffic:

image

 {
        "name": "dns.network.hostname_resolution",
        "description": "Verify the device sends DNS requests",
        "expected_behavior": "The device sends DNS requests.",
        "required_result": "Required",
        "start": "2023-08-30T11:35:14.802646",
        "result": "skipped",
        "result_description": "dns.network.hostname_resolution skipped - see result details for more info",
        "end": "2023-08-30T11:35:14.802855",
        "duration": "0:00:00.000209"
      },
      {
        "name": "dns.network.from_dhcp",
        "description": "Verify the device allows for a DNS server to be entered automatically",
        "expected_behavior": "The device sends DNS requests to the DNS server provided by the DHCP server",
        "required_result": "Roadmap",
        "start": "2023-08-30T11:35:14.802881",
        "result": "skipped",
        "result_details": "No DNS traffic detected from the device",
        "result_description": "dns.network.from_dhcp skipped - see result details for more info",
        "end": "2023-08-30T11:35:14.915428",
        "duration": "0:00:00.112547"
      },

Additionally, the message skipped - see result details for more info" is not very helpful as there is no further information

Activity

  1. linked a pull request that will close this issueCorrect dns test name #110on Aug 30, 2023
  2. self-assigned this
    on Aug 30, 2023
  3. jboddey commented on Aug 30, 2023

    @jboddey
    Contributor

    This was due to the test method being named differently to the module config so the test was never executed. This should now be fixed in the attached PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions