Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Str ListLoad Str Str Str Str Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Dict decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Dict If CompareIn NameLoad NameLoad body Assign NameStore BinOpMod AttributeLoad AttributeLoad NameLoad attr attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str CompareLt NameLoad BinOpMult SubscriptLoad NameLoad Index NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list NameLoad decorator_list
N/A __future__ absolute_import datetime datetime collections namedtuple changes.config db changes.constants Result Status changes.models.jobstep JobStep changes.utils.agg aggregate_result N/A LXCConfig N/A namedtuple LXCConfig N/A compression release prelaunch postlaunch s3_bucket BuildStep N/A object N/A can_snapshot N/A N/A self N/A N/A N/A False N/A get_label N/A N/A self N/A N/A N/A NotImplementedError N/A get_resource_limits N/A N/A self N/A N/A N/A Return the resource limits that should be applied to individual executions.
        The return value is expected to be a dict like:
           {'cpus': 4, 'memory': 8000}
        with 'cpus' and 'memory' indicating the number of CPUs and megabytes of memory needed
        respectively. Both fields are optional.
        Specifying these values don't guarantee you'll get them (or that you won't get more),
        but it will be taken into account when scheduling jobs, and steps with lower limits
        may be scheduled sooner.
         N/A N/A N/A get_lxc_config N/A N/A self jobstep N/A N/A N/A 
        Get the LXC configuration, if the LXC adapter should be used.
        Args:
            jobstep (JobStep): The JobStep to get the LXC config for.

        Returns:
            LXCConfig: The config to use for this jobstep, or None.
         N/A None N/A get_test_stats_from N/A N/A self N/A N/A N/A 
        Returns the project slug that test statistics should be retrieved from,
        or None to use the current project.
         N/A None N/A execute N/A N/A self job N/A N/A N/A 
        Given a new job, execute it (either sync or async), and report the
        results or yield to an update step.
         N/A NotImplementedError N/A create_replacement_jobstep N/A N/A self step N/A N/A N/A Attempt to create a replacement of the given jobstep.

        Returns new jobstep if successful, None otherwise. N/A None N/A update N/A N/A self job N/A N/A N/A NotImplementedError N/A update_step N/A N/A self step N/A N/A N/A NotImplementedError N/A validate N/A N/A self job N/A N/A N/A Called when a job is ready to be finished.

        This is responsible for setting the job's final result. The base
        implementation simply aggregates the phase results.

        Args:
            job (Job): The job being finished.
        Returns:
            None
         N/A N/A job result N/A aggregate_result N/A N/A p result N/A p N/A job phases N/A validate_phase N/A N/A self phase N/A N/A N/A Called when a job phase is ready to be finished.

        This is responsible for setting the phases's final result. The base
        implementation simply aggregates the jobstep results.

        Args:
            phase (JobPhase): The phase being finished.
        Returns:
            None
         N/A N/A phase result N/A aggregate_result N/A N/A s result N/A s N/A phase current_steps N/A cancel N/A N/A self job N/A N/A N/A active_steps N/A N/A N/A JobStep query filter N/A N/A JobStep job job N/A N/A JobStep status N/A Status finished N/A step active_steps N/A N/A N/A N/A self cancel_step step N/A N/A step status N/A Status finished N/A N/A step result N/A Result aborted N/A N/A step date_finished N/A N/A datetime utcnow N/A N/A N/A N/A db session add step N/A N/A N/A N/A db session flush N/A cancel_step N/A N/A self step N/A N/A N/A NotImplementedError N/A fetch_artifact N/A N/A self artifact N/A N/A N/A NotImplementedError N/A create_expanded_jobstep N/A N/A self jobstep new_jobphase future_jobstep N/A N/A N/A NotImplementedError N/A get_allocation_command N/A N/A self jobstep N/A N/A N/A NotImplementedError N/A get_artifact_manager N/A N/A self jobstep N/A N/A N/A 
        Return an artifacts.manager.Manager object for the given jobstep.

        This manager should be created with all artifact handlers that apply.
        For instance, in a collection JobStep, you might wish to have only a
        handler for a collection artifact, whereas in JobSteps that run tests,
        you may wish to have handlers for test result files, coverage, etc.

        Args:
            jobstep: The JobStep in question.
         N/A NotImplementedError N/A prefer_artifactstore N/A N/A self N/A N/A N/A 
        Return true if we should prefer the artifact store artifacts over
        those collected by Mesos/Jenkins.
         N/A False N/A verify_final_artifacts N/A N/A self jobstep artifacts N/A N/A N/A 
        Called when a jobstep is finished but we haven't yet synced its artifacts.
        Used to do any verification we might want, for instance checking for
        required artifacts.
         N/A handle_debug_infra_failures N/A N/A jobstep debug_config phase_type N/A N/A N/A 
        Uses the infra_failures debug_config to determine whether a JobStep
        should simulate an infra failure, and sets the JobStep's data field
        accordingly. (changes-client will then report an infra failure.)

        Args:
            jobstep: The JobStep in question.
            debug_config: The debug_config for this BuildStep.
            phase_type: The phase this JobStep is in. Either 'primary' or 'expanded'
         N/A infra_failures N/A N/A debug_config get infra_failures N/A N/A N/A phase_type infra_failures N/A N/A percent N/A N/A N/A jobstep id int 100 N/A N/A N/A jobstep data N/A debugForceInfraFailure N/A percent N/A N/A infra_failures N/A phase_type 100 N/A N/A N/A N/A db session add jobstep N/A staticmethod N/A