|WARNING| pw150805-150806 [PATCH v2 1/2] dts: remove 'requires_forwarding_restart' from framework
    qemudev at loongson.cn 
    qemudev at loongson.cn
       
    Mon Feb  3 17:19:15 CET 2025
    
    
  
Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/150805
_apply patch failure_
Submitter: Nicholas Pratte <npratte at iol.unh.edu>
Date: Mon,  3 Feb 2025 11:38:49 -0500
DPDK git baseline: Repo:dpdk
  Branch: main
  CommitID: dc4ce7c2538b713e16887eb598da309bc7b4d528
Apply patch set 150805-150806 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
    
    
More information about the test-report
mailing list