[Python-Dev] Automated testing of patches from bugs.python.org
tjreedy at udel.edu
Tue May 19 22:37:54 CEST 2015
On 5/19/2015 11:02 AM, Kushal Das wrote:
> With the help of CentOS project I am happy to announce an automated
> system  to test patches from bugs.python.org. This can be fully automated
> to test the patches whenever someone uploads a patch in the roundup, but
> for now it accepts IRC commands on #python-dev channel. I worked on a
> docker based prototype during sprints in PyCon.
> How to use it?
> 1. Join #python-dev on irc.freenode.net.
> 2. Ask for test privilege from any one of kushal,Taggnostr,bitdancer
> 3. They will issue a simple command. #add: YOUR_NICK_NAME
> 4. You can then test by issuing the following command in the channel:
> #test: BUGNUMBER
> like #test: 21271
What if there are multiple patches on the issue? Pick the latest?
This is not correct if someone follows up a patch with a 2.7 backport,
or if there are competing patches.
> This will do the following:
> Start a new job on ci.centos.org, announce it on the channel, and
> announce the result also.
> I will be working on a minimal lint for patches, and include it
> the workflow.
> The current steps can be found at . Each build is happening on a
> fresh system.
> 1. It excepts one single patch to contain all the required changes
> (instead of a series of patches).
> 2. It runs only on x86_64 architecture, CentOS7 based systems.
>  https://ci.centos.org/job/cPython-build-patch/
>  https://github.com/kushaldas/pypatcher/blob/master/pypatcher.sh
Terry Jan Reedy
More information about the Python-Dev