Commit Graph

39 Commits

Author SHA1 Message Date
UsamaSadiq
897cb3617f refactor!: delete common/lib and related usages 2022-09-22 14:16:34 +05:00
Sarina Canelake
4a2f231302 fix: fix github url strings (org edx -> openedx) 2022-09-15 14:52:28 -04:00
Awais Qureshi
b97af6ac6e build: Removing un-used django versions from tox and other places. (#30270) 2022-04-19 16:41:29 +05:00
Robert Raposa
aee65d55de fix: remove Jenkins dependency on script input (#30087)
The script for finding order dependency test failures
was dependent on inputs from Jenkins logs which we no
longer use.

This quick fix was to just use a list of tests with the
right format. A future iteration might process a new type
of output, like that from (pytest -v).
2022-03-17 16:56:54 -04:00
Aarif
c162a25045 fix: fixed build errors blocking django 3.1 and 3.2 tests (#28923) 2021-10-05 00:39:08 +05:00
Usama Sadiq
a597f1c783 refactor: ran pyupgrade second iteration (#27463) 2021-05-11 15:19:48 +05:00
Jawayria
96e1bffc97 Refactor: Removed unused imports
Removed unused imports from docs, scripts, pavelib
2021-04-09 16:03:53 +05:00
M. Zulqarnain
2c44315ce0 refactor: pyupgrade on pavelib & scripts (#26769) 2021-03-12 14:14:53 +05:00
Jeremy Bowman
47d15ff1a8 Update tested versions of Python and Django (#24006)
Cleaned up a few more things about the testing configuration now that we've deployed Django 2.2 to production:

* Go back to a single version of django-oauth-toolkit, tox doesn't need to vary it anymore
* Go back to PyPI release of django-method-override
* Remove no longer needed dependency on python-oauth2 (we already removed the package it was used by)
* Update prepare_xdist_nodes.sh with new Django requirements file options
2020-05-19 12:19:20 -04:00
Tim McCormack
5bb89d95c5 Revert "Revert "Fix Jenkins virtualenv issue that masked stale dependency" (#23828)" (#23866)
This reverts commit 70600d79d7.
2020-05-01 17:33:38 +00:00
Robert Raposa
8ed8d1ed9f add find_order_dependent_test_failures.py script (#23851)
In the case that that are order dependent failures on Jenkins, this
script can be used to automatically find the minimal set of tests
required to continue to test the failure locally.
2020-04-30 15:58:13 -04:00
Robert Raposa
2cde81e190 fix get_worker_test_list.py (#23842)
* fix get_worker_test_list.py

The test name is not always at the same index in the line, so pull
it from the regex instead.
2020-04-30 11:04:25 -04:00
Tim McCormack
70600d79d7 Revert "Fix Jenkins virtualenv issue that masked stale dependency" (#23828)
* Revert "Use pip-sync to make sure that dep cache tarball can go safely stale"

This reverts commit d435f4cd3e.

* Revert "Extract worker setup into own shell script, as much as possible"

This reverts commit 0a079e757c.
2020-04-29 02:15:57 +00:00
Tim McCormack
d435f4cd3e Use pip-sync to make sure that dep cache tarball can go safely stale
This "fixes" egg-links in a really hacky way to compensate for the lack
of a real relocatable virtualenv.
2020-04-28 12:56:31 -04:00
Tim McCormack
0a079e757c Extract worker setup into own shell script, as much as possible
This also changes DJANGO_REQUIREMENT to be a single file arg.
2020-04-28 12:56:31 -04:00
Jeremy Bowman
0b44434da2 Use correct Django requirements file for xdist workers 2020-04-12 15:50:29 -04:00
Usama Sadiq
3c563e072d BOM-1404 Updated tox settings (#23439)
Issue: https://openedx.atlassian.net/browse/BOM-1404

* Fixed Django 2.x installation process in tox
* Updated xdist worker Django installation code
* Use correct tox environment variable name

Co-authored-by: Jeremy Bowman <jbowman@edx.org>
2020-03-24 15:06:47 -04:00
nadeemshahzad
4b7ed730fc add tags to pytest xdist worker 2020-03-11 18:11:18 +05:00
Jeremy Bowman
eea83cde4d Increase xdist worker startup timeout (#23059) 2020-02-10 09:25:00 -05:00
Feanil Patel
9cf2f9f298 Run 2to3 -f future . -w
This will remove imports from __future__ that are no longer needed.

https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Jeremy Bowman
052f853ec1 Fix Jenkins virtualenv cleanup (#22356) 2019-11-21 11:05:05 -05:00
Feanil Patel
666f1b748d Be explicit about the location of the home on the remote machine. 2019-09-04 15:11:10 -04:00
Feanil Patel
04025cd8c7 Untar the correct venv as a part of preparing the xdist worker. 2019-09-04 15:11:10 -04:00
Stu Young
8cf86012cf modernize xdist scripts (#21347) 2019-08-16 11:26:36 -04:00
Michael Youngstrom
701ea97750 Add boto3 retry to xdist script (#21271) 2019-08-01 14:21:24 -04:00
Ayub khan
4c687caf80 INCR-386 python3 compatibility 2019-07-10 15:22:45 +05:00
Michael Youngstrom
139cdb8ba2 Switch testing from ecs to ec2 (#20846) 2019-06-27 22:04:02 -04:00
Jeremy Bowman
c1c4cf5bf7 Remove more unused pa11ycrawler code (#20690) 2019-05-24 15:22:08 -04:00
Jeremy Bowman
5424155cd0 TE-2861 Use correct version of Django in tests (#20271) 2019-04-19 10:44:41 -04:00
Michael Youngstrom
b1695b4966 Change git checkout on xdist workers 2019-02-28 14:10:35 -05:00
Jeremy Bowman
f7799bad9e Fix coverage on remote xdist nodes 2019-01-22 14:42:07 -05:00
Jeremy Bowman
58a2045756 TE-2803 Clone edx-platform in updated xdist worker images 2018-12-07 14:17:51 -05:00
Michael Youngstrom
c737cf939e Tweak script that gets test list in xdist builds 2018-11-13 10:34:33 -05:00
Michael Youngstrom
4d754fa351 Fix ratelimiting issue and account for other ecs failures 2018-10-31 12:21:23 -04:00
Michael Youngstrom
78d9892319 Add script to get test list for failed worker 2018-10-30 12:47:56 -04:00
Michael Youngstrom
b4fcbbd363 Switch Jenkinsfile over to xdist 2018-08-10 11:19:24 -04:00
Michael Youngstrom
ce2ad15c71 Handle multiple containers per task definition 2018-07-20 16:02:14 -04:00
Michael Youngstrom
28d0c4cb18 Add prepare_xdist_nodes script and git ignore xdist txt files 2018-07-18 11:40:42 -04:00
Michael Youngstrom
4662624165 Starter code for xdist with ecs 2018-07-11 13:23:05 -04:00