Details

    • Type: Sub-task
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ci-system
    • Labels:
      None
    • Story Points:
      0

      Description

      A cryptic job failure can occur when dependent packages are missing from maven central.
      {{}}
      Underlying problem seems due to version strings not being updated or are wonky: * between VOLTHA and ONOS.

      • ONOS packages published to maven central.{{}}

      {{}}
      Could not find artifact org.opencord:olt-app:oar:5.2.1 in central (https://repo.maven.apache.org/maven2{{) }}
       
      Research what can be done to make this condition more visible: # Document development flow.

      1. Automation - commits/job should be able to detect some version problems based on string compare (v5.1.2 != v5.2.1).
      2. Jenkins can perform an artifact validation stage – verify all dependent artifacts and version strings exist and are reasonable VS failing due to something missing.

       
       
       
      =============================================================================
      Patch 33257:   * https://gerrit.opencord.org/c/olt/+/33257

      Gustavo(s) Improvements: * https://gerrit.opencord.org/c/olt/+/33173

       
       
      Hi @channel after merging Patch 33257 I thought Gustavo's improvements regarding pending flows in ONOS will be released, but I see the same issue in pipeline Unitag Subscriber TT. With Gustavo's image silvagu/voltha-onos:4765 the issues were disappeared. Four days ago Gustavo release olt-app version 5.2.1, right? But in Logs I found: olt-app/[5.1.2,5.1.2]. I'm not sure what is really running. Could you please check if the current ONOS version includes latest olt-app? Thanks
      !https://slack-imgs.com/?c=1&o1=wi32.he32.si&url=https%3A%2F%2Fgerrit.opencord.org%2Ffavicon.ico|width=16,height=16!gerrit.opencord.org
      Gerrit Code Review
      !https://slack-imgs.com/?c=1&o1=wi32.he32.si&url=https%3A%2F%2Fgerrit.opencord.org%2Ffavicon.ico|width=16,height=16!gerrit.opencord.org
      Gerrit Code Review
       
        4:10 AM
      I retested Gustavo's Image with https://jenkins.opencord.org/view/VOLTHA-2.X-Tests/job/periodic-voltha-unitag-subscriber-tt-test-bbsim/375/ successfully, as expected. So there is something missing in the current ONOS Version of master used in pipelines. Please check, thanks a lot. Torsten
       
      [GUSTAVO]
      I guess we also have to integrate this one:
      https://gerrit.opencord.org/c/voltha-onos/+/33246
       
       
      Thanks @Gustavo Silva for the patch.
      For some reason the sanity test seems to fail. Do you mind checking this when you can.
      Below is the error I could find from the logs
      [2022-09-19T16:41:37.294Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.1:copy (default-cli) on project fake: Unable to find/resolve artifact.: Could not find artifact org.opencord:olt-app:oar:5.2.1 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
       
       Well, it seems there's still something missing in this process.Voltha-onos uses the apps available on maven's central repository, if you take a look here: https://repo.maven.apache.org/maven2/org/opencord/olt/, you'll see there's really no 5.2.1 version. (edited) 
       

      https://maven.apache.org/repository/guide-central-repository-upload.html
       

      I am unsure how how apps are loaded to maven central repository. I assumed it be would be done automatically on olt app merge - i guess that did not happen.
       
       [....]what is the process for onos apps to be loaded to maven repo?
      ===================================================================
       
      [TORSTEN]
      That would explain, why I see 5.1.2 instaed of 5.2.1.
       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            joey Joey Armstrong
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes