Build: #516 was successful

Job: Default Job was successful

Stages & jobs

  1. Default Stage

  2. QA

Job result summary

Completed
Duration
14 minutes
Agent
yue.openmrs.org
Revision
a13b58664a78f5c53c11c300eb758d143a1d3989 a13b58664a78f5c53c11c300eb758d143a1d3989
Total tests
625
First to pass since
#512 (Code changes detected – )

Tests

  • 625 tests in total
  • 1 test was fixed
  • 48 seconds taken in total.
Fixed tests 1
Status Test Failing since Duration
Successful Test suite for ActionButton in BulkConceptsPage component should render with mappings Test suite for ActionButton in BulkConceptsPage component should render with mappings History
Failing since build #512 (Code changes detected) < 1 sec

Error summary

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

› 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/Loader.test.js
› 2 snapshots written.
PASS src/tests/Dictionary/dictionaryReducer.test.js
PASS src/tests/Dictionary/UserDashboard.test.jsx
PASS src/tests/notifications/Notifications.test.js
PASS src/tests/helperFunctions.test.js
PASS src/tests/Auth/LoginDetails.test.jsx
  ● Console

    console.warn node_modules/react-dom/cjs/react-dom.development.js:12386
      Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
     
      * Move code with side effects to componentDidMount, and set initial state in the constructor.
      * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
     
      Please update the following components: MemoryRouter, Router
    console.warn node_modules/react-dom/cjs/react-dom.development.js:12386
      Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
     
      * Move data fetching code or side effects to componentDidUpdate.
      * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
      * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
     
      Please update the following components: Router

› 1 snapshot written.
PASS src/tests/Dashboard/action/ConceptsActionCreator.test.js
PASS src/tests/Auth/notFound.test.js
  ● Console

    console.warn node_modules/react-dom/cjs/react-dom.development.js:12386
      Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
     
      * Move code with side effects to componentDidMount, and set initial state in the constructor.
      * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
     
      Please update the following components: MemoryRouter, Router
    console.warn node_modules/react-dom/cjs/react-dom.development.js:12386
      Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
     
      * Move data fetching code or side effects to componentDidUpdate.
      * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
      * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
     
      Please update the following components: Router

› 1 snapshot written.
PASS src/tests/Title.test.js
  ● Console

    console.warn node_modules/react-dom/cjs/react-dom.development.js:12386
      Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
     
      * Move code with side effects to componentDidMount, and set initial state in the constructor.
      * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
     
      Please update the following components: SideEffect(NullComponent)

› 2 snapshots written.
PASS src/tests/dictionaryConcepts/components/MapType.test.js
PASS src/tests/App.test.js
  ● Console

    console.warn node_modules/react-dom/cjs/react-dom.development.js:12386
      Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
     
      * Move code with side effects to componentDidMount, and set initial state in the constructor.
      * Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
     
      Please update the following components: Authenticate, Route, Router, SideEffect(NullComponent), Switch, _class
    console.warn node_modules/react-dom/cjs/react-dom.development.js:12386
      Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
     
      * Move data fetching code or side effects to componentDidUpdate.
      * If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
      * Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
     
      Please update the following components: Connect(Authenticate), Connect(Notifications), Connect(withRouter(Login)), Connect(withRouter(Navbar)), Provider, Route, Router, Switch
    console.warn node_modules/react-dom/cjs/react-dom.development.js:12386
      Warning: componentWillUpdate has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.
     
      * Move data fetching code or side effects to componentDidUpdate.
      * Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
     
      Please update the following components: Connect(Authenticate), Connect(Notifications), Connect(withRouter(Login)), Connect(withRouter(Navbar))


Snapshot Summary
› 64 snapshots written from 25 test suites.

Test Suites: 73 passed, 73 total
Tests:       642 passed, 642 total
Snapshots:   64 written, 64 total
Time:        131.795s
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