pcvs.helpers.exceptions module
- class pcvs.helpers.exceptions.BankException[source]
Bases:
CommonExceptionBank-specific exceptions.
- exception ProjectNameError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionname is not a valid project under the given bank.
- class pcvs.helpers.exceptions.CommonException[source]
Bases:
objectGathers exceptions commonly encountered by more specific namespaces.
- exception AlreadyExistError(reason='Already Exist', **kwargs)[source]
Bases:
GenericExceptionThe content already exist as it should.
- exception BadTokenError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionBadly formatted string, unable to parse.
- exception IOError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionCommunication error (FS, process) while processing data.
- exception NotFoundError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionContent 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:
GenericExceptionMissing 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:
GenericExceptionThe parent class timeout error.
- exception UnclassifiableError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionUnable to classify this common error.
- exception WIPError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionWork in Progress, not a real error.
- class pcvs.helpers.exceptions.ConfigException[source]
Bases:
CommonExceptionConfig-specific exceptions.
- exception pcvs.helpers.exceptions.GenericException(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
ExceptionGeneric 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:
CommonExceptionLock-specific exceptions.
- exception BadOwnerError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionAttempt 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:
GenericExceptionTimeout reached before lock.
- class pcvs.helpers.exceptions.OrchestratorException[source]
Bases:
CommonExceptionExecution-specific errors.
- exception CircularDependencyError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionCircular 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:
GenericExceptionDeclared job dep cannot be fully qualified, not defined.
- class pcvs.helpers.exceptions.PluginException[source]
Bases:
CommonExceptionPlugin-related exceptions.
- exception BadStepError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptiontargeted pass does not exist.
- exception LoadError(reason='Issue(s) while loading plugin', **kwargs)[source]
Bases:
GenericExceptionUnable to load plugin directory.
- class pcvs.helpers.exceptions.ProfileException[source]
Bases:
CommonExceptionProfile-specific exceptions.
- exception IncompleteError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionA 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:
GenericExceptionA single ID leads to multiple jobs.
- exception BadMagicTokenError(reason='Unkown error', help_msg='Please check pcvs --help for more information.', dbg_info={})[source]
Bases:
GenericExceptionIssue 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:
GenericExceptionUnable to identify a job by its ID
- class pcvs.helpers.exceptions.RunException[source]
Bases:
CommonExceptionRun-specific exceptions.
- exception InProgressError(reason='Build directory currently used by another instance', **kwargs)[source]
Bases:
GenericExceptionA run is currently occuring in the given dir.
- exception NonZeroSetupScript(reason='A setup script failed to complete', **kwargs)[source]
Bases:
GenericExceptiona setup script (=pcvs.setup) completed but returned non-zero exit code.
- exception ProgramError(reason='A program cannot be found', **kwargs)[source]
Bases:
GenericExceptionThe 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:
GenericExceptionUnable to run a remote container
- class pcvs.helpers.exceptions.TestException[source]
Bases:
CommonExceptionTest-specific exceptions.
- exception TestExpressionError(reason='Issue(s) while parsing a Test Descriptor', **kwargs)[source]
Bases:
GenericExceptionTest description is wrongly formatted.
- class pcvs.helpers.exceptions.ValidationException[source]
Bases:
CommonExceptionValidation-specific exceptions.
- exception FormatError(reason='Invalid format', **kwargs)[source]
Bases:
GenericExceptionThe content does not comply the required format (schemes).
- exception SchemeError(reason='Invalid Scheme provided', **kwargs)[source]
Bases:
GenericExceptionThe content is not a valid format (scheme).
- exception WrongTokenError(reason='Invalid token(s) used as Placeholders', **kwargs)[source]
Bases:
GenericExceptionA unknown token is found in valided content