Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 737860

Summary: dev-php/pecl-rrd-2.0.3 fails tests rrd_{016,017}.phpt
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: CONFIRMED ---    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
1-autoconf.out

Description Agostino Sarubbo gentoo-dev 2020-08-18 11:04:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-php/pecl-rrd-2.0.1-r3 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-18 11:04:45 UTC
Created attachment 655282 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-08-18 11:04:46 UTC
Created attachment 655284 [details]
1-autoconf.out

1-autoconf.out
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2020-08-18 22:30:44 UTC
rrd_016.phpt:

> ---- EXPECTED OUTPUT
> bool(true)
> bool(false)
> bool(true)
> %s
> ---- ACTUAL OUTPUT
> bool(true)
> bool(false)
> bool(true)
> ---- FAILED


rrd_017.phpt:

> ---- EXPECTED OUTPUT
> array(4) {
>   ["start"]=>
>   int(920804700)
>   ["end"]=>
>   int(920808300)
>   ["step"]=>
>   int(300)
>   ["data"]=>
>   array(2) {
>     [0]=>
>     array(2) {
>       ["legend"]=>
>       string(7) "myspeed"
>       ["data"]=>
>       array(13) {
>         [920804700]=>
>         float(NAN)
>         [920805000]=>
>         float(0.04)
>         [920805300]=>
>         float(0.02)
>         [920805600]=>
>         float(0)
>         [920805900]=>
>         float(0)
>         [920806200]=>
>         float(0.033333333333333)
>         [920806500]=>
>         float(0.033333333333333)
>         [920806800]=>
>         float(0.033333333333333)
>         [920807100]=>
>         float(0.02)
>         [920807400]=>
>         float(0.02)
>         [920807700]=>
>         float(0.02)
>         [920808000]=>
>         float(0.013333333333333)
>         [920808300]=>
>         float(0.016666666666667)
>       }
>     }
>     [1]=>
>     array(2) {
>       ["legend"]=>
>       string(9) "realspeed"
>       ["data"]=>
>       array(13) {
>         [920804700]=>
>         float(NAN)
>         [920805000]=>
>         float(40)
>         [920805300]=>
>         float(20)
>         [920805600]=>
>         float(0)
>         [920805900]=>
>         float(0)
>         [920806200]=>
>         float(33.333333333333)
>         [920806500]=>
>         float(33.333333333333)
>         [920806800]=>
>         float(33.333333333333)
>         [920807100]=>
>         float(20)
>         [920807400]=>
>         float(20)
>         [920807700]=>
>         float(20)
>         [920808000]=>
>         float(13.333333333333)
>         [920808300]=>
>         float(16.666666666667)
>       }
>     }
>   }
> }
> ---- ACTUAL OUTPUT
> array(4) {
>   ["start"]=>
>   int(920804700)
>   ["end"]=>
>   int(920808000)
>   ["step"]=>
>   int(300)
>   ["data"]=>
>   array(2) {
>     [0]=>
>     array(2) {
>       ["legend"]=>
>       string(7) "myspeed"
>       ["data"]=>
>       array(12) {
>         [920804700]=>
>         float(NAN)
>         [920805000]=>
>         float(0.04)
>         [920805300]=>
>         float(0.02)
>         [920805600]=>
>         float(0)
>         [920805900]=>
>         float(0)
>         [920806200]=>
>         float(0.033333333333333)
>         [920806500]=>
>         float(0.033333333333333)
>         [920806800]=>
>         float(0.033333333333333)
>         [920807100]=>
>         float(0.02)
>         [920807400]=>
>         float(0.02)
>         [920807700]=>
>         float(0.02)
>         [920808000]=>
>         float(0.013333333333333)
>       }
>     }
>     [1]=>
>     array(2) {
>       ["legend"]=>
>       string(9) "realspeed"
>       ["data"]=>
>       array(12) {
>         [920804700]=>
>         float(NAN)
>         [920805000]=>
>         float(40)
>         [920805300]=>
>         float(20)
>         [920805600]=>
>         float(0)
>         [920805900]=>
>         float(0)
>         [920806200]=>
>         float(33.333333333333)
>         [920806500]=>
>         float(33.333333333333)
>         [920806800]=>
>         float(33.333333333333)
>         [920807100]=>
>         float(20)
>         [920807400]=>
>         float(20)
>         [920807700]=>
>         float(20)
>         [920808000]=>
>         float(13.333333333333)
>       }
>     }
>   }
> }
> ---- FAILED
Comment 4 Agostino Sarubbo gentoo-dev 2022-09-05 07:53:46 UTC
lto_tinderbox has reproduced this issue with version 2.0.3 - Updating summary.