pulp_smash.exceptions

Location: Pulp SmashAPI Documentationpulp_smash.exceptions

Custom exceptions defined by Pulp Smash.

exception pulp_smash.exceptions.BugStatusUnknownError

Bases: Exception

We have encountered a bug whose status is unknown to us.

See pulp_smash.selectors for more information on how bug statuses are used.

exception pulp_smash.exceptions.BugTPRMissingError

Bases: Exception

We have encountered a bug with no “Target Platform Release” field.

See pulp_smash.selectors for more information.

exception pulp_smash.exceptions.CallReportError

Bases: Exception

A call report contains an error.

For more information about pulp’s task handling, see Synchronous and Asynchronous Calls and Task Management.

exception pulp_smash.exceptions.CalledProcessError(args_, returncode, stdout, stderr, *args, **kwargs)

Bases: Exception

Indicates a CLI process has a non-zero return code.

See pulp_smash.cli.CompletedProcess() for more information.

exception pulp_smash.exceptions.ConfigFileNotFoundError

Bases: Exception

We cannot find the requested Pulp Smash configuration file.

See pulp_smash.config for more information on how configuration files are handled.

exception pulp_smash.exceptions.ConfigFileSectionNotFoundError

Bases: Exception

We cannot read the requested Pulp Smash configuration file section.

See pulp_smash.config for more information on how configuration files are handled.

exception pulp_smash.exceptions.ConfigValidationError(message, *args, **kwargs)

Bases: Exception

The configuration file has validation errors.

See pulp_smash.config.validate_config() for more information on how
configuration validation is handled.
exception pulp_smash.exceptions.NoKnownBrokerError

Bases: Exception

We cannot determine the AMQP broker used by a system.

An “AMQP broker” is a tool such as RabbitMQ or Apache Qpid.

exception pulp_smash.exceptions.NoKnownPackageManagerError

Bases: Exception

We cannot determine the package manager used by a system.

A “package manager” is a tool such as yum or dnf.

exception pulp_smash.exceptions.NoKnownServiceManagerError

Bases: Exception

We cannot determine the service manager used by a system.

A “service manager” is a tool such as systemctl or service.

exception pulp_smash.exceptions.TaskReportError(msg, task, *args, **kwargs)

Bases: Exception

A task contains an error.

For more information about pulp’s task handling, see Synchronous and Asynchronous Calls and Task Management.

exception pulp_smash.exceptions.TaskTimedOutError

Bases: Exception

We timed out while polling a task and waiting for it to complete.

See pulp_smash.api.poll_spawned_tasks() and pulp_smash.api.poll_task() for more information on how task polling is handled.