Design changes for PTL on cpuset mom. (Removal of cpuset skip decorator)

Follow the PBS Pro Design Document Guidelines.

Overview

Most of the tests are being skipped on cpuset mom because of either test is creating vnodes or modifying any of the node attributes.

In intent to run them if possible or skip the test from library itself rather than using a skip decorator these changes are made.


Design changes:

  1. Skip the test on cpuset if the test requests more vnodes than available on a cpuset mom.
  2. Skip the test on cpuset if the test requests more or less ncpus on a node than available.
  3. Set all node attributes except ncpus and mem if set by qmgr on the available nodes.
  4. If create_vnodes() requests same number of vnodes then return the available vnodes. If requested ncpus are more or less than available then skip the node.
  5. If create_vnodes() requests less number of vnodes than available then return the requested number of vnodes with setting attributes except ncpus and mem and make the rest of the vnodes offline. If requested ncpus are more or less than available then skip the node.
  6. I propose to make mom hostname as default vnode name rather than using vn or vnode. Make changes to all the tests which use any other vnode name.


Caveats:

  1. If test requests specific node to run for a job(In a job if mom hostname is requested which will be natural node incase of cpuset and cpus will be 0)- The tests needs to be modified case by case basis.
  2. If vnode name cannot be changed to start with mom hostname then we need to skip testcase. - Need to see case by case basis.






OSS Site Map

Project Documentation Main Page

Developer Guide Pages