We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In #9949, an issue with the failing icinga_legacytimeperiod/dst test on musl libc was raised. This issue seems to exist for quite some time, as seen in the exclusion patch for the Alpine Linux downstream package build.
icinga_legacytimeperiod/dst
When running the tests, this is the only failing one.
147/176 Test #147: base-icinga_legacytimeperiod/dst ........................................***Failed 0.01 sec Running 1 test case... /icinga2/test/icinga-legacytimeperiod.cpp(805): error: in "icinga_legacytimeperiod/dst": FindRunningSegment(day='2021-03-14' ra nges='01:30-02:30' ref='2021-03-14 01:59:59 '): got=none expected=(2021-03-14 01:30:00 PST (1615714200) .. 2021-03-14 03:30:00 PDT (1615717800)) /icinga2/test/icinga-legacytimeperiod.cpp(824): error: in "icinga_legacytimeperiod/dst": FindNextSegment(day='2021-03-14' range s='01:30-02:30' ref='2021-03-14 01:00:00 '): got=none expected=(2021-03-14 01:30:00 PST (1615714200) .. 2021-03-14 03:30:00 PDT (1615717800)) /icinga2/test/icinga-legacytimeperiod.cpp(805): error: in "icinga_legacytimeperiod/dst": FindRunningSegment(day='2021-03-14' ra nges='02:30-03:30' ref='2021-03-14 03:00:00 '): got=(2021-03-14 01:30:00 PST (1615714200) .. 2021-03-14 03:30:00 PDT (161571780 0)) expected=none /icinga2/test/icinga-legacytimeperiod.cpp(824): error: in "icinga_legacytimeperiod/dst": FindNextSegment(day='2021-03-14' range s='02:30-03:30' ref='2021-03-14 01:00:00 '): got=(2021-03-14 01:30:00 PST (1615714200) .. 2021-03-14 03:30:00 PDT (1615717800)) expected=none /icinga2/test/icinga-legacytimeperiod.cpp(805): error: in "icinga_legacytimeperiod/dst": FindRunningSegment(day='2021-03-14' ra nges='02:15-03:45' ref='2021-03-14 03:30:00 '): got=(2021-03-14 01:15:00 PST (1615713300) .. 2021-03-14 03:45:00 PDT (161571870 0)) expected=(2021-03-14 03:15:00 PDT (1615716900) .. 2021-03-14 03:45:00 PDT (1615718700)) /icinga2/test/icinga-legacytimeperiod.cpp(824): error: in "icinga_legacytimeperiod/dst": FindNextSegment(day='2021-03-14' range s='02:15-03:45' ref='2021-03-14 01:00:00 '): got=(2021-03-14 01:15:00 PST (1615713300) .. 2021-03-14 03:45:00 PDT (1615718700)) expected=(2021-03-14 03:15:00 PDT (1615716900) .. 2021-03-14 03:45:00 PDT (1615718700)) /icinga2/test/icinga-legacytimeperiod.cpp(805): error: in "icinga_legacytimeperiod/dst": FindRunningSegment(day='sunday' ranges ='02:15-03:45' ref='2021-03-14 03:30:00 '): got=(2021-03-14 01:15:00 PST (1615713300) .. 2021-03-14 03:45:00 PDT (1615718700)) expected=(2021-03-14 03:15:00 PDT (1615716900) .. 2021-03-14 03:45:00 PDT (1615718700)) /icinga2/test/icinga-legacytimeperiod.cpp(824): error: in "icinga_legacytimeperiod/dst": FindNextSegment(day='sunday' ranges='0 2:15-03:45' ref='2021-03-14 01:00:00 '): got=(2021-03-14 01:15:00 PST (1615713300) .. 2021-03-14 03:45:00 PDT (1615718700)) exp ected=(2021-03-14 03:15:00 PDT (1615716900) .. 2021-03-14 03:45:00 PDT (1615718700)) /icinga2/test/icinga-legacytimeperiod.cpp(805): error: in "icinga_legacytimeperiod/dst": FindRunningSegment(day='sunday 2' rang es='02:15-03:45' ref='2021-03-14 03:30:00 '): got=(2021-03-14 01:15:00 PST (1615713300) .. 2021-03-14 03:45:00 PDT (1615718700) ) expected=(2021-03-14 03:15:00 PDT (1615716900) .. 2021-03-14 03:45:00 PDT (1615718700)) /icinga2/test/icinga-legacytimeperiod.cpp(824): error: in "icinga_legacytimeperiod/dst": FindNextSegment(day='sunday 2' ranges= '02:15-03:45' ref='2021-03-14 01:00:00 '): got=(2021-03-14 01:15:00 PST (1615713300) .. 2021-03-14 03:45:00 PDT (1615718700)) e xpected=(2021-03-14 03:15:00 PDT (1615716900) .. 2021-03-14 03:45:00 PDT (1615718700)) /icinga2/test/icinga-legacytimeperiod.cpp(805): error: in "icinga_legacytimeperiod/dst": FindRunningSegment(day='sunday -3' ran ges='02:15-03:45' ref='2021-03-14 03:30:00 '): got=(2021-03-14 01:15:00 PST (1615713300) .. 2021-03-14 03:45:00 PDT (1615718700 )) expected=(2021-03-14 03:15:00 PDT (1615716900) .. 2021-03-14 03:45:00 PDT (1615718700)) /icinga2/test/icinga-legacytimeperiod.cpp(824): error: in "icinga_legacytimeperiod/dst": FindNextSegment(day='sunday -3' ranges ='02:15-03:45' ref='2021-03-14 01:00:00 '): got=(2021-03-14 01:15:00 PST (1615713300) .. 2021-03-14 03:45:00 PDT (1615718700)) expected=(2021-03-14 03:15:00 PDT (1615716900) .. 2021-03-14 03:45:00 PDT (1615718700)) *** 12 failures are detected in the test module "icinga2"
Build and test Icinga 2 under a Linux with musl instead of glibc, e.g., by using #9949.
Include as many relevant details about the environment you experienced the problem in
icinga2 --version
The text was updated successfully, but these errors were encountered:
Related issue: #9801
Sorry, something went wrong.
No branches or pull requests
Describe the bug
In #9949, an issue with the failing
icinga_legacytimeperiod/dst
test on musl libc was raised. This issue seems to exist for quite some time, as seen in the exclusion patch for the Alpine Linux downstream package build.When running the tests, this is the only failing one.
To Reproduce
Build and test Icinga 2 under a Linux with musl instead of glibc, e.g., by using #9949.
Your Environment
Include as many relevant details about the environment you experienced the problem in
icinga2 --version
): latest master, but present since versionsThe text was updated successfully, but these errors were encountered: