summaryrefslogtreecommitdiff
path: root/tests/remoteexecution
Commit message (Collapse)AuthorAgeFilesLines
* _frontend/cli.py: Drop support for bst shell --use-buildtree=tryJürg Billeter2020-10-272-5/+2
| | | | | `--use-buildtree` is now a boolean option for `bst shell`. If no buildtree is available, an error is raised.
* Replace format-version with min-versionTristan Van Berkom2020-04-252-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * "min-version" is specified as a <major>.<minor> point version and uses the installed BuildStream version instead of having a separate versioning number for the format. * The presence of "format-version" is now used to indicate that we might be loading a BuildStream 1 project. * For now, where parsing the version at startup is concerned, and also where `bst init` is concerned, we artificially bump the detected BuildStream version to 2.0 if we detect a version < 2.0, these exceptions can be removed once 2.0 is tagged and released. Summary of changes: _project.py: Now parse "min-version" and detect "format-version" to warn about loading a BuildStream 1 project _versions.py: Remove obsolete BST_FORMAT_VERSION numbers from here data/projectconfig.yaml: Remove old "format-version" from defaults utils.py: Added new private _parse_version() helper function, and another _get_bst_api_version() to get an adjusted API version. frontend/app.py, frontend/cli.py: Updated `bst init` implementation testing (buildstream.testing): Updated testing utilities to generate and use projects with min-version instead of format-version. tests and examples: Updated to use min-version across the board.
* tests/remoteexecution/workspace.py: Fix test and enable incrementaljuerg/incremental-workspace-buildJürg Billeter2020-02-111-15/+15
|
* .gitlab-ci/buildgrid-compose.yml: Switch to buildbox-workerJürg Billeter2020-02-111-7/+2
| | | | | | | | | Use buildbox-worker with buildbox-run-bubblewrap and buildbox-fuse from the buildbox-nightly docker image instead of the Python buildbox worker as the latter still uses the obsolete `buildbox` command. buildbox-worker launch is delayed as it fails if started before the BuildGrid server is ready.
* tests/remoteexecution/workspace.py: Improve testDarius Makovsky2020-02-051-79/+96
|
* tests/remoteexecution: Remove xfail for non-incremental-time workspaceDarius Makovsky2020-02-051-6/+1
|
* exceptions: Expose ErrorDomain, ErrorLoadReasonThomas Coldrick2020-01-232-2/+2
| | | | | | | Plugin tests are already accessing this API, but using imports from private modules. For motivation for this to be exposed publicly, note that ErrorDomain is an argument for most things in runcli.py, and LoadErrorReason may be another.
* lint: Remove unnecessary list comprehensionsBenjamin Schubert2019-12-021-1/+1
| | | | | Newer version of pylint detect when a comprehension would not be needed. Let's remove all the ones that are indeed extraneous
* tests: non-incremental RE builds for workspacesDarius Makovsky2019-11-272-0/+313
| | | | | | 1. Check that an open workspace can be built via remote-execution. 2. Changing file content should result in a full rebuild 3. Modifying a file mtime should result in a full rebuild
* Reformat code using BlackChandan Singh2019-11-145-146/+96
| | | | | | | As discussed over the mailing list, reformat code using Black. This is a one-off change to reformat all our codebase. Moving forward, we shouldn't expect such blanket reformats. Rather, we expect each change to already comply with the Black formatting style.
* frontend: Remove tracking options from `bst build`Chandan Singh2019-11-041-3/+6
| | | | | | | | | | | | | BREAKING CHANGE: Remove all tracking related options and flags from `bst build` command, as discussed on mailing list previously. See https://mail.gnome.org/archives/buildstream-list/2019-October/msg00009.html for the original proposal, and https://mail.gnome.org/archives/buildstream-list/2019-October/msg00024.html for a summary. At the same time, remove use of the removed options from our test suite.
* tests/remoteexecution/partial.py: Test building all dependenciesbuild-all-optionRaoul Hidalgo Charman2019-09-121-2/+12
|
* tests: Change all calls to _yaml.dump to _yaml.rountrip_dumpBenjamin Schubert2019-07-152-4/+4
| | | | | Now that both are equivalent, we can skip the sanitization part before the yaml call.
* tests: Add RE test for builds that failRaoul Hidalgo Charman2019-07-121-0/+75
| | | | Part of #994
* tests: pulling buildtrees in remote executionRaoul Hidalgo Charman2019-07-123-0/+105
| | | | Part of #994
* tests: Add remote execution junction testRaoul Hidalgo Charman2019-07-127-0/+186
| | | | Part of #994
* tests/remoteexecution/partial.py: Parametrize for pull artifact filesRaoul Hidalgo Charman2019-07-111-5/+12
| | | | Part of #1043
* tests/partial: Add test to cover find_missing_blobsRaoul Hidalgo Charman2019-06-211-0/+25
| | | | Add test that ensures method is actually covered now and it works.
* tests/remoteexecution: Enable pylint and fix problemsBenjamin Schubert2019-06-053-2/+8
| | | | | tests/remoteexecution missing an __init__.py, which meant pylint was never run there.
* plugintestutils: Rename 'plugintestutils' package to 'testing'phil/rename-plugintestutilsPhil Dawson2019-04-162-4/+4
| | | | | | | | | - Rename plugintestutils to testing. - Don't run the tests from bst-plugins-template. This imports buildstream.plugintestutils so will have to be disabled to get through CI. This can be re nabled once bst-plugins-template has been patched.
* tests/remoteexecution/partial.py: Add test for partial CASJürg Billeter2019-04-122-0/+52
|
* tests: Add basic remote-execution tests (autotools)Martin Blanchard2019-03-256-0/+111
https://gitlab.com/BuildStream/buildstream/issues/629