Comments (28)
Yes, some unit test are expected to leak memory, it's all right.
from cortx-motr.
Thanks @nikitadanilov , should we close this issue then?
from cortx-motr.
from cortx-motr.
Probably the best place to document this would be in the output of the test program itself. @nikitadanilov , you agree?
from cortx-motr.
You mean if somebody went through all the UT-s, clarified with the authors whether leaks are expected and then modified the ut bench to print "expected" or "unexpected" accordingly? Yes, that would be useful.
from cortx-motr.
Yes, that would be awesome! @truptiatseagate can you please assign this work to someone?
from cortx-motr.
@anaghadeshmukh Pls reassign as appropriate
from cortx-motr.
Rajkumar will work on this after his current open source task is complete.
from cortx-motr.
This issue/pull request has been marked as needs attention
as it has been left pending without new activity for 4 days. Tagging @huanghua78 @mukundkanekar for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
from cortx-motr.
Hi @johnbent @truptiatseagate @anaghadeshmukh , we've discussed this and came up with 2 options.
Option 1: Document a generic statement mentioning some of the UTs will have memory leaks which is expected.
Option 2: Scrub all the UTs, find out which UTs are leaking memory and it is expected or not. This requires some effort.
Please suggest.
from cortx-motr.
Trupti Patil commented in Jira Server:
I think option 1 can be used as the short term one and the option 2 can be longer term e.g. in PI5 and may spread over PI6 if there is extensive work to assess each UT closely as why there is memory leak etc and the number of UTs are too many.
Since this issue does not have any impact to the end-user, we will need to weigh its priority against the rest of our backlog. Thanks.
from cortx-motr.
JIra ticket link: https://jts.seagate.com/browse/EOS-23725
@johnbent @truptiatseagate @anaghadeshmukh @nkommuri Is the solution to this issue for the long term be at the backlog and should we document for the short term solution?
from cortx-motr.
This issue/pull request has been marked as needs attention
as it has been left pending without new activity for 4 days. Tagging @nkommuri @mehjoshi @huanghua78 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
from cortx-motr.
Hi @truptiatseagate has option 1(Add documentation into the test program itself) been fixed or still in progress? For option 2 (Finding out whit unit tests are causing the memory leaks) could you please let's know if someone is assigned to the task?
from cortx-motr.
JIra ticket link: https://jts.seagate.com/browse/EOS-23725
@johnbent @truptiatseagate @anaghadeshmukh @nkommuri Is the solution to this issue for the long term be at the backlog and should we document for the short term solution?
yes @r-wambui
from cortx-motr.
Nagakishore Kommuri commented in Jira Server:
As part of option 1, planning to print following statement at the beginning of run-ut.
diff --git a/scripts/m0 b/scripts/m0
index ace98a6..42cdd10 100755
--- a/scripts/m0
+++ b/scripts/m0
@@ -325,6 +325,11 @@ UT output: $RUNDIR
EOF
}
+if [[ "$1" == "run-ut" ]]; then
+ echo "Please note that we have observed memory leaks in some UTs which we are going to address in future releases"
+fi
CMD=
OPTS=
while [ $# -gt 0 ]; do
from cortx-motr.
This issue/pull request has been marked as needs attention
as it has been left pending without new activity for 4 days. Tagging @nkommuri @mehjoshi @huanghua78 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
from cortx-motr.
This issue/pull request has been marked as needs attention
as it has been left pending without new activity for 4 days. Tagging @nkommuri @mehjoshi @huanghua78 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
from cortx-motr.
Donald R Bloyer commented in Jira Server:
[~530903] [~934754] [~934462]
have addressed most of this in our last several months memory leak 'hunt'?
from cortx-motr.
from cortx-motr.
This issue/pull request has been marked as needs attention
as it has been left pending without new activity for 4 days. Tagging @nkommuri @mehjoshi @huanghua78 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
from cortx-motr.
@anaghadeshmukh Did we get an answer on this one?
from cortx-motr.
This issue/pull request has been marked as needs attention
as it has been left pending without new activity for 4 days. Tagging @nkommuri @mehjoshi @huanghua78 for appropriate assignment. Sorry for the delay & Thank you for contributing to CORTX. We will get back to you as soon as possible.
from cortx-motr.
Hi @novium258,
This memory leak is for one of the unit test and not in the code flow. Due to that we have not prioritize it. We will be fixing the same in our current PI
from cortx-motr.
Closing. No plans to fix memory leaks in UTs right now. We will take this up in future. Leaks in main stream code will be prioritized and fixed.
from cortx-motr.
Bhargav Dekivadiya commented in Jira Server:
NA
from cortx-motr.
Bhargav Dekivadiya commented in Jira Server:
Github issue : [https://github.com//issues/77] is closed
from cortx-motr.
Bhargav Dekivadiya commented in Jira Server:
Corresponding Github issue : [https://github.com//issues/77] is closed
from cortx-motr.
Related Issues (20)
- Unexpected keyword argument 'priority' in function call HOT 6
- degraded write fails when cob create fails HOT 5
- m0_fom_queue() panic in some UTs while doing cleanup HOT 13
- list of unit test failed HOT 3
- subprocess call with shell=True identified, security issue. HOT 9
- [Codacy code cleanup] occurrence: 8 pattern: hardcoded_sql_expression HOT 7
- Disable alternative pool versions by default HOT 4
- Sustained writes causes Motr to stop responding and require restarting HOT 25
- gccxml_cc1plus: error: cortx-motr/be/btree.h: No such file or directory HOT 6
- UT net-lnet is failing on Jenkins because lnet is not configured/loaded properly. HOT 11
- dtm0/log: record pmsgs from participants HOT 5
- I/O test failed HOT 10
- Error when trying to install Motr+HARE from iosea release HOT 3
- Ctgdump failed and all2all test HOT 7
- Phase2 mkfs failed during cluster bootstrapping after recent updates HOT 8
- Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. HOT 7
- dix: return obj-version and number of replicas on get HOT 9
- dix: introduce cas-put by obj-version operation HOT 5
- dix: introduce cas-delete by obj-version operation HOT 4
- dix: make index creation/deletion operations fault-tolerant HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cortx-motr.