Commit Graph

41 Commits

Author SHA1 Message Date
Aarif
58a54f8d0b BOM-2543: Remove the diff-quality step from quality checks (#27619)
* build: Removed the diff-quality step
Applied lint-amnesty on all the warnings
Removed pylint thresholds comparison code and related tests

Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2021-06-07 18:37:06 +05:00
Aarif
09ac7f9372 remove cyclomatic complexity calculation for python code 2020-08-04 22:10:05 +05:00
Jeremy Bowman
45644a3511 Upgrade edx-lint BOM-1298 (#23227)
The last time we tried this upgrade we encountered timeouts on the quality job, which it now appears were due to the worker running pylint common running out of memory and killing the Jenkins process. Switching to a different worker type with double the RAM (8 GB vs. 4 GB) seems to have fixed this; about 5.5 GB was used. Upstream is aware of the high memory usage on large projects, it's apparently due primarily to a cache of parsed modules: https://github.com/PyCQA/pylint/issues/1495 .

Even after disabling some of the new checks that have been added, the new version of pylint found about twice as much to complain about. Just bumping the threshold for now to unblock the Django upgrade, we can try automated utilities like pyupgrade to fix some of these later.
2020-03-02 08:27:19 -05:00
Calen Pennington
ef80230700 Pipe COLLECT_WHO_TESTS_WHAT through to jenkins-report.sh so that we upload coverage contexts nightly 2020-02-11 15:04:00 -05:00
Manjinder Singh
6c69b6d435 Adding code to output pytest warnings. (#22570)
* Added pytest-json-report plugin
	- modifying app-opts in setup.cfg
	- adding hook to all conftest.py files in repo
	- setting report to be saved to test_root/log/warnings.json
	- Writing custom logic to save json report to avoid overwrite if pytest called twice
This was created to allow us to easily parse through test warnings in jenkins
2020-01-02 10:01:52 -05:00
Calen Pennington
842adc6fcd Archive WTW artifacts and send splunk files at the end of the WTW collection phase 2019-12-12 13:49:44 -05:00
Jeremy Bowman
052f853ec1 Fix Jenkins virtualenv cleanup (#22356) 2019-11-21 11:05:05 -05:00
Jeremy Bowman
df38babb7e Archive bok-choy JUnit XML files (#22071) 2019-10-18 10:18:42 -04:00
Feanil Patel
5d7bdf91b1 Revert requirements changes due to memory issues.
Some change in the requirements here may be responsible for increased
CPU and memory usage.  This is causing production LMS for edx.org to run
into lots of performance issues.  Reverting for now until we can narrow
it down to which change caused the issue.
2019-10-09 16:47:26 -04:00
Stu Young
7de7bcb398 Revert "Upgrade edx-lint" (#21930) 2019-10-03 16:23:44 -04:00
Calen Pennington
2fa5ff0067 TEST: increase the timeout on the linting jobs 2019-10-01 14:00:54 -04:00
Jeremy Bowman
636220cb14 TE-2862 Switch to warnings-ng Jenkins plugin (#21646) 2019-09-12 13:36:37 -04:00
Calen Pennington
37c92fe8d4 Merge pull request #21354 from cpennington/specific-wtw-context-for-s3-files
Set a specific WTW context to name coverage files to upload/download …
2019-08-30 12:22:37 -04:00
Jeremy Bowman
b44be34756 TE-2847 Send more Jenkins data to Splunk (#21436) 2019-08-23 15:06:36 -04:00
Calen Pennington
b7f3223ea4 Set a specific WTW context to name coverage files to upload/download from s3 2019-08-16 12:57:19 -04:00
Calen Pennington
d0b160888b Archive all coverage reports, named by test context 2019-07-30 15:18:25 -04:00
Calen Pennington
68b83f763f Rename who-tests-what environment variables 2019-07-26 14:58:44 -04:00
Calen Pennington
82c49f0db9 Separate bokchoy coverage files by shard 2019-07-26 14:58:44 -04:00
Calen Pennington
a0e4adbaa5 Archive the combined python coverage file 2019-07-24 13:37:30 -04:00
Michael Youngstrom
139cdb8ba2 Switch testing from ecs to ec2 (#20846) 2019-06-27 22:04:02 -04:00
Michael Youngstrom
4160cd1310 Add repo as an argument to the notifier (#20678) 2019-05-24 10:44:17 -04:00
Michael Youngstrom
7ddb806135 Merge pull request #20223 from edx/youngstrom/deprecate-lettuce
Remove lettuce infrastructure
2019-04-18 11:54:57 -04:00
Michael Youngstrom
640ff4ed10 Fix slack messaging in pipelines 2019-04-18 10:56:01 -04:00
Michael Youngstrom
bfe10720c6 Remove lettuce infrastructure 2019-04-18 09:58:21 -04:00
Michael Youngstrom
2fb8473e0a Move context to env var 2019-02-28 10:20:27 -05:00
Julia Eskew
060d3b8e85 Accept option for PII checker report dir. Add PII check to CI quality check.
Add tests for run_pii_check paver command.
2019-02-21 12:47:34 -05:00
Jeremy Bowman
3e28f90ed8 TE-2851 Preserve stdout on Jenkins test failures 2019-02-06 14:15:54 -05:00
Jeremy Bowman
727ef94326 TE-2852 Preserve screenshots in bok-choy pipeline jobs 2019-02-04 15:09:00 -05:00
Michael Youngstrom
6a43ae2a5d Merge pull request #19672 from edx/youngstrom/balance-shards
Bump bokchoy shards and rebalance to decrease test times
2019-01-30 15:44:32 -05:00
Michael Youngstrom
0f3d0b69d6 Rebalance bokchoy sharding 2019-01-30 14:16:58 -05:00
Stuart Young
31d0ab9321 fix typo in python jenkinsfile 2019-01-30 09:49:49 -05:00
Michael Youngstrom
f49f097937 Bump timeout for bokchoy 2019-01-28 13:10:04 -05:00
Jeremy Bowman
f7799bad9e Fix coverage on remote xdist nodes 2019-01-22 14:42:07 -05:00
Michael Youngstrom
d8e50c3f1a Enable private pipeline jobs 2019-01-15 09:53:38 -05:00
Michael Youngstrom
817ee46ec2 Fix context name 2019-01-04 11:41:20 -05:00
Michael Youngstrom
c2f57f975b Allow merge builds for lettuce and python 2019-01-03 15:08:39 -05:00
Michael Youngstrom
5c88962d24 Add Jenkinsfile for bokchoy and quality 2018-12-19 17:09:55 -05:00
Michael Youngstrom
463e19a263 Merge pull request #19298 from edx/youngstrom/lettuce-pipeline-jbo
Add lettuce jenkinsfile
2018-11-26 13:41:28 -05:00
Michael Youngstrom
dfe06cca01 Add lettuce jenkinsfile 2018-11-26 12:22:38 -05:00
Michael Youngstrom
7622c6850e Adjust unittest containers and delete old Jenkinsfile 2018-11-20 16:21:31 -05:00
Jeremy Bowman
84d780e681 TE-2804 Optimize pipeline git usage 2018-11-14 16:17:17 -05:00