Fwd: Django 1.11 Unit Tests on Jenkins

25 views
Skip to first unread message

Ned Batchelder

unread,
Jan 30, 2018, 3:35:40 PM1/30/18
to edx-...@googlegroups.com
This is a change we have made to the continuous integration servers running on the edx/edx-platform repo.  If you are making pull requests, you will see new tests being run against your changes.  Just a friendly heads-up.

This is in preparation for cutting over to Django 1.11 from Django 1.8, which is itself a pre-requisite for creating the Hawthorn release of Open edX.

--Ned.

---------- Forwarded message ----------
From: Stuart Young <syo...@edx.org>
Date: Tue, Jan 30, 2018 at 11:10 AM
Subject: Django 1.11 Unit Tests on Jenkins
To: "Engineering - All (Employees, Contractors)" <eng...@edx.org>


Hi all,

TL;DR - As of today we are running a new job (edx-platform-django-upgrade-unittests-pr) on all pull requests, which runs the Python Unit Tests using Django 1.11. 

As part of the work to upgrade the platform to Django 1.11, the platform team has recently finished some work which enables running the Python Unit Tests against both Django 1.8 (the current version we are using) and 1.11. Today, we have turned on a new job on Build Jenkins (https://build.testeng.edx.org/) that will run these tests. 

The new job:
  • Is entitled 'edx-platform-django-upgrade-unittests-pr'
  • Will report back to Github with the context 'jenkins/django-upgrade/python'
  • Will be run on every pull request
  • Can be retriggered with the Github comment 'jenkins run django upgrade python'
We will be running both the 1.8 and 1.11 unit tests in parallel until the Django upgrade is complete. Python is the first context we will be running in parallel. Soon we will be doing the same for Lettuce and Bok Choy. 

All tests in the master branch are currently passing on Django 1.11. If you run into issues on your pull request branch:
  • Rebase your branch on master if you haven't already
  • Troubleshoot and fix tests locally on devstack by prepending 'tox -e py27-django111 -- '  to your testing command (i.e. paver/pytest). For example:
tox -e py27-django111 -- paver test_system -s lms 


Thanks

--

Reply all
Reply to author
Forward
0 new messages