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

Form 526 Document Upload - Lighthouse status polling system #15964

Closed
wants to merge 19 commits into from

oops

9d1b157
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Form 526 Document Upload - Lighthouse status polling system #15964

oops
9d1b157
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Jun 25, 2024 in 0s

1 fail, 28 skipped, 18 897 pass in 36m 13s

    13 files  ±0      13 suites  ±0   36m 13s ⏱️ -2s
18 926 tests ±0  18 897 ✅  - 1  28 💤 ±0  1 ❌ +1 
19 185 runs  ±0  19 155 ✅  - 2  28 💤 ±0  2 ❌ +2 

Results for commit 9d1b157. ± Comparison against earlier commit 0bce3ee.

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

2 out of 15 runs failed: SimpleFormsApi::PdfFiller fills out a PDF from a templated JSON file (modules.simple_forms_api.spec.services.pdf_filler_spec)

Test Results/rspec7.xml [took 1s]
Raw output
pdftk failed with command /usr/bin/pdftk tmp/vba_21_4142-stamped.pdf multistamp tmp/f83abbc067738c9aa04ad7fc9d3235b6 output tmp/ac0f537237658359fda29c7a2d44c5b9.pdf command output was: Unhandled Java Exception in create_output(): ExceptionConverter: java.io.FileNotFoundException: tmp/vba_21_4142-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_4142-stamped.pdf multistamp tmp/f83abbc067738c9aa04ad7fc9d3235b6 output tmp/ac0f537237658359fda29c7a2d44c5b9.pdf
  command output was:
  Unhandled Java Exception in create_output():
  ExceptionConverter: java.io.FileNotFoundException: tmp/vba_21_4142-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:137:in `multistamp'
./modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb:174:in `perform_multistamp'
./modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb:153:in `multistamp'
./modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb:194:in `stamp_submission_date'
./modules/simple_forms_api/app/services/simple_forms_api/pdf_stamper.rb:31:in `stamp_pdf'
./modules/simple_forms_api/app/services/simple_forms_api/pdf_filler.rb:23:in `generate'
./modules/simple_forms_api/spec/services/pdf_filler_spec.rb:18:in `block in test_pdf_fill'
/usr/local/bundle/gems/webmock-3.20.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'