Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DARGA] Kill workers that don't stop after a configurable time #13950

Merged
merged 2 commits into from
Mar 10, 2017

Conversation

jrafanie
Copy link
Member

This is a manual Darga backport of #13805 and #13919 for https://bugzilla.redhat.com/show_bug.cgi?id=1395736.

@jrafanie
Copy link
Member Author

@himdel HALP ETOOMANYJAVASCRIPTERRORS on darga

There are a billion couldn't find file 'es6-shim' with type 'application/javascript'
errors. Maybe our bower.json is not locked down enough?

Other failures are completely unrelated.

  29) VmInfraController breadcrumbs clear or retain existing breadcrumb path it clears the existing breadcrumb path and assigns the new explorer path when controllers are switched
      Failure/Error: expect(subject).to eq([{:name => "VM or Templates", :url => "/vm_infra/explorer"}])
      
        expected: [{:name=>"VM or Templates", :url=>"/vm_infra/explorer"}]
             got: [{:name=>"Instances", :url=>"/vm_cloud/explorer"}]
      
        (compared using ==)
      
        Diff:
        @@ -1,2 +1,2 @@
        -[{:name=>"VM or Templates", :url=>"/vm_infra/explorer"}]
        +[{:name=>"Instances", :url=>"/vm_cloud/explorer"}]
        
      # ./spec/controllers/vm_infra_controller_spec.rb:421:in `block (4 levels) in <top (required)>'
  30) VmInfraController breadcrumbs clear or retain existing breadcrumb path retains the breadcrumb path when cancel is pressed from a VM action
      Failure/Error: expect(subject).to eq([{:name => "VM or Templates", :url => "/vm_infra/explorer"}])
      
        expected: [{:name=>"VM or Templates", :url=>"/vm_infra/explorer"}]
      �[31m       got: []
      
        (compared using ==)
      
        Diff:
        @@ -1,2 +1,2 @@
        -[{:name=>"VM or Templates", :url=>"/vm_infra/explorer"}]
        +[]

I have no idea

@himdel
Copy link
Contributor

himdel commented Feb 17, 2017

@jrafanie those es6-shim errors are just the usual bower problem https://travis-ci.org/ManageIQ/manageiq/jobs/202357711#L350 - failed to download some packages, but didn't crash. Maybe we could backport #12548 to darga so it fails early in those cases.

I've rekicked the tests, hoping :).

EDIT: ok, I just see the button, but it doesn't do anything, so .. you rekick the tests :)

@himdel
Copy link
Contributor

himdel commented Feb 17, 2017

(As for the other 2 tests, those do look relevant .. but testing locally with or without your PR, those pass just fine, so .. probably caused by the bower failure as well..somehow.)

@jrafanie
Copy link
Member Author

@himdel thanks for looking at it. If it fails again, maybe you're right and we should backport the fail quickly PR.

@jrafanie
Copy link
Member Author

yay, @himdel it worked. Your idea for failing fast is probably good if it's an easy backport.

@himdel
Copy link
Contributor

himdel commented Feb 17, 2017

@jrafanie agreed, the master->euwe one was a bit of pain but euwe->darga should be easy enough.. will do :)

Also.. yay! :)

@jrafanie
Copy link
Member Author

Thanks @himdel 🥇

@himdel
Copy link
Contributor

himdel commented Feb 17, 2017

#13964 :)

@miq-bot
Copy link
Member

miq-bot commented Mar 6, 2017

Checked commits jrafanie/manageiq@1d603c9~...2b5d162 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
7 files checked, 1 offense detected

spec/models/miq_server/worker_management/monitor_spec.rb

Copy link
Member

@gtanzillo gtanzillo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@simaishi simaishi merged commit cad0c87 into ManageIQ:darga Mar 10, 2017
@simaishi simaishi added this to the Sprint 56 Ending Mar 13, 2017 milestone Mar 10, 2017
@jrafanie jrafanie deleted the darga_backport_13805_13919 branch March 12, 2017 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants