Skip to content

Add more tests

Add more tests #14

Triggered via push April 8, 2024 21:17
Status Failure
Total duration 3m 39s
Artifacts 17

ruby_tests.yml

on: push
Rubocop  /  Rubocop
21s
Rubocop / Rubocop
Ruby  /  Setup matrix
5s
Ruby / Setup matrix
Matrix: Ruby / existing-database
Matrix: Ruby / test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0004_should raise an exception if invalid report Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0002_grype scan has valid data Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0001_trivy scan has valid data Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 3.0 and Node 14 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0003_should identify as cve scan Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0003_should identify as cve scan Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0001_trivy scan has valid data Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0004_should raise an exception if invalid report Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 3.0 and Node 18 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0002_grype scan has valid data Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0004_should raise an exception if invalid report Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0003_should identify as cve scan Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0002_grype scan has valid data Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 2.7 and Node 18 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0001_trivy scan has valid data Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0004_should raise an exception if invalid report Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0002_grype scan has valid data Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0003_should identify as cve scan Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'
Ruby / test:foreman_cve_scanner - Foreman develop with Ruby 2.7 and Node 14 on PostgreSQL 13: foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb#L106
Failure: test_0001_trivy scan has valid data Foreman::Exception: ERF42-4845 [Foreman::Exception]: Invalid CVE scanner report foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:106:in `generate_unified_vuls' foreman_cve_scanner/app/services/foreman_cve_scanner/cve_report_scanner.rb:26:in `initialize' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `new' foreman_cve_scanner/test/services/foreman_cve_scanner/cve_report_scanner_test.rb:9:in `setup'

Artifacts

Produced during runtime
Name Size
Gemfile-ruby-27-node-14-pg-13-foreman-develop-dbseed.lock Expired
4.92 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-pluginassetsprecompileforemancvescannerRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.92 KB
Gemfile-ruby-27-node-14-pg-13-foreman-develop-testforemancvescanner.lock Expired
4.92 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-dbseed.lock Expired
4.92 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-pluginassetsprecompileforemancvescannerRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.92 KB
Gemfile-ruby-27-node-18-pg-13-foreman-develop-testforemancvescanner.lock Expired
4.92 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-dbseed.lock Expired
4.93 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-pluginassetsprecompileforemancvescannerRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.93 KB
Gemfile-ruby-30-node-14-pg-13-foreman-develop-testforemancvescanner.lock Expired
4.93 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-dbseed.lock Expired
4.93 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-pluginassetsprecompileforemancvescannerRAILSENVproductionDATABASEURLnulldbnohost.lock Expired
4.93 KB
Gemfile-ruby-30-node-18-pg-13-foreman-develop-testforemancvescanner.lock Expired
4.93 KB
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock Expired
1.59 KB
logs-ruby-27-node-14-pg-13-foreman-develop-testforemancvescanner Expired
15.9 KB
logs-ruby-27-node-18-pg-13-foreman-develop-testforemancvescanner Expired
15.8 KB
logs-ruby-30-node-14-pg-13-foreman-develop-testforemancvescanner Expired
15.9 KB
logs-ruby-30-node-18-pg-13-foreman-develop-testforemancvescanner Expired
15.9 KB