Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
-
Folijet Sprint 144
-
2
-
Folijet
-
Morning Glory (R2 2022) Bug Fix
-
Related dependency upgrade
Description
On upgrading Node to v16 LTS in Github Actions pipeline the yarn test step fails with the following error log:
Summary of all failing tests 17281FAIL src/components/UploadingJobsDisplay/tests/UploadingJobsDisplay.test.js (14.852 s) 17282 ● <UploadingjobsDisplay> › when there is no upload definition for location state › should handle error correctly 1728317284 expect(jest.fn()).toHaveBeenCalledWith(...expected) 1728517286 Expected: [TypeError: Cannot read property 'fileDefinitions' of undefined] 17287 Received 17288 1: [TypeError: Cannot read properties of undefined (reading 'fileDefinitions')] 17289 2: "Error: Error: getaddrinfo ENOTFOUND ***-testing-okapi.dev.***.org 17290172911729217293 at Object.dispatchError (node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:63:19) 17294 at EventEmitter.<anonymous> (node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js:655:18) 17295 at Request.<anonymous> (node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js:401:14) 17296 at ClientRequest.<anonymous> (node_modules/jsdom/lib/jsdom/living/helpers/http-request.js:121:14) 17297 3: "Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s", "the componentWillUnmount method", " 17298 at UploadingJobsDisplay (src/components/UploadingJobsDisplay/UploadingJobsDisplay.js:3660:37) 17299 at test/jest/__mock__/stripesCore.mock.js:44:5 17300 at C (node_modules/react-router/modules/withRouter.js:14:13) 17301 at div 17302 at PaneResizeContainer (node_modules/@***/stripes-components/lib/Paneset/PaneResizeContainer.js:10:32) 17303 at Paneset (node_modules/@***/stripes-components/lib/Paneset/Paneset.js:115:22) 17304 at WithPaneset (node_modules/@***/stripes-components/lib/Paneset/PanesetContext.js:9:47) 17305 at Router (node_modules/react-router/cjs/react-router.js:95:30) 17306 at component 17307 at Form (node_modules/redux-form/lib/createReduxForm.js:150:41) 17308 at ConnectFunction (node_modules/react-redux/lib/components/connectAdvanced.js:235:41) 17309 at Connect(Form(component)) 17310 at ReduxForm (node_modules/redux-form/lib/createReduxForm.js:890:43) 17311 at Hoc (node_modules/redux-form/lib/ReduxFormContext.js:39:31) 17312 at ReduxForm 17313 at Provider (node_modules/react-redux/lib/components/Provider.js:21:20) 17314 at IntlProvider (node_modules/react-intl/src/components/provider.js:83:47) 17315 at QueryClientProvider (node_modules/react-query/lib/react/QueryClientProvider.js:45:21) 17316 at Harness (node_modules/@***/stripes-data-transfer-components/test/helpers/Harness.js:37:3)" 17317 Number of calls: 3
The detailed test error logs can be found here
TestRail: Results
Attachments
Issue Links
- blocks
-
FOLIO-3452 Roll out Github Actions to remaining ui-* and stripes-* repos using the developed Python script
-
- Closed
-
-
FOLIO-3504 GA pipeline failing in some repos but successful in Jenkins
-
- Closed
-
- defines
-
UXPROD-3446 NFR: Data Import R2 2022 Morning Glory Technical, NFR, & Misc work
-
- Closed
-
- relates to
-
UIDATIMP-1224 Release v5.2.1 (R2 MG bugfix)
-
- Closed
-