unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#38250: PHP 7.3.11 fails its test suite
@ 2019-11-17 21:01 Maxim Cournoyer
  2020-02-01  3:47 ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2019-11-17 21:01 UTC (permalink / raw)
  To: 38250

Whenever I tried building PHP as of Guix commit
2484e0b3e481e2b1fcb6761d0dbf80da98089de4, the following tests fail:

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/fi
Test lstat() and stat() functions: usage variations - creating file/subdir [ext/standard/tests/file/lstat
Test lstat() and stat() functions: usage variations - deleting file/subdir [ext/standard/tests/file/lstat
=====================================================================

The CI seems to be OK with it (I get a substitute).  I wonder if it has
to do with my specific machine (X200).  It's equipped with 8 GB of RAM
and 9 GB of swap.

Maxim

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#38250: PHP 7.3.11 fails its test suite
  2019-11-17 21:01 bug#38250: PHP 7.3.11 fails its test suite Maxim Cournoyer
@ 2020-02-01  3:47 ` Maxim Cournoyer
  2020-02-01  3:58   ` Julien Lepiller
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2020-02-01  3:47 UTC (permalink / raw)
  To: 38250

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Whenever I tried building PHP as of Guix commit
> 2484e0b3e481e2b1fcb6761d0dbf80da98089de4, the following tests fail:
>
> =====================================================================
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/fi
> Test lstat() and stat() functions: usage variations - creating file/subdir [ext/standard/tests/file/lstat
> Test lstat() and stat() functions: usage variations - deleting file/subdir [ext/standard/tests/file/lstat
> =====================================================================
>
> The CI seems to be OK with it (I get a substitute).  I wonder if it has
> to do with my specific machine (X200).  It's equipped with 8 GB of RAM
> and 9 GB of swap.

I can still reproduce this issue on the current core-updates branch,
using a different x86_64 machine which has 8 GB RAM.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#38250: PHP 7.3.11 fails its test suite
  2020-02-01  3:47 ` Maxim Cournoyer
@ 2020-02-01  3:58   ` Julien Lepiller
  2020-02-02  5:35     ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Julien Lepiller @ 2020-02-01  3:58 UTC (permalink / raw)
  To: 38250, maxim.cournoyer

Le 31 janvier 2020 22:47:47 GMT-05:00, Maxim Cournoyer <maxim.cournoyer@gmail.com> a écrit :
>Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> Whenever I tried building PHP as of Guix commit
>> 2484e0b3e481e2b1fcb6761d0dbf80da98089de4, the following tests fail:
>>
>> =====================================================================
>> FAILED TEST SUMMARY
>> ---------------------------------------------------------------------
>> Test disk_free_space and its alias diskfreespace() functions : basic
>functionality [ext/standard/tests/fi
>> Test lstat() and stat() functions: usage variations - creating
>file/subdir [ext/standard/tests/file/lstat
>> Test lstat() and stat() functions: usage variations - deleting
>file/subdir [ext/standard/tests/file/lstat
>> =====================================================================
>>
>> The CI seems to be OK with it (I get a substitute).  I wonder if it
>has
>> to do with my specific machine (X200).  It's equipped with 8 GB of
>RAM
>> and 9 GB of swap.
>
>I can still reproduce this issue on the current core-updates branch,
>using a different x86_64 machine which has 8 GB RAM.

Could you send the .log file for each failing test? The report should have the filenames of failing tests (ext/standard/tests/file/lstat here I think, but the log looks broken). You'll have to build with -K to get them.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#38250: PHP 7.3.11 fails its test suite
  2020-02-01  3:58   ` Julien Lepiller
@ 2020-02-02  5:35     ` Maxim Cournoyer
  2020-02-02  5:46       ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2020-02-02  5:35 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 38250

Julien Lepiller <julien@lepiller.eu> writes:

> Le 31 janvier 2020 22:47:47 GMT-05:00, Maxim Cournoyer <maxim.cournoyer@gmail.com> a écrit :
>>Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>
>>> Whenever I tried building PHP as of Guix commit
>>> 2484e0b3e481e2b1fcb6761d0dbf80da98089de4, the following tests fail:
>>>
>>> =====================================================================
>>> FAILED TEST SUMMARY
>>> ---------------------------------------------------------------------
>>> Test disk_free_space and its alias diskfreespace() functions : basic
>>functionality [ext/standard/tests/fi
>>> Test lstat() and stat() functions: usage variations - creating
>>file/subdir [ext/standard/tests/file/lstat
>>> Test lstat() and stat() functions: usage variations - deleting
>>file/subdir [ext/standard/tests/file/lstat
>>> =====================================================================
>>>
>>> The CI seems to be OK with it (I get a substitute).  I wonder if it
>>has
>>> to do with my specific machine (X200).  It's equipped with 8 GB of
>>RAM
>>> and 9 GB of swap.
>>
>>I can still reproduce this issue on the current core-updates branch,
>>using a different x86_64 machine which has 8 GB RAM.
>
> Could you send the .log file for each failing test? The report should have the filenames of failing tests (ext/standard/tests/file/lstat here I think, but the log looks broken). You'll have to build with -K to get them.

Sorry, the previous output was truncated.  Re-pasting below:

The summary looks like:

--8<---------------cut here---------------start------------->8---
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/file/disk_free_space_basic.phpt]
Test lstat() and stat() functions: usage variations - creating file/subdir [ext/standard/tests/file/lstat_stat_variation8.phpt]
Test lstat() and stat() functions: usage variations - deleting file/subdir [ext/standard/tests/file/lstat_stat_variation9.phpt]
=====================================================================
--8<---------------cut here---------------end--------------->8---

With the individual tests failing with this output:

TEST 11196/14256 [ext/standard/tests/file/disk_free_space_basic.phpt]^MFAIL Test disk_free_space and its alias diskfreespace() functions : basic functionality [ext/standard/tests/file/disk_free_space_basic.phpt]
TEST 11596/14256 [ext/standard/tests/file/lstat_stat_variation8.phpt]^MFAIL Test lstat() and stat() functions: usage variations - creating file/subdir [ext/standard/tests/file/lstat_stat_variation8.phpt] 
TEST 11597/14256 [ext/standard/tests/file/lstat_stat_variation9.phpt]^MFAIL Test lstat() and stat() functions: usage variations - deleting file/subdir [ext/standard/tests/file/lstat_stat_variation9.phpt]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#38250: PHP 7.3.11 fails its test suite
  2020-02-02  5:35     ` Maxim Cournoyer
@ 2020-02-02  5:46       ` Maxim Cournoyer
  2020-02-02 21:58         ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Cournoyer @ 2020-02-02  5:46 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 38250

[-- Attachment #1: Type: text/plain, Size: 60 bytes --]

OK, I found the logs of the failing tests, attached below.


[-- Attachment #2: disk_free_space_basic.log --]
[-- Type: application/octet-stream, Size: 723 bytes --]


---- EXPECTED OUTPUT
*** Testing with existing directory ***
float(%d)
float(%d)
*** Testing with newly created directory ***
 
 Free Space before writing to a file
float(%d)

 Free Space after writing to a file
float(%d)

 Free Space Value Is Correct
*** Testing with Binary Input ***
float(%d)

--- Done ---
---- ACTUAL OUTPUT
*** Testing with existing directory ***
float(984617566208)
float(984617566208)
*** Testing with newly created directory ***
 
 Free Space before writing to a file
float(984617566208)

 Free Space after writing to a file
float(984617566208)

 Free Space Value Is Incorrect
float(984617566208)
float(984617566208)
*** Testing with Binary Input ***
float(984617566208)

--- Done ---
---- FAILED

[-- Attachment #3: lstat_stat_variation8.log --]
[-- Type: application/octet-stream, Size: 1700 bytes --]


---- EXPECTED OUTPUT
*** Testing stat() on dir after subdir and file is created in it ***
bool(true)
bool(true)
bool(true)

--- Done ---
---- ACTUAL OUTPUT
*** Testing stat() on dir after subdir and file is created in it ***
bool(true)
bool(true)
Error: stat1 is not lesser than stat2 at key value: 3
Error: stat1 is not lesser than stat2 at key value: nlink

 Dumping stat array 1...
array(26) {
  [0]=>
  int(22)
  [1]=>
  int(1818717)
  [2]=>
  int(16877)
  [3]=>
  int(1)
  [4]=>
  int(999)
  [5]=>
  int(30000)
  [6]=>
  int(0)
  [7]=>
  int(0)
  [8]=>
  int(1580621010)
  [9]=>
  int(1580621010)
  [10]=>
  int(1580621010)
  [11]=>
  int(4096)
  [12]=>
  int(0)
  ["dev"]=>
  int(22)
  ["ino"]=>
  int(1818717)
  ["mode"]=>
  int(16877)
  ["nlink"]=>
  int(1)
  ["uid"]=>
  int(999)
  ["gid"]=>
  int(30000)
  ["rdev"]=>
  int(0)
  ["size"]=>
  int(0)
  ["atime"]=>
  int(1580621010)
  ["mtime"]=>
  int(1580621010)
  ["ctime"]=>
  int(1580621010)
  ["blksize"]=>
  int(4096)
  ["blocks"]=>
  int(0)
}

 Dumping stat array 2...
array(26) {
  [0]=>
  int(22)
  [1]=>
  int(1818717)
  [2]=>
  int(16877)
  [3]=>
  int(1)
  [4]=>
  int(999)
  [5]=>
  int(30000)
  [6]=>
  int(0)
  [7]=>
  int(108)
  [8]=>
  int(1580621010)
  [9]=>
  int(1580621012)
  [10]=>
  int(1580621012)
  [11]=>
  int(4096)
  [12]=>
  int(0)
  ["dev"]=>
  int(22)
  ["ino"]=>
  int(1818717)
  ["mode"]=>
  int(16877)
  ["nlink"]=>
  int(1)
  ["uid"]=>
  int(999)
  ["gid"]=>
  int(30000)
  ["rdev"]=>
  int(0)
  ["size"]=>
  int(108)
  ["atime"]=>
  int(1580621010)
  ["mtime"]=>
  int(1580621012)
  ["ctime"]=>
  int(1580621012)
  ["blksize"]=>
  int(4096)
  ["blocks"]=>
  int(0)
}
bool(false)

--- Done ---
---- FAILED

[-- Attachment #4: lstat_stat_variation9.log --]
[-- Type: application/octet-stream, Size: 1726 bytes --]


---- EXPECTED OUTPUT
*** Testing stat() for comparing stats after the deletion of subdir and file ***
bool(true)
bool(true)
bool(true)

--- Done ---
---- ACTUAL OUTPUT
*** Testing stat() for comparing stats after the deletion of subdir and file ***
bool(true)
bool(true)
Error: stat1 is not greater than stat2 at key value: 3
Error: stat1 is not greater than stat2 at key value: nlink

 Dumping stat array 1...
array(26) {
  [0]=>
  int(22)
  [1]=>
  int(1818728)
  [2]=>
  int(16877)
  [3]=>
  int(1)
  [4]=>
  int(999)
  [5]=>
  int(30000)
  [6]=>
  int(0)
  [7]=>
  int(108)
  [8]=>
  int(1580621012)
  [9]=>
  int(1580621012)
  [10]=>
  int(1580621012)
  [11]=>
  int(4096)
  [12]=>
  int(0)
  ["dev"]=>
  int(22)
  ["ino"]=>
  int(1818728)
  ["mode"]=>
  int(16877)
  ["nlink"]=>
  int(1)
  ["uid"]=>
  int(999)
  ["gid"]=>
  int(30000)
  ["rdev"]=>
  int(0)
  ["size"]=>
  int(108)
  ["atime"]=>
  int(1580621012)
  ["mtime"]=>
  int(1580621012)
  ["ctime"]=>
  int(1580621012)
  ["blksize"]=>
  int(4096)
  ["blocks"]=>
  int(0)
}

 Dumping stat array 2...
array(26) {
  [0]=>
  int(22)
  [1]=>
  int(1818728)
  [2]=>
  int(16877)
  [3]=>
  int(1)
  [4]=>
  int(999)
  [5]=>
  int(30000)
  [6]=>
  int(0)
  [7]=>
  int(0)
  [8]=>
  int(1580621012)
  [9]=>
  int(1580621012)
  [10]=>
  int(1580621012)
  [11]=>
  int(4096)
  [12]=>
  int(0)
  ["dev"]=>
  int(22)
  ["ino"]=>
  int(1818728)
  ["mode"]=>
  int(16877)
  ["nlink"]=>
  int(1)
  ["uid"]=>
  int(999)
  ["gid"]=>
  int(30000)
  ["rdev"]=>
  int(0)
  ["size"]=>
  int(0)
  ["atime"]=>
  int(1580621012)
  ["mtime"]=>
  int(1580621012)
  ["ctime"]=>
  int(1580621012)
  ["blksize"]=>
  int(4096)
  ["blocks"]=>
  int(0)
}
bool(false)

--- Done ---
---- FAILED

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#38250: PHP 7.3.11 fails its test suite
  2020-02-02  5:46       ` Maxim Cournoyer
@ 2020-02-02 21:58         ` Maxim Cournoyer
  0 siblings, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2020-02-02 21:58 UTC (permalink / raw)
  To: Julien Lepiller; +Cc: 38250-done

Fixed with commit 1eb343f9cf18544319bc4ac016845348816f7265.

Closing.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-02-02 21:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-17 21:01 bug#38250: PHP 7.3.11 fails its test suite Maxim Cournoyer
2020-02-01  3:47 ` Maxim Cournoyer
2020-02-01  3:58   ` Julien Lepiller
2020-02-02  5:35     ` Maxim Cournoyer
2020-02-02  5:46       ` Maxim Cournoyer
2020-02-02 21:58         ` Maxim Cournoyer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).