Public bug reported: After migrating xstatic-Jquery version >3.x horizon npm test job started failing [1] and [2]. There is also an open issue reported for this https://github.com/lorenzofox3/lrDragNDrop/issues/15 Horizon npm job fails with the below error msg:
Firefox 102.0 (Linux x86_64) ERROR An error was thrown in afterAll TypeError: window.jQuery.event.props is undefined isJqueryEventDataTransfer@/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:5:9 @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:8:9 @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:184:3 Firefox 102.0 (Linux x86_64): Executed 645 of 645 ERROR (0 secs / 7.806 secs) Firefox 102.0 (Linux x86_64) ERROR An error was thrown in afterAll TypeError: window.jQuery.event.props is undefined isJqueryEventDataTransfer@/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:5:9 @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:8:9 @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:184:3 Firefox 102.0 (Linux x86_64): Executed 645 of 645 ERROR (8.359 secs / 7.806 secs) ==================== Coverage / Threshold summary ============================= Statements : 100% ( 0/0 ) Threshold : 92% Branches : 100% ( 0/0 ) Threshold : 84% Functions : 100% ( 0/0 ) Threshold : 91% Lines : 100% ( 0/0 ) Threshold : 92% ================================================================================ npm ERR! Test failed. See above for more details. [1] https://review.opendev.org/c/openstack/requirements/+/887933 [2] https://review.opendev.org/c/openstack/horizon/+/886867 ** Affects: horizon Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/2027728 Title: Horizon npm test job failed with jQuery Version >3.x Status in OpenStack Dashboard (Horizon): New Bug description: After migrating xstatic-Jquery version >3.x horizon npm test job started failing [1] and [2]. There is also an open issue reported for this https://github.com/lorenzofox3/lrDragNDrop/issues/15 Horizon npm job fails with the below error msg: Firefox 102.0 (Linux x86_64) ERROR An error was thrown in afterAll TypeError: window.jQuery.event.props is undefined isJqueryEventDataTransfer@/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:5:9 @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:8:9 @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:184:3 Firefox 102.0 (Linux x86_64): Executed 645 of 645 ERROR (0 secs / 7.806 secs) Firefox 102.0 (Linux x86_64) ERROR An error was thrown in afterAll TypeError: window.jQuery.event.props is undefined isJqueryEventDataTransfer@/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:5:9 @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:8:9 @/home/zuul/src/opendev.org/openstack/horizon/.tox/npm/lib/python3.9/site-packages/xstatic/pkg/angular_lrdragndrop/data/lrdragndrop.js:184:3 Firefox 102.0 (Linux x86_64): Executed 645 of 645 ERROR (8.359 secs / 7.806 secs) ==================== Coverage / Threshold summary ============================= Statements : 100% ( 0/0 ) Threshold : 92% Branches : 100% ( 0/0 ) Threshold : 84% Functions : 100% ( 0/0 ) Threshold : 91% Lines : 100% ( 0/0 ) Threshold : 92% ================================================================================ npm ERR! Test failed. See above for more details. [1] https://review.opendev.org/c/openstack/requirements/+/887933 [2] https://review.opendev.org/c/openstack/horizon/+/886867 To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/2027728/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp