Remove yum install in run-clang-tidy.sh

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Unknown
    • 4.2.0
    • Affects Version/s: None
    • Component/s: Testing
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The clang-tidy task used to fail on Ubuntu 18.04 with the following log:

      [2021/08/06 00:54:40.167] E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
      [2021/08/06 00:54:40.167] E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
      [2021/08/06 00:54:40.169] Command failed: command encountered problem: error waiting on process '5fdf64d3-fd6e-4d85-b543-aa4a855c67fc': exit status 100
      [2021/08/06 00:54:40.169] Task completed - FAILURE.
      

      The task has since been moved to a RHEL distro by CXX-2665 and uses uv tool install to obtain clang-tidy instead of either apt-get (Ubuntu) or yum (RHEL). However, yum install parallel is still required here to obtain GNU parallel to execute clang-tidy with parallelism.

      Remove this system package command once DEVPROD-23486 is resolved.

            Assignee:
            Ezra Chung
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: