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

[#5152] fix(oceanbase-catalog): OB catalog UTs failed on Mac #5178

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

featherchen
Copy link
Member

@featherchen featherchen commented Oct 18, 2024

What changes were proposed in this pull request?

The max user processes in the OB catalog unit tests should be larger than 120000

Why are the changes needed?

Fix: #5152

Does this PR introduce any user-facing change?

No

How was this patch tested?

./gradlew :catalogs:catalog-jdbc-oceanbase:test -PskipDockerTests=false

@featherchen featherchen marked this pull request as draft October 18, 2024 06:41
@jerryshao
Copy link
Contributor

Can you please fix the style issue @featherchen ?

@featherchen
Copy link
Member Author

@jerryshao Sure, but actually the OB catalog UTs will still fail after these changes.
I want to ask how can I get the obd error logs (where should I run obd display-trace)

@jerryshao
Copy link
Contributor

@mchades would you please help on this PR?

@mchades
Copy link
Contributor

mchades commented Oct 20, 2024

you can find the container logs in catalogs/catalog-jdbc-oceanbase/build/testcontainers.log after running ./gradlew :catalogs:catalog-jdbc-oceanbase:test -PskipDockerTests=false on MacOS

@featherchen featherchen marked this pull request as ready for review October 21, 2024 08:58
@mchades
Copy link
Contributor

mchades commented Oct 21, 2024

I see that CI has passed, can you successfully run the OB catalog container tests on your local Mac?

@featherchen
Copy link
Member Author

@mchades Unfortunately, I am still suffer from the memory insufficient issue : [ERROR] OBD-2000: (192.168.215.3) not enough memory. (Free: 4G, Buff/Cache: 833M, Need: 6G), Please reduce the memory_limitormemory_limit_percentage`

I have created #5189 to keep track of it.

Copy link
Contributor

@mchades mchades left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have manually tested this locally on my Mac, and it works. I am going to merge this PR into the main branch.

Thank you for your contributions!

@mchades mchades changed the title [#5152] fix: OB catalog UTs failed on Mac [#5152] fix(oceanbase-catalog): OB catalog UTs failed on Mac Oct 21, 2024
@mchades mchades merged commit d865df9 into apache:main Oct 21, 2024
26 checks passed
mplmoknijb pushed a commit to mplmoknijb/gravitino that referenced this pull request Nov 6, 2024
…pache#5178)

### What changes were proposed in this pull request?

The max user processes in the OB catalog unit tests should be larger
than 120000

### Why are the changes needed?

Fix: apache#5152

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

./gradlew :catalogs:catalog-jdbc-oceanbase:test -PskipDockerTests=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug report] OB catalog UTs failed on Mac
3 participants