Build And Publish Preview Environment #22714
GitHub Actions / Test Results
failed
Nov 18, 2024 in 0s
1 fail, 6 skipped, 24 999 pass in 1h 8m 35s
Annotations
Check warning on line 0 in ./modules/ivc_champva/spec/services/attachments_spec.rb
github-actions / Test Results
IvcChampva::Attachments Feature champva_unique_temp_file_names=true #handle_attachments when there are multiple PDFs needed generates an additional pdf for 10-10D (modules.ivc_champva.spec.services.attachments_spec) failed
Test Results/rspec12.xml [took 4s]
Raw output
An error occurred while verifying stamp: pdftk failed with command /usr/bin/pdftk /app/tmp/_vha_10_10d_additional_applicants-1-stamped.pdf multistamp tmp/d2508f7dbb524fcdac8cab490b1ffeca output tmp/65928193515d2766d8c5e8280561ddb9.pdf command output was: Unhandled Java Exception in create_output(): java.io.FileNotFoundException: /app/tmp/_vha_10_10d_additional_applicants-1-stamped.pdf (No such file or directory) at java.base/java.io.RandomAccessFile.open0(Native Method) at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344) at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259) at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:213) at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127) at com.gitlab.pdftk_java.com.lowagie.text.pdf.RandomAccessFileOrArray.reOpen(RandomAccessFileOrArray.java:329) at com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfStamperImp.close(PdfStamperImp.java:192) at com.gitlab.pdftk_java.filter.create_output_filter(filter.java:441) at com.gitlab.pdftk_java.TK_Session.create_output(TK_Session.java:1457) at com.gitlab.pdftk_java.pdftk.main_noexit(pdftk.java:190) at com.gitlab.pdftk_java.pdftk.main(pdftk.java:161) There was a problem with pdftk-java. Please report it at https://gitlab.com/pdftk-java/pdftk/issues including the message above, the version of pdftk-java (3.3.2), and if possible steps to reproduce the error.
\e[1mFailure/Error: \e[0mfile_paths = form.handle_attachments('modules/ivc_champva/templates/vha_10_10d.pdf')
StandardError:
An error occurred while verifying stamp: pdftk failed with command
/usr/bin/pdftk /app/tmp/_vha_10_10d_additional_applicants-1-stamped.pdf multistamp tmp/d2508f7dbb524fcdac8cab490b1ffeca output tmp/65928193515d2766d8c5e8280561ddb9.pdf
command output was:
Unhandled Java Exception in create_output():
java.io.FileNotFoundException: /app/tmp/_vha_10_10d_additional_applicants-1-stamped.pdf (No such file or directory)
at java.base/java.io.RandomAccessFile.open0(Native Method)
at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:213)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)
at com.gitlab.pdftk_java.com.lowagie.text.pdf.RandomAccessFileOrArray.reOpen(RandomAccessFileOrArray.java:329)
at com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfStamperImp.close(PdfStamperImp.java:192)
at com.gitlab.pdftk_java.filter.create_output_filter(filter.java:441)
at com.gitlab.pdftk_java.TK_Session.create_output(TK_Session.java:1457)
at com.gitlab.pdftk_java.pdftk.main_noexit(pdftk.java:190)
at com.gitlab.pdftk_java.pdftk.main(pdftk.java:161)
There was a problem with pdftk-java. Please report it at
https://gitlab.com/pdftk-java/pdftk/issues
including the message above, the version of pdftk-java (3.3.2), and if possible steps to reproduce the error.
./modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb:117:in `rescue in verify'
./modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb:108:in `verify'
./modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb:123:in `verified_multistamp'
./modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb:81:in `stamp'
./modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb:27:in `block in stamp_signature'
./modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb:26:in `each'
./modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb:26:in `stamp_signature'
./modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb:13:in `stamp_pdf'
./modules/ivc_champva/app/services/ivc_champva/pdf_filler.rb:41:in `generate'
./modules/ivc_champva/app/services/ivc_champva/attachments.rb:84:in `generate_additional_pdf'
./modules/ivc_champva/app/services/ivc_champva/attachments.rb:61:in `block in get_attachments'
./modules/ivc_champva/app/services/ivc_champva/attachments.rb:60:in `each'
./modules/ivc_champva/app/services/ivc_champva/attachments.rb:60:in `each_slice'
./modules/ivc_champva/app/services/ivc_champva/attachments.rb:60:in `with_index'
./modules/ivc_champva/app/services/ivc_champva/attachments.rb:60:in `get_attachments'
./modules/ivc_champva/app/services/ivc_champva/attachments.rb:11:in `handle_attachments'
./modules/ivc_champva/spec/services/attachments_spec.rb:52:in `block (5 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'
------------------
--- Caused by: ---
PdfForms::PdftkError:
pdftk failed with command
/usr/bin/pdftk /app/tmp/_vha_10_10d_additional_applicants-1-stamped.pdf multistamp tmp/d2508f7dbb524fcdac8cab490b1ffeca output tmp/65928193515d2766d8c5e8280561ddb9.pdf
command output was:
Unhandled Java Exception in create_output():
java.io.FileNotFoundException: /app/tmp/_vha_10_10d_additional_applicants-1-stamped.pdf (No such file or directory)
at java.base/java.io.RandomAccessFile.open0(Native Method)
at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:344)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:213)
at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)
at com.gitlab.pdftk_java.com.lowagie.text.pdf.RandomAccessFileOrArray.reOpen(RandomAccessFileOrArray.java:329)
at com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfStamperImp.close(PdfStamperImp.java:192)
at com.gitlab.pdftk_java.filter.create_output_filter(filter.java:441)
at com.gitlab.pdftk_java.TK_Session.create_output(TK_Session.java:1457)
at com.gitlab.pdftk_java.pdftk.main_noexit(pdftk.java:190)
at com.gitlab.pdftk_java.pdftk.main(pdftk.java:161)
There was a problem with pdftk-java. Please report it at
https://gitlab.com/pdftk-java/pdftk/issues
including the message above, the version of pdftk-java (3.3.2), and if possible steps to reproduce the error.
/usr/local/bundle/cache/ruby/3.3.0/gems/pdf-forms-1.5.1/lib/pdf_forms/pdftk_wrapper.rb:98:in `call_pdftk'
Loading