Ubuntu Pastebin

Paste from kwm at Thu, 23 Mar 2017 14:52:36 +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
Amulet test:

class TestScaleStandalone(unittest.TestCase):
    """
    Test scaling of Apache Spark in standalone mode.
    """
    @classmethod
    def setUpClass(cls):
        cls.d = amulet.Deployment(series='xenial')
        cls.d.add('spark-test-scale', 'cs:xenial/spark', units=3)
        cls.d.setup(timeout=3600)
        cls.d.sentry.wait(timeout=3600)

    @classmethod
    def tearDownClass(cls):
        cls.d.remove_service('spark-test-scale')


Error:                                
                                                                            2017-03-23 10:58:15 Starting deployment of azure-w:ci-70/job-4-alert-ghoul
2017-03-23 10:58:17 Deploying applications...
2017-03-23 10:58:18  Deploying application spark-test-scale using cs:xenial/spark-20
2017-03-23 11:23:22 Adding relations...
2017-03-23 11:23:22 Deployment complete in 1506.97 seconds
.E
======================================================================
ERROR: tearDownClass (__main__.TestScaleStandalone)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/cwr-tmp-XYy0Z8/tmp1KoQzy/cs:spark/tests/03-scale-standalone.py", line 36, in tearDownClass
    cls.d.remove_service('spark-test-scale')
  File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 357, in remove_service
    juju([remove_cmd, service])
  File "/usr/lib/python3/dist-packages/amulet/helpers.py", line 72, in juju
    "{}".format(args, _as_text(err)))
OSError: juju command failed ['remove-application', 'spark-test-scale']:
Opening an authorization web page in your browser.
If it does not open, please open this URL:
https://api.jujucharms.com/identity/v1/login?waitid=2a24ca83f0867b34522064d397ef9654
Couldn't find a suitable web browser!
Set the BROWSER environment variable to your desired browser.
ERROR failed to execute request: cannot get discharge from "https://api.jujucharms.com/identity/v1/discharger": cannot unmarshal wait error response: invalid character '<' looking for beginning of value


----------------------------------------------------------------------
Ran 1 test in 2220.567s

FAILED (errors=1)
Waiting for units to become ready.
Waiting for units to agree on master.
Killing master spark-test-scale/0
Waiting for the cluster to select a new master.

                                    
                                
                            
Download as text