Skip to content

make sure s3 download folder exists before dl #253

make sure s3 download folder exists before dl

make sure s3 download folder exists before dl #253

Triggered via push January 31, 2025 15:29
Status Failure
Total duration 9m 42s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

14 errors
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#rename_premade_derivative the file does not exist should download the file from s3: spec/services/spot/derivatives/audio_derivatives_service_spec.rb#L318
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#rename_premade_derivative the file does not exist should call to transfer the premade derivative: spec/services/spot/derivatives/audio_derivatives_service_spec.rb#L318
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#rename_premade_derivative the file does not exist should not remove the temporary file: spec/services/spot/derivatives/audio_derivatives_service_spec.rb#L318
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#rename_premade_derivative the file exists should remove the temporary file: spec/services/spot/derivatives/audio_derivatives_service_spec.rb#L299
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#rename_premade_derivative the file exists should download the file from s3: spec/services/spot/derivatives/audio_derivatives_service_spec.rb#L299
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/audio_derivatives_service_spec.rb.Spot::Derivatives::AudioDerivativeService#rename_premade_derivative the file exists should call to transfer the premade derivative: spec/services/spot/derivatives/audio_derivatives_service_spec.rb#L299
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#rename_premade_derivative the file does not exist should remove the temporary file: spec/services/spot/derivatives/video_derivatives_service_spec.rb#L367
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#rename_premade_derivative the file does not exist should download the file from s3: spec/services/spot/derivatives/video_derivatives_service_spec.rb#L367
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#rename_premade_derivative the file does not exist should call to transfer the premade derivative: spec/services/spot/derivatives/video_derivatives_service_spec.rb#L367
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#rename_premade_derivative the file exists should download the file from s3: spec/services/spot/derivatives/video_derivatives_service_spec.rb#L348
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#rename_premade_derivative the file exists should call to transfer the premade derivative: spec/services/spot/derivatives/video_derivatives_service_spec.rb#L348
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#rename_premade_derivative the file exists should remove the temporary file: spec/services/spot/derivatives/video_derivatives_service_spec.rb#L348
#<File (class)> received :directory? with unexpected arguments expected: ("/rails/tmp/derivatives/ab/c1/23/de") got: ("/tmp") Please stub a default value first if message might be received with other args as well.
./spec/services/spot/derivatives/video_derivatives_service_spec.rb.Spot::Derivatives::VideoDerivativeService#check_transcript the transcript does not exist logs a warning that there is no transcript: spec/services/spot/derivatives/video_derivatives_service_spec.rb#L475
#<Logger:0x000055edc640f7e0 @Level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x000055edc640f7b8 @datetime_format=nil>, @Formatter=nil, @logdev=#<Logger::LogDevice:0x000055edc640f768 @shift_period_suffix=nil, @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDOUT>>, @binmode=false, @mon_data=#<Monitor:0x000055edc640f718>, @mon_data_owner_object_id=663860>> received :warn with unexpected arguments expected: ("Transcript not found.") got: ("Transcript Name: project/project_example_caption.vtt") Please stub a default value first if message might be received with other args as well.
Lint + Test / Test
Process completed with exit code 1.