test suite reviews and discussions
 help / color / mirror / Atom feed
* [DTS/framework Bug 1718] send_packets_and_capture docs vary from randomness
@ 2025-06-04 18:48 bugzilla
  2025-06-06  8:45 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2025-06-04 18:48 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 1470 bytes --]

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@dpdk.org
          Reporter: dpdkorgbmw@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.

[-- Attachment #2: Type: text/html, Size: 3351 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [DTS/framework Bug 1718] send_packets_and_capture docs vary from randomness
  2025-06-04 18:48 [DTS/framework Bug 1718] send_packets_and_capture docs vary from randomness bugzilla
@ 2025-06-06  8:45 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2025-06-06  8:45 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

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

Clemens Famulla-Conrad (cfamullaconrad@suse.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cfamullaconrad@suse.com

--- Comment #1 from Clemens Famulla-Conrad (cfamullaconrad@suse.com) ---
I would propose this fix [1] for the problem.

[1] https://github.com/DPDK/dpdk/pull/106

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #2: Type: text/html, Size: 2514 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-06  8:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-04 18:48 [DTS/framework Bug 1718] send_packets_and_capture docs vary from randomness bugzilla
2025-06-06  8:45 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).