Forgot to include the output log of a direct execution :

[root@fedora lldpd]# python tests/miscellaneous-tests/lldpd-tests.py
test_lldpd_trasmitted_lldp_attributes (__main__.lldpdTests)
verify at the other end of veth received LLDP packets that contains attibutes (link address, hostname, TTL, system desc). tcpdump ... reading from file /tmp/lldpd-tcp-dump.pcap, link-type EN10MB (Ethernet), snapshot length 262144
dropped privs to tcpdump
ok
test_lldpd_trasmitted_lldp_packets (__main__.lldpdTests)
verify at the other end of veth ifname lldpd has received LLDP packets. tcpdump ... reading from file /tmp/lldpd-tcp-dump.pcap, link-type EN10MB (Ethernet), snapshot length 262144
dropped privs to tcpdump
ok
test_lldpd_received_lldp_packets_sent_by_systemd_networkd (__main__.lldpdTestsViaNetworkd) ... ok
test_systemd_networkd_received_lldp_packets (__main__.lldpdTestsViaNetworkd) ... ok

----------------------------------------------------------------------
Ran 4 tests in 63.473s

OK

Also, the ansible log with -vvv (just the test stderr):

    "stderr_lines": [
        ":: [ 21:43:57 ] :: [ WARNING  ] :: POSIX mode detected and switched off",
        ":: [ 21:43:57 ] :: [ WARNING  ] :: Please fix your test to have /bin/bash shebang",
        "",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "::   Setup",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "",
        ":: [ 21:43:57 ] :: [   PASS   ] :: Checking for the presence of lldpd rpm ",
        ":: [ 21:43:57 ] :: [   LOG    ] :: Package versions:",
        ":: [ 21:43:57 ] :: [   LOG    ] ::   lldpd-1.0.13-1.fc36.x86_64",
        ":: [ 21:43:58 ] :: [  BEGIN   ] :: Running 'cp lldpd-tests.py /usr/bin/'",
        ":: [ 21:43:58 ] :: [   PASS   ] :: Command 'cp lldpd-tests.py /usr/bin/' (Expected 0, got 0)",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "::   Duration: 1s",
        "::   Assertions: 2 good, 0 bad",
        "::   RESULT: PASS (Setup)",
        "",
        "",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "::   Test",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "",
        ":: [ 21:43:58 ] :: [   LOG    ] :: lladpd tests",
        ":: [ 21:43:58 ] :: [  BEGIN   ] :: Running '/usr/bin/python3 /usr/bin/lldpd-tests.py'",
        "reading from file /tmp/lldpd-tcp-dump.pcap, link-type EN10MB (Ethernet), snapshot length 262144",
        "dropped privs to tcpdump",
        "reading from file /tmp/lldpd-tcp-dump.pcap, link-type EN10MB (Ethernet), snapshot length 262144",
        "dropped privs to tcpdump",
        ":: [ 21:45:01 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/lldpd-tests.py' (Expected 0, got 0)",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "::   Duration: 63s",
        "::   Assertions: 1 good, 0 bad",
        "::   RESULT: PASS (Test)",
        "",
        "",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "::   Cleanup",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "",
        ":: [ 21:45:01 ] :: [  BEGIN   ] :: Running 'rm /usr/bin/lldpd-tests.py'",
        ":: [ 21:45:01 ] :: [   PASS   ] :: Command 'rm /usr/bin/lldpd-tests.py' (Expected 0, got 0)",
        ":: [ 21:45:01 ] :: [   LOG    ] :: lladpd tests done",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "::   Duration: 0s",
        "::   Assertions: 1 good, 0 bad",
        "::   RESULT: PASS (Cleanup)",
        "",
        ":: [ 21:45:01 ] :: [   LOG    ] :: JOURNAL XML: /var/tmp/beakerlib-vWlJfli/journal.xml",
        ":: [ 21:45:01 ] :: [   LOG    ] :: JOURNAL TXT: /var/tmp/beakerlib-vWlJfli/journal.txt",
        "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::",
        "::   Duration: 64s",
        "::   Phases: 3 good, 0 bad",
        "::   OVERALL RESULT: PASS (unknown)",
        "",
        "Run test '': done. Test's exit code: 0"
    ],






On Tue, Jan 11, 2022 at 9:26 PM David Sastre <d.sastre.medina@gmail.com> wrote:
Hello,

First off, I'm not in the packagers group myself as of yet, but I've been working on a PR[1] to update lldpd to a current version.

Long story short, Koji is building successfully[2], but dist-git is reporting failure on one of the tests[3].

I made sure I can pass the tests locally on a VM, both running them directly and using ansible, as per directions in the Fedora CI docs[4].
There is a copy of the playbook run attached.

How do I troubleshoot this? Am I missing something or doing something wrong?

Thanks.

[1]: https://src.fedoraproject.org/rpms/lldpd/pull-request/6
[2]: https://koji.fedoraproject.org/koji/taskinfo?taskID=811093
[3]: http://artifacts.dev.testing-farm.io/bdc84cd6-2710-42e3-9aa8-a31cc2b60cf2/
[4]: https://docs.fedoraproject.org/en-US/ci/tests/#_executing