summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* job.py: Replace message queue with pipejuerg/job-pipeJürg Billeter2019-12-121-44/+40
| | | | | | | | A lightweight unidirectional pipe is sufficient to pass messages from the child job process to its parent. This also avoids the need to access the private `_reader` instance variable of `multiprocessing.Queue`.
* Merge branch 'jjardon/fdsdk-190805' into 'master'Jürg Billeter2019-12-121-1/+1
|\ | | | | | | | | .gitlab-ci.yml: Use latest freedesktop-sdk 19.08.5 See merge request BuildStream/buildstream!1762
| * .gitlab-ci.yml: Use latest freedesktop-sdk 19.08.5Javier Jardón2019-12-121-1/+1
|/
* Merge branch 'juerg/buildbox-run-bubblewrap' into 'master'Jürg Billeter2019-12-1017-330/+9
|\ | | | | | | | | | | | | Add CI job to test buildbox-run-bubblewrap and buildbox-fuse Closes #1226 See merge request BuildStream/buildstream!1752
| * tests: Drop buildbox xfailsJürg Billeter2019-12-1014-28/+5
| |
| * Drop buildbox sandboxJürg Billeter2019-12-102-275/+0
| | | | | | | | Replaced by buildbox-run.
| * .gitlab-ci.yml: Drop buildbox jobJürg Billeter2019-12-101-29/+0
| | | | | | | | Replaced by buildbox-run.
| * .gitlab-ci.yml: Add job to test buildbox-runJürg Billeter2019-12-101-0/+6
| | | | | | | | This job uses buildbox-run-bubblewrap and buildbox-fuse.
| * .gitlab-ci.yml: Update docker imageJürg Billeter2019-12-101-1/+1
| | | | | | | | | | This updates buildbox-common and builbox-casd to 0.0.5 and adds buildbox-fuse and buildbox-run-bubblewrap.
| * tests/integration/interactive_build.py: Increase timeoutJürg Billeter2019-12-101-1/+1
|/
* Merge branch 'bschubert/add-randomized-order-tests' into 'master'Benjamin Schubert2019-12-102-0/+24
|\ | | | | | | | | tox.ini: Add ability to run tests in a randomized order See merge request BuildStream/buildstream!1760
| * tox.ini: Add ability to run tests in a randomized orderBenjamin Schubert2019-12-102-0/+24
|/ | | | | | | | | | Also register them to run nightly. Running tests in a randomized order is a good way of checking whether our tests depend on each others or not. Since we order them globally, tests will take longer to run, but that will give us higher confidence that they are correct.
* Merge branch 'tlater/tar-test-security' into 'master'Tristan Maat2019-12-101-11/+3
|\ | | | | | | | | tests/sources/tar.py: `utils._force_rmtree` instead of giving 777 permissions See merge request BuildStream/buildstream!1763
| * tests/sources/tar.py: Use `utils._force_rmtree` instead of chmodTristan Maat2019-12-101-11/+3
|/ | | | | | | | | While this is deep in our test suite, and should therefore never create files that leak information, our code security linter complains about setting broad file permissions. We should really be using `utils._force_rmtree` here anyway, to stop duplicating code, so that's what we do.
* Merge branch 'juerg/buildbox-run' into 'master'Jürg Billeter2019-12-1014-22/+232
|\ | | | | | | | | Add buildbox-run sandboxing backend See merge request BuildStream/buildstream!1738
| * tests/integration/workspace.py: xfail logging for buildbox-runJürg Billeter2019-12-101-0/+1
| | | | | | | | Individual commands are not logged with command batching.
| * tests/integration/messages.py: xfail logging for buildbox-runJürg Billeter2019-12-101-0/+2
| | | | | | | | Individual commands are not logged with command batching.
| * tests/integration/manual.py: xfail logging for buildbox-runJürg Billeter2019-12-101-0/+1
| | | | | | | | Individual commands are not logged with command batching.
| * tests/integration/interactive_build.py: xfail logging for buildbox-runJürg Billeter2019-12-101-1/+1
| | | | | | | | Logging differs with command batching.
| * tests/integration/shell.py: xfail bind mount for buildbox-runJürg Billeter2019-12-101-4/+4
| | | | | | | | Bind mounting is not supported.
| * tests/integration/script.py: xfail read-only-root for buildbox-runJürg Billeter2019-12-101-0/+3
| | | | | | | | The root directory can't be marked read-only with buildbox-run.
| * tests/integration/script.py: Relax error message checkJürg Billeter2019-12-101-1/+1
| |
| * tests/integration/sandbox.py: Do not limit shm test to bwrap sandboxJürg Billeter2019-12-103-10/+43
| | | | | | | | | | | | The purpose of the test is to ensure POSIX shared memory objects are supported in the sandbox. On Linux this requires /dev/shm to be a tmpfs. However, this should be supported by any full featured sandbox.
| * _platform: Support experimental buildbox-run sandbox on all platformsJürg Billeter2019-12-102-3/+25
| | | | | | | | | | The buildbox-run sandbox is used only if BST_FORCE_SANDBOX is set to buildbox-run.
| * Add buildbox-run sandboxBenjamin Schubert2019-12-101-0/+148
| |
| * _sandboxreapi.py: Pass sandbox flags to _execute_action()Jürg Billeter2019-12-102-3/+3
|/
* Merge branch 'coldtom/fix-junction-remotes' into 'master'Jürg Billeter2019-12-102-3/+50
|\ | | | | | | | | _project.py: Allow junctions to use parent remote when `ignore-junction-remotes` set See merge request BuildStream/buildstream!1759
| * Add test for junction option interactioncoldtom/fix-junction-remotesThomas Coldrick2019-12-101-0/+47
| | | | | | | | | | | | Makes sure that `cache-junction-elements` and `ignore-junction-remotes` work together correctly, and that setting `ignore-junction-remotes` doesn't just remove all remote caches.
| * _project.py: Allow junctions to use parent remoteThomas Coldrick2019-12-101-3/+3
|/ | | | | | | | | | | | At present it doesn't seem to be possible to use ignore-remote-caches and also cache cross-junction artifacts in one's own cache. By passing the parent caches to the junction we ensure that things get cached in the parent cache. For a motivating purpose, consider that one may have a (patched) junction which specifies a cache incompatible with master. This will throw warnings at every invokation of bst, or you won't cache cross-junction artifacts.
* Merge branch ↵Tristan Maat2019-12-091-4/+4
|\ | | | | | | | | | | | | | | | | '1211-stop-using-non-posix-features-in-small-test-suite-tests-to-avoid-fake-test-failures' into 'master' Resolve "Stop using non-POSIX features in small test suite tests to avoid fake test failures" Closes #1211 See merge request BuildStream/buildstream!1725
| * tests/internals/cascache.py: Stop using non-posix shell featuresTristan Maat2019-12-091-4/+4
|/
* Merge branch 'tlater/update-workspace-manpages' into 'master'Tristan Maat2019-12-091-2/+2
|\ | | | | | | | | man/bst-workspace-reset.1: Update workspace re-open help message See merge request BuildStream/buildstream!1723
| * man/bst-workspace-reset.1: Update workspace re-open help messageTristan Maat2019-12-091-2/+2
|/ | | | This was missed in !1710.
* Merge branch 'traveltissues/remove-unused-functions' into 'master'Darius Makovsky2019-12-0912-296/+2
|\ | | | | | | | | remove unused functions 1/2 See merge request BuildStream/buildstream!1753
| * _remote: ignore unused argsDarius Makovsky2019-12-091-1/+1
| |
| * _profile: ignore unused argsDarius Makovsky2019-12-091-1/+1
| |
| * resources: remove [un]register_exclusive_interest()Darius Makovsky2019-12-091-50/+0
| |
| * _project: remove create_artifact_element()Darius Makovsky2019-12-091-13/+0
| |
| * _pipeline: remove subtract_elements()Darius Makovsky2019-12-091-15/+0
| |
| * _pipeline: remove targets_include()Darius Makovsky2019-12-091-17/+0
| |
| * _context: remove set_artifact_directories_optional()Darius Makovsky2019-12-091-10/+0
| |
| * casserver: remove _digest_from_*_resource_name()Darius Makovsky2019-12-091-45/+0
| |
| * casserver: remove ArtifactStatus()Darius Makovsky2019-12-091-4/+0
| |
| * cascache: remove update_tree_mtime()Darius Makovsky2019-12-091-4/+0
| |
| * _artifactcache: remove _reachable_digests()Darius Makovsky2019-12-091-18/+0
| |
| * _artifactcache: remove _reachable_directories()Darius Makovsky2019-12-091-18/+0
| |
| * _artifactcache: remove get_artifact_logs()Darius Makovsky2019-12-091-16/+0
| |
| * _basecache: remove has_open_grpc_channels()Darius Makovsky2019-12-091-12/+0
| |
| * _workspaces: remove get_key()Darius Makovsky2019-12-091-38/+0
| |
| * _workspaces: remove invalidate_key()Darius Makovsky2019-12-091-8/+0
| |