[DTS/framework Bug 1718] send_packets_and_capture docs vary from randomness

bugzilla at dpdk.org bugzilla at dpdk.org
Wed Jun 4 20:48:28 CEST 2025


https://bugs.dpdk.org/show_bug.cgi?id=1718

            Bug ID: 1718
           Summary: send_packets_and_capture docs vary from randomness
           Product: DTS
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: framework
          Assignee: dts at dpdk.org
          Reporter: dpdkorgbmw at lsmod.de
  Target Milestone: ---

While working on reproducible builds for openSUSE, I found that
our dpdk-stable-24.11.1 package varies in every build because
/usr/share/doc/packages/dpdk/html/dts/framework.testbed_model.traffic_generator.capturing_traffic_generator.html

contains HTML that (when converted to text) looks like this:
 send_packets_and_capture(packets: list[scapy.packet.Packet], send_port: Port,
receive_port: Port, filter_config: PacketFilteringConfig, duration: float,
capture_name: str = '5e567378-734d-4380-84aa-f1d7f3a45ea1') →
list[scapy.packet.Packet]

Here the capture_name is random because of
dpdk-stable-24.11.1/dts/framework/testbed_model/traffic_generator/capturing_traffic_generator.py
line 27:
def _get_default_capture_name() -> str:
    return str(uuid.uuid4())

Please ensure that all build outputs are deterministic.
I think, there is a way to hide or override certain parameters in Sphinx docs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dts/attachments/20250604/6318c6cc/attachment.htm>


More information about the dts mailing list