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
xmlrpc-beta extension stopped working recently #625
Comments
For some unknown reason, the installation of the xmlrpc-beta extension for PHP 8.0 and up is not working properly with GHA anymore (since July 28, 2022). Apparently it's installed correctly, but it's not really there. Because of that the environmental checks are failing because the extension is not available. This only affects GHA (not Travis, where xmlrpc-beta, from PECL continues working ok). Also, it's not expected to affect moodle-plugin-ci much, because not many plugins need xmlrpc. No matter of that, an issue will be created to fix it there. For reference, this issue has been created, because it seems that is with the latest updates of the setup-php action when the problem has started to happen: shivammathur/setup-php#625
Fixed in 7e03c76. Currently in develop branch right now, will in the next release. |
Cool, thanks! Q: and that “mysterious” xmlrpc-1.0.0 that got when using older 2.20.1 was also caused because of the bug? |
Yes, the regex to parse the releases was wrong earlier. it worked because pecl fallbacks to the latest version when a wrong version is specified. In the previous release I tried to fix this, but only considered the stability in the version. Now it checks for stability in the version ( |
Aha, thanks for the clarification (and for the quick reply and fix) ! Looking forward the next setup-php release, then, yay! Ciao :-) |
For some unknown reason, the installation of the xmlrpc-beta extension for PHP 8.0 and up is not working properly with GHA anymore (since July 28, 2022). Apparently it's installed correctly, but it's not really there. Because of that the environmental checks are failing because the extension is not available. This only affects GHA (not Travis, where xmlrpc-beta, from PECL continues working ok). Also, it's not expected to affect moodle-plugin-ci much, because not many plugins need xmlrpc. No matter of that, an issue will be created to fix it there. For reference, this issue has been created, because it seems that is with the latest updates of the setup-php action when the problem has started to happen: shivammathur/setup-php#625
For some unknown reason, the installation of the xmlrpc-beta extension for PHP 8.0 and up is not working properly with GHA anymore (since July 28, 2022). Apparently it's installed correctly, but it's not really there. Because of that the environmental checks are failing because the extension is not available. This only affects GHA (not Travis, where xmlrpc-beta, from PECL continues working ok). Also, it's not expected to affect moodle-plugin-ci much, because not many plugins need xmlrpc. No matter of that, an issue will be created to fix it there. For reference, this issue has been created, because it seems that is with the latest updates of the setup-php action when the problem has started to happen: shivammathur/setup-php#625
For some unknown reason, the installation of the xmlrpc-beta extension for PHP 8.0 and up is not working properly with GHA anymore (since July 28, 2022). Apparently it's installed correctly, but it's not really there. Because of that the environmental checks are failing because the extension is not available. This only affects GHA (not Travis, where xmlrpc-beta, from PECL continues working ok). Also, it's not expected to affect moodle-plugin-ci much, because not many plugins need xmlrpc. No matter of that, an issue will be created to fix it there. For reference, this issue has been created, because it seems that is with the latest updates of the setup-php action when the problem has started to happen: shivammathur/setup-php#625
Released 2.21.2 with the fix. |
For some unknown reason, the installation of the xmlrpc-beta extension for PHP 8.0 and up is not working properly with GHA anymore (since July 28, 2022). Apparently it's installed correctly, but it's not really there. Because of that the environmental checks are failing because the extension is not available. This only affects GHA (not Travis, where xmlrpc-beta, from PECL continues working ok). Also, it's not expected to affect moodle-plugin-ci much, because not many plugins need xmlrpc. No matter of that, an issue will be created to fix it there. For reference, this issue has been created, because it seems that is with the latest updates of the setup-php action when the problem has started to happen: shivammathur/setup-php#625
Thanks, jobs are back to green here, yippee! 🥳 |
Describe the bug
Since 24h ago (aprox) we have started to get failures in all our PHP 8.0 jobs. The failure is about the xmlrpc extension not being detected as installed, when we always add it via extensions: xmlrpc-beta.
All jobs were passing until 24h ago and we have verified that all the stack has not changed at all:
And the only piece that has changed is the new release of setup-php 2.21.1.
Version
v1
orv2
.v2
v1
Runners
Operating systems
Ubuntu 20.04
PHP versions
PHP 8.0 and PHP 8.1
To Reproduce
I've created this dummy repo with a simple workflow that verifies the "xmlrpc" installation over all PHP versions and, also with php-setup versions 2.20.1 (old) and 2.21.1 (actual). Here it is the workflow:
https://github.com/stronk7/xmlrpc-dummy-test/blob/main/.github/workflows/push.yml
Expected behavior
All the jobs and steps of that workflow should pass, specifically the xmlrpc-beta ones have stopped working.
Screenshots/Logs
You can see the workflow above running @ https://github.com/stronk7/xmlrpc-dummy-test/actions/runs/2755723909
Notes:
xmlrpc-1.0.0 Installed and enabled
. I'm not sure from where that 1.0.0 comes. All the other runs, failing or passing just say:xmlrpc Enabled
.Additional context
For us, the fix seems to be easy, just change
xmlrpc-beta
byxmlrpc
and done. Aka, point 2 in the notes above. Just guessing itxmlrpc
is going to remain working.But what seems clear is that
xmlrpc-beta
has stopped working with last setup-php release (point 3) and that there is something strange around with that 1.0.0 version (that doesn't seem to come from PECL).Are you willing to submit a PR?
Sorry, I don't have idea about what to fix! For curiosity I looked to the changes between 2.21.0 and 2.21.1... to see if there was something obvious... but no idea.
Ciao :-)
The text was updated successfully, but these errors were encountered: