Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-315

rt-tests/us/unittests/pkg/python-ethtool expect it can chnage parameter with every driver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Low

      rt-tests/us/unittests/pkg/python-ethtool/test.py:        self.run_cmd(f'pethtool -C {self.interface} {self.c_val[0]} {val}')
      rt-tests/us/unittests/pkg/python-ethtool/test.py:        self.run_cmd(f'pethtool -C {self.interface} {self.c_val[0]} {val - 1}')

      The above part tries to increase and decries a value a (random?) rx value a "randomly" selected NIC.
      On some node it works on other it does not.

      ======================================================================
      FAIL: test_coalesce_mod (__main__.PythonEthtoolTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/mnt/tests/repo.usersys.redhat.com/kernel-tests-public/rt-tests/us/unittests/pkg/python-ethtool/test.py", line 49, in test_coalesce_mod
          self.run_cmd(f'pethtool -C {self.interface} {self.c_val[0]} {val}')
        File "/mnt/tests/repo.usersys.redhat.com/kernel-tests-public/rt-tests/us/unittests/pkg/python-ethtool/rtut.py", line 34, in run_cmd
          self.assertEqual(status, ret)
      AssertionError: 0 != 1
      
      ----------------------------------------------------------------------
      Ran 7 tests in 25.163s
      
      FAILED (failures=1)
      Running unittest for PythonEthtoolTest

              afazekas1@redhat.com Attila Fazekas
              afazekas1@redhat.com Attila Fazekas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: