Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857570 - dev-python/protobuf-python-3.19.3-r3 fails tests on stable arm (AssertionError: 4294967295 != -1)
Summary: dev-python/protobuf-python-3.19.3-r3 fails tests on stable arm (AssertionErro...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 923809 857348 875329 879971
  Show dependency tree
 
Reported: 2022-07-11 08:14 UTC by Agostino Sarubbo
Modified: 2024-02-21 02:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,256.61 KB, text/plain)
2022-07-11 08:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-11 08:14:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/protobuf-python-3.19.3-r3 fails tests on stable arm.
Discovered on: arm (internal ref: arm_at)
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-11 08:14:40 UTC
Created attachment 790976 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-11 08:17:43 UTC
I get the same on stable x86, so I suppose something with 32bit
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-04 06:07:09 UTC
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>
```
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-21 02:18:18 UTC
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 :(