Task #12779 (closed)
Opened 10 years ago
Closed 9 years ago
Bug: C++ timestamp tests intermittently fail
Reported by: | rleigh | Owned by: | rleigh |
---|---|---|---|
Priority: | major | Milestone: | 5.1.2 |
Component: | Bio-Formats | Version: | 5.1.0-m1 |
Keywords: | cpp | Cc: | sbesson |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
18: [ RUN ] TimestampVariants/TimestampTest.StreamOutput/3 18: /opt/hudson/workspace/BIOFORMATS-5.1-release-cpp/BUILD_TYPE/Debug/CXXSTD_AUTODETECT/OFF/label/cod/source/bioformats-5.1.0-m5/cpp/test/ome-xml/timestamp.cpp:127: Failure 18: Value of: params.output 18: Actual: "2003-08-26T22:46:38.762000Z" 18: Expected: os.str() 18: Which is: "2003-08-28T01:46:38.762000Z"
This is out by -27h -- it's not something like a DST or timezone-related inaccuracy. And it's not consistent; it's only occurring intermittently which is quite odd for something which should be completely deterministic.
Change History (3)
comment:1 Changed 9 years ago by rleigh
- Milestone changed from 5.1.1 to 5.1.2
comment:2 Changed 9 years ago by rleigh
Not reproducible with 1.55 (FreeBSD) or 1.58 (MacOS) or 1.55 (Ubuntu 15.04).
However, it is reproducible with 1.54 or 1.55 (Ubuntu 14.04). So it might be a Boost bug, but might equally be a libc bug.
comment:3 Changed 9 years ago by rleigh
- Resolution set to fixed
- Status changed from new to closed
Found the cause, and it's fixed in https://github.com/openmicroscopy/bioformats/pull/1799
Moving to 5.1.2; not enough time for 5.1.1.