Project

General

Profile

Bug #16282

Javascript tests are failing on Jenkins

Added by Walden Raines almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

This is only happening on Jenkins, activation key tests are failing with:

PhantomJS 2.1.1 (Linux 0.0.0) Factory: ActivationKey ActivationKey.get GET /api/v2/activation_keys/1?fields=full FAILED
    Error: [$injector:unpr] Unknown provider: gettextCatalogProvider <- gettextCatalog
    http://errors.angularjs.org/1.5.5/$injector/unpr?p0=gettextCatalogProvider%20%3C-%20gettextCatalog in /var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js (line 4458)
    /var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:4458:86
    getService@/var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:4611:46
    /var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:4463:48
    getService@/var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:4611:46
    injectionArgs@/var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:4635:68
    invoke@/var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:4657:31
    /var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:4473:68
    forEach@/var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:322:24
    createInjector@/var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/vendor/assets/javascripts/bastion/angular/angular.js:4473:10
    workFn@/var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/node_modules/bastion/.tmp/bower_components/angular-mocks/angular-mocks.js:2954:60
    ReferenceError: Can't find variable: $httpBackend in /var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/test/activation-keys/activation-key.factory.test.js (line 39)
    /var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/test/activation-keys/activation-key.factory.test.js:39:21
    ReferenceError: Can't find variable: $httpBackend in /var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/test/activation-keys/activation-key.factory.test.js (line 33)
    /var/lib/workspace/workspace/test_katello_javascript/ruby/2.2/plugin/engines/bastion_katello/test/activation-keys/activation-key.factory.test.js:33:21

Associated revisions

Revision 11d70ff4 (diff)
Added by Eric Helms almost 3 years ago

Fixes #16282: Explicitly require i18n, components and ui.router

Changes in Bastion required explicit requires on some modules
that were detected by breaking tests.

Revision 7de4a116
Added by Walden Raines almost 3 years ago

Merge pull request #6276 from ehelms/fixes-16282

Fixes #16282: Explicitly require i18n, components and ui.router modules

History

#1 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6273 added

#2 Updated by Eric Helms almost 3 years ago

  • Subject changed from Activation Key tests are failing on Jenkins to Javascript tests are failing on Jenkins
  • Legacy Backlogs Release (now unused) set to 162

#3 Updated by The Foreman Bot almost 3 years ago

  • Pull request https://github.com/Katello/katello/pull/6276 added

#4 Updated by Walden Raines almost 3 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/6273)

#5 Updated by Walden Raines almost 3 years ago

  • Assignee changed from Walden Raines to Eric Helms

#6 Updated by Eric Helms almost 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF