Project

General

Profile

Actions

Bug #49205

closed

orchestrator/01-hosts.e2e-spec.ts failed in test_dashboard_e2e.sh

Added by Kefu Chai about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
pacific
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2021-02-08T02:41:42.641 INFO:tasks.workunit.client.0.smithi068.stderr:+ cypress_run orchestrator/01-hosts.e2e-spec.ts
2021-02-08T02:41:42.641 INFO:tasks.workunit.client.0.smithi068.stderr:+ local specs=orchestrator/01-hosts.e2e-spec.ts
2021-02-08T02:41:42.641 INFO:tasks.workunit.client.0.smithi068.stderr:+ local timeout=
2021-02-08T02:41:42.641 INFO:tasks.workunit.client.0.smithi068.stderr:+ local 'override_config=ignoreTestFiles=*.po.ts,retries=0,testFiles=orchestrator/01-hosts.e2e-spec.ts'
2021-02-08T02:41:42.641 INFO:tasks.workunit.client.0.smithi068.stderr:+ '[' x '!=' x ']'
2021-02-08T02:41:42.641 INFO:tasks.workunit.client.0.smithi068.stderr:+ npx cypress run --browser chrome --headless --config 'ignoreTestFiles=*.po.ts,retries=0,testFiles=orchestrator/01-hosts.e2e-spec.ts'
2021-02-08T02:41:46.338 INFO:tasks.workunit.client.0.smithi068.stderr:Couldn't determine Mocha version
2021-02-08T02:41:46.360 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:41:46.396 INFO:tasks.workunit.client.0.smithi068.stderr:tput: No value for $TERM and no -T specified
2021-02-08T02:41:46.396 INFO:tasks.workunit.client.0.smithi068.stdout:================================================================================
2021-02-08T02:41:46.396 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:41:46.396 INFO:tasks.workunit.client.0.smithi068.stdout:  (Run Starting)
2021-02-08T02:41:46.396 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:41:46.402 INFO:tasks.workunit.client.0.smithi068.stdout:  ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
2021-02-08T02:41:46.402 INFO:tasks.workunit.client.0.smithi068.stdout:  │ Cypress:    5.3.0                                                                              │
2021-02-08T02:41:46.402 INFO:tasks.workunit.client.0.smithi068.stdout:  │ Browser:    Chrome 88 (headless)                                                               │
2021-02-08T02:41:46.402 INFO:tasks.workunit.client.0.smithi068.stdout:  │ Specs:      1 found (orchestrator/01-hosts.e2e-spec.ts)                                        │
2021-02-08T02:41:46.403 INFO:tasks.workunit.client.0.smithi068.stdout:  └────────────────────────────────────────────────────────────────────────────────────────────────┘
2021-02-08T02:41:46.403 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:41:46.403 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:41:46.404 INFO:tasks.workunit.client.0.smithi068.stdout:────────────────────────────────────────────────────────────────────────────────────────────────────
2021-02-08T02:41:46.404 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:41:46.404 INFO:tasks.workunit.client.0.smithi068.stdout:  Running:  orchestrator/01-hosts.e2e-spec.ts                                               (1 of 1)
2021-02-08T02:41:49.754 INFO:tasks.workunit.client.0.smithi068.stderr:Couldn't determine Mocha version
2021-02-08T02:41:49.760 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:41:49.761 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:41:49.769 INFO:tasks.workunit.client.0.smithi068.stdout:  Hosts page
2021-02-08T02:41:49.769 INFO:tasks.workunit.client.0.smithi068.stdout:    when Orchestrator is available
2021-02-08T02:41:51.289 INFO:tasks.workunit.client.0.smithi068.stdout:      ✓ should not add an exsiting host (1501ms)
2021-02-08T02:41:58.769 INFO:tasks.workunit.client.0.smithi068.stdout:      ✓ should delete a host and add it back (7399ms)
2021-02-08T02:41:59.675 INFO:tasks.workunit.client.0.smithi068.stdout:      ✓ should display inventory (879ms)
2021-02-08T02:42:00.608 INFO:tasks.workunit.client.0.smithi068.stdout:      ✓ should display daemons (904ms)
2021-02-08T02:44:02.977 INFO:tasks.workunit.client.0.smithi068.stdout:      1) should edit host labels
2021-02-08T02:44:03.141 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:44:03.142 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:44:03.142 INFO:tasks.workunit.client.0.smithi068.stdout:  4 passing (2m)
2021-02-08T02:44:03.142 INFO:tasks.workunit.client.0.smithi068.stdout:  1 failing
2021-02-08T02:44:03.142 INFO:tasks.workunit.client.0.smithi068.stdout:
2021-02-08T02:44:03.142 INFO:tasks.workunit.client.0.smithi068.stdout:  1) Hosts page
2021-02-08T02:44:03.142 INFO:tasks.workunit.client.0.smithi068.stdout:       when Orchestrator is available
2021-02-08T02:44:03.142 INFO:tasks.workunit.client.0.smithi068.stdout:         should edit host labels:
2021-02-08T02:44:03.142 INFO:tasks.workunit.client.0.smithi068.stdout:     AssertionError: Timed out retrying: expected [ ' bar   foo ' ] to include 'foo'
2021-02-08T02:44:03.143 INFO:tasks.workunit.client.0.smithi068.stdout:      at Context.eval (https://smithi068:8443/__cypress/tests?p=cypress/integration/orchestrator/01-hosts.e2e-spec.ts:201:42)

in /log/ed1517d4-69b5-11eb-8fde-001a4aab830c/ceph-mgr.a.log

2021-02-08T02:42:00.913+0000 7fdfa5a54700  0 [dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
  File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 46, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/home.py", line 135, in __call__
    return serve_file(full_path)
  File "/lib/python3.6/site-packages/cherrypy/lib/static.py", line 77, in serve_file
    cptools.validate_since()
  File "/lib/python3.6/site-packages/cherrypy/lib/cptools.py", line 116, in validate_since
    raise cherrypy.HTTPRedirect([], 304)
cherrypy._cperror.HTTPRedirect: ([], 304)

the e2e test was still green in

- https://pulpito.ceph.com/yuriw-2021-02-03_20:10:29-rados:cephadm-wip-yuri6-testing-2021-02-03-0803-distro-basic-smithi/5854552/. tested sha1: b70a63a91759ac9ae5c696580d78ed2543409e9b
- https://pulpito.ceph.com/kchai-2021-02-07_16:22:52-rados-master-distro-basic-smithi/5865046/, tested sha1: 4308142b0929dc07a17f511ca9000197e53309da

/a/kchai-2021-02-08_02:14:21-rados-wip-kefu2-testing-2021-02-08-0023-distro-basic-smithi/5865428


Related issues 4 (0 open4 closed)

Has duplicate Orchestrator - Bug #49350: cephadm/test_dashboard_e2e.sh: AssertionError: Timed out retrying: expected [ ' bar   foo ' ] to include 'foo'Duplicate

Actions
Follows Dashboard - Cleanup #49105: mgr/dashboard: Add a badge to the Label column of the Host ListResolvedNizamudeen A

Actions
Copied to mgr - Backport #49337: octopus: orchestrator/01-hosts.e2e-spec.ts failed in test_dashboard_e2e.shRejectedActions
Copied to mgr - Backport #49338: pacific: orchestrator/01-hosts.e2e-spec.ts failed in test_dashboard_e2e.shResolvedNizamudeen AActions
Actions

Also available in: Atom PDF