[CRIU] Can't start tests

Kirill Tkhai ktkhai at virtuozzo.com
Tue Sep 20 00:53:30 PDT 2016


On 20.09.2016 10:49, Kirill Tkhai wrote:
> On 20.09.2016 10:43, Cyrill Gorcunov wrote:
>> On Tue, Sep 20, 2016 at 09:47:31AM +0300, Kirill Tkhai wrote:
>>> Hello,
>>>
>>> criu tests fail on start:
>>>
>>> root at pro:/home/kirill/criu# ./test/zdtm.py run -a | tee log
>>>
>>> Traceback (most recent call last):
>>>
>>>   File "./test/zdtm.py", line 23, in <module>
>>>
>>>     import criu as crpc
>>>
>>>   File "/home/kirill/criu/test/criu.py", line 12, in <module>
>>>
>>>     import rpc
>>>
>>>   File "/home/kirill/criu/test/rpc.py", line 36, in <module>
>>>
>>>     type=None),
>>>
>>>   File "/usr/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 652, in __new__
>>>
>>>     _message.Message._CheckCalledFromGeneratedFile()
>>>
>>> TypeError: Descriptors should not be created directly, but only retrieved from their parent.
>>>
>>> Do anybody have a deal with that?
>>
>> Seems you're the first one. Mind to check if you have several versions of protobuf installed at once?
>> https://github.com/ethereon/caffe-tensorflow/issues/10
>>
> 
> No, it's only v3.0:
> 
> root at pro:/home/kirill/criu# dpkg -l | grep protobuf
> ii  libprotobuf-dev:amd64                 3.0.0-7                              amd64        protocol buffers C++ library (development files)
> ii  libprotobuf-lite10:amd64              3.0.0-7                              amd64        protocol buffers C++ library (lite version)
> ii  libprotobuf10:amd64                   3.0.0-7                              amd64        protocol buffers C++ library
> ii  protobuf-compiler                     3.0.0-7                              amd64        compiler for protocol buffer definition files
> ii  python-protobuf                       3.0.0-7                              amd64        Python bindings for protocol buffers
> 

Though, there is really v2.0 too. Ignore above comment


More information about the CRIU mailing list