Ticket #2308 (new enhancement )

Opened 2 years ago

Last modified 5 months ago

Test Twisted's release automation

Reported by: radix Assigned to: radix
Type: enhancement Priority: normal
Milestone: regular-releases Component: release management
Keywords: Cc: therve, zooko
Branch: Author:
Launchpad Bug:

Description

I think we should have a buildbot which runs release-twisted, installs it into an environment where no pre-existing Twisted is installed, and runs the unit tests from it.

Attachments

Change History

  2007-10-31 09:35:33+00:00 changed by therve

  • cc set to therve

Can you explain a bit more what you're trying to achieve here? Do we want to add unit tests to the release-twisted script? Or is it just a matter of setting up a buildbot slave ?

  2007-10-31 13:32:55+00:00 changed by radix

I think this ticket should just be about setting up a buildbot slave which runs the normal Twisted unit tests from an environment created by release-twisted and setup.py.

  2007-11-14 15:19:38+00:00 changed by radix

  • branch deleted
  • milestone changed from Core-2.6 to twisted-7.0

  2007-11-30 05:02:48+00:00 changed by zooko

  • author deleted

I would like to do this. Hm... My best buildslave is nooxie.zooko.com, and it supports Nexenta Zones:

http://www.gnusolaris.org/gswiki/ErastBenson/Nexenta_Zones

So if following that web page works for me, then I should theoretically be able to have a separate virtualized system where I can safely blow away twisted, then let the buildslave run its "install twisted" test, without interacting with the rest of nooxie.

Wow.

  2007-12-12 17:54:05+00:00 changed by zooko

  • cc changed from therve to therve, zooko

Here is a test that I would like to see automatically executed:

Get a system which doesn't have Twisted or zope.interface installed. (See above about speculations about using Nexenta Zones to manage such a system.) Get the source distribution of a minimal Python package which requires Twisted. Execute ./setup.py install on that package, and the test passes if it automatically satisfies its dependency on Twisted and Twisted's dependency on zope.interface.

This test encapsulates a functionality that is very desirable to me and is currently missing in Twisted 2.5.0.

  2007-12-12 17:56:45+00:00 changed by zooko

Here is a test that I personally don't care about, but Jerub on IRC mentioned it and other people seem to care about it to:

Get a system which doesn't have Twisted installed, get a source distribution of Twisted, and run ./setup.py install to install it. Now create a user account which doesn't have write-permission to its $HOME directory. Now switch to that user and execute something like python -c 'print "I WIN"'. The test passes if you can execute the Python code.

  2008-03-13 01:51:00+00:00 changed by zooko

see also allmydata.org "Tahoe" #348 (BuildBot step to run tests from package)

  2008-03-25 19:20:17+00:00 changed by radix

  • milestone changed from twisted-8.0 to regular-releases
Note: See TracTickets for help on using tickets.