@@ -315,6 +315,7 @@
Loading
315 315
            return defer.succeed(None)
316 316
        instance = self.instance
317 317
        self.instance = None
318 +
        self.resetWorkerPropsOnStop()
318 319
        self._stop_instance(instance, fast)
319 320
        return None
320 321

@@ -333,6 +333,7 @@
Loading
333 333
            return defer.succeed(None)
334 334
        instance = self.instance
335 335
        self.instance = None
336 +
        self.resetWorkerPropsOnStop()
336 337
        return threads.deferToThread(self._thd_stop_instance, instance, fast)
337 338
338 339
    def _thd_stop_instance(self, instance, fast):

@@ -115,6 +115,7 @@
Loading
115 115
    @defer.inlineCallbacks
116 116
    def stop_instance(self, fast=False, reportFailure=True):
117 117
        self.current_pod_spec = None
118 +
        self.resetWorkerPropsOnStop()
118 119
        try:
119 120
            yield self._kube.deletePod(self.namespace, self.getContainerName())
120 121
        except kubeclientservice.KubeError as e:

@@ -112,6 +112,7 @@
Loading
112 112
        res = yield self._http.delete("/v2/apps/{}".format(
113 113
            self.getApplicationId()))
114 114
        self.instance = None
115 +
        self.resetWorkerPropsOnStop()
115 116
116 117
        if res.code != 200 and reportFailure:
117 118
            res_json = yield res.json()

@@ -40,6 +40,9 @@
Loading
40 40
        self._actual_build_props = copy.deepcopy(props)
41 41
        defer.returnValue(props)
42 42
43 +
    def resetWorkerPropsOnStop(self):
44 +
        self._actual_build_props = None
45 +
43 46
    @defer.inlineCallbacks
44 47
    def isCompatibleWithBuild(self, build):
45 48
        if self._actual_build_props is None:
Files Coverage
master/buildbot 90.26%
worker/buildbot_worker 85.09%
Project Totals (352 files) 89.96%
Untitled
13450.2
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
13450.1
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux
13450.3
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading