Subject: | tests fail on freebsd systems |
I observe test failures on my freebsd 9 & 10 smokers. A sample test log looks like this:
...
# Failed test 'tz_localtime('Europe/Moscow', 1493043119') as string with TZ set'
# at t/01-tz_localtime-tz_timelocal.t line 40.
# got: 'Mon Apr 24 18:11:59 2017'
# expected: 'Mon Apr 24 17:11:59 2017'
# Failed test 'tz_localtime('Europe/Moscow', 1493043119) as array with TZ set'
# at t/01-tz_localtime-tz_timelocal.t line 43.
# Structures begin differing at:
# $got->[2] = '18'
# $expected->[2] = '17'
# Failed test 'tz_localtime('Europe/Moscow', 1493043119') as string with TZ unset'
# at t/01-tz_localtime-tz_timelocal.t line 49.
# got: 'Mon Apr 24 18:11:59 2017'
# expected: 'Mon Apr 24 17:11:59 2017'
# Failed test 'tz_localtime('Europe/Moscow', 1493043119) as array with TZ unset'
# at t/01-tz_localtime-tz_timelocal.t line 52.
# Structures begin differing at:
# $got->[2] = '18'
# $expected->[2] = '17'
Out of memory!
A context appears to have been destroyed without first calling release().
Based on $@ it does not look like an exception was thrown (this is not always
a reliable test)
This is a problem because the global error variables ($!, $@, and $?) will
not be restored. In addition some release callbacks will not work properly from
inside a DESTROY method.
Here are the context creation details, just in case a tool forgot to call
release():
File: t/01-tz_localtime-tz_timelocal.t
Line: 67
Tool: Test::More::ok
Cleaning up the CONTEXT stack...
# Looks like your test exited with 1 just after 62.
Out of memory!
t/01-tz_localtime-tz_timelocal.t ..
Failed 13/71 subtests
...
Additionally to the "out of memory" errors, there are also segmentation faults and bus errors.