Project

General

Profile

Bug #40580

mgr/dashboard: Fix the table mouseenter event handling test

Added by Laura Paduano 3 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Category:
dashboard/qa
Target version:
Start date:
06/28/2019
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Date: 2019-06-27T22:38:10.417Z
Hash: 0653d74e8e37febf19cf
Time: 236891ms
chunk {0} common.f2fa8853754150cac770.js (common) 2.45 kB  [rendered]
chunk {1} runtime.f4ac8f5051ca0e652445.js (runtime) 2.28 kB [entry] [rendered]
chunk {2} 2.d63472b5701d7cdede50.js () 212 kB  [rendered]
chunk {3} main.23427ae825d50f258bba.js (main) 4.9 MB [initial] [rendered]
chunk {4} polyfills.d8aeed9792a464f7419c.js (polyfills) 99.3 kB [initial] [rendered]
chunk {5} styles.3575c7ef487238a8a622.css (styles) 180 kB [initial] [rendered]
chunk {6} 6.5573d198ca08f591f10e.js () 208 kB  [rendered]
chunk {7} 7.8a2507ffd3145221a5bd.js () 138 kB  [rendered]
chunk {8} 8.48fad0d43696dac56cb6.js () 141 kB  [rendered]
chunk {9} 9.10b36f3d1e7bad2098d5.js () 44.8 kB  [rendered]
chunk {scripts} scripts.fc88ef4a23399c760d0b.js (scripts) 205 kB [entry] [rendered]

> ceph-dashboard@0.0.0 test:ci /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/frontend
> npm run test:config && JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter

> ceph-dashboard@0.0.0 test:config /home/jenkins-build/build/workspace/ceph-pull-requests/src/pybind/mgr/dashboard/frontend
> if [ ! -e 'src/unit-test-configuration.ts' ]; then cp 'src/unit-test-configuration.ts.sample' 'src/unit-test-configuration.ts'; fi

.........
  ● TableComponent › should prevent propagation of mouseenter event

    Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout.

      80 |   });
      81 | 
    > 82 |   it('should prevent propagation of mouseenter event', (done) => {
         |   ^
      83 |     fixture.detectChanges();
      84 |     const mouseEvent = new MouseEvent('mouseenter');
      85 |     mouseEvent.stopPropagation = () => done();

      at Spec (node_modules/jest-jasmine2/build/jasmine/Spec.js:92:20)
      at env.(anonymous function) (node_modules/jest-zone-patch/index.js:87:27)
      at src/app/shared/datatable/table/table.component.spec.ts:82:3
      at ZoneDelegate.Object.<anonymous>.ZoneDelegate.invoke (node_modules/zone.js/dist/zone.js:391:26)
      at Zone.Object.<anonymous>.Zone.run (node_modules/zone.js/dist/zone.js:150:43)
      at Suite.<anonymous> (node_modules/jest-zone-patch/index.js:39:40)
      at env.(anonymous function) (node_modules/jest-zone-patch/index.js:69:27)
      at Object.<anonymous> (src/app/shared/datatable/table/table.component.spec.ts:13:1)

...................................................................................................................................................................................................

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ceph-dashboard@0.0.0 test:ci: `npm run test:config && JEST_SILENT_REPORTER_DOTS=true jest --coverage --reporters jest-silent-reporter`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ceph-dashboard@0.0.0 test:ci script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/jenkins-build/.npm/_logs/2019-06-27T22_43_24_436Z-debug.log
Linting "ceph-dashboard"...

All files pass linting.
Linting "ceph-dashboard-e2e"...

While the actual PRs tested by make check are not related to the dashboard and do not touch any frontend code in the dashboard:

source: https://jenkins.ceph.com/job/ceph-pull-requests/28210/console (https://github.com/ceph/ceph/pull/28755)
https://jenkins.ceph.com/job/ceph-pull-requests/28175/console (https://github.com/ceph/ceph/pull/28678)
https://jenkins.ceph.com/job/ceph-pull-requests/28167/console (https://github.com/ceph/ceph/pull/28760)


Related issues

Copied to mgr - Backport #40982: nautilus: mgr/dashboard: Fix the table mouseenter event handling test Resolved

History

#1 Updated by Stephan Müller 3 months ago

  • Assignee set to Stephan Müller

#2 Updated by Stephan Müller 3 months ago

  • Status changed from New to In Progress

#3 Updated by Stephan Müller 3 months ago

  • Subject changed from mgr/dashboard: random (?) make check failure of mgr-dashboard-frontend-unittests to mgr/dashboard: Fix the table mouseenter event handling test
  • Pull request ID set to 28879

#4 Updated by Ricardo Marques 3 months ago

  • Status changed from In Progress to Need Review

#5 Updated by Stephan Müller about 2 months ago

  • Status changed from Need Review to Resolved

#6 Updated by Stephan Müller about 2 months ago

  • Status changed from Resolved to Pending Backport
  • Backport set to nautilus

#7 Updated by Stephan Müller about 2 months ago

  • Copied to Backport #40982: nautilus: mgr/dashboard: Fix the table mouseenter event handling test added

#8 Updated by Ricardo Marques about 1 month ago

  • Status changed from Pending Backport to Resolved
  • Target version set to v15.0.0

Also available in: Atom PDF