Remove yum install in run-clang-tidy.sh

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • 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:
            Unassigned
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: