Summary: | dev-python/protobuf-python-3.19.3-r3 fails tests on stable arm (AssertionError: 4294967295 != -1) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | cjk, matoro_gentoo, sam |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=875584 https://github.com/protocolbuffers/protobuf/issues/10950 https://github.com/protocolbuffers/protobuf/issues/11451 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 857348, 875329, 879971, 923809 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2022-07-11 08:14:38 UTC
Created attachment 790976 [details]
build.log
build log and emerge --info
I get the same on stable x86, so I suppose something with 32bit With 21.9 on x86: ``` ====================================================================== FAIL: testNonStandardSingleScalarBoundsChecking_proto2 (google.protobuf.internal.reflection_test.ReflectionTest) testNonStandardSingleScalarBoundsChecking_proto2(<module 'google.protobuf.unittest_pb2' from '/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/unittest_pb2.py'>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/_parameterized.py", line 229, in BoundParamTest test_method(self, *testcase_params) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 473, in testNonStandardSingleScalarBoundsChecking self.assetIntegerBoundsChecking( File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 456, in assetIntegerBoundsChecking TestMinAndMaxIntegers('optional_uint32', 0, 0xffffffff) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 449, in TestMinAndMaxIntegers self.assertEqual(expected_max, getattr(pb, field_name)) AssertionError: NonStandardInteger(4294967295) != -1 ====================================================================== FAIL: testNonStandardSingleScalarBoundsChecking_proto3 (google.protobuf.internal.reflection_test.ReflectionTest) testNonStandardSingleScalarBoundsChecking_proto3(<module 'google.protobuf.unittest_proto3_arena_pb2' from '/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/unittest_proto3_arena_pb2.py'>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/_parameterized.py", line 229, in BoundParamTest test_method(self, *testcase_params) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 473, in testNonStandardSingleScalarBoundsChecking self.assetIntegerBoundsChecking( File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 456, in assetIntegerBoundsChecking TestMinAndMaxIntegers('optional_uint32', 0, 0xffffffff) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 449, in TestMinAndMaxIntegers self.assertEqual(expected_max, getattr(pb, field_name)) AssertionError: NonStandardInteger(4294967295) != -1 ====================================================================== FAIL: testSingleScalarBoundsChecking_proto2 (google.protobuf.internal.reflection_test.ReflectionTest) testSingleScalarBoundsChecking_proto2(<module 'google.protobuf.unittest_pb2' from '/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/unittest_pb2.py'>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/_parameterized.py", line 229, in BoundParamTest test_method(self, *testcase_params) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 470, in testSingleScalarBoundsChecking self.assetIntegerBoundsChecking(lambda x: x, message_module) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 456, in assetIntegerBoundsChecking TestMinAndMaxIntegers('optional_uint32', 0, 0xffffffff) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 449, in TestMinAndMaxIntegers self.assertEqual(expected_max, getattr(pb, field_name)) AssertionError: 4294967295 != -1 ====================================================================== FAIL: testSingleScalarBoundsChecking_proto3 (google.protobuf.internal.reflection_test.ReflectionTest) testSingleScalarBoundsChecking_proto3(<module 'google.protobuf.unittest_proto3_arena_pb2' from '/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/unittest_proto3_arena_pb2.py'>) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/_parameterized.py", line 229, in BoundParamTest test_method(self, *testcase_params) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 470, in testSingleScalarBoundsChecking self.assetIntegerBoundsChecking(lambda x: x, message_module) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 456, in assetIntegerBoundsChecking TestMinAndMaxIntegers('optional_uint32', 0, 0xffffffff) File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/reflection_test.py", line 449, in TestMinAndMaxIntegers self.assertEqual(expected_max, getattr(pb, field_name)) AssertionError: 4294967295 != -1 ====================================================================== FAIL: testAllFieldsToJson (google.protobuf.internal.json_format_test.JsonFormatTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/json_format_test.py", line 152, in testAllFieldsToJson self.assertEqual( AssertionError: {'boolValue': True, 'int32Value': 20, 'int6[733 chars]11}]} != {'int32Value': 20, 'int64Value': '-20', 'ui[730 chars]AR']} Diff is 997 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: testDifferentCustomOptionTypes (google.protobuf.internal.descriptor_test.DescriptorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/descriptor_test.py", line 272, in testDifferentCustomOptionTypes self.assertEqual(kuint32max, message_options.Extensions[ AssertionError: 4294967295 != -1 ====================================================================== FAIL: testDifferentCustomOptionTypes (google.protobuf.internal.descriptor_test.NewDescriptorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/protobuf-python-4.21.9/work/protobuf-21.9/python/google/protobuf/internal/descriptor_test.py", line 272, in testDifferentCustomOptionTypes self.assertEqual(kuint32max, message_options.Extensions[ AssertionError: 4294967295 != -1 ---------------------------------------------------------------------- Ran 911 tests in 6.100s FAILED (failures=7, skipped=7) Test failed: <unittest.runner.TextTestResult run=911 errors=0 failures=7> error: Test failed: <unittest.runner.TextTestResult run=911 errors=0 failures=7> ``` I'm not sure what we should do about this. I imagine there's a lot of reverse dependencies on 32-bit arches so we probably need to try fix it upstream :( |