foreman-develop-source-release 534 failed

foreman source release pipeline failed:

https://ci.theforeman.org/job/foreman-develop-source-release/534/

Test Matrix / ruby-2.5-sqlite3 / Foreman::Model::GCETest::#available_images.test_0001_should display only current images from GCE (from Foreman__Model__GCETest___available_images)

Failing for the past 1 build (Since [![Failed](https://ci.theforeman.org/static/b2514968/images/16x16/red.png)#534](https://ci.theforeman.org/job/foreman-develop-source-release/534/) )

[Took 87 ms.](https://ci.theforeman.org/job/foreman-develop-source-release/534/testReport/junit/(root)/Foreman__Model__GCETest___available_images/Test_Matrix___ruby_2_5_sqlite3___test_0001_should_display_only_current_images_from_GCE/history)

[![](https://ci.theforeman.org/static/b2514968/images/16x16/notepad.png)add description](https://ci.theforeman.org/job/foreman-develop-source-release/534/testReport/junit/(root)/Foreman__Model__GCETest___available_images/Test_Matrix___ruby_2_5_sqlite3___test_0001_should_display_only_current_images_from_GCE/editDescription)

### Error Message

unexpected invocation: #<Mock:image1>.family()...

### Stacktrace

unexpected invocation: #<Mock:image1>.family() satisfied expectations: - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters) - allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters) - allowed any number of times, invoked once: [#<Mock:image1>, #<Mock:image2>, #<Mock:image3>].current(any_parameters) - allowed any number of times, invoked twice: #<Mock:client>.images(any_parameters) - allowed any number of times, invoked twice: #<Foreman::Model::GCE:0x190a7710>.client(any_parameters) - allowed any number of times, invoked twice: #<Foreman::Model::GCE:0x190a7710>.image_exists?(any_parameters) - allowed any number of times, invoked once: #<Foreman::Model::GCE:0x190a7710>.read_key_file(any_parameters) - allowed any number of times, invoked once: #<Foreman::Model::GCE:0x190a7710>.zones(any_parameters) - allowed any number of times, invoked once: #<Foreman::Model::GCE:0x190a7710>.setup_key_pair(any_parameters) (Minitest::Assertion) /home/jenkins/workspace/foreman-develop-source-release/app/models/compute_resources/foreman/model/gce.rb:160

this looks related to

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.