• Bug#1096225: ola: FTBFS: AssertionError: datetime.timedelta(microsecond

    From Lucas Nussbaum@21:1/5 to All on Mon Feb 17 17:50:02 2025
    Source: ola
    Version: 0.10.9.nojsmin-7
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: [email protected]
    Usertags: ftbfs-20250215 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    make[5]: Entering directory '/build/reproducible-path/ola-0.10.9.nojsmin' PASS: common/base/FlagsTester
    PASS: common/io/DescriptorTester
    PASS: common/export_map/ExportMapTester
    PASS: common/base/LoggingTester
    PASS: common/base/CredentialsTester
    PASS: common/io/IOQueueTester
    PASS: common/dmx/RunLengthEncoderTester
    PASS: common/file/UtilTester
    PASS: common/io/StreamTester
    PASS: common/io/MemoryBlockTester
    PASS: common/messaging/DescriptorTester
    PASS: common/io/TimeoutManagerTester
    PASS: common/io/IOStackTester
    PASS: common/network/NetworkTester
    PASS: common/rdm/RDMAPITester
    PASS: common/rdm/QueueingRDMControllerTester
    PASS: common/rdm/PidStoreTester
    PASS: common/rdm/DiscoveryAgentTester
    PASS: common/rdm/RDMCommandSerializerTester
    PASS: common/rdm/RDMCommandTester
    PASS: common/rdm/RDMFrameTester
    PASS: common/rdm/RDMHelperTester
    PASS: common/rdm/RDMReplyTester
    PASS: common/rdm/RDMMessageTester
    PASS: common/rdm/UIDAllocatorTester
    PASS: common/rdm/UIDTester
    PASS: common/rpc/RpcTester
    PASS: common/rpc/RpcServerTester
    PASS: common/strings/UtilsTester
    PASS: common/thread/ThreadTester
    PASS: common/thread/ExecutorThreadTester
    PASS: common/thread/FutureTester
    PASS: common/timecode/TimeCodeTester
    PASS: common/web/JsonTester
    PASS: common/web/ParserTester
    PASS: common/web/PtchTester
    PASS: common/web/PtchParserTester
    PASS: common/web/PointerTester
    PASS: common/web/PointerTrackerTester
    PASS: common/web/SchemaParserTester
    PASS: common/web/SchemaTester
    PASS: common/web/SectionsTester
    PASS: libs/acn/E133Tester
    PASS: libs/acn/E131Tester
    PASS: data/rdm/PidDataTester
    PASS: libs/acn/TransportTester
    PASS: libs/usb/LibUsbThreadTester
    PASS: olad/plugin_api/ClientTester
    PASS: olad/plugin_api/DeviceTester
    PASS: ola/OlaClientTester
    PASS: olad/plugin_api/DmxSourceTester
    PASS: olad/plugin_api/PortTester
    PASS: olad/plugin_api/PreferencesTester
    PASS: plugins/artnet/ArtNetTester
    PASS: olad/plugin_api/UniverseTester
    PASS: plugins/dummy/DummyPluginTester
    PASS: plugins/espnet/EspNetTester
    PASS: plugins/kinet/KiNetTester
    PASS: plugins/openpixelcontrol/OPCClientTester
    PASS: plugins/openpixelcontrol/OPCServerTester
    PASS: plugins/osc/OSCTester
    PASS: plugins/shownet/ShowNetTester
    PASS: plugins/spi/SPITester
    PASS: plugins/usbpro/ArduinoWidgetTester
    PASS: plugins/usbpro/BaseRobeWidgetTester
    PASS: plugins/usbpro/BaseUsbProWidgetTester
    PASS: plugins/usbpro/DmxterWidgetTester
    PASS: plugins/usbpro/RobeWidgetDetectorTester
    PASS: plugins/usbpro/RobeWidgetTester
    PASS: plugins/usbpro/UltraDMXProWidgetTester
    PASS: common/network/TCPConnectorTester
    PASS: olad/OlaTester
    PASS: tools/ola_trigger/ActionTester
    echo "PYTHONPATH=./python PIDDATA=./data/rdm /usr/bin/python3 ./data/rdm/PidDataTest.py; exit \$?" > data/rdm/PidDataTest.sh
    chmod +x data/rdm/PidDataTest.sh
    echo "for FILE in ./examples/testdata/dos_line_endings ./examples/testdata/multiple_unis ./examples/testdata/partial_frames ./examples/testdata/single_uni ./examples/testdata/trailing_timeout; do echo \"Checking \$FILE\"; ./examples/ola_recorder --
    verify \$FILE; STATUS=\$?; if [ \$STATUS -ne 0 ]; then echo \"FAIL: \$FILE caused ola_recorder to exit with status \$STATUS\"; exit \$STATUS; fi; done; exit 0" > examples/RecorderVerifyTest.sh
    chmod +x examples/RecorderVerifyTest.sh
    mkdir -p ./python/ola/rpc
    echo "PYTHONPATH=./python /usr/bin/python3 ./python/ola/rpc/SimpleRpcControllerTest.py; exit \$?" > ./python/ola/rpc/SimpleRpcControllerTest.sh
    chmod +x ./python/ola/rpc/SimpleRpcControllerTest.sh
    PASS: plugins/usbpro/UsbProWidgetDetectorTester
    mkdir -p ./python/ola
    echo "PYTHONPATH=./python /usr/bin/python3 ./python/ola/ClientWrapperTest.py; exit \$?" > ./python/ola/ClientWrapperTest.sh
    chmod +x ./python/ola/ClientWrapperTest.sh
    PASS: plugins/usbpro/EnttecUsbProWidgetTester
    mkdir -p ./python/ola
    echo "PYTHONPATH=./python /usr/bin/python3 ./python/ola/OlaClientTest.py; exit \$?" > ./python/ola/OlaClientTest.sh
    chmod +x ./python/ola/OlaClientTest.sh
    mkdir -p ./python/ola
    echo "PYTHONPATH=./python TESTDATADIR=./common/rdm/testdata /usr/bin/python3 ./python/ola/PidStoreTest.py; exit \$?" > ./python/ola/PidStoreTest.sh
    chmod +x ./python/ola/PidStoreTest.sh
    mkdir -p ./python/ola
    echo "PYTHONPATH=./python PIDSTOREDIR=./data/rdm /usr/bin/python3 ./python/ola/RDMTest.py; exit \$?" > ./python/ola/RDMTest.sh
    chmod +x ./python/ola/RDMTest.sh
    PASS: python/ola/DUBDecoderTest.py
    PASS: python/ola/MACAddressTest.py
    mkdir -p ./python
    echo "/usr/bin/python3 -m compileall data include python scripts tools; exit \$?" > ./python/PyCompileTest.sh
    chmod +x ./python/PyCompileTest.sh
    echo "for FILE in ./tools/ola_trigger/example.conf ./tools/ola_trigger/test_file.conf ./tools/ola_trigger/test_file_falling.conf ./tools/ola_trigger/test_file_rising.conf ./tools/ola_trigger/contrib/mac_volume.conf ./tools/ola_trigger/contrib/mac_
    itunes.conf ./tools/ola_trigger/contrib/philips_hue_osram_lightify.conf; do echo \"Checking \$FILE\"; ./tools/ola_trigger/ola_trigger --validate \$FILE; STATUS=\$?; if [ \$STATUS -ne 0 ]; then echo \"FAIL: \$FILE caused ola_trigger to exit with status \$
    STATUS\"; exit \$STATUS; fi; done; exit 0" > ./tools/ola_trigger/FileValidateTest.sh
    chmod +x ./tools/ola_trigger/FileValidateTest.sh
    mkdir -p ./python/ola
    PASS: python/ola/StringUtilsTest.py
    mkdir -p ./python/ola/testing
    echo "PYTHONPATH=./python /usr/bin/python3 ./tools/rdm/ExpectedResultsTest.py; exit \$?" > ./tools/rdm/ExpectedResultsTest.sh
    chmod +x ./tools/rdm/ExpectedResultsTest.sh
    touch ./python/ola/testing/__init__.py
    mkdir -p ./python/ola
    ln -s -f ../../../tools/rdm ./python/ola/testing/rdm
    echo "PYTHONPATH=./python /usr/bin/python3 ./tools/rdm/TestHelpersTest.py; exit \$?" > ./tools/rdm/TestHelpersTest.sh
    echo "PYTHONPATH=./python /usr/bin/python3 ./tools/rdm/ResponderTestTest.py; exit \$?" > ./tools/rdm/ResponderTestTest.sh
    chmod +x ./tools/rdm/TestHelpersTest.sh
    chmod +x ./tools/rdm/ResponderTestTest.sh
    mkdir -p ./python/ola/testing
    mkdir -p ./python/ola
    touch ./python/ola/testing/__init__.py
    echo "PYTHONPATH=./python /usr/bin/python3 ./tools/rdm/TestStateTest.py; exit \$?" > ./tools/rdm/TestStateTest.sh
    chmod +x ./tools/rdm/TestStateTest.sh
    ln -s -f ../../../tools/rdm ./python/ola/testing/rdm
    echo "PYTHONPATH=./python /usr/bin/python3 ./tools/rdm/TestRunnerTest.py; exit \$?" > ./tools/rdm/TestRunnerTest.sh
    chmod +x ./tools/rdm/TestRunnerTest.sh
    PASS: python/ola/UIDTest.py
    PASS: plugins/usbpro/WidgetDetectorThreadTester
    PASS: examples/RecorderVerifyTest.sh
    PASS: python/ola/rpc/SimpleRpcControllerTest.sh
    PASS: python/ola/OlaClientTest.sh
    FAIL: python/ola/ClientWrapperTest.sh
    PASS: data/rdm/PidDataTest.sh
    PASS: tools/ola_trigger/FileValidateTest.sh
    PASS: python/PyCompileTest.sh
    PASS: python/ola/PidStoreTest.sh
    PASS: tools/rdm/ExpectedResultsTest.sh
    PASS: python/ola/RDMTest.sh
    PASS: common/network/HealthCheckedConnectionTester
    PASS: tools/rdm/TestHelpersTest.sh
    PASS: tools/rdm/TestStateTest.sh
    PASS: tools/rdm/ResponderTestTest.sh
    PASS: tools/rdm/TestRunnerTest.sh
    PASS: common/io/SelectServerTester
    PASS: plugins/usbpro/DmxTriWidgetTester
    PASS: common/utils/UtilsTester
    ==================================
    OLA 0.10.9: ./test-suite.log
    ==================================

    # TOTAL: 98
    # PASS: 97
    # SKIP: 0
    # XFAIL: 0
    # FAIL: 1
    # XPASS: 0
    # ERROR: 0

    System information (uname -a): Linux 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64
    Distribution information (/etc/os-release):
    PRETTY_NAME="Debian GNU/Linux trixie/sid"
    NAME="Debian GNU/Linux"
    VERSION_CODENAME=trixie
    ID=debian
    HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

    .. contents:: :depth: 2

    FAIL: python/ola/ClientWrapperTest.sh
    =====================================

    ...F..
    ======================================================================
    FAIL: testEventLoop (__main__.ClientWrapperTest.testEventLoop) ---------------------------------------------------------------------- Traceback (most recent call last):
    File "/build/reproducible-path/ola-0.10.9.nojsmin/./python/ola/ClientWrapperTest.py", line 204, in testEventLoop
    self.assertAlmostEqual(c_diff, datetime.timedelta(milliseconds=10),
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    delta=datetime.timedelta(microseconds=750))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: datetime.timedelta(microseconds=16680) != datetime.timedelta(microseconds=10000) within datetime.timedelta(microseconds=750) delta (datetime.timedelta(microseconds=6680) difference)

    ----------------------------------------------------------------------
    Ran 6 tests in 0.019s

    FAILED (failures=1)
    FAIL python/ola/ClientWrapperTest.sh (exit status: 1)

    ============================================================================ Testsuite summary for OLA 0.10.9 ============================================================================ # TOTAL: 98
    # PASS: 97
    # SKIP: 0
    # XFAIL: 0
    # FAIL: 1
    # XPASS: 0
    # ERROR: 0 ============================================================================ See ./test-suite.log for debugging.
    Some test(s) failed. Please report this to [email protected], together with the test-suite.log file (gzipped) and your system
    information. Thanks. ============================================================================ make[5]: *** [Makefile:16394: test-suite.log] Error 1
    make[5]: Leaving directory '/build/reproducible-path/ola-0.10.9.nojsmin' make[4]: *** [Makefile:16529: check-TESTS] Error 2
    make[4]: Leaving directory '/build/reproducible-path/ola-0.10.9.nojsmin' make[3]: *** [Makefile:17416: check-am] Error 2
    make[3]: Leaving directory '/build/reproducible-path/ola-0.10.9.nojsmin' make[2]: *** [Makefile:16280: check-recursive] Error 1
    make[2]: Leaving directory '/build/reproducible-path/ola-0.10.9.nojsmin' make[1]: *** [Makefile:17419: check] Error 2
    make[1]: Leaving directory '/build/reproducible-path/ola-0.10.9.nojsmin' dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2


    The full build log is available from: http://qa-logs.debian.net/2025/02/15/ola_0.10.9.nojsmin-7_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250215;[email protected]
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250215&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Apr 2 18:30:01 2025
    Processing control commands:

    tags 1096225 + patch
    Bug #1096225 [src:ola] ola: FTBFS: AssertionError: datetime.timedelta(microseconds=16680) != datetime.timedelta(microseconds=10000) within datetime.timedelta(microseconds=750) delta (datetime.timedelta(microseconds=6680) difference)
    Added tag(s) patch.
    tags 1096225 + pending
    Bug #1096225 [src:ola] ola: FTBFS: AssertionError: datetime.timedelta(microseconds=16680) != datetime.timedelta(microseconds=10000) within datetime.timedelta(microseconds=750) delta (datetime.timedelta(microseconds=6680) difference)
    Added tag(s) pending.

    --
    1096225: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096225
    Debian Bug Tracking System
    Contact [email protected] with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Apr 9 12:30:01 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 09 Apr 2025 10:24:16 +0000
    with message-id <[email protected]>
    and subject line Bug#1096225: fixed in ola 0.10.9.nojsmin-7.1
    has caused the Debian Bug report #1096225,
    regarding ola: FTBFS: AssertionError: datetime.timedelta(microseconds=16680) != datetime.timedelta(microseconds=10000) within datetime.timedelta(microseconds=750) delta (datetime.timedelta(microseconds=6680) difference)
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1096225: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096225
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 17 Feb 2025 16:44:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    FROMDEVELOPER,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 331; hammy, 150; neutral, 298; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <[email protected]>
    Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:1