tzdata 2020d vs syslog-ng tests

Jakub Bogusz qboosh at pld-linux.org
Sun Oct 25 19:30:59 CET 2020


On Sun, Oct 25, 2020 at 06:42:03PM +0100, qboosh wrote:
> commit 2571715fc93df9e82c9e7a06eb9c225e4196b713
> Author: Jakub Bogusz <qboosh at pld-linux.org>
> Date:   Sun Oct 25 18:41:54 2020 +0100
> 
>     - added tests-fixes patch (fixes test_python_ack_tracker test); new 4 tests failing (due to tzdata 2020d or todays DST change?)

It seems the first cause (tzdata 2020d installed on carme), as syslog-ng
built fine on builders.

Either there are some issues in 2020d, or syslog-ng tests need
update(?).
The differences is not just 1h, so the cause aren't probably only DST adustments.


FAIL: lib/rewrite/tests/test_rewrite

  ###########################################################################
  #
  # FAIL: ASSERTION FAILED;  actual_length=25 expected_length=25,
  #  actual=   '1971-01-01T00:00:00+00:00',
  #  expected= '1971-01-01T09:00:00+09:00'
  #
  ###########################################################################

FAIL: lib/timeutils/tests/test_unixtime

[^[[0;34m----^[[0m] ^[[0;1mlib/timeutils/tests/test_unixtime.c^[[0m:^[[0;31m236^[[0m: Assertion failed: The expression ut.ut_sec == 1572760800 - 1 is false.
[^[[0;34m----^[[0m] ^[[0;1mlib/timeutils/tests/test_unixtime.c^[[0m:^[[0;31m304^[[0m: Assertion failed: The expression ut.ut_sec == 1572134400 - 1 is false.
[^[[0;34m----^[[0m] ^[[0;1mlib/timeutils/tests/test_unixtime.c^[[0m:^[[0;31m115^[[0m: Assertion failed: The expression ut.ut_sec == 1552201200 - 1 is false.
[^[[0;34m----^[[0m] ^[[0;1mlib/timeutils/tests/test_unixtime.c^[[0m:^[[0;31m175^[[0m: Assertion failed: The expression ut.ut_sec == 1553994000 - 1 is false.
[^[[0;34m----^[[0m] ^[[0;1mlib/timeutils/tests/test_unixtime.c^[[0m:^[[0;31m380^[[0m: Assertion failed: The expression ut.ut_gmtoff == -5*3600 is false.
[^[[0;34m----^[[0m] ^[[0;1mlib/timeutils/tests/test_unixtime.c^[[0m:^[[0;31m383^[[0m: Assertion failed: The expression ut.ut_gmtoff == -4*3600 is false.
[^[[0;34m----^[[0m] ^[[0;1mlib/timeutils/tests/test_unixtime.c^[[0m:^[[0;31m391^[[0m: Assertion failed: The expression ut.ut_gmtoff == -4*3600 is false.
[^[[0;34m----^[[0m] ^[[0;1mlib/timeutils/tests/test_unixtime.c^[[0m:^[[0;31m395^[[0m: Assertion failed: The expression ut.ut_gmtoff == -5*3600 is false.

FAIL: modules/timestamp/tests/test_date

[^[[0;34m----^[[0m] ^[[0;1mmodules/timestamp/tests/test_date.c^[[0m:^[[0;31m163^[[0m: Assertion failed: incorrect date parsed msg=Tue, 27 Jan 2015 11:48:46 format=%a, %d %b %Y %T, result=2015-01-27T11:48:46+00:00, expected=2015-01-27T11:48:46-07:00

FAIL: tests/unit/test_zone

[^[[0;34m----^[[0m] ^[[0;1mtests/unit/test_zone.c^[[0m:^[[0;31m90^[[0m: Assertion failed: unixtimestamp: 1603647707 TimeZoneName (America/Louisville) localtime
offset(-14400), timezone file offset(0)



-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list