You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
Attaching the logs of test failures, could you take a look at it?
Pending: (Failures listed here are expected and do not affect your suite's status)
1) Paperclip Attachment with no generated thumbnails allows us to selectively create each thumbnail
# #reprocess! calls #assign which calls Paperclip.io_adapters.for
which creates the tempfile. #assign then calls #post_process_file which
calls MediaTypeSpoofDetectionValidator#validate_each which calls
Paperclip.io_adapters.for, which creates another tempfile. That first
tempfile is the one that leaks.
# ./spec/paperclip/integration_spec.rb:154
Failures:
1) Paperclip::Storage::S3 An attachment with S3 storage when assigned will retry to save again but back off on SlowDown
Failure/Error:
Aws::S3::Object.any_instance.stubs(:upload_file).
raises(Aws::S3::Errors::SlowDown.new(stub,
stub(status: 503, body: "")))
Mocha::ExpectationError:
unexpected invocation: #<Mock:0x5617ee159a08>.empty?()
satisfied expectations:
- allowed any number of times, not yet invoked: #<Dummy:0x5617ee369370>.new_record?(any_parameters)
- allowed any number of times, not yet invoked: #<Paperclip::Attachment:0x5617ee188038>.sleep(any_parameters)
- allowed any number of times, not yet invoked: #<AnyInstance:Aws::S3::Object>.upload_file(any_parameters)
- allowed any number of times, not yet invoked: #<Mock:0x5617ee159a08>.body(any_parameters)
- allowed any number of times, not yet invoked: #<Mock:0x5617ee159a08>.status(any_parameters)
# ./spec/paperclip/storage/s3_spec.rb:895:in `new'
# ./spec/paperclip/storage/s3_spec.rb:895:in `block (4 levels) in <top (required)>'
2) Paperclip::Storage::S3 An attachment with S3 storage when assigned and saved without a bucket succeeds
Failure/Error:
raises(Aws::S3::Errors::NoSuchBucket
.new(stub,
stub(status: 404, body: "<foo/>"))).then.returns(nil)
Mocha::ExpectationError:
unexpected invocation: #<Mock:0x5617eb7521d8>.empty?()
unsatisfied expectations:
- expected exactly once, not yet invoked: #<AnyInstance:Aws::S3::Bucket>.create(any_parameters)
satisfied expectations:
- allowed any number of times, not yet invoked: #<Dummy:0x5617ed59f550>.new_record?(any_parameters)
- allowed any number of times, not yet invoked: #<AnyInstance:Aws::S3::Object>.upload_file(any_parameters)
- allowed any number of times, not yet invoked: #<Mock:0x5617eb7521d8>.body(any_parameters)
- allowed any number of times, not yet invoked: #<Mock:0x5617eb7521d8>.status(any_parameters)
# ./spec/paperclip/storage/s3_spec.rb:924:in `new'
# ./spec/paperclip/storage/s3_spec.rb:924:in `block (5 levels) in <top (required)>'
Finished in 1 minute 22.66 seconds (files took 1.51 seconds to load)
1112 examples, 2 failures, 1 pending
Failed examples:
rspec ./spec/paperclip/storage/s3_spec.rb:892 # Paperclip::Storage::S3 An attachment with S3 storage when assigned will retry to save again but back off on SlowDown
rspec ./spec/paperclip/storage/s3_spec.rb:929 # Paperclip::Storage::S3 An attachment with S3 storage when assigned and saved without a bucket succeeds
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey,
Attaching the logs of test failures, could you take a look at it?
The text was updated successfully, but these errors were encountered: