Git Product home page Git Product logo

dbus-sensors's People

Contributors

alex310110 avatar amboar avatar apuli1 avatar arun-pm avatar bradbishop avatar cyang29 avatar edtanous avatar feistjj avatar jaehyoo avatar jayaprakashmutyala avatar jayashree-d avatar jclaz avatar jinfulin avatar kostr avatar krellan avatar kuiyingw avatar leiyu-bytedance avatar paulfertser avatar potinlai avatar pstrinkle avatar qiangxu1 avatar rashmicag avatar spinler avatar vijaykhemka avatar williamspatrick avatar yongli3 avatar yongzhao12 avatar zevweiss avatar zhikuiren avatar zkurzyns avatar

Watchers

 avatar  avatar

dbus-sensors's Issues

[bug] ubsan failed with difference compiler flag for io_uring

Currently, the dbus-sensor enables project wise io_uring flag:

https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/64039.

However, the nvmed disabled the io_uring due to https://gerrit.openbmc.org/c/openbmc/dbus-sensors/+/62299

Consequentially, it failed the ubsan:

/usr/local/include/boost/asio/detail/deadline_timer_service.hpp:272:30: runtime error: member call on address 0x617000000080 which does not point to an object of type 'io_uring_service'
0x617000000080: note: object is of type 'boost::asio::detail::select_reactor'
 00 00 00 00  e8 a7 39 5c 4e 56 00 00  00 00 00 00 00 00 00 00  52 70 95 5e 4e 56 00 00  a0 6d 95 5e
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'boost::asio::detail::select_reactor'

[issue] fallbackNoSecondary() crashes the nvmed

The change c6a4016 created a crash on the google release.

2023-12-01 3:49:48 systemd,Started NVMe Sensor.
2023-12-01 3:49:48 nvmesensor,error getting  SpecialMode status No route to host
2023-12-01 3:49:54 nvmesensor,"[bus: 6, addr: 48, eid: 17]fail to do nvme identify:"
2023-12-01 3:49:54 nvmesensor,adminIdentify:NVMe MI: Invalid Parameter (MI status 0x4)
2023-12-01 3:49:54 nvmesensor,fail to do nvme identify: NVMe MI: Invalid Parameter (MI status 0x4)
2023-12-01 3:49:54 nvmesensor,fail to identify secondary controller list
2023-12-01 3:49:54 nvmesensor,"Failed to identify secondary controller list. error NVMe MI: Invalid Parameter (MI status 0x4) data size 4096 expected size 4096. Fallback, using arbitrary controller as primary."  
2023-12-01 3:49:54  systemd,Started Process Core Dump (PID 4452/UID 0).
2023-12-01 3:50:00  systemd-coredump,Process 4432 (nvmesensor) of user 0 dumped core.
2023-12-01 3:50:00  systemd,"xyz.openbmc_project.nvmesensor.service: Main process exited, code=dumped, status=11/SEGV"
2023-12-01 3:50:00 systemd,xyz.openbmc_project.nvmesensor.service: Failed with result 'core-dump'.

Reverted the change in : https://gbmc-review.googlesource.com/c/dbus-sensors/+/14474

enforce unit tests for nvme sensor

The unit test here is to manually trigger a destruction of nvme instance and check the resource recollection status. Is it designed to prevent the resource is held by some async event and never get the chance to release.

The unit test is using ObjectMapper as a observer so it require Dbus and O-M to be enabled in the docker image. We could enforce the feature for presubmit.

https://gbmc.googlesource.com/meta-gbmc-staging/+/refs/heads/gbmc-release-23.18.x/recipes-phosphor/sensors/dbus-sensors/0030-nvmesensor-add-unit-test.patch

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.