Skip to content

Update test

Update test #11109

GitHub Actions / Test Results failed Mar 26, 2024 in 0s

1 fail, 50 skipped, 19 087 pass in 41m 28s

    13 files  ±0      13 suites  ±0   41m 28s ⏱️ + 1m 42s
19 138 tests ±0  19 087 ✅ ±0  50 💤 ±0  1 ❌ ±0 
19 406 runs  ±0  19 355 ✅ ±0  50 💤 ±0  1 ❌ ±0 

Results for commit c048bc7. ± Comparison against earlier commit 7409019.

Annotations

Check warning on line 0 in ./modules/simple_forms_api/spec/services/pdf_filler_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

SimpleFormsApi::PdfFiller when filling the pdf for form 21-10210 given template vba_21_10210-min fills out a PDF from a templated JSON file (modules.simple_forms_api.spec.services.pdf_filler_spec) failed

Test Results/rspec13.xml [took 7s]
Raw output
pdftk failed with command /usr/bin/pdftk tmp/vba_21_10210-stamped.pdf fill_form /tmp/pdf_forms-fdf20240326-26-9g5h9v output tmp/vba_21_10210-tmp.pdf flatten command output was: Unhandled Java Exception in create_output(): ExceptionConverter: java.io.FileNotFoundException: tmp/vba_21_10210-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:345)  at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)  at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)  at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)  at pdftk.com.lowagie.text.pdf.RandomAccessFileOrArray.reOpen(RandomAccessFileOrArray.java:329)  at pdftk.com.lowagie.text.pdf.PdfStamperImp.close(PdfStamperImp.java:192)  at pdftk.com.lowagie.text.pdf.PdfStamperImp.close(PdfStamperImp.java:304)  at com.gitlab.pdftk_java.filter.create_output_filter(filter.java:424)  at com.gitlab.pdftk_java.TK_Session.create_output(TK_Session.java:1445)  at com.gitlab.pdftk_java.pdftk.main_noexit(pdftk.java:192)  at com.gitlab.pdftk_java.pdftk.main(pdftk.java:163) 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.2.2), and if possible steps to reproduce the error.
\e[1mFailure/Error: \e[0mfiller.generate

PdfForms::PdftkError:
  pdftk failed with command
  /usr/bin/pdftk tmp/vba_21_10210-stamped.pdf fill_form /tmp/pdf_forms-fdf20240326-26-9g5h9v output tmp/vba_21_10210-tmp.pdf flatten
  command output was:
  Unhandled Java Exception in create_output():
  ExceptionConverter: java.io.FileNotFoundException: tmp/vba_21_10210-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:345)
  	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:259)
  	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:214)
  	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:127)
  	at pdftk.com.lowagie.text.pdf.RandomAccessFileOrArray.reOpen(RandomAccessFileOrArray.java:329)
  	at pdftk.com.lowagie.text.pdf.PdfStamperImp.close(PdfStamperImp.java:192)
  	at pdftk.com.lowagie.text.pdf.PdfStamperImp.close(PdfStamperImp.java:304)
  	at com.gitlab.pdftk_java.filter.create_output_filter(filter.java:424)
  	at com.gitlab.pdftk_java.TK_Session.create_output(TK_Session.java:1445)
  	at com.gitlab.pdftk_java.pdftk.main_noexit(pdftk.java:192)
  	at com.gitlab.pdftk_java.pdftk.main(pdftk.java:163)
  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.2.2), and if possible steps to reproduce the error.
/usr/local/bundle/gems/pdf-forms-1.5.0/lib/pdf_forms/pdftk_wrapper.rb:98:in `call_pdftk'
/usr/local/bundle/gems/pdf-forms-1.5.0/lib/pdf_forms/pdftk_wrapper.rb:47:in `fill_form'
./modules/simple_forms_api/app/services/simple_forms_api/pdf_filler.rb:25:in `generate'
./modules/simple_forms_api/spec/services/pdf_filler_spec.rb:20:in `block (2 levels) in test_pdf_fill'
/usr/local/bundle/gems/webmock-3.23.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'