-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Proposal to DROP SUPPORT of Postgres due to ongoing CI Instability #6374
Comments
@Moumouls thanks for reporting. We need to figure it out. In the meantime, I managed to have your PRs tests passing. |
I tried to fix the postgres issue a while ago. I could downgrade to 10 and see if that helps (originally was at 9.5 then jumped to 11). I don't know why its looking for postgis 2.4 (it should look for 2.5 and I don't know how to force it). For the Push Status one I might be able to fix it indirectly. |
I am just restarting builds to get them to pass. Not sustainable. |
I've also done this for a long while now... |
do you use postgres? I really can't take the time to be able to test postgres. I think we should take it out of testing and only add it back if someone who actually uses it in production can help. |
I don't have any app using Postgres but I know there are some users out there using it. I am not sure about just removing it from the CI. I think we'd need to descontinue its support because if we remove it from the CI it will stop working sooner or later. Maybe we can think about moving it to a different repo with its own tests which would be pinned to use the current version of Parse till the moment someone join to maintain it. I'm not sure. I'm open to ideas because it is really consuming a lot of time to continue carrying it here and making sure that everything we do also passes on Postgres even though there are probably few users using it. |
@acinader I use Postgres 11 and it was working well on parse-server 3.10. I might be able to help here, though I haven't done anything with CL before. If you point me to the files that's causing the issue, I can take a look.
|
Hi @cbaker6 I'd be glad to help out if I can. Having someone who is using postgres helping out would be awesome and is really a pre-requisite for us being able to continue to support postgres in a first class way. You could also open a trivial pull request to set off a test. If it doesn't fail on the first try, I can just keep re-running it until it does break. It usually fails on the first try though.
I can be of more help if we can slack each other in real time. Out channel is: parseopensource |
If the fix works okay, can this be closed? |
yup |
@acinader from the comments earlier, it seems this problem was pretty consistent. It looks like there was at least 5 pull requests after the commit that didn't have the issue. Was it always this sporadic? As I would like to know how to replicate it to fix it |
that's a good question that I, unfortunately, don't have the answer to. My off the cuff is that we were seeing one or two jobs failing out the 5 jobs / build ~ 50% of the pr's sometimes we'd see none and other times we'd see 4 or 5 job failures. so it was purdy dang variable. |
To fix this issue it’s going to be a guess and check game. Commit check CI and repeat. |
I'm pretty sure the issue is what I put in the comment for my attempted fix. According to this the Xenial image that the current CI uses comes with pre-installed versions of postgres 9.4 9.5 9.6 10. The "services: postgres" line I took out was previously enabling the old version of Postgres. Some things to look into /are:
Note: I'm new to travis, but it looks like the way the current file is written, it's installing postgres for every test, even when testing mongo (I would guess this adding time on testing). I have seen some things online about specifying services and addons for specific test. This will be important even after the aforementioned problem is fixed because it will help identify issues in different versions of Postgres. For example, I'm sure Postgres 12 is buggy as I was having issues with it on my server, but testing against this version will help identify where the issues are. I can look into this later. |
From the build @acinader posted I discovered Postgres 10 is installed. I’m on mobile but View Raw logs and search Postgres. 10.7 is installing I don’t know why but I’m sure we can uninstall 10 |
@dplewis @cbaker6 @davimacedo |
I believe this can be closed know. I haven't seen it this issue again after 20+ builds |
It seems that we have some CI fails
#6371
#6360
#6363
Sometimes Postgres error:
Sometimes Push error:
Do you have any idea where the failures come from?
The text was updated successfully, but these errors were encountered: