Build: #304 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. QA

Job result summary

Completed
Duration
2 minutes
Revision
39ce3a3ab683d9f8c0108c9e17f385cdcf51eac0 39ce3a3ab683d9f8c0108c9e17f385cdcf51eac0
Failing since
#303 (Code changes detected – )
Fixed in
#305 (Code changes detected)
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

npm WARN deprecated memoize-one@4.1.0: New custom equality api does not play well with all equality helpers. Please use v5.x
npm WARN deprecated text-encoding@0.6.4: no longer maintained
npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha1-HxBSiUm3zoBWwlMmJPfK+phXbG0= integrity checksum failed when using sha1: wanted sha1-HxBSiUm3zoBWwlMmJPfK+phXbG0= but got sha512-ryhkkb/4D4CUGpAV2ln1GOY/uh51aczjcRz9k2L2bPx/Xja3c5pSGJJPyR25GNVRXtKIExScdAgFdiXp68GmJA==. (3864 bytes)
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN bootstrap@4.3.0 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-react-app@2.1.0 requires a peer of babel-eslint@^7.2.3 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-react-app@2.1.0 requires a peer of eslint@^4.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-react-app@2.1.0 requires a peer of eslint-plugin-jsx-a11y@^5.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-loader@1.9.0 requires a peer of eslint@>=1.6.0 <5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

PASS  src/tests/dictionaryConcepts/actions/dictionaryConcept.test.js (5.361s)

/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-scripts/scripts/test.js:20
  throw err;
  ^
ReferenceError: active_concepts is not defined
    at DictionaryDetailCard (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/components/dashboard/components/dictionary/DictionaryDetailCard.jsx:149:15)
    at renderWithHooks (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:12749:18)
    at mountIndeterminateComponent (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:14679:13)
    at beginWork (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:15203:16)
    at performUnitOfWork (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:18789:12)
    at workLoop (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:18829:24)
    at renderRoot (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:18912:7)
    at performWorkOnRoot (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:19809:7)
    at performWork (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:19721:7)
    at performSyncWork (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:19695:3)
    at requestWork (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:19564:5)
    at scheduleWork (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:19373:5)
    at scheduleRootUpdate (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20041:3)
    at updateContainerAtExpirationTime (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20069:10)
    at updateContainer (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20126:10)
    at ReactRoot.Object.<anonymous>.ReactRoot.render (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20422:3)
    at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20559:14
    at unbatchedUpdates (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:19924:10)
    at legacyRenderSubtreeIntoContainer (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20555:5)
    at Object.render (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20624:12)
    at Object.render (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme-adapter-react-16/build/ReactSixteenAdapter.js:367:114)
    at new ReactWrapper (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/build/ReactWrapper.js:134:16)
    at mount (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/build/mount.js:21:10)
    at Object.<anonymous> (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/Dictionary/DictionaryContainer.test.jsx:444:41)
    at next (native)
    at step (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/Dictionary/DictionaryContainer.test.jsx:30:1234)
    at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/Dictionary/DictionaryContainer.test.jsx:30:1464
    at Object.<anonymous> (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/Dictionary/DictionaryContainer.test.jsx:30:1145)
    at Object.it (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/Dictionary/DictionaryContainer.test.jsx:455:42)
    at e (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/jest-jasmine2/build/queueRunner.js:38:12)
    at mapper (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/jest-jasmine2/build/queueRunner.js:31:21)
    at Promise.resolve.then.el (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/p-map/index.js:46:16)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openmrs-ocl-client@0.1.0 test:bamboo: `react-scripts test --env=jsdom -u --ci --coverage --testResultsProcessor ./node_modules/jest-junit`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openmrs-ocl-client@0.1.0 test:bamboo 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/bamboo-agent/.npm/_logs/2019-02-13T12_44_51_661Z-debug.log