Support Foreman 3.9 and newer #26
Annotations
4 errors
Run rake test:foreman_rescue:
foreman_rescue/test/models/host_test.rb#L8
Failure: test_0001_renders tftp template
NameError: undefined local variable or method `setup_settings' for #<MiniTestSpecRails::SpecTests::Test__HostTest_rescue_mode_tftp_remplate_rendering__vendor_bundle_ruby_3_0_0_gems_minitest_spec_rails_7_2_0_lib_minitest_spec_rails_dsl_rb__12:0x00005574423d1c18 @name="test_0001_renders tftp template", @failures=[#<Minitest::UnexpectedError: Unexpected exception>], @assertions=0, @fixture_cache={"users"=>{"admin"=>#<User id: 135138680, login: "secret_admin", firstname: "Admin", lastname: "User", mail: "[email protected]", admin: true, last_login_on: "2009-10-12 21:50:04.000000000 +0000", auth_source_id: 200482051, created_at: "2024-05-06 12:07:57.116991000 +0000", updated_at: "2024-05-06 12:07:57.116991000 +0000", password_hash: [FILTERED], password_salt: [FILTERED], locale: nil, avatar_hash: nil, default_organization_id: nil, default_location_id: nil, lower_login: "secret_admin", mail_enabled: true, timezone: nil, description: nil, disabled: false, password: nil>}}, @fixture_connections=[], @connection_subscriber=#<ActiveSupport::Notifications::Fanout::Subscribers::Timed:0x00005574423b2fc0 @pattern="!connection.active_record", @DeleGate=#<Proc:0x00005574423b3100 /home/runner/work/foreman_rescue/foreman_rescue/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.7.7/lib/active_record/test_fixtures.rb:134>, @can_publish=false>, @legacy_saved_pool_configs={}, @saved_pool_configs={}, @loaded_fixtures={"architectures"=>#<ActiveRecord::FixtureSet:0x00005574407f5c38 @name="architectures", @path="/home/runner/work/foreman_rescue/foreman_rescue/test/fixtures/architectures", @config=ActiveRecord::Base, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime), @ignored_fixtures=["DEFAULTS"], @fixtures={"x86_64"=>#<ActiveRecord::Fixture:0x00005574407ed290 @fixture={"name"=>"x86_64", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>501905019}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "sparc"=>#<ActiveRecord::Fixture:0x00005574407ed1f0 @fixture={"name"=>"sparc", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>331892513}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "s390"=>#<ActiveRecord::Fixture:0x00005574407ed1c8 @fixture={"name"=>"s390", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>381564594}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "s390x"=>#<ActiveRecord::Fixture:0x00005574407ed1a0 @fixture={"name"=>"s390x", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>820784047}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "ASIC"=>#<ActiveRecord::Fixture:0x00005574407ed178 @fixture={"name"=>"ASIC", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>578327757}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "ppc64"=>#<ActiveRecord::Fixture:0x00005574407ed150 @fixture={"name"=>"ppc64", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>922134521}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>}, @table_name="architectures">, "audits"=>#<ActiveRecord::FixtureSet:0x00005574407ece08 @name="audits", @path="/home/runner/work/foreman_rescue/foreman_rescue/test/fixtures/audits", @config=ActiveRecord::Base, @model_class=Audited::Audit(id: integer, auditable_id: integer, auditable_type: string, user_id: integer, user_type: string, username: string, action: string, audited_changes: text, version: integer, comment: string, associated_id: integer, associated_type: string, request_uuid: string, created_at: datetime, remote_address: st
|
Run rake test:foreman_rescue:
foreman_rescue/test/models/host_test.rb#L8
Failure: test_0002_should deploy rescue template
NameError: undefined local variable or method `setup_settings' for #<MiniTestSpecRails::SpecTests::Test__HostTest_a_host_with_tftp_orchestration_with_rescue_mode_enabled__vendor_bundle_ruby_3_0_0_gems_minitest_spec_rails_7_2_0_lib_minitest_spec_rails_dsl_rb__12:0x000055744e317848 @name="test_0002_should deploy rescue template", @failures=[#<Minitest::UnexpectedError: Unexpected exception>], @assertions=0, @fixture_cache={"users"=>{"admin"=>#<User id: 135138680, login: "secret_admin", firstname: "Admin", lastname: "User", mail: "[email protected]", admin: true, last_login_on: "2009-10-12 21:50:04.000000000 +0000", auth_source_id: 200482051, created_at: "2024-05-06 12:07:57.116991000 +0000", updated_at: "2024-05-06 12:07:57.116991000 +0000", password_hash: [FILTERED], password_salt: [FILTERED], locale: nil, avatar_hash: nil, default_organization_id: nil, default_location_id: nil, lower_login: "secret_admin", mail_enabled: true, timezone: nil, description: nil, disabled: false, password: nil>}}, @fixture_connections=[], @connection_subscriber=#<ActiveSupport::Notifications::Fanout::Subscribers::Timed:0x000055744e3160d8 @pattern="!connection.active_record", @DeleGate=#<Proc:0x000055744e316218 /home/runner/work/foreman_rescue/foreman_rescue/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.7.7/lib/active_record/test_fixtures.rb:134>, @can_publish=false>, @legacy_saved_pool_configs={}, @saved_pool_configs={}, @loaded_fixtures={"architectures"=>#<ActiveRecord::FixtureSet:0x00005574407f5c38 @name="architectures", @path="/home/runner/work/foreman_rescue/foreman_rescue/test/fixtures/architectures", @config=ActiveRecord::Base, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime), @ignored_fixtures=["DEFAULTS"], @fixtures={"x86_64"=>#<ActiveRecord::Fixture:0x00005574407ed290 @fixture={"name"=>"x86_64", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>501905019}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "sparc"=>#<ActiveRecord::Fixture:0x00005574407ed1f0 @fixture={"name"=>"sparc", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>331892513}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "s390"=>#<ActiveRecord::Fixture:0x00005574407ed1c8 @fixture={"name"=>"s390", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>381564594}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "s390x"=>#<ActiveRecord::Fixture:0x00005574407ed1a0 @fixture={"name"=>"s390x", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>820784047}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "ASIC"=>#<ActiveRecord::Fixture:0x00005574407ed178 @fixture={"name"=>"ASIC", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>578327757}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "ppc64"=>#<ActiveRecord::Fixture:0x00005574407ed150 @fixture={"name"=>"ppc64", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>922134521}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>}, @table_name="architectures">, "audits"=>#<ActiveRecord::FixtureSet:0x00005574407ece08 @name="audits", @path="/home/runner/work/foreman_rescue/foreman_rescue/test/fixtures/audits", @config=ActiveRecord::Base, @model_class=Audited::Audit(id: integer, auditable_id: integer, auditable_type: string, user_id: integer, user_type: string, username: string, action: string, audited_changes: text, version: integer, comment: string, associated_id: integer, associated_type: string, request_uuid: string, crea
|
Run rake test:foreman_rescue:
foreman_rescue/test/models/host_test.rb#L8
Failure: test_0001_should queue tftp update
NameError: undefined local variable or method `setup_settings' for #<MiniTestSpecRails::SpecTests::Test__HostTest_a_host_with_tftp_orchestration_with_rescue_mode_enabled__vendor_bundle_ruby_3_0_0_gems_minitest_spec_rails_7_2_0_lib_minitest_spec_rails_dsl_rb__12:0x000055744d911fb0 @name="test_0001_should queue tftp update", @failures=[#<Minitest::UnexpectedError: Unexpected exception>], @assertions=0, @fixture_cache={"users"=>{"admin"=>#<User id: 135138680, login: "secret_admin", firstname: "Admin", lastname: "User", mail: "[email protected]", admin: true, last_login_on: "2009-10-12 21:50:04.000000000 +0000", auth_source_id: 200482051, created_at: "2024-05-06 12:07:57.116991000 +0000", updated_at: "2024-05-06 12:07:57.116991000 +0000", password_hash: [FILTERED], password_salt: [FILTERED], locale: nil, avatar_hash: nil, default_organization_id: nil, default_location_id: nil, lower_login: "secret_admin", mail_enabled: true, timezone: nil, description: nil, disabled: false, password: nil>}}, @fixture_connections=[], @connection_subscriber=#<ActiveSupport::Notifications::Fanout::Subscribers::Timed:0x000055744d910fe8 @pattern="!connection.active_record", @DeleGate=#<Proc:0x000055744d911128 /home/runner/work/foreman_rescue/foreman_rescue/vendor/bundle/ruby/3.0.0/gems/activerecord-6.1.7.7/lib/active_record/test_fixtures.rb:134>, @can_publish=false>, @legacy_saved_pool_configs={}, @saved_pool_configs={}, @loaded_fixtures={"architectures"=>#<ActiveRecord::FixtureSet:0x00005574407f5c38 @name="architectures", @path="/home/runner/work/foreman_rescue/foreman_rescue/test/fixtures/architectures", @config=ActiveRecord::Base, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime), @ignored_fixtures=["DEFAULTS"], @fixtures={"x86_64"=>#<ActiveRecord::Fixture:0x00005574407ed290 @fixture={"name"=>"x86_64", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>501905019}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "sparc"=>#<ActiveRecord::Fixture:0x00005574407ed1f0 @fixture={"name"=>"sparc", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>331892513}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "s390"=>#<ActiveRecord::Fixture:0x00005574407ed1c8 @fixture={"name"=>"s390", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>381564594}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "s390x"=>#<ActiveRecord::Fixture:0x00005574407ed1a0 @fixture={"name"=>"s390x", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>820784047}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "ASIC"=>#<ActiveRecord::Fixture:0x00005574407ed178 @fixture={"name"=>"ASIC", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>578327757}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>, "ppc64"=>#<ActiveRecord::Fixture:0x00005574407ed150 @fixture={"name"=>"ppc64", "created_at"=>2024-05-06 12:07:56.977679252 UTC, "updated_at"=>2024-05-06 12:07:56.977679252 UTC, "id"=>922134521}, @model_class=Architecture(id: integer, name: string, created_at: datetime, updated_at: datetime)>}, @table_name="architectures">, "audits"=>#<ActiveRecord::FixtureSet:0x00005574407ece08 @name="audits", @path="/home/runner/work/foreman_rescue/foreman_rescue/test/fixtures/audits", @config=ActiveRecord::Base, @model_class=Audited::Audit(id: integer, auditable_id: integer, auditable_type: string, user_id: integer, user_type: string, username: string, action: string, audited_changes: text, version: integer, comment: string, associated_id: integer, associated_type: string, request_uuid: string, created_at: da
|
Run rake test:foreman_rescue
Process completed with exit code 1.
|
Loading