Project

General

Profile

Actions

Bug #40707

closed

mgr/dashboard: Dashboard test on mimic branch doesn't catch failure of frontend e2e tests

Added by Kiefer Chang almost 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Testing & QA
Target version:
-
% Done:

0%

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

Description

Currently the ceph dashboard test on mimic branch succeeds without detecting frontend e2e tests error:

(...)
> ceph-dashboard@0.0.0 e2e /home/jenkins-build/build/workspace/ceph-dashboard-pull-requests/src/pybind/mgr/dashboard/frontend
> ng e2e "--serve=false" "--base-href" "https://ceph-builders:41891/" 

Unknown option: '--serve'
Unknown option: '--base-href'
Unknown option: 'https://ceph-builders:41891/'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ceph-dashboard@0.0.0 e2e: `ng e2e "--serve=false" "--base-href" "https://ceph-builders:41891/"`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ceph-dashboard@0.0.0 e2e script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

See this test for completed log:
https://jenkins.ceph.com/job/ceph-dashboard-pull-requests/502/console

Running run-frontend-e2e-tests.sh script under src/pybind/mgr/dashboard folder yields the same error too.

Actions

Also available in: Atom PDF