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

Post-installation regression test failing on Ubuntu #306

Open
PragyanD opened this issue Sep 20, 2022 · 4 comments
Open

Post-installation regression test failing on Ubuntu #306

PragyanD opened this issue Sep 20, 2022 · 4 comments
Labels
question Further information is requested

Comments

@PragyanD
Copy link
Contributor

Encountering issues installing AGE-1.1.0-rc0 and AGE_PG12.1.0_ALPHA for PG 11.5 and PG 12.10 respectively.

test_expr is failing after running make installcheck.

I am on Ubuntu 22.04.1 through VirtualBox.

Here are the regression.diffs and regression.out file for the PG11 AGE version. They are near identical to the ones for the PG12 version.

regressiondiffs.txt
regressionout.txt

@JoshInnis
Copy link
Contributor

JoshInnis commented Sep 20, 2022

The optimizer/planner is picking a different execution plan between ubuntu and the development environments we currently have.

SET max_parallel_workers_per_gather = 0;

If you add this to the .sql file for expr the CONTEXT messages disappear, because the execution plan will not use parallel workers anymore. Though that will change the output of several other queries too. Since the order of a query isn't guaranteed unless the ORDER BY clause is present the different plans are outputting the results differently.

The CONTEXT errors can be solved by adding the above line, and the output differences can be solved by adding ORDER BY to the queries.

@skkk98
Copy link

skkk98 commented Sep 22, 2022

Facing identical issues as @PragyanD , test expr is failing for both pg11.5 and pg12.10

Using Ubuntu 22.04.1 LTS (VirtualBox)

dropping my regress files as well since they are slightly different (3-4 lines)from Pragyan's.

pg-11.5/age1.1.0 regress files
regressiondiffs.txt
regressionout.txt

pg-12.10/age_alpha
regressiondiffs.txt
regressionout.txt

@skkk98
Copy link

skkk98 commented Oct 13, 2022

I was reinstalling pg-11.17(to complete the gdb task), and after installing, the test expr failed again.

test_expr_failed_NO_CONTEXT_ERRORS

This time there were NO CONTEXT messages. What I noticed was that while installing AGE, I had my pg server running. when test expr failed, I reinstalled AGE again but this time I stopped the server. Stopping the server fixed the issue. I tried installing AGE again(with and without the pg server running). Noticed that when the pg server is running test expr fails and stopping the server fixes the issue. @JoshInnis what do you think? is pg server running responsible for test expr failing?

@jrgemignani
Copy link
Contributor

Haven't we created a task to correct these regression issues by adding ORDER BY? I thought that we had. We need to address this so that other potential users don't run into this. Especially, since it is such a simple fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants