Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-92637

pyudev traceback when sync polling for the events

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-10.1
    • rhel-10.0
    • tuned
    • tuned-2.26.0-0.1.rc1.el10
    • No
    • Important
    • Patch, Upstream
    • rhel-net-perf
    • ssg_core_services
    • 26
    • 3
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      What were you trying to do that didn't work?

      Sync udev events polling, like TuneD does for udev settle wait, when there are a lot of events.

      What is the impact of this issue to you?

      It affects OCP and Telco.

      Please provide the package NVR for which the bug is seen:

      python-pyudev-0.24.1-10.el10

      How reproducible is this bug?:

      Sometimes

      Steps to reproduce

      1.  Run sync wait for udev events, while there are a lot of udev events coming, e.g. by using udev_settle
      2.  
      3.  

      Expected results

      Wait for events.

      Actual results

      Traceback (most recent call last):
      File "/usr/sbin/tuned", line 98, in <module>
      app.run(args.daemon)
      File "/usr/lib/python3.9/site-packages/tuned/daemon/application.py", line 215, in run
      result = self._controller.run()
      File "/usr/lib/python3.9/site-packages/tuned/daemon/controller.py", line 68, in run
      p = monitor.poll(timeout = 1)
      File "/usr/lib/python3.9/site-packages/pyudev/monitor.py", line 354, in poll
      if eintr_retry_call(poll.Poll.for_events((self, 'r')).poll, timeout):
      File "/usr/lib/python3.9/site-packages/pyudev/_util.py", line 159, in eintr_retry_call
      return func(*args, **kwargs)
      File "/usr/lib/python3.9/site-packages/pyudev/_os/poll.py", line 94, in poll
      return list(
      File "/usr/lib/python3.9/site-packages/pyudev/_os/poll.py", line 110, in _parse_events
      raise IOError('Error while polling fd: {0!r}'.format(fd))
      OSError: Error while polling fd: 4
       

              jskarvad Jaroslav Škarvada
              jskarvad Jaroslav Škarvada
              Jaroslav Škarvada Jaroslav Škarvada
              Robin Hack Robin Hack
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: