kontena: Some specs will fail randomly

Server

  1) /v1/services POST /:id/deploy changes state to deploy_pending

     Failure/Error: expect {

       expected result to have changed from false to true, but did not change

     # ./spec/api/v1/services_spec.rb:314:in `block (3 levels) in <top (required)>'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/cli/exec.rb:74:in `load'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/cli/exec.rb:74:in `kernel_load'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/cli/exec.rb:27:in `run'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/cli.rb:335:in `exec'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/cli.rb:20:in `dispatch'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/cli.rb:11:in `start'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/exe/bundle:32:in `block in <top (required)>'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.4/exe/bundle:24:in `<top (required)>'

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 17 (17 by maintainers)

Most upvoted comments

Server:

 1) GridServiceSchedulerWorker#check_deploy_queue picks oldest item from deploy queue
     Failure/Error: expect(newest.reload.started_at).to be_nil
       expected: nil
            got: Wed, 01 Mar 2017 13:26:48 +0000
     # ./spec/jobs/grid_service_scheduler_worker_spec.rb:17:in `block (3 levels) in <top (required)>'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/cli/exec.rb:74:in `load'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/cli/exec.rb:74:in `kernel_load'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/cli/exec.rb:27:in `run'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/cli.rb:335:in `exec'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/cli.rb:20:in `dispatch'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/cli.rb:11:in `start'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/exe/bundle:32:in `block in <top (required)>'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
     # /home/travis/.rvm/gems/ruby-2.3.3@global/gems/bundler-1.14.5/exe/bundle:24:in `<top (required)>'