web-push-php
web-push-php copied to clipboard
Unittests on travis are failing because of web-push-testing-service
- [x] I have read the README entirely
- [x] I have verified in the issues that my problem hasn't already been resolved
Setup
- Operating System: Linux
- PHP Version: All versions tested by Travis (7.1, 7.2, 7.3)
- web-push-php Version: master
I'd expect the required extensions to be there in Travis.
- [x] gmp
- [x] mbstring
- [x] curl
- [x] openssl
Problem
I created a PR to add PHP 7.3 to the Travis matrix build (https://github.com/web-push-libs/web-push-php/pull/249). In all PHP versions tested (7.1, 7.2, 7.3), the web-push-testing-service failed with this exact error message:
$ web-push-testing-service start example -p 9012
[INFO]: Starting service (This may take some time)....
[ERROR]: Unable to extract deb
The command "web-push-testing-service start example -p 9012" exited with 1.
As a result, the unittests and subsequently the entire test suite failed.
Expected
I expect CI builds on master to succeed if there was no modification to the source.
Features Used
- [ ] VAPID Support
- [ ] GCM API Key
- [ ] Sending with Payload
Example / Reproduce Case
https://travis-ci.org/web-push-libs/web-push-php/builds/580663277 7.1: https://travis-ci.org/web-push-libs/web-push-php/jobs/580663278 7.2: https://travis-ci.org/web-push-libs/web-push-php/jobs/580663279 7.3: https://travis-ci.org/web-push-libs/web-push-php/jobs/580663280
Other
There was a similar but not identical issue related to the chrome web-push-testing-service: https://github.com/web-push-libs/web-push-php/issues/95.
Yes I'm aware and this is a bit of pain to debug, I welcome help here :)
@Minishlink Can be closed. Now on GH Actions.