Build: #434 failed

Job: Test, build and push docker image failed

Stages & jobs

  1. Default Stage

  2. QA

Job result summary

Completed
Duration
13 minutes
Revision
6e9a886e2c39637c9270026b7b505ba62f6fdd98 6e9a886e2c39637c9270026b7b505ba62f6fdd98
Total tests
552
Fixed in
#435 (Code changes detected)

Tests

  • 552 tests in total
  • 4 tests failed
  • 4 failures are new
  • 46 seconds taken in total.
New test failures 4
Status Test Duration
Collapse Failed Test suite for addBulkConcepts async actions should add concept on ADD_EXISTING_CONCEPTS action dispatch Test suite for addBulkConcepts async actions should add concept on ADD_EXISTING_CONCEPTS action dispatch History
< 1 sec
Invariant Violation: The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.
    at invariant (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:55:15)
    at Object.invokeGuardedCallbackDev (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:110:44)
    at invokeGuardedCallback (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:256:31)
    at commitRoot (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:18881:7)
    at /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20418:5
    at Object.unstable_runWithPriority (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/scheduler/cjs/scheduler.development.js:255:12)
    at completeRoot (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:20417:13)
(12 more lines...)
Collapse Failed Test suite for addBulkConcepts async actions should handle FETCH_FILTERED_CONCEPTS with no filters Test suite for addBulkConcepts async actions should handle FETCH_FILTERED_CONCEPTS with no filters History
< 1 sec
Error: expect(received).toEqual(expected)

Expected value to equal:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": [{"concept_class": "Diagnosis", "datatype": "N/A", "descriptions": [{"description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ", "description_type": null, "external_id": null, "locale": "en", "locale_preferred": true, "type": "ConceptDescription", "uuid": "453aa9941e824becaad4b374899e8bcb"}], "display_locale": "en", "display_name": "Bronze Diabetes", "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "id": "1468667", "is_latest_version": true, "locale": null, "mappings": null, "owner": "CIEL", "owner_type": "Organization", "owner_url": "/orgs/CIEL/", "retired": false, "source": "CIEL", "url": "/orgs/CIEL/sources/CIEL/concepts/146869/", "version": "5835c0e2955c3c0007e5fb79", "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/"}], "type": "[concept] fetch_filtered_concepts"}, {"payload": false, "type": "[ui] toggle spinner"}]
Received:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": [{"added": false, "concepts": {"concept_class": "Diagnosis", "datatype": "N/A", "descriptions": [{"description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ", "description_type": null, "external_id": null, "locale": "en", "locale_preferred": true, "type": "ConceptDescription", "uuid": "453aa9941e824becaad4b374899e8bcb"}], "display_locale": "en", "display_name": "Bronze Diabetes", "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "id": "1468667", "is_latest_version": true, "locale": null, "mappings": null, "owner": "CIEL", "owner_type": "Organization", "owner_url": "/orgs/CIEL/", "retired": false, "source": "CIEL", "url": "/orgs/CIEL/sources/CIEL/concepts/146869/", "version": "5835c0e2955c3c0007e5fb79", "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/"}}], "type": "[concept] fetch_filtered_concepts"}, {"payload": false, "type": "[ui] toggle spinner"}]

Difference:
(30 more lines...)
Collapse Failed Test suite for addBulkConcepts async actions should handle error in FETCH_FILTERED_CONCEPTS Test suite for addBulkConcepts async actions should handle error in FETCH_FILTERED_CONCEPTS History
< 1 sec
Error: expect(received).toEqual(expected)

Expected value to equal:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": false, "type": "[ui] toggle spinner"}]
Received:
  [{"payload": true, "type": "[ui] toggle spinner"}, {"payload": [{"concept_class": "Diagnosis", "datatype": "N/A", "descriptions": [{"description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ", "description_type": null, "external_id": null, "locale": "en", "locale_preferred": true, "type": "ConceptDescription", "uuid": "453aa9941e824becaad4b374899e8bcb"}], "display_locale": "en", "display_name": "Bronze Diabetes", "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "id": "1468667", "is_latest_version": true, "locale": null, "mappings": null, "owner": "CIEL", "owner_type": "Organization", "owner_url": "/orgs/CIEL/", "retired": false, "source": "CIEL", "url": "/orgs/CIEL/sources/CIEL/concepts/146869/", "version": "5835c0e2955c3c0007e5fb79", "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/"}], "type": "[concept] fetch_filtered_concepts"}, {"payload": false, "type": "[ui] toggle spinner"}]

Difference:
(50 more lines...)
Collapse Failed Test suite for addBulkConcepts async actions should notify user when one tries to add a duplicate concept Test suite for addBulkConcepts async actions should notify user when one tries to add a duplicate concept History
< 1 sec
Error: expect(received).toEqual(expected)

Expected value to equal:
  [{"payload": [{"added": false, "concepts": {"concept_class": "Diagnosis", "datatype": "N/A", "descriptions": [{"description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ", "description_type": null, "external_id": null, "locale": "en", "locale_preferred": true, "type": "ConceptDescription", "uuid": "453aa9941e824becaad4b374899e8bcb"}], "display_locale": "en", "display_name": "Bronze Diabetes", "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "id": "1468667", "is_latest_version": true, "locale": null, "mappings": null, "owner": "CIEL", "owner_type": "Organization", "owner_url": "/orgs/CIEL/", "retired": false, "source": "CIEL", "url": "/orgs/CIEL/sources/CIEL/concepts/146869/", "version": "5835c0e2955c3c0007e5fb79", "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/"}}], "type": "[concepts] add_existing_concepts"}]
Received:
  [{"payload": [{"added": true, "concepts": {"concept_class": "Diagnosis", "datatype": "N/A", "descriptions": [{"description": "The proportion of women of reproductive age (15-49 years) who are not pregnant and are accepting a modern contraceptive method (new and repeat acceptors).  ", "description_type": null, "external_id": null, "locale": "en", "locale_preferred": true, "type": "ConceptDescription", "uuid": "453aa9941e824becaad4b374899e8bcb"}], "display_locale": "en", "display_name": "Bronze Diabetes", "external_id": "146869AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "id": "1468667", "is_latest_version": true, "locale": null, "mappings": null, "owner": "CIEL", "owner_type": "Organization", "owner_url": "/orgs/CIEL/", "retired": false, "source": "CIEL", "url": "/orgs/CIEL/sources/CIEL/concepts/146869/", "version": "5835c0e2955c3c0007e5fb79", "version_url": "/orgs/CIEL/sources/CIEL/concepts/146869/5835c0e2955c3c0007e5fb79/"}}], "type": "[concepts] add_existing_concepts"}]

Difference:
(17 more lines...)