Actions
Bug #20795
closedKatello redhat extension tests intermittently fail
Difficulty:
Triaged:
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