Build: #418 was successful

Job: Test, build and push docker image was successful

Stages & jobs

  1. Default Stage

  2. QA

Job result summary

Completed
Duration
11 minutes
Revision
ed991b64a48cc6fea0531674ed4e978d6355ec8e ed991b64a48cc6fea0531674ed4e978d6355ec8e
Total tests
530
Successful since
#378 ()

Tests

  • 530 tests in total
  • 43 seconds taken in total.

Error summary

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

(node:29012) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 14): TypeError: history.goBack is not a function
PASS src/tests/dictionaryConcepts/container/EditConcept.test.jsx (11.493s)
› 3 snapshots written.
PASS src/tests/dictionaryConcepts/container/DictionaryConcepts.test.jsx
› 4 snapshots written.
PASS src/tests/Dashboard/action/dictionaryAction.test.js
PASS src/tests/Dictionary/DictionaryContainer.test.jsx
› 5 snapshots written.
PASS src/tests/dictionaryConcepts/container/CreateConcept.test.jsx (9.665s)
› 4 snapshots written.
PASS src/tests/bulkConcepts/containers/BulkConceptsPage.test.js
› 1 snapshot written.
PASS src/tests/bulkConcepts/actions/bulkConcept.test.js
PASS src/tests/Dashboard/reducer/conceptReducer.test.js
PASS src/tests/Dictionary/DictionaryModal.test.jsx
› 2 snapshots written.
PASS src/tests/dictionaryConcepts/reducer/dictionaryConcept.test.js
PASS src/tests/userDashboard/container/UserDashboard.test.jsx
› 4 snapshots written.
PASS src/tests/dictionaryConcepts/components/CreateMapping.test.js
(node:29012) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 38): 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.
PASS src/tests/Dashboard/container/OwnerDisplay.test.jsx
› 6 snapshots written.
PASS src/tests/userDashboard/actions/index.test.js
PASS src/tests/Dashboard/container/DictionaryDisplay.test.jsx
› 7 snapshots written.
PASS src/tests/bulkConcepts/components/ConceptPagination.test.js
PASS src/tests/bulkConcepts/actions/index.test.js
PASS src/tests/dictionaryConcepts/components/CreateConceptForm.test.jsx
› 4 snapshots written.
PASS src/tests/bulkConcepts/components/PreviewCard.test.js
PASS src/tests/Dashboard/action/api.test.js
PASS src/tests/bulkConcepts/addBulkConcepts.test.jsx
PASS src/tests/dictionaryConcepts/container/SelectAnswers.test.js
PASS src/tests/Login/actions/login.test.js
PASS src/tests/Dashboard/reducer/dictionaryReducers.test.js
PASS src/tests/dictionaryConcepts/components/AnswerRow.test.js
PASS src/tests/bulkConcepts/components/Pagination.test.js
› 1 snapshot written.
PASS src/tests/bulkConcepts/reducer/index.test.js
PASS src/tests/Dashboard/action/specificConceptAction.test.js
PASS src/tests/userDashboard/reducers/index.test.js
PASS src/tests/dictionaryConcepts/components/ConceptNameRows.test.jsx
› 2 snapshots written.
PASS src/tests/Navbar.test.js
› 2 snapshots written.
PASS src/tests/Signup/index.test.jsx
› 1 snapshot written.
PASS src/tests/Dashboard/addExistingConcepts/actions/index.test.js
PASS src/tests/Login/container/index.test.jsx
› 1 snapshot written.
PASS src/tests/GeneralSearch/generalSearchContainer.test.js
› 4 snapshots written.
PASS src/tests/Dictionary/AddDictionary.test.js
PASS src/tests/AuthReducers.test.js
PASS src/tests/GeneralSearch/Actions/generalSearchActions.test.jsx
PASS src/tests/dictionaryConcepts/components/ActionButtons.test.jsx
PASS src/tests/store.test.js
PASS src/tests/bulkConcepts/reducers/index.test.js
PASS src/tests/dictionaryConcepts/components/DescriptionTable.test.jsx
› 3 snapshots written.
PASS src/tests/Dictionary/EditDictionary.test.jsx
› 1 snapshot written.
PASS src/tests/dictionaryConcepts/components/AnswersTable.test.jsx
› 2 snapshots written.
PASS src/tests/Auth/index.test.jsx
› 2 snapshots written.
PASS src/tests/Dictionary/ListDictionaries.test.jsx
› 3 snapshots written.
PASS src/tests/dictionaryConcepts/components/RemoveMappingsModal.test.jsx
PASS src/tests/AuthActions.test.js
PASS src/tests/dictionaryConcepts/components/InternalMapping.test.js
PASS src/tests/dictionaryConcepts/components/RemoveMappings.test.jsx
PASS src/tests/dictionaryConcepts/components/CreateConceptTable.test.jsx
› 2 snapshots written.
PASS src/tests/GeneralSearch/Reducers/generalSearchReducer.test.jsx
PASS src/tests/bulkConcepts/components/ActionButtons.test.js
PASS src/tests/dictionaryConcepts/components/ExternalMapping.test.js
PASS src/tests/dictionaryConcepts/components/DescriptionRow.test.js
PASS src/tests/Dictionary/UserDashboard.test.jsx
PASS src/tests/Dashboard/action/ConceptsActionCreator.test.js
PASS src/tests/Auth/LoginDetails.test.jsx
› 1 snapshot written.
PASS src/tests/Auth/notFound.test.js
› 1 snapshot written.
PASS src/tests/Title.test.js
› 2 snapshots written.
PASS src/tests/dictionaryConcepts/components/MapType.test.js
PASS src/tests/Loader.test.js
› 1 snapshot written.
PASS src/tests/App.test.js

Snapshot Summary
› 69 snapshots written from 26 test suites.

Test Suites: 64 passed, 64 total
Tests:       551 passed, 551 total
Snapshots:   69 written, 69 total
Time:        107.063s
Ran all test suites.
+ docker --version
+ docker login -u openmrsci -p ********
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

+ IMAGE=openmrs/ocl-client
+ TAG=latest
+ /usr/bin/docker build --force-rm=true --tag=openmrs/ocl-client:latest .
+ docker push openmrs/ocl-client:latest
+ docker image inspect '--format={{index .RepoDigests 0}}' openmrs/ocl-client:latest