Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3473

collect OSBS performance data: how long does it take to build a container?

XMLWordPrintable

    • False
    • None
    • False

      New script to collect create/start/finish data on OSBS tasks. Pass in param: taskid = 48564137

      Store columns of data (csv) or rows (yaml)

      • container that was built (incl. tag)
        $➔ curl -sSLo- https://download.eng.bos.redhat.com/brewroot/work/tasks/4137/48564137/x86_64.log | tail -2 | sed -r -e "s@.+containers/#/(.+)\"@\1@" | head -1
        
      • dates
      $ brew taskinfo 48564137 | grep -E "Created|Started|Finished"
      Created: Tue Oct 25 12:39:21 2022
      Started: Tue Oct 25 15:40:08 2022
      Finished: Tue Oct 25 15:45:50 2022
      

      Once script exists, it can be added to the end of get-sources-rhpkg-container-build jobs to constantly update the yaml/csv file.

            nickboldt Nick Boldt
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: