pcvs.helpers.exceptions module
- class pcvs.helpers.exceptions.BankException[source]
Bases:
CommonException
Bank-specific exceptions.
- exception ProjectNameError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
name is not a valid project under the given bank.
- class pcvs.helpers.exceptions.CommonException[source]
Bases:
object
Gathers exceptions commonly encountered by more specific namespaces.
- exception AlreadyExistError(reason='Already Exist', **kwargs)[source]
Bases:
GenericException
The content already exist as it should.
- exception BadTokenError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Badly formatted string, unable to parse.
- exception IOError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Communication error (FS, process) while processing data.
- exception NotFoundError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Content haven’t been found based on specifications.
- exception NotImplementedError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Missing implementation for this particular feature.
- exception NotPCVSRelated(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
- exception TimeoutError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
The parent class timeout error.
- exception UnclassifiableError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Unable to classify this common error.
- exception WIPError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Work in Progress, not a real error.
- class pcvs.helpers.exceptions.ConfigException[source]
Bases:
CommonException
Config-specific exceptions.
- exception pcvs.helpers.exceptions.GenericException(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
Exception
Generic error (custom errors will inherit of this).
- property dbg
returns the extra infos of the exceptions (if any).
- Returns:
only the debug infos.
- Return type:
- property dbg_str
Stringify the debug infos. These infos are stored as a dict initially.
- return:
a itemized string.
- rtype:
str
- property err
returns the error part of the exceptions.
- Returns:
only the error part
- Return type:
- class pcvs.helpers.exceptions.GitException[source]
Bases:
CommonException
- exception BadEntryError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
- class pcvs.helpers.exceptions.LockException[source]
Bases:
CommonException
Lock-specific exceptions.
- exception BadOwnerError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Attempt to manipulate the lock while the current process is not the owner.
- exception TimeoutError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Timeout reached before lock.
- class pcvs.helpers.exceptions.OrchestratorException[source]
Bases:
CommonException
Execution-specific errors.
- exception CircularDependencyError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Circular dep detected while processing job dep tree.
- exception UndefDependencyError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Declared job dep cannot be fully qualified, not defined.
- class pcvs.helpers.exceptions.PluginException[source]
Bases:
CommonException
Plugin-related exceptions.
- exception BadStepError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
targeted pass does not exist.
- exception LoadError(reason='Issue(s) while loading plugin', **kwargs)[source]
Bases:
GenericException
Unable to load plugin directory.
- class pcvs.helpers.exceptions.ProfileException[source]
Bases:
CommonException
Profile-specific exceptions.
- exception IncompleteError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
A configuration block is missing to build the profile.
- class pcvs.helpers.exceptions.PublisherException[source]
Bases:
CommonException
- exception AlreadyExistJobError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
A single ID leads to multiple jobs.
- exception BadMagicTokenError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Issue with token stored to file to check consistency
- exception UnknownJobError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Unable to identify a job by its ID
- class pcvs.helpers.exceptions.RunException[source]
Bases:
CommonException
Run-specific exceptions.
- exception InProgressError(reason='Build directory currently used by another instance', **kwargs)[source]
Bases:
GenericException
A run is currently occuring in the given dir.
- exception NonZeroSetupScript(reason='A setup script failed to complete', **kwargs)[source]
Bases:
GenericException
a setup script (=pcvs.setup) completed but returned non-zero exit code.
- exception ProgramError(reason='A program cannot be found', **kwargs)[source]
Bases:
GenericException
The given program cannot be found.
- class pcvs.helpers.exceptions.RunnerException[source]
Bases:
CommonException
- exception LaunchError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericException
Unable to run a remote container
- class pcvs.helpers.exceptions.TestException[source]
Bases:
CommonException
Test-specific exceptions.
- exception TestExpressionError(reason='Issue(s) while parsing a Test Descriptor', **kwargs)[source]
Bases:
GenericException
Test description is wrongly formatted.
- class pcvs.helpers.exceptions.ValidationException[source]
Bases:
CommonException
Validation-specific exceptions.
- exception FormatError(reason='Invalid format', **kwargs)[source]
Bases:
GenericException
The content does not comply the required format (schemes).
- exception SchemeError(reason='Invalid Scheme provided', **kwargs)[source]
Bases:
GenericException
The content is not a valid format (scheme).
- exception WrongTokenError(reason='Invalid token(s) used as Placeholders', **kwargs)[source]
Bases:
GenericException
A unknown token is found in valided content