-
Notifications
You must be signed in to change notification settings - Fork 24
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
ocular.phar does not work on AppVeyor #40
Comments
The issue seems only reproducible when using the PHAR distribution but not with the clone from the master branch. Is PHAR up to date? Git clone from
PHAR:
|
As a quick fix (if this is the only error) I would recommend to pass the repository, revision and parents explicitly instead of relying on the introspector. Have you tried that already? |
I did. I managed to pass repository and revivison using AppVeyor env vars, but I have no idea how to pass parents, especially if the commit has multiple (merge commit). I am not a Windows/PowerShell guy so I have no idea how to parse & pass the output of |
The error should be due to the repository name, it should be As for parents, you would pass them like As for the original error, could that be because we do not call |
@schmittjoh I tried debugging Most likely, it has something to do with their non-blocking reads from the pipes or file handles where the client exits too early before any output is generated in the process. Could you point me to the |
Okay, it must be symfony/process@5f48984 which fixed the issue. Particularly, in Ocular, it happens here: They do not check for @schmittjoh Given the code has been modified in |
According to the PHAR, it was built from 8e0a8c7 — exactly 4 years ago. Time to upgrade! |
Good catch! An upgrade was indeed not needed since then. I've gone ahead and pushed the current version which uses the Process component of Symfony 4. Could you check if this is fixed now? |
@schmittjoh Seems to be working now!
I only had to manually download & set CA bundle for cURL, otherwise it crashed with missing CA info. But that is environment/runtime issue. Thanks. |
Unfortunately, we have to revert this change. The new version is too new unfortunately and breaks on certain PHP versions. I'm reopening this for the moment. You can still get the newer ocular.phar from the GitHub release page here, f.e. https://github.com/scrutinizer-ci/ocular/releases/download/1.5.2/ocular.phar |
Has this been fixed yet? |
For the time being, we cannot update the version hosted at https://scrutinizer-ci.com/ocular.phar for compatibility reasons. However, you can directly download it from one the GitHub releases (see above) which should be equally stable. Have you run into any issues with that? |
Hi,
while working on multriple coverage reports for Doctrine DBAL, I ran into problems with uploading coverage to Scrutinizer on AppVeyor. It seems to either fail executing the introspector processes or parse its CLI outputs correctly.
After simply running:
I am getting the following error error:
I executed the commands ran by introspector separately to see if they work and they do:
You can find the failing build here: https://ci.appveyor.com/project/Majkl578/doctrine-dbal/build/1.0.310/job/20bkb4l3wn2uho0j#L1776
Used script is here: https://github.com/Majkl578/doctrine-dbal/blob/679ee9732663db57d7d3927770ab887fd4f11d58/.appveyor.yml#L115-L127
The text was updated successfully, but these errors were encountered: