Ubuntu Pastebin

Paste from kwm at Fri, 6 Jan 2017 20:41:23 +0000

Download as text
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Started by user admin
Building in workspace /var/lib/jenkins/jobs/charm-cwr/workspace
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/juju-solutions/layer-cwr # timeout=10
Fetching upstream changes from https://github.com/juju-solutions/layer-cwr
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/juju-solutions/layer-cwr +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 48b89d5681fac6c7fb3df5f7f25caf5cf2da5705 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 48b89d5681fac6c7fb3df5f7f25caf5cf2da5705
 > git rev-list 48b89d5681fac6c7fb3df5f7f25caf5cf2da5705 # timeout=10
[workspace] $ /bin/bash /tmp/hudson8114144598744366358.sh
+ '[' '!' -f first-run.lock ']'
+ export JUJU_REPOSITORY=/tmp/
+ JUJU_REPOSITORY=/tmp/
+ OUTPUT_DIR=builds
+ SERIES_FLAG=
+ '[' '!' -z '' ']'
+ charm build
build: Composing into /tmp/
build: Destination charm directory: /tmp/builds/cwr
build: Processing layer: layer:basic
build: Processing layer: cwr
build: Processing interface: jenkins-extension
build: Processing interface: cwr-ci
proof: I: File config.yaml not found.
+ juju switch azure-sc
azure-sc (controller) (no change)
++ sed -e 's/.*cloud "\?\([^ "]*\)"\?.*/\1/'
++ juju add-model wont-be-added --credential invalid-credential
+ cloud=azure
+ credential_arg=
+ [[ azure != \l\o\c\a\l\h\o\s\t ]]
+ [[ azure != \l\x\d ]]
+ juju credentials --format=json
+ grep -q azure
++ juju credentials --format=json
++ jq -r '.credentials.azure."cloud-credentials" | keys[0]'
+ credential=azure
+ credential_arg=--credential=azure
+ juju add-model test-cwr-3 --credential=azure
Uploading credential 'azure/ci-kwm1/azure' to controller
Added 'test-cwr-3' model on azure/southcentralus with credential 'azure' for user 'ci-kwm1'
+ trap cleanup_model EXIT
+ '[' -z 'cs:~juju-solutions/cwr-ci' ']'
+ '[' -e /tmp/bundles ']'
+ mkdir /tmp/bundles
+ rm -rf /tmp/bundles/cs__juju_solutions_cwr_ci
+ charm pull 'cs:~juju-solutions/cwr-ci' /tmp/bundles/cs__juju_solutions_cwr_ci
cs:~juju-solutions/bundle/cwr-ci-4
++ update_bundle
++ cat
+ python3 -c 'import yaml
with open('\''/tmp/bundles/cs__juju_solutions_cwr_ci/bundle.yaml'\'', '\''r'\'') as fp:
    bundle = yaml.safe_load(fp)
app = bundle.get('\''applications'\'', bundle.get('\''services'\'', {}))['\''cwr'\'']
app['\''charm'\''] = '\''/tmp/builds/cwr'\''
with open('\''/tmp/bundles/cs__juju_solutions_cwr_ci/bundle.yaml'\'', '\''w'\'') as fp:
    yaml.dump(bundle, fp)'
+ rm -f totest.yaml
+ echo 'bundle: /tmp/bundles/cs__juju_solutions_cwr_ci'
+ echo 'bundle_name: cwr_in_cs__juju_solutions_cwr_ci'
+ cwr -F azure-sc:test-cwr-3 totest.yaml --results-dir /srv/artifacts --test-id 3
2017-01-06 18:20:05 INFO Running test on Azure.
2017-01-06 18:20:05 ERROR Exception (azure-sc:test-cwr-3):
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/cloudweatherreport/run.py", line 138, in run_plan
    test_result = self.run_tests(test_plan, env)
  File "/usr/local/lib/python2.7/dist-packages/cloudweatherreport/run.py", line 208, in run_tests
    status = tester.main(self.args)
  File "/usr/local/lib/python2.7/dist-packages/bundletester/tester.py", line 132, in main
    suite = spec.SuiteFactory(options, options.testdir)
  File "/usr/local/lib/python2.7/dist-packages/bundletester/spec.py", line 354, in SuiteFactory
    model = classifier(directory, options)
  File "/usr/local/lib/python2.7/dist-packages/bundletester/spec.py", line 316, in BundleClassifier
    bundle = find_bundle_file(directory, options.bundle)
  File "/usr/local/lib/python2.7/dist-packages/bundletester/spec.py", line 311, in find_bundle_file
    "Ambigious bundle options: %s. Disambiguate with --bundle" % yamls)
OSError: Ambigious bundle options: ['/tmp/cwr-tmp-9D9pPo/bundletester-H87LR5/cs__juju_solutions_cwr_ci/bundle-local.yaml', '/tmp/cwr-tmp-9D9pPo/bundletester-H87LR5/cs__juju_solutions_cwr_ci/bundle.yaml']. Disambiguate with --bundle

+ ln -s /srv/artifacts/cwr_in_cs__juju_solutions_cwr_ci/3 /var/lib/jenkins/jobs/charm-cwr/builds/3/archive
+ '[' '!' -z edge ']'
++ charm push /tmp/builds/cwr 'cs:~juju-solutions/cwr'
++ head -1
++ awk '{print $2}'
+ CHARM_LOCATION='cs:~juju-solutions/cwr-14'
+ charm release 'cs:~juju-solutions/cwr-14' --channel=edge
url: cs:~juju-solutions/cwr-14
channel: edge
+ charm grant 'cs:~juju-solutions/cwr-14' everyone --channel=edge
+ cleanup_model
+ juju destroy-model test-cwr-3 -y
Destroying model
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Finished: SUCCESS
Download as text