Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WIP: also pickle DigestProtoaevri/check_spawn_ci_working | Angelos Evripiotis | 2019-10-17 | 1 | -0/+14 |
| | |||||
* | TEMP: workaround global __FILE_LIST not being pickled | Angelos Evripiotis | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | Revert "TEMP: testpickle" | Angelos Evripiotis | 2019-10-17 | 2 | -229/+0 |
| | | | | This reverts commit 5c73549c70daf3677604dfe991afae076bccf5eb. | ||||
* | Revert "TEMP: testpickle doens't breakpoint" | Angelos Evripiotis | 2019-10-17 | 1 | -1/+1 |
| | | | | This reverts commit 4e23c173dde2547dc6cc4be36ff8ccee6711a8d2. | ||||
* | WIP: drop some prints | Angelos Evripiotis | 2019-10-17 | 1 | -4/+0 |
| | |||||
* | gitlab-ci: try all tests for spawn | Angelos Evripiotis | 2019-10-17 | 1 | -1/+2 |
| | |||||
* | TEMP: testpickle doens't breakpoint | Angelos Evripiotis | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | WIP: pickle first_pass_config too | Angelos Evripiotis | 2019-10-17 | 3 | -4/+42 |
| | |||||
* | TEMP: testpickle | Angelos Evripiotis | 2019-10-17 | 2 | -0/+229 |
| | |||||
* | WIP: don't pickle plugins | Angelos Evripiotis | 2019-10-17 | 1 | -0/+3 |
| | |||||
* | WIP: spawn-multiprocessing: -n 2 | Angelos Evripiotis | 2019-10-17 | 1 | -1/+1 |
| | |||||
* | WIP: .gitlab-ci: enable working tests | Angelos Evripiotis | 2019-10-17 | 1 | -10/+1 |
| | |||||
* | WIP: mv set_start_method to conftest.py | Angelos Evripiotis | 2019-10-17 | 2 | -5/+12 |
| | |||||
* | WIP: do integration tests | Angelos Evripiotis | 2019-10-16 | 1 | -1/+1 |
| | |||||
* | WIP: force start method in test site | Angelos Evripiotis | 2019-10-16 | 1 | -0/+6 |
| | |||||
* | Revert "_frontend/status.py: Readd cache usage to status bar" | Angelos Evripiotis | 2019-10-16 | 1 | -33/+2 |
| | | | | This reverts commit 45a177a305ec5babd6b1e3ac3fea2459f143eab2. | ||||
* | try all tests | Angelos Evripiotis | 2019-10-16 | 1 | -2/+2 |
| | |||||
* | enable more tests | Angelos Evripiotis | 2019-10-16 | 1 | -0/+2 |
| | |||||
* | Revert "WIP: check that the spawn CI runner is spawning" | Angelos Evripiotis | 2019-10-16 | 1 | -1/+0 |
| | | | | This reverts commit 9f6eef31f05a84bf39aff5fc0c7b3f5e9bd4eb18. | ||||
* | test just a bit | Angelos Evripiotis | 2019-10-16 | 1 | -0/+1 |
| | |||||
* | wip | Angelos Evripiotis | 2019-10-16 | 1 | -1/+1 |
| | |||||
* | wip | Angelos Evripiotis | 2019-10-16 | 1 | -1/+7 |
| | |||||
* | WIP: warn on already set start method | Angelos Evripiotis | 2019-10-16 | 1 | -5/+14 |
| | |||||
* | TEMP: gitlab-ci: no pytest parallelism | Angelos Evripiotis | 2019-10-16 | 1 | -0/+5 |
| | |||||
* | fix BST_FORCE_START_METHOD tests | Angelos Evripiotis | 2019-10-16 | 1 | -0/+1 |
| | |||||
* | WIP: work around multiple set_start_method | Angelos Evripiotis | 2019-10-16 | 1 | -7/+19 |
| | |||||
* | WIP: check that the spawn CI runner is spawning | Angelos Evripiotis | 2019-10-16 | 1 | -0/+1 |
| | |||||
* | Merge branch 'juerg/prepare-fork' into 'master' | bst-marge-bot | 2019-10-15 | 9 | -61/+45 |
|\ | | | | | | | | | Replace is_fork_allowed() with prepare_fork() See merge request BuildStream/buildstream!1641 | ||||
| * | workspace.py: Do not close gRPC channels | Jürg Billeter | 2019-10-15 | 2 | -5/+0 |
| | | | | | | | | This is now handled in Context.prepare_fork(). | ||||
| * | _remote.py: Do not use subprocess to check remote | Jürg Billeter | 2019-10-15 | 1 | -37/+6 |
| | | | | | | | | This is no longer required as gRPC connections are closed before fork. | ||||
| * | _context.py: Replace is_fork_allowed() with prepare_fork() | Jürg Billeter | 2019-10-15 | 2 | -13/+10 |
| | | |||||
| * | scheduler.py: Call is_fork_allowed() right before spawning jobs | Jürg Billeter | 2019-10-15 | 1 | -2/+7 |
| | | | | | | | | | | gRPC channels might be opened after the scheduler has already been started. Make sure channels are closed right before spawning jobs. | ||||
| * | _basecache.py: Add close_grpc_channels() method | Jürg Billeter | 2019-10-15 | 1 | -3/+10 |
| | | |||||
| * | cascache.py: Rename close_channel() to close_grpc_channels() | Jürg Billeter | 2019-10-15 | 3 | -5/+5 |
| | | | | | | | | This aligns the method name with has_open_grpc_channels(). | ||||
| * | cascache.py: Reset _casd_cas in close_channel() | Jürg Billeter | 2019-10-15 | 1 | -0/+1 |
| | | |||||
| * | _remote.py: Reset _initialized in close() | Jürg Billeter | 2019-10-15 | 1 | -0/+2 |
| | | |||||
| * | _sourcecache.py: Reset source_service in SourceRemote.close() | Jürg Billeter | 2019-10-15 | 1 | -0/+4 |
| | | |||||
| * | _artifactcache.py: Reset artifact_service in ArtifactRemote.close() | Jürg Billeter | 2019-10-15 | 1 | -0/+4 |
|/ | |||||
* | Merge branch 'aevri/platform_win32' into 'master' | bst-marge-bot | 2019-10-14 | 2 | -0/+63 |
|\ | | | | | | | | | win32: _platform/win32: add support for win32 See merge request BuildStream/buildstream!1624 | ||||
| * | win32: _platform/win32: add support for win32 | Angelos Evripiotis | 2019-10-14 | 2 | -0/+63 |
|/ | | | | | | Copy the approach of 'Darwin' and provide a SandboxDummy. This enables us to run 'bst workspace list' on Windows. | ||||
* | Merge branch 'tlater/progress-tests' into 'master' | bst-marge-bot | 2019-10-10 | 11 | -59/+204 |
|\ | | | | | | | | | | | | | Improve assertions around element loading progress reporting Closes #1094 See merge request BuildStream/buildstream!1608 | ||||
| * | Improve progress tests | Tristan Maat | 2019-10-10 | 6 | -44/+149 |
| | | |||||
| * | Remove XXX comment about missing progress | Tristan Maat | 2019-10-10 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This should be safe now - this particular point turned out to be involved in loading dependencies of junction elements, rather than anything in their projects. This meant that, yes, we were missing progress, however junction elements are not allowed to have dependencies in the first place, so we simply short-circuit their load and avoid the problem altogether. We also added more explicit progress opt-outs, since it's far too easy to end up with spurious Nones. | ||||
| * | testutils/context.py: Mock tasks instead of accepting Nones | Tristan Maat | 2019-10-10 | 4 | -12/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | To ensure that we only disable element loading task progress reporting for very specific code paths, we need to teach the test suite to be a bit smarter. For this reason we now mock a _Task object and return it in our mock context's relevant method invocations. Other code paths that deliberately invoke the loader without task reporting now mark their loads with NO_PROGRESS. | ||||
| * | loader.py: Avoid loading deps of junction metaelements | Tristan Maat | 2019-10-10 | 2 | -2/+20 |
|/ | | | | | | | | | | | | | By avoiding this, loading metaelements of junctions becomes cheap even for junctions with erroneous dependencies, and we can ignore their task reporting. Task reporting for junction metaelement loading is confusing, since the junction element itself will never be part of the pipeline, so we'd rather not have this show up as an actual loaded element. Elements loaded from the junction are loaded separately, therefore this does not affect their progress display. | ||||
* | Merge branch 'bschubert/partial-source-cache' into 'master' | bst-marge-bot | 2019-10-10 | 2 | -95/+111 |
|\ | | | | | | | | | Gracefully fallback to fetching source if remote doesn't have every blob cached See merge request BuildStream/buildstream!1635 | ||||
| * | _sourcecache: Fallback to fetch source when remote has missing blobs | Benjamin Schubert | 2019-10-10 | 2 | -0/+52 |
| | | | | | | | | | | | | If a remote has some missing blobs for a source, we should not fail abruptly but instead continue to the next remote, and, in the worst case, fetch the source again. | ||||
| * | tests/sourcecache/fetch.py: Extract configuration of bst | Benjamin Schubert | 2019-10-10 | 1 | -48/+26 |
| | | | | | | | | | | | | | | | | Extract the configuration of the BuildStream cli as it is every time the same into a separate function. This helps seeing what is setup of the tests and what is the actual test itself. | ||||
| * | tests/sourcecache/fetch.py: Extract element's creation to a function | Benjamin Schubert | 2019-10-10 | 1 | -30/+17 |
| | | | | | | | | | | | | All tests in this file use the same method for creating an element. It is easier to write new tests to have this factored out. | ||||
| * | tests/sourcecache/fetch.py: Don't hardcode the element name | Benjamin Schubert | 2019-10-10 | 1 | -7/+7 |
| | | | | | | | | | | This removes the need of having a hardcoded element name, by simply reusing the 'element_name' variable. |