Project

General

Profile

Bug #32087

test failure due to template kinds

Added by Justin Sherrill over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

1s
Error
ActiveRecord::RecordInvalid: Validation failed: Template kind has already been taken...
Stacktrace
ActiveRecord::RecordInvalid: Validation failed: Template kind has already been taken
    test/factories/disable_auditing.rb:15:in `block (2 levels) in <top (required)>'
    test/factories/operatingsystem.rb:13:in `block (5 levels) in <top (required)>'
    test/factories/operatingsystem.rb:12:in `block (4 levels) in <top (required)>'
    /home/jenkins/workspace/katello-pr-test@2/test/models/host/subscription_facet_test.rb:254:in `test_update_foreman_facts_with_os_version' (ActiveRecord::RecordInvalid)
/usr/local/rvm/gems/ruby-2.5.1@katello-pr-test-6398-3/gems/activerecord-6.0.3.5/lib/active_record/validations.rb:53

Related issues

Related to Foreman - Feature #31663: Usability issues with templates & operating systemsClosed

Associated revisions

Revision 55adc4f3 (diff)
Added by Justin Sherrill over 1 year ago

Fixes #32087 - fix test failure around template kinds

History

#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9225 added

#2 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases Katello 4.2.0 added

#3 Updated by Justin Sherrill over 1 year ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Samir Jha over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.1.0

#5 Updated by Tomer Brisker over 1 year ago

  • Related to Feature #31663: Usability issues with templates & operating systems added

Also available in: Atom PDF