Build: #119 failed

Job: Test, build and push docker image failed

Stages & jobs

  1. Default Stage

  2. QA

Job result summary

Completed
Duration
11 minutes
Revision
13ec2719678cb485c84446221257d28bd54393e6 13ec2719678cb485c84446221257d28bd54393e6
Total tests
230
Failing since
#117 (Code changes detected – )
Fixed in
#122 (Code changes detected)

Tests

  • 230 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: 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/dictionaryConcepts/components/DescriptionTable.test.jsx
  ● Console

    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: Invalid prop `description` of type `array` supplied to `DescriptionTable`, expected `string`.
          in DescriptionTable (at DescriptionTable.test.jsx:19)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: Invalid prop `newRow` of type `object` supplied to `DescriptionRow`, expected `string`.
          in DescriptionRow (at DescriptionTable.jsx:16)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `addDataFromDescription` is marked as required in `DescriptionRow`, but its value is `undefined`.
          in DescriptionRow (at DescriptionTable.jsx:16)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `removeDescription` is marked as required in `DescriptionRow`, but its value is `undefined`.
          in DescriptionRow (at DescriptionTable.jsx:16)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `removeDataFromRow` is marked as required in `DescriptionRow`, but its value is `undefined`.
          in DescriptionRow (at DescriptionTable.jsx:16)
    console.error node_modules/prop-types/checkPropTypes.js:19
      Warning: Failed prop type: The prop `pathName` is marked as required in `DescriptionRow`, but its value is `undefined`.
          in DescriptionRow (at DescriptionTable.jsx:16)
    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/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/Dashboard/action/sourcesActionCreators.test.js
PASS  src/tests/AuthActions.test.js
PASS  src/tests/Dashboard/reducer/conceptReducer.test.js
PASS  src/tests/Loader.test.js
PASS  src/tests/Dashboard/action/ConceptsActionCreator.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
› 66 snapshots written in 31 test suites.

Test Suites: 1 failed, 54 passed, 55 total
Tests:       1 failed, 248 passed, 249 total
Snapshots:   66 added, 66 total
Time:        30.614s
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-30T12_19_09_250Z-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 /node_modules/unicode-5.2.0/Line_Break/Unknown/code-points.js: no space left on device