Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stub server hang (randomly) on Mac ARM (14 - Github Actions) #66

Closed
tienvx opened this issue May 2, 2024 · 1 comment
Closed

Stub server hang (randomly) on Mac ARM (14 - Github Actions) #66

tienvx opened this issue May 2, 2024 · 1 comment

Comments

@tienvx
Copy link

tienvx commented May 2, 2024

Here is error from PHP side:

 There was 1 error:

1) StubServerConsumer\Tests\StubServerTest::testStubServer
Symfony\Component\Process\Exception\ProcessTimedOutException: The process "'/Users/runner/work/pact-php/pact-php/src/PhpPact/Standalone/Installer/Model/../../../../../bin/pact-stub-server/pact-stub-server' '--dir=/Users/runner/work/pact-php/pact-php/example/stub-server/consumer/tests/../_resources' '--extension=json' '--loglevel=debug' '--port=7201'" exceeded the timeout of 60 seconds.

/Users/runner/work/pact-php/pact-php/vendor/symfony/process/Process.php:1150
/Users/runner/work/pact-php/pact-php/vendor/symfony/process/Process.php:460
/Users/runner/work/pact-php/pact-php/src/PhpPact/Standalone/StubService/StubServer.php:39
/Users/runner/work/pact-php/pact-php/example/stub-server/consumer/tests/StubServerTest.php:27

Here is Stub Server's log (nothing special):

2024-05-02T01:36:43.114775Z DEBUG main pact_stub_server::loading: Scanning "/Users/runner/work/pact-php/pact-php/example/stub-server/consumer/tests/../_resources"
2024-05-02T01:36:43.114960Z DEBUG main pact_stub_server::loading: Loading file '"/Users/runner/work/pact-php/pact-php/example/stub-server/consumer/tests/../_resources/someconsumer-someprovider.json"'
2024-05-02T01:36:43.116575Z  INFO main pact_stub_server: Loaded 1 pacts (1 total interactions)
2024-05-02T01:36:43.118808Z  INFO tokio-runtime-worker pact_stub_server::server: Server started on port 7201

Additional info:

@tienvx
Copy link
Author

tienvx commented Sep 24, 2024

Look like it no longer happen

@tienvx tienvx closed this as completed Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant