· 6 years ago · Aug 28, 2019, 10:14 AM
1# ./run-frontend-e2e-tests.sh
2** going verbose **
3rm -f core*
4hostname ceph-master-docker
5ip 192.168.178.2
6port 40095
7/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mon. /ceph/build/keyring --cap mon 'allow *'
8creating /ceph/build/keyring
9/ceph/build/bin/ceph-authtool --gen-key --name=client.admin --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *' /ceph/build/keyring
10/ceph/build/bin/ceph-authtool --gen-key --name=client.fs --cap mon 'allow r' --cap osd 'allow rw tag cephfs data=*' --cap mds 'allow rwp' /ceph/build/keyring
11/ceph/build/bin/monmaptool --create --clobber --addv a [v2:192.168.178.2:40095,v1:192.168.178.2:40096] --addv b [v2:192.168.178.2:40097,v1:192.168.178.2:40098] --addv c [v2:192.168.178.2:40099,v1:192.168.178.2:40100] --print /tmp/ceph_monmap.4874
12/ceph/build/bin/monmaptool: monmap file /tmp/ceph_monmap.4874
13/ceph/build/bin/monmaptool: generated fsid c59f71af-0527-4ded-8c58-99bc57d591e7
14epoch 0
15fsid c59f71af-0527-4ded-8c58-99bc57d591e7
16last_changed 2019-08-28T10:02:30.132698+0000
17created 2019-08-28T10:02:30.132698+0000
18min_mon_release 0 (unknown)
190: [v2:192.168.178.2:40095/0,v1:192.168.178.2:40096/0] mon.a
201: [v2:192.168.178.2:40097/0,v1:192.168.178.2:40098/0] mon.b
212: [v2:192.168.178.2:40099/0,v1:192.168.178.2:40100/0] mon.c
22/ceph/build/bin/monmaptool: writing epoch 0 to /tmp/ceph_monmap.4874 (3 monitors)
23rm -rf -- /ceph/build/dev/mon.a
24mkdir -p /ceph/build/dev/mon.a
25/ceph/build/bin/ceph-mon --mkfs -c /ceph/build/ceph.conf -i a --monmap=/tmp/ceph_monmap.4874 --keyring=/ceph/build/keyring
26rm -rf -- /ceph/build/dev/mon.b
27mkdir -p /ceph/build/dev/mon.b
28/ceph/build/bin/ceph-mon --mkfs -c /ceph/build/ceph.conf -i b --monmap=/tmp/ceph_monmap.4874 --keyring=/ceph/build/keyring
29rm -rf -- /ceph/build/dev/mon.c
30mkdir -p /ceph/build/dev/mon.c
31/ceph/build/bin/ceph-mon --mkfs -c /ceph/build/ceph.conf -i c --monmap=/tmp/ceph_monmap.4874 --keyring=/ceph/build/keyring
32rm -- /tmp/ceph_monmap.4874
33/ceph/build/bin/ceph-mon -i a -c /ceph/build/ceph.conf
34/ceph/build/bin/ceph-mon -i b -c /ceph/build/ceph.conf
35/ceph/build/bin/ceph-mon -i c -c /ceph/build/ceph.conf
36Populating config ...
37
38[mgr]
39 mgr/telemetry/enable = false
40 mgr/telemetry/nag = false
41Setting debug configs ...
42creating /ceph/build/dev/mgr.x/keyring
43/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring -i /ceph/build/dev/mgr.x/keyring auth add mgr.x mon 'allow profile mgr' mds 'allow *' osd 'allow *'
44added key for mgr.x
45/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring config set mgr mgr/dashboard/x/ssl_server_port 41095 --force
46/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring config set mgr mgr/restful/x/server_port 42095 --force
47Starting mgr.x
48/ceph/build/bin/ceph-mgr -i x -c /ceph/build/ceph.conf
49creating /ceph/build/dev/mgr.y/keyring
50/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring -i /ceph/build/dev/mgr.y/keyring auth add mgr.y mon 'allow profile mgr' mds 'allow *' osd 'allow *'
51added key for mgr.y
52/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring config set mgr mgr/dashboard/y/ssl_server_port 43095 --force
53/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring config set mgr mgr/restful/y/server_port 44095 --force
54Starting mgr.y
55/ceph/build/bin/ceph-mgr -i y -c /ceph/build/ceph.conf
56/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring tell mgr dashboard ac-user-create admin admin administrator
57{"username": "admin", "password": "$2b$12$7KsdeMVgUvsKIHYUw/qsvek659XNUaoAX5H6f8UKHJI3IJuAF7VuC", "roles": ["administrator"], "name": null, "email": null, "lastUpdate": 1566986570, "enabled": true}
58/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring tell mgr dashboard create-self-signed-cert
59Self-signed certificate created
60/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring tell mgr restful create-self-signed-cert
61Restarting RESTful API server...
62/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring restful create-key admin -o /tmp/tmp.v96NHR2Y3I
63add osd0 536b87a1-84e1-4da4-b23e-5fbbaa192502
64/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring osd new 536b87a1-84e1-4da4-b23e-5fbbaa192502 -i /ceph/build/dev/osd0/new.json
650
662019-08-28T10:02:57.583+0000 7f833e0b6140 -1 auth: unable to find a keyring on /ceph/build/dev/osd0/keyring: (2) No such file or directory
672019-08-28T10:02:57.587+0000 7f833e0b6140 -1 auth: unable to find a keyring on /ceph/build/dev/osd0/keyring: (2) No such file or directory
682019-08-28T10:02:57.587+0000 7f833e0b6140 -1 auth: unable to find a keyring on /ceph/build/dev/osd0/keyring: (2) No such file or directory
692019-08-28T10:02:57.595+0000 7f833e0b6140 -1 bluestore(/ceph/build/dev/osd0/block) _read_bdev_label failed to open /ceph/build/dev/osd0/block: (2) No such file or directory
702019-08-28T10:02:57.595+0000 7f833e0b6140 -1 bluestore(/ceph/build/dev/osd0/block) _read_bdev_label failed to open /ceph/build/dev/osd0/block: (2) No such file or directory
712019-08-28T10:02:57.595+0000 7f833e0b6140 -1 bluestore(/ceph/build/dev/osd0/block) _read_bdev_label failed to open /ceph/build/dev/osd0/block: (2) No such file or directory
722019-08-28T10:02:57.595+0000 7f833e0b6140 -1 bluestore(/ceph/build/dev/osd0) _read_fsid unparsable uuid
73start osd.0
74/ceph/build/bin/ceph-osd -i 0 -c /ceph/build/ceph.conf
752019-08-28T10:03:05.383+0000 7f30b943e140 -1 Falling back to public interface
762019-08-28T10:03:08.303+0000 7f30b943e140 -1 osd.0 0 log_to_monitors {default=true}
77add osd1 f3ae7a88-7673-4bb9-8061-6d977a771239
78/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring osd new f3ae7a88-7673-4bb9-8061-6d977a771239 -i /ceph/build/dev/osd1/new.json
791
802019-08-28T10:03:09.891+0000 7f1fdcc12140 -1 auth: unable to find a keyring on /ceph/build/dev/osd1/keyring: (2) No such file or directory
812019-08-28T10:03:09.895+0000 7f1fdcc12140 -1 auth: unable to find a keyring on /ceph/build/dev/osd1/keyring: (2) No such file or directory
822019-08-28T10:03:09.895+0000 7f1fdcc12140 -1 auth: unable to find a keyring on /ceph/build/dev/osd1/keyring: (2) No such file or directory
832019-08-28T10:03:09.907+0000 7f1fdcc12140 -1 bluestore(/ceph/build/dev/osd1/block) _read_bdev_label failed to open /ceph/build/dev/osd1/block: (2) No such file or directory
842019-08-28T10:03:09.907+0000 7f1fdcc12140 -1 bluestore(/ceph/build/dev/osd1/block) _read_bdev_label failed to open /ceph/build/dev/osd1/block: (2) No such file or directory
852019-08-28T10:03:09.907+0000 7f1fdcc12140 -1 bluestore(/ceph/build/dev/osd1/block) _read_bdev_label failed to open /ceph/build/dev/osd1/block: (2) No such file or directory
862019-08-28T10:03:09.907+0000 7f1fdcc12140 -1 bluestore(/ceph/build/dev/osd1) _read_fsid unparsable uuid
87start osd.1
88/ceph/build/bin/ceph-osd -i 1 -c /ceph/build/ceph.conf
892019-08-28T10:03:18.175+0000 7fc7aea35140 -1 Falling back to public interface
902019-08-28T10:03:21.067+0000 7fc7aea35140 -1 osd.1 0 log_to_monitors {default=true}
91add osd2 f6eae35c-30c5-4217-8428-991b4830a3c2
92/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring osd new f6eae35c-30c5-4217-8428-991b4830a3c2 -i /ceph/build/dev/osd2/new.json
932
942019-08-28T10:03:23.027+0000 7fe1526ab140 -1 auth: unable to find a keyring on /ceph/build/dev/osd2/keyring: (2) No such file or directory
952019-08-28T10:03:23.031+0000 7fe1526ab140 -1 auth: unable to find a keyring on /ceph/build/dev/osd2/keyring: (2) No such file or directory
962019-08-28T10:03:23.031+0000 7fe1526ab140 -1 auth: unable to find a keyring on /ceph/build/dev/osd2/keyring: (2) No such file or directory
972019-08-28T10:03:23.035+0000 7fe1526ab140 -1 bluestore(/ceph/build/dev/osd2/block) _read_bdev_label failed to open /ceph/build/dev/osd2/block: (2) No such file or directory
982019-08-28T10:03:23.035+0000 7fe1526ab140 -1 bluestore(/ceph/build/dev/osd2/block) _read_bdev_label failed to open /ceph/build/dev/osd2/block: (2) No such file or directory
992019-08-28T10:03:23.035+0000 7fe1526ab140 -1 bluestore(/ceph/build/dev/osd2/block) _read_bdev_label failed to open /ceph/build/dev/osd2/block: (2) No such file or directory
1002019-08-28T10:03:23.039+0000 7fe1526ab140 -1 bluestore(/ceph/build/dev/osd2) _read_fsid unparsable uuid
101start osd.2
102/ceph/build/bin/ceph-osd -i 2 -c /ceph/build/ceph.conf
1032019-08-28T10:03:31.311+0000 7f184a320140 -1 Falling back to public interface
1042019-08-28T10:03:34.471+0000 7f184a320140 -1 osd.2 0 log_to_monitors {default=true}
105mkdir -p /ceph/build/dev/mds.a
106/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mds.a /ceph/build/dev/mds.a/keyring
107creating /ceph/build/dev/mds.a/keyring
108/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring -i /ceph/build/dev/mds.a/keyring auth add mds.a mon 'allow profile mds' osd 'allow rw tag cephfs *=*' mds allow mgr 'allow profile mds'
109added key for mds.a
110/ceph/build/bin/ceph-mds -i a -c /ceph/build/ceph.conf
111starting mds.a at
112mkdir -p /ceph/build/dev/mds.b
113/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mds.b /ceph/build/dev/mds.b/keyring
114creating /ceph/build/dev/mds.b/keyring
115/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring -i /ceph/build/dev/mds.b/keyring auth add mds.b mon 'allow profile mds' osd 'allow rw tag cephfs *=*' mds allow mgr 'allow profile mds'
116added key for mds.b
117/ceph/build/bin/ceph-mds -i b -c /ceph/build/ceph.conf
118starting mds.b at
119mkdir -p /ceph/build/dev/mds.c
120/ceph/build/bin/ceph-authtool --create-keyring --gen-key --name=mds.c /ceph/build/dev/mds.c/keyring
121creating /ceph/build/dev/mds.c/keyring
122/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring -i /ceph/build/dev/mds.c/keyring auth add mds.c mon 'allow profile mds' osd 'allow rw tag cephfs *=*' mds allow mgr 'allow profile mds'
123added key for mds.c
124/ceph/build/bin/ceph-mds -i c -c /ceph/build/ceph.conf
125starting mds.c at
126/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring fs volume ls
127[]
128/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring fs volume create a
129Volume created successfully (no MDS daemons created)
130/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring fs authorize a client.fs_a / rwp
131[client.fs_a]
132 key = AQCNUWZdkkSyERAAnEEjNDg1iMMjo8267WMS9w==
133setting up user testid
134setting up s3-test users
135setting up user tester
136
137S3 User Info:
138 access key: 0555b35654ad1656d804
139 secret key: h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q==
140
141Swift User Info:
142 account : test
143 user : tester
144 password : testing
145
146/ceph/build/bin/ceph -c /ceph/build/ceph.conf -k /ceph/build/keyring auth get-or-create client.rgw.8000 mon 'allow rw' osd 'allow rwx' mgr 'allow rw'
147start rgw on http://localhost:8000
148/ceph/build/bin/radosgw -c /ceph/build/ceph.conf --log-file=/ceph/build/out/radosgw.8000.log --admin-socket=/ceph/build/out/radosgw.8000.asok --pid-file=/ceph/build/out/radosgw.8000.pid --debug-rgw=20 --debug-ms=1 -n client.rgw.8000 '--rgw_frontends=beast port=8000'
149started. stop.sh to stop. see out/* (e.g. 'tail -f out/????') for debug output.
150
151dashboard urls: https://192.168.178.2:41095, https://192.168.178.2:43095
152 w/ user/pass: admin / admin
153restful urls: https://192.168.178.2:42095, https://192.168.178.2:44095
154 w/ user/pass: admin / a69b6522-6355-4c6a-b915-537ffd392b7f
155
156
157export PYTHONPATH=/ceph/src/pybind:/ceph/build/lib/cython_modules/lib.3:/ceph/src/python-common:$PYTHONPATH
158export LD_LIBRARY_PATH=/ceph/build/lib:$LD_LIBRARY_PATH
159alias cephfs-shell=/ceph/src/tools/cephfs/cephfs-shell
160CEPH_DEV=1
1612019-08-28T10:04:20.707+0000 7f49f35fa8c0 -1 WARNING: all dangerous and experimental features are enabled.
1622019-08-28T10:04:20.711+0000 7f49f35fa8c0 -1 WARNING: all dangerous and experimental features are enabled.
1632019-08-28T10:04:20.711+0000 7f49f35fa8c0 -1 WARNING: all dangerous and experimental features are enabled.
164{
165 "user_id": "dev",
166 "display_name": "Developer",
167 "email": "",
168 "suspended": 0,
169 "max_buckets": 1000,
170 "subusers": [],
171 "keys": [
172 {
173 "user": "dev",
174 "access_key": "JMGCA5MXGKWG30K69B9Z",
175 "secret_key": "g9PNwcQaIOqmHhoO7c1DtzK4SNa7SGzoqYhJ2DDr"
176 }
177 ],
178 "swift_keys": [],
179 "caps": [],
180 "op_mask": "read, write, delete",
181 "system": "true",
182 "default_placement": "",
183 "default_storage_class": "",
184 "placement_tags": [],
185 "bucket_quota": {
186 "enabled": false,
187 "check_on_raw": false,
188 "max_size": -1,
189 "max_size_kb": 0,
190 "max_objects": -1
191 },
192 "user_quota": {
193 "enabled": false,
194 "check_on_raw": false,
195 "max_size": -1,
196 "max_size_kb": 0,
197 "max_objects": -1
198 },
199 "temp_url_keys": [],
200 "type": "rgw",
201 "mfa_ids": []
202}
203
204*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2052019-08-28T10:04:21.067+0000 7ffb4f7ba700 -1 WARNING: all dangerous and experimental features are enabled.
2062019-08-28T10:04:21.079+0000 7ffb4f7ba700 -1 WARNING: all dangerous and experimental features are enabled.
207Option RGW_API_USER_ID updated
2082019-08-28T10:04:21.431+0000 7fb1786658c0 -1 WARNING: all dangerous and experimental features are enabled.
2092019-08-28T10:04:21.439+0000 7fb1786658c0 -1 WARNING: all dangerous and experimental features are enabled.
2102019-08-28T10:04:21.439+0000 7fb1786658c0 -1 WARNING: all dangerous and experimental features are enabled.
211*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2122019-08-28T10:04:21.767+0000 7fdb7b6c0700 -1 WARNING: all dangerous and experimental features are enabled.
2132019-08-28T10:04:21.775+0000 7fdb7b6c0700 -1 WARNING: all dangerous and experimental features are enabled.
214Option RGW_API_ACCESS_KEY updated
2152019-08-28T10:04:21.999+0000 7f40ac5768c0 -1 WARNING: all dangerous and experimental features are enabled.
2162019-08-28T10:04:22.007+0000 7f40ac5768c0 -1 WARNING: all dangerous and experimental features are enabled.
2172019-08-28T10:04:22.007+0000 7f40ac5768c0 -1 WARNING: all dangerous and experimental features are enabled.
218*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2192019-08-28T10:04:22.283+0000 7efdb3a5e700 -1 WARNING: all dangerous and experimental features are enabled.
2202019-08-28T10:04:22.299+0000 7efdb3a5e700 -1 WARNING: all dangerous and experimental features are enabled.
221Option RGW_API_SECRET_KEY updated
222*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2232019-08-28T10:04:22.643+0000 7fc2a7af9700 -1 WARNING: all dangerous and experimental features are enabled.
2242019-08-28T10:04:22.651+0000 7fc2a7af9700 -1 WARNING: all dangerous and experimental features are enabled.
225Option RGW_API_SSL_VERIFY updated
226*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2272019-08-28T10:04:23.011+0000 7f499aff6700 -1 WARNING: all dangerous and experimental features are enabled.
2282019-08-28T10:04:23.015+0000 7f4999d94700 -1 WARNING: all dangerous and experimental features are enabled.
229
230> ceph-dashboard@0.0.0 e2e:ci /ceph/src/pybind/mgr/dashboard/frontend
231> npm run env_build && ng e2e --dev-server-target
232
233
234> ceph-dashboard@0.0.0 env_build /ceph/src/pybind/mgr/dashboard/frontend
235> cp src/environments/environment.tpl.ts src/environments/environment.prod.ts && cp src/environments/environment.tpl.ts src/environments/environment.ts && node ./environment.build.js
236
237Environment variables have been set
238[10:04:25] I/file_manager - creating folder /ceph/src/pybind/mgr/dashboard/frontend/node_modules/protractor/node_modules/webdriver-manager/selenium
239[10:04:25] I/config_source - curl -o/ceph/src/pybind/mgr/dashboard/frontend/node_modules/protractor/node_modules/webdriver-manager/selenium/chrome-response.xml https://chromedriver.storage.googleapis.com/
240[10:04:27] I/downloader - curl -o/ceph/src/pybind/mgr/dashboard/frontend/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_75.0.3770.140.zip https://chromedriver.storage.googleapis.com/75.0.3770.90/chromedriver_linux64.zip
241[10:04:29] I/update - chromedriver: unzipping chromedriver_75.0.3770.140.zip
242[10:04:29] I/update - chromedriver: setting permissions to 0755 for /ceph/src/pybind/mgr/dashboard/frontend/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_75.0.3770.140
243[10:04:29] I/launcher - Running 1 instances of WebDriver
244[10:04:29] I/direct - Using ChromeDriver directly...
245Activated Protractor Screenshoter Plugin, ver. 0.10.3 (c) 2016 - 2019 Andrej Zachar and contributors
246Creating reporter at .protractor-report/
247Jasmine started
248
249 Images page
250
251 breadcrumb and tab tests
252 ✓ should open and show breadcrumb
253 ✓ should show three tabs
254 ✓ should show text for all tabs
255
256 create, edit & delete image test
257 ✓ should create image
258 ✓ should edit image
259 ✓ should delete image
260
261 Iscsi Page
262
263 breadcrumb test
264 ✓ should open and show breadcrumb
265
266 fields check
267 ✓ should check that tables are displayed and legends are correct
268
269 Mirroring page
270
271 breadcrumb and tab tests
272 ✓ should open and show breadcrumb
273 ✓ should show three tabs
274 ✓ should show text for all tabs
275
276 checks that edit mode functionality shows in the pools table
277 ✓ tests editing mode for pools
278
279 Alerts page
280
281 breadcrumb test
282 ✓ should open and show breadcrumb
283
284 Configuration page
285
286 breadcrumb test
287 ✓ should open and show breadcrumb
288
289 edit configuration test
290 ✓ should click and edit a configuration and results should appear in the table
291
292 CRUSH map page
293
294 breadcrumb test
295 ✓ should open and show breadcrumb
296
297 fields check
298 ✗ should check that title & table appears
299 - Failed: Index out of bound. Trying to access element at index: 1, but there are only 0 elements that match locator By(css selector, .node-name.type-osd)
300 at selenium_webdriver_1.promise.all.then (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:274:27)
301 at process._tickCallback (internal/process/next_tick.js:68:7)Error:
302 at ElementArrayFinder.applyAction_ (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:459:27)
303 at ElementArrayFinder.(anonymous function).args [as click] (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:91:29)
304 at ElementFinder.(anonymous function).args [as click] (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/protractor/built/element.js:831:22)
305 at Object.<anonymous> (/ceph/src/pybind/mgr/dashboard/frontend/e2e/cluster/crush-map.e2e-spec.ts:35:38)
306 at step (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tslib/tslib.js:133:27)
307 at Object.next (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tslib/tslib.js:114:57)
308 at fulfilled (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tslib/tslib.js:104:62)
309 at process._tickCallback (internal/process/next_tick.js:68:7)
310 From asynchronous test:
311 Error:
312 at Suite.<anonymous> (/ceph/src/pybind/mgr/dashboard/frontend/e2e/cluster/crush-map.e2e-spec.ts:30:5)
313 at Suite.<anonymous> (/ceph/src/pybind/mgr/dashboard/frontend/e2e/cluster/crush-map.e2e-spec.ts:25:3)
314 at Object.<anonymous> (/ceph/src/pybind/mgr/dashboard/frontend/e2e/cluster/crush-map.e2e-spec.ts:5:1)
315
316 Hosts page
317
318 breadcrumb and tab tests
319 ✓ should open and show breadcrumb
320 ✓ should show two tabs
321 ✓ should show hosts list tab at first
322 ✓ should show overall performance as a second tab
323
324 services link test
325 ✓ should check at least one host is present
326 ✗ should check services link(s) work for first host
327 - Expected false to be true, 'No links were tested. Test failed'.
328 at HostsPageHelper.<anonymous> (/ceph/src/pybind/mgr/dashboard/frontend/e2e/cluster/hosts.po.ts:40:36)
329 at step (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tslib/tslib.js:133:27)
330 at Object.next (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tslib/tslib.js:114:57)
331 at fulfilled (/ceph/src/pybind/mgr/dashboard/frontend/node_modules/tslib/tslib.js:104:62)
332 at process._tickCallback (internal/process/next_tick.js:68:7)
333
334 Logs page
335
336 breadcrumb and tab tests
337 ✓ should open and show breadcrumb
338 ✓ should show two tabs
339 ✓ should show cluster logs tab at first
340 ✓ should show audit logs as a second tab
341
342 audit logs respond to pool creation and deletion test
343 ✓ should create pool and check audit logs reacted
344 ✓ should delete pool and check audit logs reacted
345
346 audit logs respond to editing configuration setting test
347 ✓ should change config settings and check audit logs reacted
348
349 Manager modules page
350
351 breadcrumb test
352 ✓ should open and show breadcrumb
353
354 verifies editing functionality for manager modules
355 ✓ should test editing on ansible module
356 ✓ should test editing on deepsea module
357 ✓ should test editing on diskprediction_local module
358 ✓ should test editing on balancer module
359 ✓ should test editing on dashboard module
360 ✓ should test editing on devicehealth module
361
362 Monitors page
363
364 breadcrumb test
365 ✓ should open and show breadcrumb
366
367 fields check
368 ✓ should check status table is present
369 ✓ should check In Quorum and Not In Quorum tables are present
370
371 OSDs page
372
373 breadcrumb and tab tests
374 ✓ should open and show breadcrumb
375 ✓ should show two tabs
376 ✓ should show OSDs list tab at first
377 ✓ should show overall performance as a second tab
378
379 Dashboard Main Page
380
381 Check that all hyperlinks on info cards lead to the correct page and fields exist
382 ✓ should ensure that all linked info cards lead to correct page
383 ✓ should verify that info cards exist on dashboard in proper order
384 ✓ should verify that info card group titles are present and in the right order
385
386 ✓ Should check that dashboard cards have correct information
387
388 Filesystems page
389
390 breadcrumb test
391 ✓ should open and show breadcrumb
392
393 Nfs page
394
395 breadcrumb test
396 ✓ should open and show breadcrumb
397
398 Pools page
399
400 breadcrumb and tab tests
401 ✓ should open and show breadcrumb
402 ✓ should show two tabs
403 ✓ should show pools list tab at first
404 ✓ should show overall performance as a second tab
405
406 ✓ should create a pool
407 ✓ should edit a pools placement group
408 ✓ should delete a pool
409
410 RGW buckets page
411 ✓ should open and show breadcrumb
412 ✓ should create bucket
413 ✓ should edit bucket
414 ✓ should delete bucket
415
416 Invalid Input in Create and Edit tests
417 ✓ should test invalid inputs in create fields
418 ✓ should test invalid input in edit owner field
419
420 RGW daemons page
421
422 breadcrumb and tab tests
423 ✓ should open and show breadcrumb
424 ✓ should show two tabs
425 ✓ should show daemons list tab at first
426 ✓ should show overall performance as a second tab
427
428 details and performance counters table tests
429 ✓ should check that details/performance tables are visible when daemon is selected
430
431 RGW users page
432
433 breadcrumb test
434 ✓ should open and show breadcrumb
435
436 create, edit & delete user test
437 ✓ should create user
438 ✓ should edit users full name, email and max buckets
439 ✓ should delete user
440
441 Invalid input test
442 ✓ should put invalid input into user creation form and check fields are marked invalid
443 ✓ should put invalid input into user edit form and check fields are marked invalid
444
445 User Management page
446
447 breadcrumb tests
448 ✓ should check breadcrumb on users tab of user management page
449 ✓ should check breadcrumb on roles tab of user management page
450 ✓ should check breadcrumb on user creation page
451 ✓ should check breadcrumb on role creation page
452
453 user create, edit & delete test
454 ✓ should create a user
455 ✓ should edit a user
456 ✓ should delete a user
457
458 role create, edit & delete test
459 ✓ should create a role
460 ✓ should edit a role
461 ✓ should delete a role
462
463**************************************************
464* Failures *
465**************************************************
466
4671) CRUSH map page fields check should check that title & table appears
468 - Failed: Index out of bound. Trying to access element at index: 1, but there are only 0 elements that match locator By(css selector, .node-name.type-osd)
469
4702) Hosts page services link test should check services link(s) work for first host
471 - Expected false to be true, 'No links were tested. Test failed'.
472
473Executed 84 of 84 specs (2 FAILED) in 4 mins 52 secs.
474[10:09:30] I/launcher - 0 instance(s) of WebDriver still running
475[10:09:30] I/launcher - chrome #01 failed 2 test(s)
476[10:09:30] I/launcher - overall: 2 failed spec(s)
477[10:09:30] E/launcher - Process exited with error code 1
478npm ERR! code ELIFECYCLE
479npm ERR! errno 1
480npm ERR! ceph-dashboard@0.0.0 e2e:ci: `npm run env_build && ng e2e --dev-server-target`
481npm ERR! Exit status 1
482npm ERR!
483npm ERR! Failed at the ceph-dashboard@0.0.0 e2e:ci script.
484npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
485
486npm ERR! A complete log of this run can be found in:
487npm ERR! /root/.npm/_logs/2019-08-28T10_09_30_364Z-debug.log
4882019-08-28T10:09:30.425+0000 7f4c5a0d4f40 -1 WARNING: all dangerous and experimental features are enabled.
4892019-08-28T10:09:30.429+0000 7f4c5a0d4f40 -1 WARNING: all dangerous and experimental features are enabled.
4902019-08-28T10:09:30.429+0000 7f4c5a0d4f40 -1 WARNING: all dangerous and experimental features are enabled.
4912019-08-28T10:09:35.454+0000 7f12b21c3f40 -1 WARNING: all dangerous and experimental features are enabled.
4922019-08-28T10:09:35.454+0000 7f12b21c3f40 -1 WARNING: all dangerous and experimental features are enabled.
4932019-08-28T10:09:35.454+0000 7f12b21c3f40 -1 WARNING: all dangerous and experimental features are enabled.