Skip to content

change: cve.js for new data structure #4367

change: cve.js for new data structure

change: cve.js for new data structure #4367

Triggered via pull request January 16, 2025 11:59
Status Failure
Total duration 8m 53s
Artifacts 2

ci-js.yml

on: pull_request
Matrix: Upload coverage
Matrix: Linting
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 4 warnings
src/gmp/models/__tests__/cve.js > should create instance of modelclass in fromElement: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:30:30
src/gmp/models/__tests__/cve.js > end_time is parsed correctly: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:38:30
src/gmp/models/__tests__/cve.js > permissions are parsed correctly: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:51:30
src/gmp/models/__tests__/cve.js > user_tags are parsed correctly: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:71:30
src/gmp/models/__tests__/cve.js > should return empty array for userTags if no tags are given: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:80:30
src/gmp/models/__tests__/cve.js > should delete owner if owners name is empty: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:87:30
src/gmp/models/__tests__/cve.js > should delete comment if comment is empty: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:94:30
src/gmp/models/__tests__/cve.js > entityType is applied correctly: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:100:30
src/gmp/models/__tests__/cve.js > should parse props as YES_VALUE/NO_VALUE: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:112:30
src/gmp/models/__tests__/cve.js > should parse creation_time as date: src/gmp/models/cve.js#L134
TypeError: Cannot read properties of undefined (reading 'references') ❯ Function.parseElement src/gmp/models/cve.js:134:31 ❯ Function.fromElement src/gmp/model.js:49:26 ❯ src/gmp/models/testing.js:121:30
Run tests (18)
The job was canceled because "_20" failed.
Run tests (18)
The operation was canceled.
Upload coverage (18)
Process completed with exit code 1.
Linting (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linting (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run tests (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Upload coverage (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
linting-report-18
204 Bytes
linting-report-20
204 Bytes