Commit Graph

735 Commits

Author SHA1 Message Date
Jesse Zoldak
5c1f838dcb Give the bok choy server more time to start up 2016-12-22 16:20:22 -05:00
Brian Jacobel
f7d2b8db68 Add deps brought in by UITK as top-level deps (peerDeps, eventually) 2016-12-03 12:15:00 -05:00
Calen Pennington
b24c22804e Merge pull request #14047 from cpennington/safer-opaque-keys
Safer opaque keys
2016-12-02 10:44:36 -05:00
Calen Pennington
42617545ec Remove paver handling for --failed (because nose already handles it) 2016-12-01 13:04:31 -05:00
Ben Patterson
73c3066976 Merge pull request #14056 from edx/benp/fix-flaky-paver-test-pep8
Fix flaky paver test pep8
2016-11-30 12:33:45 -05:00
noraiz-anwar
d632fa8672 removed bug related to theme assets 2016-11-29 14:25:59 +05:00
Ben Patterson
0faa445990 Use proper pattern on entire class. 2016-11-28 17:17:20 -05:00
Ben Patterson
3cd107cc0a Fix flaky condition in pep8 noisy report test. 2016-11-28 11:37:57 -05:00
Andy Armstrong
746e310088 Clean up npm-installed packages 2016-11-22 17:51:09 -05:00
Ben Patterson
71805ed802 Merge pull request #13974 from edx/benp/cb-never-called-workaround
Workaround for TE-1767 aka cb() never called
2016-11-17 13:33:50 -05:00
Ben Patterson
705c8b915e Udpates based on feedback. 2016-11-17 11:31:57 -05:00
Calen Pennington
1e9649e01e Merge pull request #13972 from cpennington/timer-logging
Add timer logging to jenkins test runs
2016-11-16 12:43:37 -05:00
Ben Patterson
67be6807a4 Add tests. Enjoy your coverage and feel confident. 2016-11-16 12:24:50 -05:00
Ben Patterson
f52e3cf830 Workaround for cb() never called errors
Problem:

Intermittent "cb() never called!" errors on npm installs for platform.
This is likely due to a race condition on installing OS-specific bits that are built during time of install. When more than one compilation takes place at one time, this error can occur.

Workaround:

Detect the error and re-run the install. (When retrying, one or all of the bits have been compiled. So running it again just finishes the install.)
2016-11-16 12:24:49 -05:00
Calen Pennington
f5f64c03fc Don't try to create a directory from an empty string 2016-11-15 11:38:33 -05:00
Ben Patterson
562b48cfb2 Merge pull request #13911 from edx/benp/nodeenv
Use nodeenv to manage node version in Jenkins builds
2016-11-10 12:46:29 -05:00
Ben Patterson
c643c124c8 Merge pull request #13855 from edx/benp/correct-verbose-settings-i18ntests
param typo
2016-11-10 10:23:01 -05:00
Ben Patterson
b3a3d729a1 Use nodeenv to manage node version in Jenkins builds
This change:
* gives us the flexibility of managing node from pull-request to pull-request. It'll be a huge lift to folks that want to test out node upgrades like @bjacobel or @andy-armstrong
* Sets us up for a port to Xenial, which will be accomplished in part by using nodeenv for managing the node environment. See a companion PR on the configuration repo for edxapp: edx/configuration#3444

This pull request does not:
* Attempt to solve any stability issues in builds related to node.
* Make node installs any faster
* Create any caching infrastructure to speed up node installs. They will be approximately as fast as they were before. Downloading the node bits build-to-build adds about 3 seconds, which is worth it for the added flexibility.
2016-11-10 10:02:32 -05:00
stu
48b2575ca5 log pip freeze output for debugging jenkins builds 2016-11-01 11:21:46 -04:00
Ben Patterson
eaad12e7d2 Fix param typo on i18n test 2016-10-27 13:11:59 -04:00
Jesse Zoldak
fea64a66ff Only install python coverage prereqs for coverage paver tasks TE-1673 2016-10-26 10:15:08 -04:00
Jesse Zoldak
ac1e4643a0 Add enable-migrations parameter for python unit tests 2016-10-17 15:59:44 -04:00
Greg Martin
4ddda443b8 Implement localized datetimes in browser
moment-timezone require config

jasmine test fix, duplicate req. cleanup
2016-10-14 15:25:38 -04:00
Jesse Zoldak
4465373177 Disable migrations by default in unittests
Rendering model states when running migrate in Django 1.8 consumes
on the order of 4x-6x more memory than <1.8.

References:
* https://code.djangoproject.com/ticket/24745
* https://code.djangoproject.com/ticket/24743

This is causing failures in Jenkins as the workers run out of memory
and either processes cannot fork or the Out Of Memory Killer
kills a process that is running tests.

Disabling migrations until we do either or both of these:
* Upgrade to Django 1.9 and turn them back on. See EV-92 "Discovery: Upgrade edx-platform to Django 1.9"
* Address TE-1310 "Unit tests should be able to run without migrations"
2016-10-12 14:02:19 -04:00
Andy Armstrong
6d0136fea9 Move i18n_tests from common into pavelib 2016-10-06 13:28:46 -04:00
David
32e7836bd9 Add pa11y_ignore_rules_url to paver pa11ycrawler 2016-09-07 14:46:30 -04:00
Calen Pennington
fae18fd5e2 Merge pull request #13271 from cpennington/dont-translate-passthrough
Don't use optparse's bad translation strings in passthrough_opts
2016-08-23 13:23:21 -04:00
Jesse Zoldak
99a7c555ab test_acceptance paver command option fasttest should not recompile sass 2016-08-19 13:21:16 -04:00
Calen Pennington
abe6ef4525 Don't use optparse's bad translation strings in passthrough_opts 2016-08-18 10:59:45 -04:00
David Baumgold
307abcad5b Merge pull request #13225 from singingwolfboy/update-pa11ycrawler
Use updated, simplifed version of pa11ycrawler
2016-08-16 08:51:05 -04:00
David Baumgold
e0cddf9750 Fix Jenkins test failure 2016-08-15 16:53:06 -04:00
David Baumgold
7f60fa5e25 Make data-dir explicit for pa11ycrawler 2016-08-15 15:46:10 -04:00
David Baumgold
18500472c6 Use updated, simplifed version of pa11ycrawler 2016-08-15 14:24:17 -04:00
Andy Armstrong
80e5a610ae Add --settings parameter for i18n_dummy task 2016-08-10 13:34:11 -04:00
Calen Pennington
7a51a3052b Use @needs to specify task composition for paver service checks, so that arguments are bundled correctly 2016-08-03 16:13:11 -04:00
Calen Pennington
f3cc7bd588 Mark some side-effecting actions so that they follow the --dry-run paver flag 2016-08-03 16:13:10 -04:00
Calen Pennington
d8defaa45a Clarify how options are passed to paver tasks, so that pa11y subtasks get needed information 2016-08-03 16:13:10 -04:00
Calen Pennington
2983b3da5f Correctly pass bok-choy specific options through to the BokChoyTestSuite 2016-08-03 16:13:10 -04:00
Calen Pennington
ea28eb6197 Revert "Revert "Merge pull request #13021 from cpennington/paver-timing""
This reverts commit acf50c4469.
2016-08-03 16:13:10 -04:00
Ned Batchelder
8b1978ba6c Fix unused-import errors 2016-08-03 12:44:41 -04:00
Brian Jacobel
017dbffd5e Remove ESLint from build scripts and script tests 2016-08-02 10:15:53 -04:00
Brian Jacobel
9c959b9d3a Add back JSHint tests 2016-07-29 13:27:55 -04:00
Brian Jacobel
af76273393 Install and configure eslint and eslint-config-edx (alongside JSHint for now) 2016-07-29 13:27:55 -04:00
Ben Patterson
066450d274 FEDX-152. Pipe collectstatic results to a file for bok-choy tests. 2016-07-29 08:11:13 -04:00
Saleem Latif
6277bd27e6 Remove all usages of USE_CUSTOM_THEME and THEME_NAME from python files 2016-07-27 14:53:02 +05:00
Calen Pennington
acf50c4469 Revert "Merge pull request #13021 from cpennington/paver-timing"
This reverts commit ed80381b41, reversing
changes made to 205cb8b3eb.
2016-07-26 13:32:59 -04:00
Calen Pennington
ed80381b41 Merge pull request #13021 from cpennington/paver-timing
[EV-62] Paver timing
2016-07-26 09:50:40 -04:00
Calen Pennington
5f05c66d31 Get rid of the extra parse_bokchoy_opts step for passing arguments to a BokChoySuite 2016-07-22 10:57:09 -04:00
Calen Pennington
8c3d4ce85c Split actions needed for bok_choy tests into smaller tasks to get more granular timing information 2016-07-22 10:57:08 -04:00
Calen Pennington
fa52573277 Move the definition of shared bok_choy task options into a separate file 2016-07-22 10:54:48 -04:00