Changes between Initial Version and Version 1 of Ticket #2466


Ignore:
Timestamp:
2015-07-16T14:44:41Z (9 years ago)
Author:
daira
Comment:

These errors might be related to the addition of a pbr >= 1.3.0 dependency of mock.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2466

    • Property Keywords mock build added
    • Property Milestone changed from undecided to soon
    • Property Component changed from unknown to packaging
    • Property Summary changed from test ticket to mock 1.1.2 and 1.1.3 cause build failures on several buildslaves
  • Ticket #2466 – Description

    initial v1  
     1The buildslaves that pick up mock 1.1.2 have this error:
     2{{{
     3SyntaxError: ('invalid syntax', ('/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/support/lib/python2.6/site-packages/mock-1.1.2-py2.6.egg/mock/tests/testwith.py', 57, 68,
     4"            with patch('%s.something' % __name__) as mock_something, patch('%s.something_else' % __name__) as mock_something_else:\n"))
     5[...]
     6Traceback (most recent call last):
     7  File "setup.py", line 460, in <module>
     8    **setup_args
     9  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
     10    dist.run_commands()
     11  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
     12    self.run_command(cmd)
     13  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
     14    cmd_obj.run()
     15  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/develop.py", line 23, in run
     16    self.old_run()
     17  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/develop.py", line 33, in old_run
     18    self.install_for_development()
     19  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/develop.py", line 103, in install_for_development
     20    self.process_distribution(None, self.dist, not self.no_deps)
     21  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/easy_install.py", line 526, in process_distribution
     22    [requirement], self.local_index, self.easy_install
     23  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/pkg_resources.py", line 585, in resolve
     24    dist = best[req.key] = env.best_match(req, self, installer)
     25  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/pkg_resources.py", line 843, in best_match
     26    return self.obtain(req, installer) # try and download/install
     27  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/pkg_resources.py", line 855, in obtain
     28    return installer(requirement)
     29  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/easy_install.py", line 453, in easy_install
     30    return self.install_item(spec, dist.location, tmpdir, deps)
     31  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/easy_install.py", line 485, in install_item
     32    self.process_distribution(spec, dist, deps)
     33  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/easy_install.py", line 504, in process_distribution
     34    self.install_egg_scripts(dist)
     35  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/develop.py", line 128, in install_egg_scripts
     36    return easy_install.install_egg_scripts(self,dist)
     37  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/easy_install.py", line 385, in install_egg_scripts
     38    self.install_wrapper_scripts(dist)
     39  File "/home/buildbot/tahoe-lafs/FreeStorm_CentOS6-amd64/build/setuptools-0.6c16dev6.egg/setuptools/command/easy_install.py", line 577, in install_wrapper_scripts
     40    for args in get_script_args(dist, script_dir=self.script_dir):
     41TypeError: override_get_script_args() got an unexpected keyword argument 'script_dir'
     42}}}
     43
     44The buildslaves that pick up mock 1.1.3 have this error:
     45{{{
     46Traceback (most recent call last):
     47  File "setup.py", line 460, in <module>
     48    **setup_args
     49  File "C:\Python27\lib\distutils\core.py", line 151, in setup
     50    dist.run_commands()
     51  File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
     52    self.run_command(cmd)
     53  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
     54    cmd_obj.run()
     55  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\develop.py", line 23, in run
     56    self.old_run()
     57  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\develop.py", line 33, in old_run
     58    self.install_for_development()
     59  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\develop.py", line 103, in install_for_development
     60    self.process_distribution(None, self.dist, not self.no_deps)
     61  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\easy_install.py", line 526, in process_distribution
     62    [requirement], self.local_index, self.easy_install
     63  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\pkg_resources.py", line 585, in resolve
     64    dist = best[req.key] = env.best_match(req, self, installer)
     65  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\pkg_resources.py", line 843, in best_match
     66    return self.obtain(req, installer) # try and download/install
     67  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\pkg_resources.py", line 855, in obtain
     68    return installer(requirement)
     69  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\easy_install.py", line 453, in easy_install
     70    return self.install_item(spec, dist.location, tmpdir, deps)
     71  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\easy_install.py", line 483, in install_item
     72    dists = self.install_eggs(spec, download, tmpdir)
     73  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\easy_install.py", line 663, in install_eggs
     74    return self.build_and_install(setup_script, setup_base)
     75  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\easy_install.py", line 938, in build_and_install
     76    self.run_setup(setup_script, setup_base, args)
     77  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\command\easy_install.py", line 927, in run_setup
     78    run_setup(setup_script, args)
     79  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\sandbox.py", line 62, in run_setup
     80    lambda: execfile(
     81  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\sandbox.py", line 105, in run
     82    return func()
     83  File "C:\Users\Buildslave\tahoe\Daira_Win7-64_py2_7\build\setuptools-0.6c16dev6.egg\setuptools\sandbox.py", line 64, in <lambda>
     84    {'__file__':setup_script, '__name__':'__main__'}
     85  File "setup.py", line 10, in <module>
     86    #
     87AttributeError: 'module' object has no attribute 'version'
     88}}}
     89
     90I have temporarily restricted mock to <= 1.0.1 in [source:src/allmydata/_auto_deps.py] on master.