Skip to content

PHOENIX-6335 Jenkins tests getting OS level OOM erros - #1106

Closed
stoty wants to merge 1 commit into
apache:masterfrom
stoty:PHOENIX-6335
Closed

PHOENIX-6335 Jenkins tests getting OS level OOM erros#1106
stoty wants to merge 1 commit into
apache:masterfrom
stoty:PHOENIX-6335

Conversation

@stoty

Copy link
Copy Markdown
Contributor

No description provided.

@stoty

Copy link
Copy Markdown
ContributorAuthor

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/1/console in case of problems.

@stoty

Copy link
Copy Markdown
ContributorAuthor

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/2/console in case of problems.

@stoty

Copy link
Copy Markdown
ContributorAuthor

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 14sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 1sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep4m 24sMaven dependency ordering for branch
+0hbaserecompile11m 27sHBase recompiled.
_ Patch Compile Tests _
+0 🆗mvndep0m 7sMaven dependency ordering for patch
+0hbaserecompile7m 28sHBase recompiled.
+1 💚shellcheck0m 2sThe patch generated 0 new + 2 unchanged - 1 fixed = 2 total (was 3)
+1 💚shelldocs0m 2sThere were no new shelldocs issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
_ Other Tests _
+0 🆗asflicense0m 0sASF License check generated no output?
21m 6s
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1106
Optional Testsdupname asflicense shellcheck shelldocs
unameLinux f7391c97f670 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 11b37e6
Max. process+thread count86 (vs. ulimit of 30000)
modulesC: U:
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/2/console
versionsgit=2.7.4 maven=3.3.9 shellcheck=0.7.0
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
ContributorAuthor

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/3/console in case of problems.

Comment threaddev/phoenix-personality.sh Outdated
DOCKER_MEMORY=20g

#Allow some swaping to avoid OOM errors
DOCKER_EXTRAARGS+=( "--memory-swap=24g" )

@virajjasanivirajjasaniJan 22, 2021

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this a proven way? (Just asking in case any Hadoop project is following this and it's working fine for them)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I was just looking up https://docs.docker.com/config/containers/resource_constraints/ and found this:

--memory-swap is a modifier flag that only has meaning if --memory is also set.

What we specify with DOCKERMEMLIMIT is treated as --memory by Yetus?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Is this a proven way? (Just asking in case any Hadoop project is following this and it's working fine for them)

Not that I know of.
I was just looking at the docker memory management options, and this seemed like a solution without overcommitting the host memory.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

What we specify with DOCKERMEMLIMIT is treated as --memory by Yetus?

Yes, DOCKER_MEMORY is passed as --memory= to docker by yetus.
(The DOCKERMEMLIMIT variable name was wrong, or at least obsolete)

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 16sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 💚mvninstall16m 55smaster passed
+0hbaserecompile23m 53sHBase recompiled.
+1 💚compile1m 11smaster passed
+1 💚checkstyle0m 33smaster passed
+1 💚javadoc0m 55smaster passed
+0 🆗spotbugs3m 19sphoenix-core in master has 955 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall10m 54sthe patch passed
+0hbaserecompile23m 41sHBase recompiled.
+1 💚compile1m 39sthe patch passed
+1 💚javac1m 39sthe patch passed
+1 💚checkstyle0m 48sthe patch passed
+1 💚shellcheck0m 2sThe patch generated 0 new + 2 unchanged - 1 fixed = 2 total (was 3)
+1 💚shelldocs0m 4sThere were no new shelldocs issues.
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc1m 25sthe patch passed
+1 💚spotbugs5m 38sthe patch passed
_ Other Tests _
-1 ❌unit269m 42sphoenix-core in the patch failed.
+1 💚asflicense1m 3sThe patch does not generate ASF License warnings.
335m 25s
ReasonTests
Failed junit testsphoenix.end2end.index.LocalMutableNonTxIndexIT
phoenix.end2end.index.MutableIndexIT
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1106
Optional Testsdupname asflicense shellcheck shelldocs javac javadoc unit spotbugs hbaserebuild hbaseanti checkstyle compile
unameLinux 5f3d762a9612 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 11b37e6
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/3/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/3/testReport/
Max. process+thread count10467 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/3/console
versionsgit=2.7.4 maven=3.3.9 shellcheck=0.7.0 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

stoty commented Aug 5, 2021

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec7m 26sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚test4tests0m 0sThe patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 💚mvninstall24m 7smaster passed
+0hbaserecompile31m 19sHBase recompiled.
+1 💚compile1m 9smaster passed
+1 💚checkstyle1m 15smaster passed
+1 💚javadoc0m 53smaster passed
+0 🆗spotbugs3m 26sphoenix-core in master has 973 extant spotbugs warnings.
_ Patch Compile Tests _
+1 💚mvninstall17m 0sthe patch passed
+0hbaserecompile27m 44sHBase recompiled.
+1 💚compile1m 5sthe patch passed
+1 💚javac1m 5sthe patch passed
-1 ❌checkstyle1m 12sphoenix-core: The patch generated 44 new + 556 unchanged - 36 fixed = 600 total (was 592)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚javadoc0m 49sthe patch passed
-1 ❌spotbugs3m 39sphoenix-core generated 1 new + 973 unchanged - 0 fixed = 974 total (was 973)
_ Other Tests _
-1 ❌unit231m 22sphoenix-core in the patch failed.
+1 💚asflicense0m 35sThe patch does not generate ASF License warnings.
311m 29s
ReasonTests
FindBugsmodule:phoenix-core
Load of known null value in org.apache.phoenix.compile.FromCompiler$ProjectedTableColumnResolver.resolveColumn(String, String, String) At FromCompiler.java:in org.apache.phoenix.compile.FromCompiler$ProjectedTableColumnResolver.resolveColumn(String, String, String) At FromCompiler.java:[line 1202]
Failed junit testsphoenix.tx.ParameterizedTransactionIT
phoenix.end2end.index.ViewIndexIT
phoenix.end2end.FlappingLocalIndexIT
phoenix.end2end.index.LocalIndexIT
SubsystemReport/Notes
DockerClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#1106
Optional Testsdupname asflicense javac javadoc unit spotbugs hbaserebuild hbaseanti checkstyle compile
unameLinux 6bed6d850187 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 025a4af
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
checkstylehttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/4/artifact/yetus-general-check/output/diff-checkstyle-phoenix-core.txt
spotbugshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/4/artifact/yetus-general-check/output/new-spotbugs-phoenix-core.html
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/4/artifact/yetus-general-check/output/patch-unit-phoenix-core.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/4/testReport/
Max. process+thread count11990 (vs. ulimit of 30000)
modulesC: phoenix-core U: phoenix-core
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1106/4/console
versionsgit=2.7.4 maven=3.3.9 spotbugs=4.1.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@stoty

Copy link
Copy Markdown
ContributorAuthor

Most of this doesn't even look relevant to memory usage.
I seem to have mixed up some branches.

@stotystoty closed this Aug 22, 2023
Sign up for freeto 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.

2 participants

@stoty@virajjasani