Bug 190 - Proposition for a test case
: Proposition for a test case
Status: REOPENED
Product: TORQUE
pbs_server
: 4.0.*
: Other Linux
: P5 enhancement
Assigned To: David Beer
:
:
:
  Show dependency treegraph
 
Reported: 2012-05-04 04:14 MDT by Roy Dragseth
Modified: 2012-05-29 10:02 MDT (History)
2 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Roy Dragseth 2012-05-04 04:14:07 MDT
Follow up to request for test cases posted on the list.

Try to remove and add nodes in quick succession.  This currently crashes
pbs_server in v3.0.4, but not 4.0.0.

removeandaddnodes.sh:
qmgr -c "delete node compute-0-0" 2> /dev/null
qmgr -c "create node compute-0-0 np=2,ntype=cluster" 2> /dev/null
qmgr -c "delete node compute-0-1" 2> /dev/null
qmgr -c "create node compute-0-1 np=2,ntype=cluster" 2> /dev/null
qmgr -c "delete node compute-0-2" 2> /dev/null
qmgr -c "create node compute-0-2 np=2,ntype=cluster" 2> /dev/null

First run will most likely succeed, second run will result in a segfault.  This
is how the node list is refreshed in Rocks.

r.
Comment 1 David Beer 2012-05-29 10:01:26 MDT
I was able to reproduce and fix this issue, and this will be included in the
4.0.3 release.
Comment 2 David Beer 2012-05-29 10:02:14 MDT
This was closed due to a glitch.