Uploaded image for project: 'Multicloud'
  1. Multicloud
  2. MULTICLOUD-957

KUD CI blocked by ovn apt package error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • MULTICLOUD-K8S
    • None

      Since yesterday (https://jenkins.onap.org/job/multicloud-k8s-master-kud-deployment-verify-shell/152/) jenkins CI KUD builds started to fail. Issue appears to be related to broken dependencies of ovn-common package. This issue can be related to fact, that jenkins CI runs KUD CI on u16.04 VM, while recently (https://gerrit.onap.org/r/#/c/multicloud/k8s/+/94484/), KUD has been rebased to u18.04.

      This issue blocks both current (partial) CI, as well as full version that I've been testing lately on sandbox jenkins.

      Probably in order to fix this issue, CI jobs should be switched to launch on u18.04 instances (that are not available as of now) or by some tailoring dependencies.

      Please find below extract of error during failing builds:

      {
          "cache_update_time": 1574905526,
          "cache_updated": false,
          "changed": false,
          "item": "ovn-central",
          "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"     install 'ovn-central'' failed: E: Unable to correct problems, you have held broken packages.\n",
          "rc": 100,
          "stderr": "E: Unable to correct problems, you have held broken packages.\n",
          "stderr_lines": [
              "E: Unable to correct problems, you have held broken packages."
          ],
          "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n ovn-central : Depends: openvswitch-common (= 2.10.1-1) but 2.12.0-0ubuntu1 is to be installed\n               Depends: openvswitch-switch (= 2.10.1-1) but 2.12.0-0ubuntu1 is to be installed\n               Depends: ovn-common (= 2.10.1-1) but 2.12.0-0ubuntu1 is to be installed\n",
          "stdout_lines": [
              "Reading package lists...",
              "Building dependency tree...",
              "Reading state information...",
              "Some packages could not be installed. This may mean that you have",
              "requested an impossible situation or if you are using the unstable",
              "distribution that some required packages have not yet been created",
              "or been moved out of Incoming.",
              "The following information may help to resolve the situation:",
              "",
              "The following packages have unmet dependencies:",
              " ovn-central : Depends: openvswitch-common (= 2.10.1-1) but 2.12.0-0ubuntu1 is to be installed",
              "               Depends: openvswitch-switch (= 2.10.1-1) but 2.12.0-0ubuntu1 is to be installed",
              "               Depends: ovn-common (= 2.10.1-1) but 2.12.0-0ubuntu1 is to be installed"
          ]
      }
      

            kbanka kbanka
            kbanka kbanka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: