Upgrade buildout loops forever

Bug #704315 reported by Wichert Akkerman on 2011-01-18
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Buildout
Undecided
Unassigned

Bug Description

I tried to upgrade a buildout from buildout 1.4.x to 1.5.x. The exact changes in version pins where:

 * zc.buildout 1.4.4 -> 1.5.2
 * zc.recipe.egg 1.2.2 -> 1.3.4
 * zc.recipe.cmmi 1.3.1 -> 1.3.4
 * zc.recipe.restrunner 1.2.0 -> 1.4.0
 * zope.testing 3.9.4 -> 3.10.2

When running bin/buildout after making these changes buildout got into an infinite loop restarting itself over and over again:

$ bin/buildout -c devel.cfg
mr.developer: Queued 'customer.site' for checkout.
mr.developer: Queued 'other.site' for checkout.
mr.developer: Queued 'our.backend' for checkout.
mr.developer: Skipped checkout of existing package 'customer.site'.
mr.developer: Skipped checkout of existing package 'other.site'.
mr.developer: Skipped checkout of existing package 'our.backend'.
Getting distribution for 'zc.buildout==1.5.2'.
Got zc.buildout 1.5.2.
Upgraded:
  zc.buildout version 1.5.2;
restarting.
Generated script '/Users/wichert/Work/2style4you/code/buildout/bin/buildout'.
mr.developer: Queued 'customer.site' for checkout.
mr.developer: Queued 'other.site' for checkout.
mr.developer: Queued 'our.backend' for checkout.
mr.developer: Skipped checkout of existing package 'other.site'.
mr.developer: Skipped checkout of existing package 'customer.site'.
mr.developer: Skipped checkout of existing package 'our.backend'.
Upgraded:
  zc.buildout version 1.5.2;
restarting.
mr.developer: Queued 'customer.site' for checkout.
mr.developer: Queued 'other.site' for checkout.
mr.developer: Queued 'our.backend' for checkout.
mr.developer: Skipped checkout of existing package 'customer.site'.
mr.developer: Skipped checkout of existing package 'other.site'.
mr.developer: Skipped checkout of existing package 'our.backend'.
Upgraded:
  zc.buildout version 1.5.2;
restarting.
mr.developer: Queued 'customer.site' for checkout.
mr.developer: Queued 'other.site' for checkout.
mr.developer: Queued 'our.backend' for checkout.
mr.developer: Skipped checkout of existing package 'customer.site'.
mr.developer: Skipped checkout of existing package 'other.site'.
mr.developer: Skipped checkout of existing package 'our.backend'.
Upgraded:
  zc.buildout version 1.5.2;
restarting.
mr.developer: Queued 'customer.site' for checkout.
mr.developer: Queued 'other.site' for checkout.
mr.developer: Queued 'our.backend' for checkout.
mr.developer: Skipped checkout of existing package 'customer.site'.
mr.developer: Skipped checkout of existing package 'other.site'.
mr.developer: Skipped checkout of existing package 'our.backend'.
Upgraded:
  zc.buildout version 1.5.2;
restarting.
mr.developer: Queued 'customer.site' for checkout.
mr.developer: Queued 'other.site' for checkout.
mr.developer: Queued 'our.backend' for checkout.
mr.developer: Skipped checkout of existing package 'customer.site'.
mr.developer: Skipped checkout of existing package 'other.site'.
mr.developer: Skipped checkout of existing package 'our.backend'.
Upgraded:
  zc.buildout version 1.5.2;
restarting.
mr.developer: Queued 'customer.site' for checkout.
mr.developer: Queued 'other.site' for checkout.
mr.developer: Queued 'our.backend' for checkout.
mr.developer: Skipped checkout of existing package 'customer.site'.
mr.developer: Skipped checkout of existing package 'other.site'.
mr.developer: Skipped checkout of existing package 'our.backend'.
Upgraded:
  zc.buildout version 1.5.2;
restarting.
mr.developer: Queued 'customer.site' for checkout.
mr.developer: Queued 'other.site' for checkout.
mr.developer: Queued 'our.backend' for checkout.
mr.developer: Skipped checkout of existing package 'customer.site'.
mr.developer: Skipped checkout of existing package 'other.site'.
mr.developer: Skipped checkout of existing package 'our.backend'.
Upgraded:
  zc.buildout version 1.5.2;
restarting.
mr.developer: Queued 'customer.site' for checkout.

Wichert Akkerman (wichert) wrote :
Download full text (54.7 KiB)

After hitting control-C I got an impressively long traceback:

^CTraceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 9, in <module>
    import zc.buildout.buildout
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 38, in <module>
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
Traceback (most recent call last):
  File "bin/buildout", line 12, in <module>
    zc.buildout.buildout.main()
Traceback (most recent call last):
  File "/Users/wichert/Library/eggs/zc.buildout-1.4.4-py2.7.egg/zc/buildout/buildout.py", line 1683, in main
  File "bin/buildo...

Wichert Akkerman (wichert) wrote :

Running bin/buildout again after aborting the first run seems to work fine; buildout no longer tries to restart and runs normally.

Malthe Borch (mborch) wrote :

I get this, too – but as Wichert says, the remedy is to break and retry.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers