automatic DPDK test reports
 help / color / mirror / Atom feed
From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Nicholas Pratte <npratte@iol.unh.edu>, zhoumin@loongson.cn
Subject: |WARNING| pw150761-150762 [PATCH 1/2] dts: remove 'requires_forwarding_restart' from framework
Date: Sat, 1 Feb 2025 03:10:18 +0800	[thread overview]
Message-ID: <202501311910.50VJAIHC4175941@localhost.localdomain> (raw)
In-Reply-To: <20250131193803.168498-2-npratte@iol.unh.edu>

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


       reply	other threads:[~2025-01-31 19:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250131193803.168498-2-npratte@iol.unh.edu>
2025-01-31 19:10 ` qemudev [this message]
2025-01-31 19:37 ` |SUCCESS| pw150761 " checkpatch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202501311910.50VJAIHC4175941@localhost.localdomain \
    --to=qemudev@loongson.cn \
    --cc=npratte@iol.unh.edu \
    --cc=test-report@dpdk.org \
    --cc=zhoumin@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).