Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vebt 558 #19957

Merged
merged 32 commits into from
Dec 24, 2024

Separate variables in mailer

0a53127
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Vebt 558 #19957

Separate variables in mailer
0a53127
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Dec 23, 2024 in 0s

6 fail, 6 skipped, 28 000 pass in 1h 6m 25s

    24 files  ±0      24 suites  ±0   1h 6m 25s ⏱️ +19s
28 012 tests ±0  28 000 ✅  - 6  6 💤 ±0  6 ❌ +6 
28 338 runs  ±0  28 326 ✅  - 6  6 💤 ±0  6 ❌ +6 

Results for commit 0a53127. ± Comparison against earlier commit f41e7ab.

Annotations

Check warning on line 0 in ./modules/decision_reviews/spec/sidekiq/form4142_submit_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

DecisionReviews::Form4142Submit perform when form4142 data exists generates a 4142 PDF and sends it to Lighthouse API (modules.decision_reviews.spec.sidekiq.form4142_submit_spec) failed

Test Results/rspec22.xml [took 3s]
Raw output
pdftk failed with command /usr/bin/pdftk tmp/pdfs/21-4142_.pdf stamp tmp/4e6713cd754d6341522512c8fda9c7dd output tmp/8199d389494893f0953c0f8b42251440.pdf command output was: Error: Invalid PDF: PDF header signature not found. Error: Failed to open input PDF file:     tmp/pdfs/21-4142_.pdf Errors encountered.  No output created. Done.  Input errors, so no output created.
\e[1mFailure/Error: \e[0mPDFUtilities::PDFTK.stamp(file_path, stamp_path, stamped_pdf)

PdfForms::PdftkError:
  pdftk failed with command
  /usr/bin/pdftk tmp/pdfs/21-4142_.pdf stamp tmp/4e6713cd754d6341522512c8fda9c7dd output tmp/8199d389494893f0953c0f8b42251440.pdf
  command output was:
  Error: Invalid PDF: PDF header signature not found.
  Error: Failed to open input PDF file: 
     tmp/pdfs/21-4142_.pdf
  Errors encountered.  No output created.
  Done.  Input errors, so no output created.
/usr/local/bundle/cache/ruby/3.3.0/gems/pdf-forms-1.5.1/lib/pdf_forms/pdftk_wrapper.rb:98:in `call_pdftk'
/usr/local/bundle/cache/ruby/3.3.0/gems/pdf-forms-1.5.1/lib/pdf_forms/pdftk_wrapper.rb:131:in `stamp'
./lib/pdf_utilities/datestamp_pdf.rb:128:in `stamp_pdf'
./lib/pdf_utilities/datestamp_pdf.rb:44:in `run'
./lib/decision_review_v1/utilities/form_4142_processor.rb:35:in `generate_stamp_pdf'
./lib/decision_review_v1/utilities/form_4142_processor.rb:23:in `initialize'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:278:in `new'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:278:in `submit_form4142'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:72:in `block (2 levels) in process_form4142_submission'
./modules/decision_reviews/lib/decision_reviews/v1/logging_utils.rb:93:in `block in run_and_benchmark_if_enabled'
/usr/local/bundle/cache/ruby/3.3.0/gems/benchmark-0.4.0/lib/benchmark.rb:304:in `measure'
./modules/decision_reviews/lib/decision_reviews/v1/logging_utils.rb:92:in `run_and_benchmark_if_enabled'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:71:in `block in process_form4142_submission'
./lib/common/client/concerns/monitoring.rb:11:in `with_monitoring'
./modules/decision_reviews/lib/decision_reviews/v1/service.rb:418:in `with_monitoring_and_error_handling'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:70:in `process_form4142_submission'
./modules/decision_reviews/app/sidekiq/decision_reviews/form4142_submit.rb:54:in `perform'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:295:in `execute_job'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:290:in `block in process_job'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:180:in `traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'
./lib/sidekiq/error_tag.rb:9:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:256:in `measure'
./lib/sidekiq_stats_instrumentation/server_middleware.rb:13:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/job_logger.rb:13:in `call'
./lib/sidekiq/semantic_logging.rb:25:in `block in call'
/usr/local/bundle/cache/ruby/3.3.0/gems/semantic_logger-4.16.0/lib/semantic_logger/base.rb:190:in `block in tagged'
/usr/local/bundle/cache/ruby/3.3.0/gems/semantic_logger-4.16.0/lib/semantic_logger/semantic_logger.rb:395:in `named_tagged'
/usr/local/bundle/cache/ruby/3.3.0/gems/semantic_logger-4.16.0/lib/semantic_logger/base.rb:197:in `tagged'
./lib/sidekiq/semantic_logging.rb:24:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:173:in `invoke'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:289:in `process_job'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:99:in `block in atomic_push'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:95:in `each'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:95:in `atomic_push'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/client.rb:229:in `block (2 levels) in raw_push'
/usr/local/bundle/cache/ruby/3.3.0/gems/redis-client-0.22.2/lib/redis_client/decorator.rb:51:in `block in pipelined'
/usr/local/bundle/cache/ruby/3.3.0/gems/redis-client-0.22.2/lib/redis_client.rb:426:in `pipelined'
/usr/local/bundle/cache/ruby/3.3.0/gems/redis-client-0.22.2/lib/redis_client/decorator.rb:51:in `pipelined'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/client.rb:228:in `block in raw_push'
/usr/local/bundle/cache/ruby/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:110:in `block (2 levels) in with'
/usr/local/bundle/cache/ruby/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `handle_interrupt'
/usr/local/bundle/cache/ruby/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:109:in `block in with'
/usr/local/bundle/cache/ruby/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `handle_interrupt'
/usr/local/bundle/cache/ruby/3.3.0/gems/connection_pool-2.4.1/lib/connection_pool.rb:106:in `with'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/client.rb:225:in `raw_push'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-pro-7.2.1/lib/sidekiq/batch/client.rb:40:in `raw_push'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/client.rb:93:in `push'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/job.rb:361:in `client_push'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/job.rb:198:in `perform_async'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/job.rb:286:in `perform_async'
./modules/decision_reviews/spec/sidekiq/form4142_submit_spec.rb:70:in `block (7 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:543:in `with_capture_sink'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:555:in `capture'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/helpers.rb:8:in `capture_statsd_datagrams'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/matchers.rb:45:in `expect_statsd_call'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/matchers.rb:20:in `matches?'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:543:in `with_capture_sink'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:555:in `capture'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/helpers.rb:8:in `capture_statsd_datagrams'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/matchers.rb:45:in `expect_statsd_call'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/matchers.rb:20:in `matches?'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:543:in `with_capture_sink'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:555:in `capture'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/helpers.rb:8:in `capture_statsd_datagrams'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/matchers.rb:45:in `expect_statsd_call'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/matchers.rb:20:in `matches?'
./modules/decision_reviews/spec/sidekiq/form4142_submit_spec.rb:64:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./modules/decision_reviews/spec/sidekiq/form4142_submit_spec.rb:63:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./modules/decision_reviews/spec/sidekiq/form4142_submit_spec.rb:62:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:23:in `__set_test_mode'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:53:in `inline!'
./modules/decision_reviews/spec/sidekiq/form4142_submit_spec.rb:15:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/decision_reviews/spec/requests/v1/supplemental_claims_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

DecisionReviews::V1::SupplementalClaims #create with 4142 when tracking 4142 is enabled creates a supplemental claim and queues and saves a 4142 form when 4142 info is provided (modules.decision_reviews.spec.requests.v1.supplemental_claims_spec) failed

Test Results/rspec8.xml [took 3s]
Raw output
pdftk failed with command /usr/bin/pdftk tmp/pdfs/21-4142_.pdf stamp tmp/a5d244fa1d3e21dda9f3bbe2706e7234 output tmp/2ed7ac7fa1e7fd83b3c0fa5997671f48.pdf command output was: Error: Invalid PDF: trailer not found. Error: Failed to open input PDF file:     tmp/pdfs/21-4142_.pdf Errors encountered.  No output created. Done.  Input errors, so no output created.
\e[1mFailure/Error: \e[0mPDFUtilities::PDFTK.stamp(file_path, stamp_path, stamped_pdf)

PdfForms::PdftkError:
  pdftk failed with command
  /usr/bin/pdftk tmp/pdfs/21-4142_.pdf stamp tmp/a5d244fa1d3e21dda9f3bbe2706e7234 output tmp/2ed7ac7fa1e7fd83b3c0fa5997671f48.pdf
  command output was:
  Error: Invalid PDF: trailer not found.
  Error: Failed to open input PDF file: 
     tmp/pdfs/21-4142_.pdf
  Errors encountered.  No output created.
  Done.  Input errors, so no output created.
/usr/local/bundle/cache/ruby/3.3.0/gems/pdf-forms-1.5.1/lib/pdf_forms/pdftk_wrapper.rb:98:in `call_pdftk'
/usr/local/bundle/cache/ruby/3.3.0/gems/pdf-forms-1.5.1/lib/pdf_forms/pdftk_wrapper.rb:131:in `stamp'
./lib/pdf_utilities/datestamp_pdf.rb:128:in `stamp_pdf'
./lib/pdf_utilities/datestamp_pdf.rb:44:in `run'
./lib/decision_review_v1/utilities/form_4142_processor.rb:35:in `generate_stamp_pdf'
./lib/decision_review_v1/utilities/form_4142_processor.rb:23:in `initialize'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:278:in `new'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:278:in `submit_form4142'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:72:in `block (2 levels) in process_form4142_submission'
./lib/decision_review_v1/utilities/logging_utils.rb:91:in `block in run_and_benchmark_if_enabled'
/usr/local/bundle/cache/ruby/3.3.0/gems/benchmark-0.4.0/lib/benchmark.rb:304:in `measure'
./lib/decision_review_v1/utilities/logging_utils.rb:90:in `run_and_benchmark_if_enabled'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:71:in `block in process_form4142_submission'
./lib/common/client/concerns/monitoring.rb:11:in `with_monitoring'
./lib/decision_review_v1/service.rb:404:in `with_monitoring_and_error_handling'
./lib/decision_review_v1/appeals/supplemental_claim_services.rb:70:in `process_form4142_submission'
./app/sidekiq/decision_review/form4142_submit.rb:53:in `perform'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:295:in `execute_job'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:290:in `block in process_job'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:180:in `traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'
./lib/sidekiq/error_tag.rb:9:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:393:in `latency'
/usr/local/bundle/cache/ruby/3.3.0/gems/statsd-instrument-3.9.7/lib/statsd/instrument/client.rb:256:in `measure'
./lib/sidekiq_stats_instrumentation/server_middleware.rb:13:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:183:in `block in traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/job_logger.rb:13:in `call'
./lib/sidekiq/semantic_logging.rb:25:in `block in call'
/usr/local/bundle/cache/ruby/3.3.0/gems/semantic_logger-4.16.0/lib/semantic_logger/base.rb:190:in `block in tagged'
/usr/local/bundle/cache/ruby/3.3.0/gems/semantic_logger-4.16.0/lib/semantic_logger/semantic_logger.rb:395:in `named_tagged'
/usr/local/bundle/cache/ruby/3.3.0/gems/semantic_logger-4.16.0/lib/semantic_logger/base.rb:197:in `tagged'
./lib/sidekiq/semantic_logging.rb:24:in `call'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:182:in `traverse'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/middleware/chain.rb:173:in `invoke'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:289:in `process_job'
/usr/local/bundle/cache/ruby/3.3.0/gems/sidekiq-7.2.4/lib/sidekiq/testing.rb:273:in `drain'
./modules/decision_reviews/spec/requests/v1/supplemental_claims_spec.rb:159:in `block (8 levels) in <top (required)>'
./modules/decision_reviews/spec/requests/v1/supplemental_claims_spec.rb:158:in `block (7 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./modules/decision_reviews/spec/requests/v1/supplemental_claims_spec.rb:149:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./modules/decision_reviews/spec/requests/v1/supplemental_claims_spec.rb:148:in `block (5 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'
/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'
./modules/decision_reviews/spec/requests/v1/supplemental_claims_spec.rb:147:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/uploaders/evss_claim_document_uploader_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSSClaimDocumentUploader converted version converted, but file extension doesn't change: secretly_a_tif.jpg -> converted_secretly_a_tif.jpg (spec.uploaders.evss_claim_document_uploader_spec) failed

Test Results/rspec5.xml [took 0s]
Raw output
Expected \e[33m"converted_secretly_a_tif_jpg.tiff"\e[0m to eq \e[35m"converted_secretly_a_tif.jpg"\e[0m.
\e[1mFailure/Error: \e[0mexpect(uploader.final_filename).to eq(final_filename)
  Expected \e[33m"converted_secretly_a_tif_jpg.tiff"\e[0m to eq \e[35m"converted_secretly_a_tif.jpg"\e[0m.
/usr/local/bundle/cache/ruby/3.3.0/gems/super_diff-0.14.0/lib/super_diff/rspec/monkey_patches.rb:43:in `handle_failure'
./spec/uploaders/evss_claim_document_uploader_spec.rb:149:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/uploaders/evss_claim_document_uploader_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSSClaimDocumentUploader converted version ext and filetype match /BUT/ tifs not allowed: image.TIF -> converted_image_TIF.jpg (spec.uploaders.evss_claim_document_uploader_spec) failed

Test Results/rspec5.xml [took 0s]
Raw output
Expected \e[33m"converted_image.TIF"\e[0m to eq \e[35m"converted_image_TIF.jpg"\e[0m.
\e[1mFailure/Error: \e[0mexpect(uploader.final_filename).to eq(final_filename)
  Expected \e[33m"converted_image.TIF"\e[0m to eq \e[35m"converted_image_TIF.jpg"\e[0m.
/usr/local/bundle/cache/ruby/3.3.0/gems/super_diff-0.14.0/lib/super_diff/rspec/monkey_patches.rb:43:in `handle_failure'
./spec/uploaders/evss_claim_document_uploader_spec.rb:149:in `block (4 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/uploaders/evss_claim_document_uploader_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSSClaimDocumentUploader converted version converts tiff files to jpg (spec.uploaders.evss_claim_document_uploader_spec) failed

Test Results/rspec5.xml [took 0s]
Raw output
Expected \e[33m"image/tiff"\e[0m to eq \e[35m"image/jpeg"\e[0m.
\e[1mFailure/Error: \e[0m
  expect(MimeMagic.by_magic(uploader_with_tiff.converted.file.read).type).to eq(
    'image/jpeg'
  )

  Expected \e[33m"image/tiff"\e[0m to eq \e[35m"image/jpeg"\e[0m.
/usr/local/bundle/cache/ruby/3.3.0/gems/super_diff-0.14.0/lib/super_diff/rspec/monkey_patches.rb:43:in `handle_failure'
./spec/uploaders/evss_claim_document_uploader_spec.rb:94:in `block (3 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/uploaders/evss_claim_document_uploader_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSSClaimDocumentUploader#final_filename returns the right filename (spec.uploaders.evss_claim_document_uploader_spec) failed

Test Results/rspec5.xml [took 0s]
Raw output
Expected \e[33m"converted_image.TIF"\e[0m to eq \e[35m"converted_image_TIF.jpg"\e[0m.
\e[1mFailure/Error: \e[0mexpect(uploader.final_filename).to eq('converted_image_TIF.jpg')
  Expected \e[33m"converted_image.TIF"\e[0m to eq \e[35m"converted_image_TIF.jpg"\e[0m.
/usr/local/bundle/cache/ruby/3.3.0/gems/super_diff-0.14.0/lib/super_diff/rspec/monkey_patches.rb:43:in `handle_failure'
./spec/uploaders/evss_claim_document_uploader_spec.rb:87:in `block (4 levels) in <top (required)>'
./spec/uploaders/evss_claim_document_uploader_spec.rb:86:in `each'
./spec/uploaders/evss_claim_document_uploader_spec.rb:86:in `block (3 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'