This job view page is being replaced by Spyglass soon. Check out the new job view.
PRsaschagrunert: Update data flow to use redux
ResultFAILURE
Tests 0 failed / 0 succeeded
Started2019-08-07 10:32
Elapsed2m10s
Revisiona48abb8be3784bfebe73dbdc4622eecebe4ca36b
Refs 90

No Test Failures!


Error lines from build-log.txt

... skipping 68 lines ...

added 1538 packages in 107.542s

> relnotes@1.0.0 test /home/prow/go/src/github.com/kubernetes-sigs/release-notes
> jest

FAIL src/app/notes/notes.component.spec.ts
  ● Test suite failed to run

    TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
    src/app/notes/notes.component.spec.ts:62:15 - error TS2339: Property 'update' does not exist on type 'NotesComponent'.

    62     component.update(filter);
                     ~~~~~~

FAIL src/app/filter/filter.component.spec.ts
  ● Test suite failed to run

    TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
    src/app/filter/filter.component.spec.ts:30:15 - error TS2339: Property 'updateFilterObject' does not exist on type 'FilterComponent'.

    30     component.updateFilterObject(areas, b, true);
                     ~~~~~~~~~~~~~~~~~~
    src/app/filter/filter.component.spec.ts:35:15 - error TS2339: Property 'updateFilterObject' does not exist on type 'FilterComponent'.

    35     component.updateFilterObject(areas, b, false);
                     ~~~~~~~~~~~~~~~~~~

PASS src/app/notes/notes.service.spec.ts
PASS src/app/shared/services/logger.service.spec.ts (11.316s)
PASS src/app/notes/notes.actions.spec.ts (10.937s)
PASS src/app/notes/notes.reducer.spec.ts (11.468s)
PASS src/app/shared/model/options.model.spec.ts
PASS src/app/notes/notes.effects.spec.ts (12.529s)
PASS src/app/app.component.spec.ts
FAIL src/app/main/main.component.spec.ts (16.14s)
  ● MainComponent › should create

    TypeError: Cannot read property 'filter' of undefined



      at Object.<anonymous>.exports.getFilterSelector.store_1.createSelector.state (src/app/filter/filter.reducer.ts:411:16)
      at ../modules/store/src/selector.ts:568:24
      at memoized (../modules/store/src/selector.ts:88:33)
... skipping 47 lines ...
      at ZoneDelegate.invoke (node_modules/zone.js/dist/zone.js:395:36)
      at Zone.run (node_modules/zone.js/dist/zone.js:153:47)
      at Object.testBody.length.done (node_modules/jest-preset-angular/zone-patch/index.js:53:29)

  ● MainComponent › should succeed to update filter string

    TypeError: Cannot convert undefined or null to object
        at Function.values (<anonymous>)



      at FilterComponent.updateOptions (src/app/filter/filter.component.ts:828:31)
      at SafeSubscriber.FilterComponent.store.pipe.subscribe.n [as _next] (src/app/filter/filter.component.ts:806:12)
... skipping 50 lines ...
      at ZoneDelegate.invoke (node_modules/zone.js/dist/zone.js:395:36)
      at Zone.run (node_modules/zone.js/dist/zone.js:153:47)
      at Object.testBody.length.done (node_modules/jest-preset-angular/zone-patch/index.js:53:29)

  ● MainComponent › should succeed to delete filter string

    TypeError: Cannot read property 'filter' of undefined



      at Object.<anonymous>.exports.getFilterSelector.store_1.createSelector.state (src/app/filter/filter.reducer.ts:411:16)
      at ../modules/store/src/selector.ts:568:24
      at memoized (../modules/store/src/selector.ts:88:33)
... skipping 48 lines ...
      at ZoneDelegate.invoke (node_modules/zone.js/dist/zone.js:395:36)
      at Zone.run (node_modules/zone.js/dist/zone.js:153:47)
      at Object.testBody.length.done (node_modules/jest-preset-angular/zone-patch/index.js:53:29)

  ● MainComponent › should succeed to open the modal view

    TypeError: Cannot read property 'filter' of undefined



      at Object.<anonymous>.exports.getFilterSelector.store_1.createSelector.state (src/app/filter/filter.reducer.ts:411:16)
      at ../modules/store/src/selector.ts:568:24
      at memoized (../modules/store/src/selector.ts:88:33)
... skipping 76 lines ...
  notes.service.ts      |      100 |      100 |      100 |      100 |                   |
 app/shared/model       |    92.31 |    91.67 |    88.89 |    92.31 |                   |
  options.model.ts      |    92.31 |    91.67 |    88.89 |    92.31 |             68,99 |
 app/shared/services    |    95.83 |    83.33 |      100 |    95.45 |                   |
  logger.service.ts     |    95.83 |    83.33 |      100 |    95.45 |                30 |
------------------------|----------|----------|----------|----------|-------------------|
Test Suites: 3 failed, 7 passed, 10 total
Tests:       4 failed, 27 passed, 31 total
Snapshots:   0 total
Time:        18.088s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! relnotes@1.0.0 test: `jest`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the relnotes@1.0.0 test 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!     /root/.npm/_logs/2019-08-07T10_34_19_100Z-debug.log