Coder Social home page Coder Social logo

Comments (28)

nikitadanilov avatar nikitadanilov commented on July 27, 2024

Yes, some unit test are expected to leak memory, it's all right.

from cortx-motr.

johnbent avatar johnbent commented on July 27, 2024

Thanks @nikitadanilov , should we close this issue then?

from cortx-motr.

ttwalkertt avatar ttwalkertt commented on July 27, 2024

from cortx-motr.

johnbent avatar johnbent commented on July 27, 2024

Probably the best place to document this would be in the output of the test program itself. @nikitadanilov , you agree?

from cortx-motr.

nikitadanilov avatar nikitadanilov commented on July 27, 2024

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.

johnbent avatar johnbent commented on July 27, 2024

Yes, that would be awesome! @truptiatseagate can you please assign this work to someone?

from cortx-motr.

truptiatseagate avatar truptiatseagate commented on July 27, 2024

@anaghadeshmukh Pls reassign as appropriate

from cortx-motr.

anaghadeshmukh avatar anaghadeshmukh commented on July 27, 2024

Rajkumar will work on this after his current open source task is complete.

from cortx-motr.

stale avatar stale commented on July 27, 2024

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.

nkommuri avatar nkommuri commented on July 27, 2024

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.

cortx-admin avatar cortx-admin commented on July 27, 2024

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.

r-wambui avatar r-wambui commented on July 27, 2024

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.

stale avatar stale commented on July 27, 2024

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.

r-wambui avatar r-wambui commented on July 27, 2024

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.

nkommuri avatar nkommuri commented on July 27, 2024

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.

cortx-admin avatar cortx-admin commented on July 27, 2024

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.

stale avatar stale commented on July 27, 2024

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.

stale avatar stale commented on July 27, 2024

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.

cortx-admin avatar cortx-admin commented on July 27, 2024

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.

anaghadeshmukh avatar anaghadeshmukh commented on July 27, 2024

from cortx-motr.

stale avatar stale commented on July 27, 2024

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.

novium258 avatar novium258 commented on July 27, 2024

@anaghadeshmukh Did we get an answer on this one?

from cortx-motr.

stale avatar stale commented on July 27, 2024

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.

chandradharraval avatar chandradharraval commented on July 27, 2024

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.

nkommuri avatar nkommuri commented on July 27, 2024

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.

cortx-admin avatar cortx-admin commented on July 27, 2024

Bhargav Dekivadiya commented in Jira Server:

NA

from cortx-motr.

cortx-admin avatar cortx-admin commented on July 27, 2024

Bhargav Dekivadiya commented in Jira Server:

Github issue : [https://github.com//issues/77] is closed

from cortx-motr.

cortx-admin avatar cortx-admin commented on July 27, 2024

Bhargav Dekivadiya commented in Jira Server:

Corresponding Github issue : [https://github.com//issues/77] is closed

from cortx-motr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.