Hi <@U03BZ9N4XT6> I think we don't have a place t...
# pact-php
t
Hi @Lewis Cowles I think we don't have a place to note down errors we got when pipeline failed. I'm not sure comment on your ticket is a good idea, so for now I think we can note them in this thread. I hope it is okay for you.
Let me start first:
Copy code
1) PhpPact\Standalone\Runner\ProcessRunnerTest::testBlockingProcess
Expect 'myError' to be in the stderr
Failed asserting that '' contains "myError".

D:\a\pact-php\pact-php\tests\PhpPact\Standalone\Runner\ProcessRunnerTest.php:46
https://github.com/pact-foundation/pact-php/actions/runs/3926640569/jobs/6712552709
Copy code
1) PhpPactTest\Standalone\ProviderVerifier\VerifierTest::testRunShouldLogOutputIfCmdFails
Failed asserting that 'out > ' contains "first line".

D:\a\pact-php\pact-php\tests\PhpPact\Standalone\ProviderVerifier\VerifierTest.php:231

2) PhpPactTest\Standalone\Runner\ProcessRunnerTest::testBlockingProcess
Expect 'pact' to be in the output
Failed asserting that '' contains "pact".

D:\a\pact-php\pact-php\tests\PhpPact\Standalone\Runner\ProcessRunnerTest.php:27
https://github.com/pact-foundation/pact-php/actions/runs/4310538726/jobs/7519118927
Copy code
1) PhpPactTest\Standalone\ProviderVerifier\VerifierTest::testVerify
Failed asserting that false is true.

D:\a\pact-php\pact-php\tests\PhpPact\Standalone\ProviderVerifier\VerifierTest.php:48
https://github.com/pact-foundation/pact-php/actions/runs/4341095386/jobs/7580293186
Copy code
Script phpunit --debug -c example/phpunit.all.xml handling the test event returned with error code -1073741819
https://github.com/pact-foundation/pact-php/actions/runs/4396817297/jobs/7699527082
l
Just seen this thread. The last one is particularly troubling as it shouldn't be possible once we only use Rust and normal PHP
The error code -1073741819 you're encountering, also known as 0xC0000005 or "Access Violation," is a common error in C and C++ programs. It indicates that your program attempted to access memory that it was not allowed to access, resulting in a segmentation fault.
t
On version 10, I don't have these errors recently. But I got another error, once for a while:
Copy code
There was 1 error: 
1) MatchersProvider\Tests\PactVerifyTest::testPactVerifyConsumer 

Symfony\Component\Process\Exception\ProcessTimedOutException: The process "'php' '-S' '127.0.0.1:7202' '-t' '/Users/runner/work/pact-php/pact-php/example/matchers/provider/tests/../public/'" exceeded the timeout of 60 seconds.
👀 1
l
Guessing that anywhere sub-processing is happening is liable to flakes.
This is part of why the switch to FFI has been so impactful. Not just faster, but avoiding sub-process calls.