« first day (3510 days earlier)      last day (1437 days later) » 
00:00 - 23:0023:00 - 00:00

11:22 PM
I'm experiencing this wierd bug in "run-tests.php" - before I attempt to fix anything I'd like clarification on how this is supposed to work?

Command: make TEST_PHP_ARGS="-j8 --html report.html" test

```
Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($handle) must be of type resource, int given in /home/dragoonis/code/php-src/run-tests.php:3332
```

The error goes away when I only have 1 set of arguments for TEST_PHP_ARGS. If I add another, such as -j8, then this issue appears.

Question: what's the correct syntax to TEST_PHP_ARGS for specifying multiple options ?
I can see that Remi is passing multiple args here, with no issues, so the syntax seems to be okay? github.com/phpredis/phpredis/pull/1365
 
lol @PaulDragoonis. You have a team at php? :P
 
@PeeHaa i'm not following :)
 
me neither :D
> @matthieunapoli
if you track how often this happens, and to which MIRROR it's happening on, I can take this data to my team at http://php.net and think about what needs changing/improved. Without data/evidence I can't help you (the rest of the world). Let me know. Cheers
 
it sounds like the report file couldn't be created. (probably fopen returning 0)
 
@pmmaga the file is there and it writes to it (few initial heading lines), and then it errors out. I'm guessing the syntax i posted above is correct? I'm in the process of debuggging it.
@PeeHaa I'm part of the web team, that's the context there. I believe Matthieu doesn't have the problem anymore, and nobody needs to further investigate it, which is good for us, coz I wasn't so keen tracing that down. (seemed like a throttling issue anyway)
 
11:37 PM
That's just funny as fuck :D
 
persistent connection with mysqli log as no password ・ MySQLi related ・ #79638
 
You make it sound like it's a group of people working towards the same goal instead of just monkeys trying to keep the light on :P
 
@PaulDragoonis It looks correct. Have you tried to pass "-j8 -W report.txt"?
 
Any Slim fans here? I'm trying to install a Slim-based app, and it works perfectly fine on one system, but on a second it seems to not find any routes, ever. Everything is a 404. No Xdebug on the malfunctioning system so I can't step-debug it, and Slim apparently has a circular reference in its routing system that makes var_dump-ing it impossible.
 
It may also be due to some threaded craziness. like the resource not being available to all threads. also try -j1 to check that
 
11:39 PM
I'm at a loss for how to debug this thing.
 
Install xdebug/
:)
 
@pmmaga yes you're right, that's what my debugging thus far has shown me. fopen() is failing in parallel mode.

--html is using different code from -W, which is weird

-W is not being used for parallel mode.
--html is being used for parallel mode, and fails.
 
Doesn't seem like a production system if it's not running?
 
It's my production home server, where I have other things running. My laptop, it works fine.
 
:(
 
11:46 PM
@PaulDragoonis yeah, as far as I can tell, writing the output to files is not dealt with at all in github.com/php/php-src/blob/master/run-tests.php#L1458
 
I just watched video footage of four police officers suffocate a black man in custody. I'm so sick. It's almost always a black person. I'm livid.
 
hmmm.. it may work in junit mode.. not sure if that helps
that $GLOBALS is passed. but that's passed as a string. so a resource (from fopen) is just a numeric string as far as strings go
 
@pmmaga indeed, i think there's a different context here, and perhaps I could update this code to fopen() at the worker level, and not just at the run-tests.php intitialization level ??
 
@LeviMorrison saw a video on twitter yesterday or a couple days ago, black dude recording this white woman, the woman took her dog off-leash in a park where dogs are supposed to stay leashed. He asked her to put her dog back on his leash, that the dog isn't supposed to be off-leash. She called the cops and then lied "a black man is threatening her, can they please send someone..." but thankfully nothing came of it and the dude's okay (AFAIK)
 
00:00 - 23:0023:00 - 00:00

« first day (3510 days earlier)      last day (1437 days later) »