Project

General

Profile

Actions

Bug #27475

closed

Bash completion tests fail on some environments

Added by Martin Bacovsky over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

# Running:
...........................................................................................................................F.FF..FF.F...................................................................
Finished in 0.405277s, 493.4896 runs/s, 1021.5235 assertions/s.
  1) Failure:
ForemanMaintain::Utils::Bash::#complete::file and dir completion#test_0005_offers options of dictionary type with completion [/home/travis/build/theforeman/foreman_maintain/test/lib/utils/bash_test.rb:130]:
Expected: ["dir_a", "dir_b"]
  Actual: ["dir_b", "dir_a"]
  2) Failure:
ForemanMaintain::Utils::Bash::#complete::file and dir completion#test_0004_offers options of dictionary type with completion for unfinished values [/home/travis/build/theforeman/foreman_maintain/test/lib/utils/bash_test.rb:125]:
Expected: ["dir_a", "dir_b"]
  Actual: ["dir_b", "dir_a"]
  3) Failure:
ForemanMaintain::Utils::Bash::#complete::file and dir completion#test_0006_offers options of a file type with completion for unfinished values - dir [/home/travis/build/theforeman/foreman_maintain/test/lib/utils/bash_test.rb:135]:
Expected: ["dir_a/", "dir_b/"]
  Actual: ["dir_b/", "dir_a/"]
  4) Failure:
ForemanMaintain::Utils::Bash::#complete::file and dir completion#test_0008_offers options of a file type with completion [/home/travis/build/theforeman/foreman_maintain/test/lib/utils/bash_test.rb:145]:
Expected: ["dir_a/", "dir_b/"]
  Actual: ["dir_b/", "dir_a/"]
  5) Failure:
ForemanMaintain::Utils::Bash::#complete::file and dir completion#test_0003_offers parameters of a file type with completion [/home/travis/build/theforeman/foreman_maintain/test/lib/utils/bash_test.rb:120]:
Expected: ["dir_a/", "dir_b/"]
  Actual: ["dir_b/", "dir_a/"]
  6) Failure:
ForemanMaintain::Utils::Bash::#complete::file and dir completion#test_0002_offers parameters of dictionary type with completion [/home/travis/build/theforeman/foreman_maintain/test/lib/utils/bash_test.rb:115]:
Expected: ["dir_a", "dir_b"]
  Actual: ["dir_b", "dir_a"]
200 runs, 414 assertions, 6 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test/lib" -I"/home/travis/.rvm/gems/ruby-2.0.0-p648/gems/rake-10.5.0/lib" "/home/travis/.rvm/gems/ruby-2.0.0-p648/gems/rake-10.5.0/lib/rake/rake_test_loader.rb" "test/lib/cli/advanced_procedure_command_test.rb" "test/lib/cli/base_test.rb" "test/lib/cli/health_command_test.rb" "test/lib/cli/maintenance_mode_command_test.rb" "test/lib/cli/packages_command_test.rb" "test/lib/cli/transform_clamp_options_test.rb" "test/lib/cli/upgrade_command_test.rb" "test/lib/cli_test.rb" "test/lib/context_test.rb" "test/lib/csv_parser_test.rb" "test/lib/dependency_graph_test.rb" "test/lib/detector_test.rb" "test/lib/metadata_test.rb" "test/lib/package_manager/yum_test.rb" "test/lib/reporter_test.rb" "test/lib/runner_test.rb" "test/lib/scenario_test.rb" "test/lib/system_helpers_test.rb" "test/lib/upgrade_runner_test.rb" "test/lib/utils/backup_test.rb" "test/lib/utils/bash_test.rb" "test/lib/utils/command_runner_test.rb" "test/lib/utils/disk/device_test.rb" "test/lib/utils/disk/io_device_test.rb" "test/lib/utils/disk/nil_device_test.rb" "test/lib/utils/disk/stats_test.rb" "test/lib/utils/service/remote_db_test.rb" "test/lib/utils/service/systemd_test.rb" "test/lib/utils/system_service_test.rb" "test/lib/yaml_storage_test.rb" ]
/home/travis/.rvm/gems/ruby-2.0.0-p648/bin/ruby_executable_hooks:15:in `eval'
/home/travis/.rvm/gems/ruby-2.0.0-p648/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => default => test => test:lib
(See full trace by running task with --trace)

Actions #1

Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_maintain/pull/276 added
Actions #2

Updated by Martin Bacovsky over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF