Skip to content

[CI] `review_specs_{gke,eks}` failed: `Should be able to backup an identical tar`

Summary

$ bundle exec rspec -c -f d spec -t "${RSPEC_TAGS}"
warning: parser/current is loading parser/ruby27, which recognizes
warning: 2.7.2-compliant syntax, but you are running 2.7.4.
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
Run options: include {:focus=>true, :type=>"feature"}
Restoring a backup
Uploaded 14.0.5_gitlab_backup.tar
  Restored gitlab instance
    Home page should show projects
    Navigating to testproject1 repo should work
    Should have runner registered
    Issue attachments should load correctly
    Could pull image from registry
  Backups
WARN: Screenshot could not be saved. `page.current_path` is empty.
    Should be able to backup an identical tar (FAILED - 1)
Failures:
  1) Restoring a backup Backups Should be able to backup an identical tar
     Failure/Error: expect(File.exist?("/tmp/test_backup/#{File.basename(file)}")).to be_truthy
       expected: truthy value
            got: false
     # ./spec/features/backups_spec.rb:113:in `block (4 levels) in <top (required)>'
     # ./spec/features/backups_spec.rb:112:in `glob'
     # ./spec/features/backups_spec.rb:112:in `block (3 levels) in <top (required)>'
     # ./gems/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'
     # ./gems/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'
     # ./gems/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'
     # ./gems/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
     # ./gems/ruby/2.7.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
Finished in 7 minutes 36 seconds (files took 2.36 seconds to load)
6 examples, 1 failure
Failed examples:
rspec ./spec/features/backups_spec.rb:89 # Restoring a backup Backups Should be able to backup an identical tar
Edited by Mitchell Nielsen