lp://qastaging/~doanac/uci-engine/setup-helpers-boost

Created by Andy Doan and last modified
Get this branch:
bzr branch lp://qastaging/~doanac/uci-engine/setup-helpers-boost
Only Andy Doan can upload to this branch. If you are Andy Doan please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Andy Doan
Project:
Ubuntu CI Engine
Status:
Merged

Recent revisions

452. By Andy Doan

setup_helpers: big performance boost for setup.py develop

When using our CI_DEPS_BRANCH, our setup_helpers.py logic was doing a
bzr-pull operation for every dependency we install. This is a big repo
and the pull is slow. This changes just has us to the pull one time
per invocation of setup.py.

In my quick unscientific testing. I'm seeing lander go from >90 seconds
to <25 seconds. I saw about a 50% improvement installing ci-utils, but
it compiles stuff for our bzr dep, so thats probably our worst-case
metric.

451. By Vincent Ladeuil

[r=Joe Talbott, PS Jenkins bot] Refactor data_store to use the swiftclient.client.Connection object and retry on errors 1312037 from Vincent Ladeuil

450. By Andy Doan

[r=PS Jenkins bot, Francis Ginther, Vincent Ladeuil] lander: use common logging setup

We have 2 scripts needing the same logging setup and will soon
have a 3rd. This gets the lander using a common mechanism. from Andy Doan

449. By Vincent Ladeuil

[r=Evan Dandrea, PS Jenkins bot] Integration tests and deploy.py require a bootstrapped juju. tests/run.py bootstraps juju. run-tests skip or run integration tests depending on juju being bootstrapped or not. from Vincent Ladeuil

448. By Andy Doan

[r=Francis Ginther, Vincent Ladeuil, PS Jenkins bot] lander: use a single results file with the service-wrapper

The service-wrapper takes an input and output file and the
jenkins job does the work of combining these. This updates
the wrapper to produce the unified file. from Andy Doan

447. By Joe Talbott

[r=Francis Ginther, PS Jenkins bot] stats - Add txstatsd support and a reference usage to bsbuilder.

* Requires python-txstatsd (which is available in our Phase0 ppa)
  - if not installed the class and its methods become NOPs.

* Requires stats_config.py in the root directory of the branch

  - contents should be 'TXSTATSD_ADDRESS="<IP>"'
  - this isn't hooked into a relation change hook yet.

EXAMPLE

        from ci_utils import stats

        metric = stats.Metric("source_package_upload_success", prefix="bsbuilder")
        # start timekeeping
        metric.start()

        # successfully upload a package

        # stop timekeeping
        metric.stop()

        # publish results to txstatsd, optionally with a new metric name and prefix
        metric.publish() from Joe Talbott

446. By Vincent Ladeuil

[r=Paul Larson, PS Jenkins bot] Move test-image-store under ci_utils/tests with the other ci-utils tests from Vincent Ladeuil

445. By Vincent Ladeuil

[r=Francis Ginther, PS Jenkins bot] Reduce 'run-tests --list' runtime from 23s to 1s. from Vincent Ladeuil

444. By Andy Doan

[r=Francis Ginther, PS Jenkins bot] lander: pass ticket and config objects to handler functions

Let's better isolate what each handler function needs. from Andy Doan

443. By Andy Doan

[r=Francis Ginther, PS Jenkins bot] lander: remove yaml support

we don't use this, so lets simplify
  from Andy Doan

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/uci-engine
This branch contains Public information 
Everyone can see this information.

Subscribers