Skip Menu |

This queue is for tickets about the Test-Approximate CPAN distribution.

Report information
The Basics
Id: 101156
Status: open
Priority: 0/
Queue: Test-Approximate

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 0.006
  • 0.008
  • 0.009
  • 0.100-TRIAL
Fixed in: (no value)



Subject: Fails on nvsize!=8
As per subject. Sample fail report: http://www.cpantesters.org/cpan/report/48726517 On a first glance this looks like rounding errors on floating point numbers. Maybe you want to deploy Test::Number::Delta for the test, it provides a convenient interface. HTH && Thanks, (Disclaimer: this was discovered by statistical analysis, I'm not speaking as a user)
On 2014-12-27 14:59:31, ANDK wrote: Show quoted text
> As per subject. Sample fail report: > > http://www.cpantesters.org/cpan/report/48726517 > > On a first glance this looks like rounding errors on floating point > numbers. Maybe you want to deploy Test::Number::Delta for the test, it > provides a convenient interface. > > HTH && Thanks, > (Disclaimer: this was discovered by statistical analysis, I'm not > speaking as a user)
Another possibility: a locale issue. It fails with locales where the decimal dot is a comma (e.g. German). At least this is the result for the test runs on my smoker systems: fail.Test-Approximate-0.006.amd64-freebsd-thread-multi.9.2-release-p4.1417922389.82334.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.006.amd64-freebsd.10.1-release.1417936117.89341.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.amd64-freebsd.10.1-release.1417936562.90424.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417922300.81871.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417922342.82100.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417922455.82819.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417929746.89484.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417929962.90334.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.006.x86_64-linux-thread-multi.3.2.0-4-amd64.1417936345.2125.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux-thread-multi.3.2.0-4-amd64.1417936475.8687.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux-thread-multi.3.2.0-4-amd64.1417936614.11148.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.10-3-amd64.1417941849.23055.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.12-1-amd64.1417939059.25793.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.12-1-amd64.1417941576.21600.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417935474.28913.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936127.25796.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936222.461.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936254.798.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936581.10520.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936648.14016.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936679.16517.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936710.16958.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936740.17241.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1419114828.29110.rpt: LC_ALL = de_DE.UTF-8 pass.Test-Approximate-0.006.amd64-freebsd-thread-multi.9.2-release-p4.1417935509.3455.rpt: LC_ALL = C pass.Test-Approximate-0.006.amd64-freebsd.10.1-release.1417935294.86412.rpt: LC_ALL = C pass.Test-Approximate-0.006.amd64-freebsd.10.1-release.1417935892.88243.rpt: LC_ALL = C pass.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417935270.2673.rpt: LC_ALL = C pass.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417935392.3195.rpt: LC_ALL = C pass.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417935720.4143.rpt: LC_ALL = C pass.Test-Approximate-0.006.amd64-freebsd.9.2-release-p4.1417935935.4673.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux-thread-multi.3.2.0-4-amd64.1417935688.8220.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux-thread-multi.3.2.0-4-amd64.1417935822.14227.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux-thread-multi.3.2.0-4-amd64.1417935975.20309.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.12-1-amd64.1417935336.25210.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417935456.2178.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417935555.4940.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417935590.5226.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417935787.13941.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417935935.17143.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936012.22702.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936047.23610.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936082.24561.rpt: LC_ALL = C pass.Test-Approximate-0.006.x86_64-linux.3.2.0-4-amd64.1417936117.25629.rpt: LC_ALL = C
On 2014-12-28 11:46:00, SREZIC wrote: Show quoted text
> On 2014-12-27 14:59:31, ANDK wrote:
> > As per subject. Sample fail report: > > > > http://www.cpantesters.org/cpan/report/48726517 > > > > On a first glance this looks like rounding errors on floating point > > numbers. Maybe you want to deploy Test::Number::Delta for the test, > > it > > provides a convenient interface. > > > > HTH && Thanks, > > (Disclaimer: this was discovered by statistical analysis, I'm not > > speaking as a user)
> > Another possibility: a locale issue. It fails with locales where the > decimal dot is a comma (e.g. German). At least this is the result for > the test runs on my smoker systems: >
[...] Same with 0.008: fail.Test-Approximate-0.008.amd64-freebsd-thread-multi.9.2-release-p4.1419952651.62504.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.008.amd64-freebsd.10.1-release.1419952753.38996.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.008.amd64-freebsd.10.1-release.1419952907.39396.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419952446.61642.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419952533.61907.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419952761.62862.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419952956.63768.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419953138.64222.rpt: LC_ALL = de_DE.ISO8859-1 fail.Test-Approximate-0.008.x86_64-linux-thread-multi.3.2.0-4-amd64.1419952304.13858.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux-thread-multi.3.2.0-4-amd64.1419952327.14162.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux-thread-multi.3.2.0-4-amd64.1419965452.23856.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux-thread-multi.3.2.0-4-amd64.1419965486.24388.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.10-3-amd64.1419965560.10215.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.12-1-amd64.1419965492.9898.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.12-1-amd64.1419965519.10003.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.12-1-amd64.1419965539.10111.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419951636.8675.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419951672.9154.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419951710.9459.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419952226.12709.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419952242.12945.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419952259.13184.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419952281.13554.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419952350.14465.rpt: LC_ALL = de_DE.UTF-8 fail.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419952373.14769.rpt: LC_ALL = de_DE.UTF-8 pass.Test-Approximate-0.008.amd64-freebsd-thread-multi.9.2-release-p4.1419965497.92314.rpt: LC_ALL = C pass.Test-Approximate-0.008.amd64-freebsd.10.1-release.1419965394.46443.rpt: LC_ALL = C pass.Test-Approximate-0.008.amd64-freebsd.10.1-release.1419965431.46535.rpt: LC_ALL = C pass.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419965400.91850.rpt: LC_ALL = C pass.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419965454.92118.rpt: LC_ALL = C pass.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419965531.92431.rpt: LC_ALL = C pass.Test-Approximate-0.008.amd64-freebsd.9.2-release-p4.1419965564.92546.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux-thread-multi.3.2.0-4-amd64.1419965363.22205.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux-thread-multi.3.2.0-4-amd64.1419965384.22522.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux-thread-multi.3.2.0-4-amd64.1419965398.22732.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux-thread-multi.3.2.0-4-amd64.1419965414.23219.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965356.22099.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965370.22310.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965377.22416.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965391.22627.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965405.22838.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965420.23324.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965426.23432.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965432.23537.rpt: LC_ALL = C pass.Test-Approximate-0.008.x86_64-linux.3.2.0-4-amd64.1419965438.23641.rpt: LC_ALL = C
On 2014-12-28 11:46:00, SREZIC wrote: Show quoted text
> On 2014-12-27 14:59:31, ANDK wrote:
> > As per subject. Sample fail report: > > > > http://www.cpantesters.org/cpan/report/48726517 > > > > On a first glance this looks like rounding errors on floating point > > numbers. Maybe you want to deploy Test::Number::Delta for the test, > > it > > provides a convenient interface. > > > > HTH && Thanks, > > (Disclaimer: this was discovered by statistical analysis, I'm not > > speaking as a user)
> > Another possibility: a locale issue. It fails with locales where the > decimal dot is a comma (e.g. German). At least this is the result for > the test runs on my smoker systems:
... but I have a -Duselongdouble perl where tests fail regardless of locale. So we have probably both issues here, a locale issue and an nvsize!=8 issue.