* |WARNING| pw150798-150804 [RFC PATCH 1/7] dts: add port topology configuration
[not found] <20250203151613.2436570-2-luca.vizzarro@arm.com>
@ 2025-02-03 14:47 ` qemudev
2025-02-03 15:17 ` |WARNING| pw150798 " checkpatch
1 sibling, 0 replies; 2+ messages in thread
From: qemudev @ 2025-02-03 14:47 UTC (permalink / raw)
To: test-report; +Cc: Luca Vizzarro, zhoumin
Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/150798
_apply patch failure_
Submitter: Luca Vizzarro <luca.vizzarro@arm.com>
Date: Mon, 3 Feb 2025 15:16:06 +0000
DPDK git baseline: Repo:dpdk
Branch: main
CommitID: dc4ce7c2538b713e16887eb598da309bc7b4d528
Apply patch set 150798-150804 failed:
Checking patch dts/framework/config/__init__.py...
Hunk #1 succeeded at 547 (offset 427 lines).
Checking patch dts/framework/config/node.py...
error: dts/framework/config/node.py: No such file or directory
Checking patch dts/framework/config/test_run.py...
error: dts/framework/config/test_run.py: No such file or directory
Checking patch dts/framework/runner.py...
Hunk #1 succeeded at 50 (offset -4 lines).
Hunk #2 succeeded at 335 (offset 4 lines).
Hunk #3 succeeded at 372 (offset 5 lines).
Hunk #4 succeeded at 392 (offset 5 lines).
Checking patch dts/framework/test_result.py...
error: while searching for:
from dataclasses import asdict, dataclass, field
from enum import Enum, auto
from pathlib import Path
from typing import Any, Callable, TypedDict
from framework.testbed_model.capability import Capability
from .config.test_run import TestRunConfiguration, TestSuiteConfig
error: patch failed: dts/framework/test_result.py:28
error: dts/framework/test_result.py: patch does not apply
Checking patch dts/framework/testbed_model/capability.py...
error: while searching for:
the test suite's.
"""
if inspect.isclass(test_case_or_suite):
if self.topology_type is not TopologyType.default:
self.add_to_required(test_case_or_suite)
for test_case in test_case_or_suite.get_test_cases():
if test_case.topology_type.topology_type is TopologyType.default:
# test case topology has not been set, use the one set by the test suite
self.add_to_required(test_case)
elif test_case.topology_type > test_case_or_suite.topology_type:
error: patch failed: dts/framework/testbed_model/capability.py:362
error: dts/framework/testbed_model/capability.py: patch does not apply
Checking patch dts/framework/testbed_model/node.py...
error: while searching for:
"""
from abc import ABC
from framework.config.node import (
OS,
error: patch failed: dts/framework/testbed_model/node.py:14
error: dts/framework/testbed_model/node.py: patch does not apply
Checking patch dts/framework/testbed_model/port.py...
error: while searching for:
from framework.config.node import PortConfig
@dataclass(slots=True, frozen=True)
class PortIdentifier:
"""The port identifier.
Attributes:
node: The node where the port resides.
pci: The PCI address of the port on `node`.
"""
node: str
pci: str
@dataclass(slots=True)
class Port:
"""Physical port on a node.
error: patch failed: dts/framework/testbed_model/port.py:13
error: dts/framework/testbed_model/port.py: patch does not apply
Checking patch dts/framework/testbed_model/sut_node.py...
Hunk #1 succeeded at 499 (offset -16 lines).
Checking patch dts/framework/testbed_model/topology.py...
error: while searching for:
The link information then implies what type of topology is available.
"""
from dataclasses import dataclass
from os import environ
from typing import TYPE_CHECKING, Iterable
if TYPE_CHECKING or environ.get("DTS_DOC_BUILD"):
from enum import Enum as NoAliasEnum
else:
from aenum import NoAliasEnum
from framework.config.node import PortConfig
from framework.exception import ConfigurationError
error: patch failed: dts/framework/testbed_model/topology.py:7
error: dts/framework/testbed_model/topology.py: patch does not apply
Checking patch dts/framework/utils.py...
Checking patch dts/nodes.example.yaml...
error: dts/nodes.example.yaml: No such file or directory
Checking patch dts/test_runs.example.yaml...
error: dts/test_runs.example.yaml: No such file or directory
^ permalink raw reply [flat|nested] 2+ messages in thread