Project

General

Profile

Actions

Bug #20795

closed

Katello redhat extension tests intermittently fail

Added by Eric Helms over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

20:42:50  10) Error:
20:42:50 Katello::RedhatExtensionsTest#test_distribution_repositories:
20:42:50 ActiveRecord::RecordInvalid: Validation failed: Name Operating system version already exists, Title has already been taken
20:42:50     test_after_commit (1.1.0) lib/test_after_commit/database_statements.rb:11:in `block in transaction'
20:42:50     test_after_commit (1.1.0) lib/test_after_commit/database_statements.rb:5:in `transaction'
20:42:50     /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/plugin/app/models/katello/concerns/redhat_extensions.rb:34:in `create_operating_system'
20:42:50     /var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/concerns/redhat_extensions_test.rb:45:in `test_distribution_repositories'
20:42:50 
20:42:50  11) Failure:
20:42:50 Katello::RedhatExtensionsTest#test_find_or_create_operating_system [/var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/concerns/redhat_extensions_test.rb:14]:
20:42:50 Expected #<Redhat id: 1073012850, major: "2", name: "RedHat", minor: "1", nameindicator: nil, created_at: "2017-08-25 20:38:07", updated_at: "2017-08-25 20:38:07", release_name: nil, type: "Redhat", description: nil, password_hash: "SHA256", title: "RedHat 2.1"> to be nil.
20:42:50 
20:42:50  12) Failure:
20:42:50 Katello::RedhatExtensionsTest#test_create_operating_system [/var/lib/workspace/workspace/test_katello_core/database/postgresql/ruby/2.2/slave/fast/plugin/test/models/concerns/redhat_extensions_test.rb:28]:
20:42:50 Expected #<Redhat id: 1073012850, major: "2", name: "RedHat", minor: "1", nameindicator: nil, created_at: "2017-08-25 20:38:07", updated_at: "2017-08-25 20:38:07", release_name: nil, type: "Redhat", description: nil, password_hash: "SHA256", title: "RedHat 2.1"> to be nil.
Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Eric Helms
  • Pull request https://github.com/Katello/katello/pull/6927 added
Actions #2

Updated by Eric Helms over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by The Foreman Bot over 7 years ago

  • Pull request https://github.com/Katello/katello/pull/6949 added
Actions

Also available in: Atom PDF