• Bug#1103117: golang-mongodb-mongo-driver: FTBFS in testing/i386: dh_aut

    From Reinhard Tartler@21:1/5 to Lucas Nussbaum on Mon Apr 28 15:40:01 2025
    Hi Lucas, thanks for this report.

    I took a look and it seems to me that the failure happens when running
    the testsuite, and seems to be scoped to 32bit architectures such as armhf or i386.

    The relevant test code appears to be here: https://sources.debian.org/src/golang-mongodb-mongo-driver/1.17.1+ds1-1/bson/primitive/decimal_test.go/?hl=118#L135-L173

    It is not obvious to me whether this is a problem with the test code or
    with the code under test. If it is the test code, then disabling lines
    151 and 154 in the file above could be considered.

    Guillem, do you have a way to contact upstream to clarify? It seems they disabled github issues in favor of a JIRA installation.


    Best,
    -rt


    Lucas Nussbaum <lucas@debian.org> writes:

    Source: golang-mongodb-mongo-driver
    Version: 1.17.1+ds1-1
    Severity: serious
    Justification: FTBFS
    Relevant part (hopefully):
    [...]
    === RUN TestParseDecimal128/#00
    --- FAIL: TestParseDecimal128 (0.00s)
    --- PASS: TestParseDecimal128/12345 (0.00s)
    --- PASS: TestParseDecimal128/-12345 (0.00s)
    --- PASS: TestParseDecimal128/90123456.789012 (0.00s)
    --- PASS: TestParseDecimal128/-90123456.789012 (0.00s)
    --- PASS: TestParseDecimal128/9.0123456789012E+22 (0.00s)
    --- PASS: TestParseDecimal128/-9.0123456789012E+22 (0.00s)
    --- PASS: TestParseDecimal128/9.0123456789012E-8 (0.00s)
    --- PASS: TestParseDecimal128/-9.0123456789012E-8 (0.00s)
    --- PASS: TestParseDecimal128/9999999999999999999999999999999999 (0.00s) >> --- PASS: TestParseDecimal128/-9999999999999999999999999999999999 (0.00s)
    --- PASS: TestParseDecimal128/0.9999999999999999999999999999999999 (0.00s)
    --- PASS: TestParseDecimal128/-0.9999999999999999999999999999999999 (0.00s)
    --- PASS: TestParseDecimal128/99999999999999999.99999999999999999 (0.00s)
    --- PASS: TestParseDecimal128/-99999999999999999.99999999999999999 (0.00s)
    --- PASS: TestParseDecimal128/9.999999999999999999999999999999999E+35 (0.00s)
    --- PASS: TestParseDecimal128/-9.999999999999999999999999999999999E+35 (0.00s)
    --- PASS: TestParseDecimal128/9.999999999999999999999999999999999E+40 (0.00s)
    --- PASS: TestParseDecimal128/-9.999999999999999999999999999999999E+40 (0.00s)
    --- PASS: TestParseDecimal128/99999999999999999999999999999.99999 (0.00s)
    --- PASS: TestParseDecimal128/-99999999999999999999999999999.99999 (0.00s)
    --- PASS: TestParseDecimal128/1.038459371706965525706099265844019E-6143 (0.00s)
    --- PASS: TestParseDecimal128/-1.038459371706965525706099265844019E-6143 (0.00s)
    --- PASS: TestParseDecimal128/rounding_overflow_1 (0.00s)
    --- PASS: TestParseDecimal128/rounding_overflow_2 (0.00s)
    --- PASS: TestParseDecimal128/subnormal_overflow_1 (0.00s)
    --- PASS: TestParseDecimal128/subnormal_overflow_2 (0.00s)
    --- PASS: TestParseDecimal128/clamped_overflow_1 (0.00s)
    --- PASS: TestParseDecimal128/clamped_overflow_2 (0.00s)
    --- PASS: TestParseDecimal128/biMaxS+1_overflow (0.00s)
    --- PASS: TestParseDecimal128/biNMaxS-1_overflow (0.00s)
    --- PASS: TestParseDecimal128/NaN (0.00s)
    --- PASS: TestParseDecimal128/Infinity (0.00s)
    --- PASS: TestParseDecimal128/-Infinity (0.00s)
    --- PASS: TestParseDecimal128/-0001231.453454000000565600000000E-21 (0.00s)
    --- PASS: TestParseDecimal128/12345E+21 (0.00s)
    --- PASS: TestParseDecimal128/0.10000000000000000000000000000000000000000001 (0.00s)
    --- PASS: TestParseDecimal128/.125e1 (0.00s)
    --- PASS: TestParseDecimal128/.125 (0.00s)
    --- PASS: TestParseDecimal128/-0 (0.00s)
    --- PASS: TestParseDecimal128/-0E999 (0.00s)
    --- FAIL: TestParseDecimal128/0E2000000000000 (0.00s)
    --- FAIL: TestParseDecimal128/-0E2000000000000 (0.00s)
    --- PASS: TestParseDecimal128/#00 (0.00s)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)