Build: #121 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. QA

Job result summary

Completed
Duration
6 minutes
Revision
d583b24c95d0b81c60975a21da072b5d92b98850 d583b24c95d0b81c60975a21da072b5d92b98850
Total tests
235
Failing since
#117 (Code changes detected – )
Fixed in
#122 (Code changes detected)

Tests

  • 235 tests in total
  • 1 test failed
  • 9 seconds taken in total.
Existing test failures 1
Status Test Failing since Duration
TypeError: Object.values is not a function
    at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/redux/actions/concepts/dictionaryConcepts.js:224:20
    at throw (native)
    at step (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/redux/actions/concepts/dictionaryConcepts.js:33:446)
    at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/redux/actions/concepts/dictionaryConcepts.js:33:645

Error summary

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

    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: Invalid prop `existingConcept` of type `object` supplied to `DescriptionRow`, expected `function`.
          in DescriptionRow (at DescriptionTable.jsx:16)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `existingConcept` is marked as required in `DescriptionTable`, but its value is `undefined`.
          in DescriptionTable (at DescriptionTable.test.jsx:24)

PASS  src/tests/dictionaryConcepts/components/CreateConceptTable.test.jsx
  ● Console

    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: Invalid prop `newRow` of type `object` supplied to `ConceptNameRows`, expected `function`.
          in ConceptNameRows (at CreateConceptTable.jsx:18)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `addDataFromRow` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at CreateConceptTable.jsx:18)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `removeRow` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at CreateConceptTable.jsx:18)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `removeDataFromRow` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at CreateConceptTable.jsx:18)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `pathName` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at CreateConceptTable.jsx:18)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `existingConcept` is marked as required in `CreateConceptTable`, but its value is `undefined`.
          in CreateConceptTable (at CreateConceptTable.test.jsx:23)

PASS  src/tests/bulkConcepts/bulkConceptList.test.jsx
  ● Console

    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `fetching` is marked as required in `BulkConceptList`, but its value is `undefined`.
          in BulkConceptList (at bulkConceptList.test.jsx:20)

PASS  src/tests/Dashboard/reducer/conceptReducer.test.js
PASS  src/tests/Auth/LoginDetails.test.jsx
PASS  src/tests/dictionaryConcepts/components/ActionButtons.test.jsx
PASS  src/tests/dictionaryConcepts/components/ConceptNameRows.test.jsx
  ● Console

    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `newRow` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at ConceptNameRows.test.jsx:13)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `addDataFromRow` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at ConceptNameRows.test.jsx:13)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `removeRow` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at ConceptNameRows.test.jsx:13)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `removeDataFromRow` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at ConceptNameRows.test.jsx:13)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: Invalid prop `pathName` of type `object` supplied to `ConceptNameRows`, expected `string`.
          in ConceptNameRows (at ConceptNameRows.test.jsx:13)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `existingConcept` is marked as required in `ConceptNameRows`, but its value is `undefined`.
          in ConceptNameRows (at ConceptNameRows.test.jsx:13)

PASS  src/tests/AuthReducers.test.js
PASS  src/tests/Login/actions/login.test.js
PASS  src/tests/Loader.test.js
PASS  src/tests/AuthActions.test.js
PASS  src/tests/Dashboard/action/sourcesActionCreators.test.js
PASS  src/tests/Dashboard/action/ConceptsActionCreator.test.js
PASS  src/tests/GeneralSearch/Reducers/generalSearchReducer.test.jsx
PASS  src/tests/bulkConcepts/reducers/index.test.js

Summary of all failing tests
FAIL  src/tests/dictionaryConcepts/actions/dictionaryConcept.test.js
  ● Testing Edit concept actions  › should handle error in FETCH_EXISTING_CONCEPT_ERROR for update concept

    TypeError: Object.values is not a function
     
      at src/redux/actions/concepts/dictionaryConcepts.js:224:20
      at throw (native)
      at step (src/redux/actions/concepts/dictionaryConcepts.js:33:446)
      at src/redux/actions/concepts/dictionaryConcepts.js:33:645


Snapshot Summary
› 67 snapshots written in 31 test suites.

Test Suites: 1 failed, 55 passed, 56 total
Tests:       1 failed, 253 passed, 254 total
Snapshots:   67 added, 67 total
Time:        33.131s
Ran all test suites.
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/2018-08-30T16_55_24_102Z-debug.log
+ docker --version
+ docker login -u openmrsci -p '********'
+ IMAGE=openmrs/ocl-client
+ TAG=latest
+ /usr/bin/docker build --force-rm=true --tag=openmrs/ocl-client:latest .
Error processing tar file(exit status 1): write /usr/src/app/node_modules/unicode-5.2.0/General_Category/Unassigned/code-points.js: no space left on device