GithubHelp home page GithubHelp logo

ocp-diag-pci_lmt's People

Contributors

caggio avatar dwalton76 avatar kevinkifer-ocp avatar mimir-d avatar sksekar avatar starswaterbrook avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

ocp-diag-pci_lmt's Issues

readme missing instructions on config_file json

  • the binary uses an input json with specification of what pcie devices to use and what kind of margining
  • there should be some documentation in the readme as to what those fields are and/or how to create such a file

project currently fails on python3.11

  • we should support all newer python versions, 3.8-3.10 work but 3.11 fails as follows
> python3.11 src/pci_lmt_bin/main.py
Traceback (most recent call last):
  File "/home/mimir-d/proj/ocp-diag-pci_lmt/src/pci_lmt_bin/main.py", line 16, in <module>
    from pci_lmt import collector
  File "/home/mimir-d/proj/ocp-diag-pci_lmt/src/pci_lmt/collector.py", line 17, in <module>
    from pci_lmt.results import LmtLaneResult, LmtTestInfo, Reporter
  File "/home/mimir-d/proj/ocp-diag-pci_lmt/src/pci_lmt/results.py", line 29, in <module>
    @dc.dataclass
     ^^^^^^^^^^^^
  File "/usr/lib64/python3.11/dataclasses.py", line 1230, in dataclass
    return wrap(cls)
           ^^^^^^^^^
  File "/usr/lib64/python3.11/dataclasses.py", line 1220, in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/dataclasses.py", line 958, in _process_class
    cls_fields.append(_get_field(cls, name, type, kw_only))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/dataclasses.py", line 815, in _get_field
    raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'pci_lmt.results.LmtTestInfo'> for field test_info is not allowed: use default_factory

LMT not working in Windows

Hi,

I'm trying to use this LMT tool in Windows, but it's not working with below error messages:
BDF:02:00.0 Could not read PCI reg at address 0x34. Exception:list index out of range

I've tried with LinuxOS with same config files(Note that I made sure BDF numbers are the same), and it worked well,
but in WindowOS, it seems like the tool can't access to some registers.

Is there something that I should do in order to run LMT in WindowOS?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.