-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Resolve Jenkins fails with Angular Material and Angular 1.3.x #6699
Comments
@ThomasBurleson Pretty sure this is just waiting on PRs to get merged: #6550 and #6276. |
Odd issue still causing Jenkins Failures in Angular 1.3.2: Chrome 47.0.2526 (Mac OS X 10.8.5): Executed 1848 of 1857 (skipped 9) SUCCESS (48.347 secs / 47.611 secs)
Chrome 47.0.2526 (Mac OS X 10.8.5) ERROR
Some of your tests did a full page reload!
Chrome 47.0.2526 (Mac OS X 10.8.5): Executed 1848 of 1857 (skipped 9) ERROR (48.367 secs / 47.611 secs)
................................................................................
................................................................................
....
Firefox 43.0.0 (Mac OS X 10.8.0): Executed 1848 of 1857 (skipped 9) SUCCESS (55.863 secs / 54.373 secs)
[02:07:09] Karma exited with the following exit code: 1
--- Finished Testing AngularMaterial against AngularJS (1.3.20) ---
STATUS: FAILED See Stack Overflow Help for head hook for debugging. Attn: @topherfangio |
Digging in now. |
@matsko Could use your feedback on this Jenkins issue. Have two potential solutions:
From the console output: --- Testing AngularMaterial against AngularJS (1.3.20) ---
[copy] copied over ./tmp/angular-1.3.20/files/angular.js to ./node_modules/angular/angular.js
[copy] copied over ./tmp/angular-1.3.20/files/angular.min.js to ./node_modules/angular/angular.min.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-animate.js to ./node_modules/angular-animate/angular-animate.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-animate.min.js to ./node_modules/angular-animate/angular-animate.min.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-route.js to ./node_modules/angular-route/angular-route.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-route.min.js to ./node_modules/angular-route/angular-route.min.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-aria.js to ./node_modules/angular-aria/angular-aria.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-aria.min.js to ./node_modules/angular-aria/angular-aria.min.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-messages.js to ./node_modules/angular-messages/angular-messages.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-messages.min.js to ./node_modules/angular-messages/angular-messages.min.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-mocks.js to ./node_modules/angular-mocks/angular-mocks.js
[copy] copied over ./tmp/angular-1.3.20/files/angular-mocks.min.js to ./node_modules/angular-mocks/angular-mocks.min.js
[02:05:41] Using gulpfile ~/JenkinsHome/workspace/angularjs-material-version-testing/gulpfile.js
[02:05:41] Starting 'build-scss'... Think you could fix point 2 above and provide some feedback on point 1? |
Our Jenkins CI build occassionally fails with disconnects from browsers. Setting `concurrency: 1` in the Karma config appears to alleviate this by ensuring that the browsers run one at a time. References #6699.
Fixed by ef71080. |
Reopening because we're still getting page reloads occasionally. |
Okay, so we're still getting some reload issues, but the strange thing is that they happen AFTER the tests have run AND succeeded. Based off of a little bit of digging, I think it might have something to do with the way that Karma clears the context and it's interfering with Jasmine. Karma recently added a @matsko Do you know how would we go about updating the npm packges on Jenkins? |
After the recent update of our npm modules on the CI server, the last 7 days have passed successfully, so I am going to go ahead and close this ticket. |
Reopening due to new CI failures. cc @ThomasBurleson @EladBezalel from the Slack conversation. I am going to create a PR which adds the |
- Add the `clearContext: false` option to hopefully fix the random "some tests reloaded" error. - Create separate CI karma config for all CI-related changes. - Update `test-versions.sh` to use CI Karma config and fix typos. References angular#6699.
- Add the `clearContext: false` option to hopefully fix the random "some tests reloaded" error. - Create separate CI karma config for all CI-related changes. - improve karma error capture for karma.js - reduce disconnectTimeout 500 mSecs - Update `test-versions.sh` to use CI Karma config and fix typos. References #6699. Closes #7094
@ThomasBurleson I'm going to go ahead and close this as it appears that all of the recent failures (viewable at https://ci.angularjs.org/job/angular-material1-minor-versions-testing/) seem to be valid failures, not related to the issues. |
Jenkins AngularJS Material Testings
The text was updated successfully, but these errors were encountered: