Skip to content

Services module detects resolved device IP during startup but then ignores it which causes services module timeout #1229

Closed

Description

@duncangreene

Describe the bug
I may well have missed something, but it appears the services module correctly detects resolved DUT IP during startup but then ignores it which causes no services testing to take place and then ultimately a module timeout.

Manifested as below in report.

Image

Below in logs. You can see Testrun has successfully detected DUT IP of 10.10.10.16.

Image
Image

Wireshark appears to show Testrun cyclically trying to resolve 10.10.10.14 instead.

Image

Expected behavior
Testrun presumably should be running tests against the DUT IP of 10.10.10.16 instead.

Error logs
report (35).zip

Environment (please provide the following information about your setup):

  • OS: Ubuntu 22.04.5
  • Version: 2.1.1 (modifications from official 2.1.1 release are as below)
    • make/DEBIAN/control (Mod version number to append "-oss.1.0")
    • resources/test_packs/qualification/config.json (Set tests to excluded/recommended/informational as appropriate)
    • resources/devices/device_profile.json (Add custom questions)

Additional context
Interestingly the protocol.services.bacnet test is excluded from our test pack, but appears in the results table for some reason.

Activity

  1. changed the title [-]Services module detects resolved device IP during startup but ignores it which causes services module timeout[/-] [+]Services module detects resolved device IP during startup but then ignores it which causes services module timeout[/+] on Apr 10, 2025
  2. MariusBaldovin commented on Apr 10, 2025

    @MariusBaldovin
    Contributor

    @duncangreene The device IP has been successfully resolved. You can increase the Services Module timeout. The TCP scan hasn't been completed within 15 minutes for this device and the module was timed out.

  3. duncangreene commented on Apr 10, 2025

    @duncangreene
    Author

    @MariusBaldovin where are you deciphering that the TCP scan hasn't been completed? By the looks of the services.pcap file, there are no TCP packets at all, which seems to suggest the scan never even started?

    Image

  4. MariusBaldovin commented on Apr 10, 2025

    @MariusBaldovin
    Contributor

    @duncangreene I was following the logs. Indeed, the services.pcap file contains no TCP packets and suggests that the TCP scan hasn't started.

  5. self-assigned this
    on Apr 22, 2025
  6. jboddey commented on Apr 28, 2025

    @jboddey
    Contributor

    This has been resolved and will be released in v2.2

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

Metadata

Metadata

Assignees

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