[llvm-commits] [zorg] r169804 - /zorg/trunk/zorg/buildbot/Artifacts.py

Galina Kistanova gkistanova at gmail.com
Tue Dec 11 12:06:58 PST 2012


Hi David,

It's still not fixed.
Please see the traceback below.

Thanks

Galina


Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/scripts/checkconfig.py",
line 37, in loadcfg
    checkOnly=True)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/master.py",
line 579, in loadConfig
    d.addCallback(do_load)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
line 298, in addCallback
    callbackKeywords=kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
line 287, in addCallbacks
    self._runCallbacks()
--- <exception caught here> ---
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
line 545, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/master.py",
line 226, in do_load
    exec f in localDict
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/master.cfg", line 17,
in <module>
    import config
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/config/__init__.py",
line 1, in <module>
    import builders
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/config/builders.py",
line 1, in <module>
    from zorg.buildbot.builders import ClangBuilder
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/zorg/buildbot/builders/ClangBuilder.py",
line 10, in <module>
    from zorg.buildbot.Artifacts import GetCompilerArtifacts, uploadArtifacts
  File "/Volumes/Macintosh
HD2/llvm.buildmaster/zorg/zorg/buildbot/Artifacts.py", line 26, in
<module>
    warning('Please update your local.cfg file')
exceptions.NameError: name 'warning' is not defined





On Tue, Dec 11, 2012 at 9:10 AM, David Dean <david_dean at apple.com> wrote:
> Should be fixed in r169884.
>
> On 10 Dec 2012, at 7:19 PM, Galina Kistanova <gkistanova at gmail.com> wrote:
>
>> Hello David,
>>
>> This breaks buildmaster. Please see the the traceback below.
>>
>> This is a blocking issue for a pending new MIPS buildslave.
>>
>> Thanks
>>
>> Galina
>>
>>
>>
>> Traceback (most recent call last):
>>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/scripts/checkconfig.py",
>> line 37, in loadcfg
>>    checkOnly=True)
>>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/master.py",
>> line 579, in loadConfig
>>    d.addCallback(do_load)
>>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
>> line 298, in addCallback
>>    callbackKeywords=kw)
>>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
>> line 287, in addCallbacks
>>    self._runCallbacks()
>> --- <exception caught here> ---
>>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py",
>> line 545, in _runCallbacks
>>    current.result = callback(current.result, *args, **kw)
>>  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/buildbot/master.py",
>> line 226, in do_load
>>    exec f in localDict
>>  File "/Volumes/Macintosh
>> HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/master.cfg", line 17,
>> in <module>
>>    import config
>>  File "/Volumes/Macintosh
>> HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/config/__init__.py",
>> line 1, in <module>
>>    import builders
>>  File "/Volumes/Macintosh
>> HD2/llvm.buildmaster/zorg/buildbot/osuosl/master/config/builders.py",
>> line 1, in <module>
>>    from zorg.buildbot.builders import ClangBuilder
>>  File "/Volumes/Macintosh
>> HD2/llvm.buildmaster/zorg/zorg/buildbot/builders/ClangBuilder.py",
>> line 10, in <module>
>>    from zorg.buildbot.Artifacts import GetCompilerArtifacts, uploadArtifacts
>>  File "/Volumes/Macintosh
>> HD2/llvm.buildmaster/zorg/zorg/buildbot/Artifacts.py", line 8, in
>> <module>
>>    is_production = config.options.get('Master Options', 'is_production')
>> exceptions.AttributeError: 'module' object has no attribute 'options'
>>
>>
>>
>> On Mon, Dec 10, 2012 at 4:55 PM, David Dean <david_dean at apple.com> wrote:
>>> Author: ddean
>>> Date: Mon Dec 10 18:55:50 2012
>>> New Revision: 169804
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=169804&view=rev
>>> Log:
>>> Rename cofig file option from protocol to master_protocol
>>>
>>> Modified:
>>>    zorg/trunk/zorg/buildbot/Artifacts.py
>>>
>>> Modified: zorg/trunk/zorg/buildbot/Artifacts.py
>>> URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/Artifacts.py?rev=169804&r1=169803&r2=169804&view=diff
>>> ==============================================================================
>>> --- zorg/trunk/zorg/buildbot/Artifacts.py (original)
>>> +++ zorg/trunk/zorg/buildbot/Artifacts.py Mon Dec 10 18:55:50 2012
>>> @@ -9,7 +9,7 @@
>>> if is_production:
>>>     rsync_user = config.options.get('Master Options', 'rsync_user')
>>>     master_name = config.options.get('Master Options', 'master_name')
>>> -    master_protocol = config.options.get('Master Options', 'protocol')
>>> +    master_protocol = config.options.get('Master Options', 'master_protocol')
>>>
>>>     base_download_url = '%s://%s/artifacts' % (master_protocol, master_name)
>>>     package_url = 'http://smooshlab.apple.com/packages'
>>>
>>>
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> -David
>
>



More information about the llvm-commits mailing list