* |WARNING| pw150761-150762 [PATCH 1/2] dts: remove 'requires_forwarding_restart' from framework
[not found] <20250131193803.168498-2-npratte@iol.unh.edu>
@ 2025-01-31 19:10 ` qemudev
2025-01-31 19:37 ` |SUCCESS| pw150761 " checkpatch
1 sibling, 0 replies; 2+ messages in thread
From: qemudev @ 2025-01-31 19:10 UTC (permalink / raw)
To: test-report; +Cc: Nicholas Pratte, zhoumin
Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/150761
_apply patch failure_
Submitter: Nicholas Pratte <npratte@iol.unh.edu>
Date: Fri, 31 Jan 2025 14:38:02 -0500
DPDK git baseline: Repo:dpdk
Branch: main
CommitID: dc4ce7c2538b713e16887eb598da309bc7b4d528
Apply patch set 150761-150762 failed:
Checking patch dts/framework/remote_session/testpmd_shell.py...
error: while searching for:
return _wrapper
def requires_forwarding_restart(func: TestPmdShellMethod) -> TestPmdShellMethod:
"""Decorator for :class:`TestPmdShell` commands methods that requires forwarding restart.
If the decorated method is called while a :class:`TestPmdShell` is actively forwarding, then
forwarding is ceased, the wrapped function is executed, and forwarding is started again.
Args:
func: The :class:`TestPmdShell` method to decorate.
"""
@functools.wraps(func)
def _wrapper(self: "TestPmdShell", *args: P.args, **kwargs: P.kwargs):
if self.currently_forwarding:
self._logger.debug("Forwarding needs to be restarted to continue.")
self.stop()
retval = func(self, *args, **kwargs)
self.start()
return retval
return _wrapper
def add_remove_mtu(mtu: int = 1500) -> Callable[[TestPmdShellMethod], TestPmdShellMethod]:
"""Configure MTU to `mtu` on all ports, run the decorated function, then revert.
error: patch failed: dts/framework/remote_session/testpmd_shell.py:1433
error: dts/framework/remote_session/testpmd_shell.py: patch does not apply
^ permalink raw reply [flat|nested] 2+ messages in thread