Build: #523 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. QA

Job result summary

Completed
Duration
37 minutes
Agent
yak.openmrs.org
Revision
8ef245dbe6ea6f5103c3706a6a83e4bb9f26a401 8ef245dbe6ea6f5103c3706a6a83e4bb9f26a401
Total tests
636
Fixed in
#528 (Code changes detected)

Tests

  • 636 tests in total
  • 3 tests failed
  • 3 failures are new
  • 50 seconds taken in total.
New test failures 3
Status Test Duration
Collapse Failed Test suite for dictionary concepts components Retire/Unretire Concepts should call handleRetireConcept without crashing when owner_url is invalid Test suite for dictionary concepts components Retire/Unretire Concepts should call handleRetireConcept without crashing when owner_url is invalid History
< 1 sec
Error: Method “simulate” is meant to be run on 1 node. 0 found instead.
    at ReactWrapper.single (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:1168:13)
    at ReactWrapper.simulate (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:665:17)
    at DictionaryConcepts.call (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/dictionaryConcepts/container/DictionaryConcepts.test.jsx:801:39)
    at ReactSixteenAdapter.invokeSetStateCallback (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/EnzymeAdapter.js:46:14)
    at DictionaryConcepts.<anonymous> (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:383:19)
    at callCallback (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:13829:12)
    at commitUpdateEffects (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:13867:7)
(31 more lines...)
Collapse Failed Test suite for dictionary concepts components Retire/Unretire Concepts should call the handleRetireConcept method when retiring Test suite for dictionary concepts components Retire/Unretire Concepts should call the handleRetireConcept method when retiring History
< 1 sec
Error: Method “simulate” is meant to be run on 1 node. 0 found instead.
    at ReactWrapper.single (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:1168:13)
    at ReactWrapper.simulate (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:665:17)
    at DictionaryConcepts.call (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/dictionaryConcepts/container/DictionaryConcepts.test.jsx:760:39)
    at ReactSixteenAdapter.invokeSetStateCallback (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/EnzymeAdapter.js:46:14)
    at DictionaryConcepts.<anonymous> (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:383:19)
    at callCallback (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:13829:12)
    at commitUpdateEffects (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:13867:7)
(31 more lines...)
Collapse Failed Test suite for dictionary concepts components Retire/Unretire Concepts should call the handleRetireConcept method when un-retiring Test suite for dictionary concepts components Retire/Unretire Concepts should call the handleRetireConcept method when un-retiring History
< 1 sec
Error: Method “simulate” is meant to be run on 1 node. 0 found instead.
    at ReactWrapper.single (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:1168:13)
    at ReactWrapper.simulate (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:665:17)
    at DictionaryConcepts.call (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/src/tests/dictionaryConcepts/container/DictionaryConcepts.test.jsx:781:41)
    at ReactSixteenAdapter.invokeSetStateCallback (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/EnzymeAdapter.js:46:14)
    at DictionaryConcepts.<anonymous> (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/enzyme/src/ReactWrapper.js:383:19)
    at callCallback (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:13829:12)
    at commitUpdateEffects (/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OC-JOB1/node_modules/react-dom/cjs/react-dom.development.js:13867:7)
(31 more lines...)

Error summary

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

      at ReactWrapper.simulate (node_modules/enzyme/src/ReactWrapper.js:665:17)
      at DictionaryConcepts.call (src/tests/dictionaryConcepts/container/DictionaryConcepts.test.jsx:781:41)
      at ReactSixteenAdapter.invokeSetStateCallback (node_modules/enzyme/src/EnzymeAdapter.js:46:14)
      at DictionaryConcepts.<anonymous> (node_modules/enzyme/src/ReactWrapper.js:383:19)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:13829:12)
      at commitUpdateEffects (node_modules/react-dom/cjs/react-dom.development.js:13867:7)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:13855:3)
      at commitLifeCycles (node_modules/react-dom/cjs/react-dom.development.js:22135:11)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:25344:7)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:336:14)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:385:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:440:31)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:25082:9)
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:697:12)
      at runWithPriority$2 (node_modules/react-dom/cjs/react-dom.development.js:12149:10)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:24922:3)
      at finishSyncRender (node_modules/react-dom/cjs/react-dom.development.js:24329:3)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:24307:9)
      at node_modules/react-dom/cjs/react-dom.development.js:12199:24
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:697:12)
      at runWithPriority$2 (node_modules/react-dom/cjs/react-dom.development.js:12149:10)
      at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:12194:7)
      at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:12182:3)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23709:9)
      at Object.enqueueSetState (node_modules/react-dom/cjs/react-dom.development.js:13994:5)
      at DictionaryConcepts.setState (node_modules/react/cjs/react.development.js:325:16)
      at ReactWrapper.setState (node_modules/enzyme/src/ReactWrapper.js:377:21)
      at Object.it (src/tests/dictionaryConcepts/container/DictionaryConcepts.test.jsx:780:26)

  ● Test suite for dictionary concepts components › Retire/Unretire Concepts › should call handleRetireConcept without crashing when owner_url is invalid

    Method “simulate” is meant to be run on 1 node. 0 found instead.

      799 |       const spy = jest.spyOn(container, 'handleRetireConcept');
      800 |       dictionaryConcepts.setState({ isOwner: true }, () => {
    > 801 |         wrapper.find('button#retire').simulate('click');
          |                                       ^
      802 |         expect(spy).toHaveBeenCalled();
      803 |       });
      804 |     });

      at ReactWrapper.single (node_modules/enzyme/src/ReactWrapper.js:1168:13)
      at ReactWrapper.simulate (node_modules/enzyme/src/ReactWrapper.js:665:17)
      at DictionaryConcepts.call (src/tests/dictionaryConcepts/container/DictionaryConcepts.test.jsx:801:39)
      at ReactSixteenAdapter.invokeSetStateCallback (node_modules/enzyme/src/EnzymeAdapter.js:46:14)
      at DictionaryConcepts.<anonymous> (node_modules/enzyme/src/ReactWrapper.js:383:19)
      at callCallback (node_modules/react-dom/cjs/react-dom.development.js:13829:12)
      at commitUpdateEffects (node_modules/react-dom/cjs/react-dom.development.js:13867:7)
      at commitUpdateQueue (node_modules/react-dom/cjs/react-dom.development.js:13855:3)
      at commitLifeCycles (node_modules/react-dom/cjs/react-dom.development.js:22135:11)
      at commitLayoutEffects (node_modules/react-dom/cjs/react-dom.development.js:25344:7)
      at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:336:14)
      at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27)
      at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17)
      at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27)
      at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21)
      at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:385:16)
      at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:440:31)
      at commitRootImpl (node_modules/react-dom/cjs/react-dom.development.js:25082:9)
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:697:12)
      at runWithPriority$2 (node_modules/react-dom/cjs/react-dom.development.js:12149:10)
      at commitRoot (node_modules/react-dom/cjs/react-dom.development.js:24922:3)
      at finishSyncRender (node_modules/react-dom/cjs/react-dom.development.js:24329:3)
      at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:24307:9)
      at node_modules/react-dom/cjs/react-dom.development.js:12199:24
      at unstable_runWithPriority (node_modules/scheduler/cjs/scheduler.development.js:697:12)
      at runWithPriority$2 (node_modules/react-dom/cjs/react-dom.development.js:12149:10)
      at flushSyncCallbackQueueImpl (node_modules/react-dom/cjs/react-dom.development.js:12194:7)
      at flushSyncCallbackQueue (node_modules/react-dom/cjs/react-dom.development.js:12182:3)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23709:9)
      at Object.enqueueSetState (node_modules/react-dom/cjs/react-dom.development.js:13994:5)
      at DictionaryConcepts.setState (node_modules/react/cjs/react.development.js:325:16)
      at ReactWrapper.setState (node_modules/enzyme/src/ReactWrapper.js:377:21)
      at Object.it (src/tests/dictionaryConcepts/container/DictionaryConcepts.test.jsx:800:26)


Snapshot Summary
› 64 snapshots written from 25 test suites.

Test Suites: 1 failed, 73 passed, 74 total
Tests:       3 failed, 650 passed, 653 total
Snapshots:   64 written, 64 total
Time:        135.55s
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/2020-01-21T21_53_26_564Z-debug.log

goroutine 1 [IO wait, 22 minutes]:
internal/poll.runtime_pollWait(0x7fa65348bf00, 0x72, 0xc42057a4f8)
        /usr/local/go/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc4202c4198, 0x72, 0xffffffffffffff00, 0x194e460, 0x24c0b88)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc4202c4198, 0xc42027a000, 0x1000, 0x1000)
        /usr/local/go/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc4202c4180, 0xc42027a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc4202c4180, 0xc42027a000, 0x1000, 0x1000, 0x4361dc, 0xc420000180, 0x300000002)
        /usr/local/go/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc4200c0018, 0xc42027a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:176 +0x6a
net/http.(*persistConn).Read(0xc4206007e0, 0xc42027a000, 0x1000, 0x1000, 0xc42057a6d8, 0x4950f2, 0xc4200c2050)
        /usr/local/go/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc420096060)
        /usr/local/go/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).ReadSlice(0xc420096060, 0xa, 0xc42019c240, 0x199, 0xc4200c2068, 0xc42057a788, 0x49fa0e)
        /usr/local/go/src/bufio/bufio.go:341 +0x2c
net/http/internal.readChunkLine(0xc420096060, 0x0, 0xc42057a808, 0x49c5c8, 0xc4200c0008, 0x0)
        /usr/local/go/src/net/http/internal/chunked.go:122 +0x34
net/http/internal.(*chunkedReader).beginChunk(0xc4202124e0)
        /usr/local/go/src/net/http/internal/chunked.go:48 +0x32
net/http/internal.(*chunkedReader).Read(0xc4202124e0, 0xc420624c02, 0x5fe, 0x5fe, 0xc42057a888, 0x42c819, 0xc400000008)
        /usr/local/go/src/net/http/internal/chunked.go:93 +0x113
net/http.(*body).readLocked(0xc420325ac0, 0xc420624c02, 0x5fe, 0x5fe, 0xc42057aa78, 0x8252f6, 0x1949c40)
        /usr/local/go/src/net/http/transfer.go:778 +0x61
net/http.(*body).Read(0xc420325ac0, 0xc420624c02, 0x5fe, 0x5fe, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/transfer.go:770 +0xdd
net/http.(*bodyEOFSignal).Read(0xc420325b00, 0xc420624c02, 0x5fe, 0x5fe, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/transport.go:2187 +0xdc
encoding/json.(*Decoder).refill(0xc4202041e0, 0xc4201b400a, 0x9)
        /usr/local/go/src/encoding/json/stream.go:159 +0x132
encoding/json.(*Decoder).readValue(0xc4202041e0, 0x0, 0x0, 0x175fd60)
        /usr/local/go/src/encoding/json/stream.go:134 +0x23d
encoding/json.(*Decoder).Decode(0xc4202041e0, 0x159a7c0, 0xc42019c2d0, 0x0, 0x0)
        /usr/local/go/src/encoding/json/stream.go:63 +0x78
github.com/docker/cli/vendor/github.com/docker/docker/pkg/jsonmessage.DisplayJSONMessagesStream(0x194bee0, 0xc420325b00, 0x1949c40, 0xc420298fc0, 0x1, 0xc4202e2300, 0xc42057b2d0, 0x1, 0x0)
        /go/src/github.com/docker/cli/vendor/github.com/docker/docker/pkg/jsonmessage/jsonmessage.go:271 +0x14a
github.com/docker/cli/cli/command/image.runBuild(0x1987340, 0xc4201d0e00, 0x7ffeb39cd89d, 0x1, 0x0, 0x0, 0xc42000d580, 0x1880200, 0xc42000d5c0, 0x18803b0, ...)
        /go/src/github.com/docker/cli/cli/command/image/build.go:419 +0xc79
github.com/docker/cli/cli/command/image.NewBuildCommand.func1(0xc42026c280, 0xc4206203c0, 0x1, 0x3, 0x0, 0x0)
        /go/src/github.com/docker/cli/cli/command/image/build.go:110 +0x95
github.com/docker/cli/vendor/github.com/spf13/cobra.(*Command).execute(0xc42026c280, 0xc4200c2110, 0x3, 0x3, 0xc42026c280, 0xc4200c2110)
        /go/src/github.com/docker/cli/vendor/github.com/spf13/cobra/command.go:762 +0x468
github.com/docker/cli/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc42039a000, 0xc4201c46e0, 0x1538000, 0xc4201c46f0)
        /go/src/github.com/docker/cli/vendor/github.com/spf13/cobra/command.go:852 +0x30a
github.com/docker/cli/vendor/github.com/spf13/cobra.(*Command).Execute(0xc42039a000, 0xc42039a000, 0x194c180)
        /go/src/github.com/docker/cli/vendor/github.com/spf13/cobra/command.go:800 +0x2b
main.main()
        /go/src/github.com/docker/cli/cmd/docker/docker.go:174 +0xd0

goroutine 19 [syscall, 33 minutes]:
os/signal.signal_recv(0x0)
        /usr/local/go/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
        /usr/local/go/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
        /usr/local/go/src/os/signal/signal_unix.go:28 +0x41

goroutine 22 [chan receive, 2 minutes]:
github.com/docker/cli/vendor/github.com/golang/glog.(*loggingT).flushDaemon(0x25372a0)
        /go/src/github.com/docker/cli/vendor/github.com/golang/glog/glog.go:879 +0x8b
created by github.com/docker/cli/vendor/github.com/golang/glog.init.0
        /go/src/github.com/docker/cli/vendor/github.com/golang/glog/glog.go:410 +0x203

goroutine 7 [select, 28 minutes]:
net/http.(*persistConn).readLoop(0xc4206007e0)
        /usr/local/go/src/net/http/transport.go:1717 +0x743
created by net/http.(*Transport).dialConn
        /usr/local/go/src/net/http/transport.go:1237 +0x95a

goroutine 8 [select, 28 minutes]:
net/http.(*persistConn).writeLoop(0xc4206007e0)
        /usr/local/go/src/net/http/transport.go:1822 +0x14b
created by net/http.(*Transport).dialConn
        /usr/local/go/src/net/http/transport.go:1238 +0x97f

rax    0xfffffffffffffffc
rbx    0xffffffff
rcx    0x45be20
rdx    0x80
rdi    0x4
rsi    0x7ffeb39cc520
rbp    0x7ffeb39ccb20
rsp    0x7ffeb39cc4e0
r8     0x0
r9     0x0
r10    0xffffffff
r11    0x246
r12    0x0
r13    0xf5
r14    0x75
r15    0x4
rip    0x45be20
rflags 0x246
cs     0x33
fs     0x0
gs     0x0