Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError: Extensions "criu" and "criu" both try to extend message type "google.protobuf.FieldOptions" with field number 1018. #495

Closed
avagin opened this issue May 26, 2018 · 2 comments

Comments

@avagin
Copy link
Member

avagin commented May 26, 2018

Traceback (most recent call last):
  File "./test/crit-recode.py", line 3, in <module>
    import py as pycriu
  File "/var/lib/jenkins/workspace/CRIU_CRIU-crit_criu-dev-DBNKUFN2EIV77FCLF3JCP2VBDOBGR7GVBO3FUACODQLMNTD7X6AQ/lib/py/__init__.py", line 3, in <module>
    from .criu import *
  File "/var/lib/jenkins/workspace/CRIU_CRIU-crit_criu-dev-DBNKUFN2EIV77FCLF3JCP2VBDOBGR7GVBO3FUACODQLMNTD7X6AQ/lib/py/criu.py", line 12, in <module>
    import pycriu.rpc_pb2 as rpc
  File "/var/lib/jenkins/workspace/CRIU_CRIU-crit_criu-dev-DBNKUFN2EIV77FCLF3JCP2VBDOBGR7GVBO3FUACODQLMNTD7X6AQ/test/pycriu/__init__.py", line 2, in <module>
    from . import images
  File "/var/lib/jenkins/workspace/CRIU_CRIU-crit_criu-dev-DBNKUFN2EIV77FCLF3JCP2VBDOBGR7GVBO3FUACODQLMNTD7X6AQ/test/pycriu/images/__init__.py", line 4, in <module>
    from .images import *
  File "/var/lib/jenkins/workspace/CRIU_CRIU-crit_criu-dev-DBNKUFN2EIV77FCLF3JCP2VBDOBGR7GVBO3FUACODQLMNTD7X6AQ/test/pycriu/images/images.py", line 46, in <module>
    from . import pb2dict
  File "/var/lib/jenkins/workspace/CRIU_CRIU-crit_criu-dev-DBNKUFN2EIV77FCLF3JCP2VBDOBGR7GVBO3FUACODQLMNTD7X6AQ/test/pycriu/images/pb2dict.py", line 2, in <module>
    import opts_pb2
  File "/var/lib/jenkins/workspace/CRIU_CRIU-crit_criu-dev-DBNKUFN2EIV77FCLF3JCP2VBDOBGR7GVBO3FUACODQLMNTD7X6AQ/test/pycriu/images/opts_pb2.py", line 122, in <module>
    google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(criu)
  File "/usr/lib/python2.7/site-packages/google/protobuf/internal/python_message.py", line 751, in RegisterExtension
    cls.DESCRIPTOR.file.pool.AddExtensionDescriptor(extension_handle)
  File "/usr/lib/python2.7/site-packages/google/protobuf/descriptor_pool.py", line 232, in AddExtensionDescriptor
    extension.containing_type.full_name, extension.number))
AssertionError: Extensions "criu" and "criu" both try to extend message type "google.protobuf.FieldOptions" with field number 1018.

Cc: @adrianreber

@avagin
Copy link
Member Author

avagin commented May 26, 2018

avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
avagin added a commit to avagin/criu that referenced this issue May 30, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495
criupatchwork pushed a commit to criupatchwork/criu that referenced this issue May 30, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
criupatchwork pushed a commit to criupatchwork/criu that referenced this issue May 30, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jun 1, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
avagin added a commit to avagin/criu that referenced this issue Jun 1, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495
avagin added a commit to avagin/criu that referenced this issue Jun 1, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
avagin added a commit to avagin/criu that referenced this issue Jun 1, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495

v2: drop FD_CLOEXEC for swrk descriptors
criupatchwork pushed a commit to criupatchwork/criu that referenced this issue Jun 1, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
criupatchwork pushed a commit to criupatchwork/criu that referenced this issue Jun 1, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495

v2: drop FD_CLOEXEC for swrk descriptors
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit that referenced this issue Jun 8, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit that referenced this issue Jun 8, 2018
All these issues was found by running test/crit-recode.py

#495

v2: drop FD_CLOEXEC for swrk descriptors
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jul 4, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jul 4, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495

v2: drop FD_CLOEXEC for swrk descriptors
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jul 6, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jul 6, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495

v2: drop FD_CLOEXEC for swrk descriptors
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jul 6, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jul 6, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495

v2: drop FD_CLOEXEC for swrk descriptors
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jul 6, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

checkpoint-restore#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
avagin added a commit to avagin/criu that referenced this issue Jul 6, 2018
All these issues was found by running test/crit-recode.py

checkpoint-restore#495

v2: drop FD_CLOEXEC for swrk descriptors
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
xemul pushed a commit that referenced this issue Jul 9, 2018
Otherwise one library will be imported twice by two different names: py
and pycriu, because pycriu is used in the library.

#495
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
xemul pushed a commit that referenced this issue Jul 9, 2018
All these issues was found by running test/crit-recode.py

#495

v2: drop FD_CLOEXEC for swrk descriptors
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants