Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TESTjennis/test_failure_2 | James Ennis | 2019-08-29 | 1 | -0/+13 |
| | |||||
* | buildcheckout.py: Add tests which checkout artifact deps | James Ennis | 2019-08-29 | 1 | -0/+37 |
| | | | | | | These tests ensure that we can checkout the build dependencies of an artifact and that if we try to checkout the runtime dependencies the command will fail. | ||||
* | cli.py: Allow checkout to handle artifact refs | James Ennis | 2019-08-29 | 3 | -9/+13 |
| | |||||
* | cli.py: Clean up dependency scope handling in checkout | James Ennis | 2019-08-29 | 1 | -9/+3 |
| | |||||
* | _stream.py: Remove separate handling of ArtifactElements | James Ennis | 2019-08-29 | 2 | -20/+24 |
| | | | | | | | | | | | ArtifactElement inherits Element, both have an Artifact object as a member, thus we should not need to handle these separately. This change has resulted in introducing a configure_sandbox() method in ArtifactElement. The method is similar to BuildElement.configure_sandbox() but does not configure the sandbox to actually be used for building. | ||||
* | Merge branch 'jennis/load_artifact_dependencies' into 'master' | bst-marge-bot | 2019-08-27 | 9 | -16/+293 |
|\ | | | | | | | | | Add the ability to load (build) deps from an artifact ref See merge request BuildStream/buildstream!1553 | ||||
| * | tests/frontend/artifact.py: test artifact delete with --deps options | James Ennis | 2019-08-27 | 1 | -0/+91 |
| | | |||||
| * | cli.py: Implement --deps for artifact delete | James Ennis | 2019-08-27 | 2 | -4/+8 |
| | | |||||
| * | _stream.py: Validate selection for target artifacts in _load() | James Ennis | 2019-08-27 | 1 | -3/+6 |
| | | |||||
| * | _stream.py: Don't say we're loading elements if we're not | James Ennis | 2019-08-27 | 1 | -3/+6 |
| | | |||||
| * | Load artifact refs the same way we load element names | James Ennis | 2019-08-27 | 5 | -6/+102 |
| | | |||||
| * | element.py: Add _add_build_dependency() method | James Ennis | 2019-08-27 | 1 | -0/+10 |
| | | | | | | | | | | | | This method explicitly adds a build dependency to an Element instance's __build_dependency list. This is required when determining the build dependencies of an artifact | ||||
| * | _artifactelement.py: Add get_dependency_refs() method | James Ennis | 2019-08-27 | 1 | -0/+15 |
| | | |||||
| * | element.py: Add _get_artifact() method | James Ennis | 2019-08-27 | 1 | -0/+11 |
| | | | | | | | | | | | | | | Add a getter for Element's __artifact (Artifact object). This is required by ArtifactElement. The ArtifactElement should have access to its Artifact. | ||||
| * | _artifact.py: Add get_dependency_refs() method | James Ennis | 2019-08-27 | 1 | -0/+44 |
|/ | |||||
* | Merge branch 'bschubert/register-sources-on-test' into 'master' | bst-marge-bot | 2019-08-27 | 11 | -171/+235 |
|\ | | | | | | | | | testing/sources: Automatically register plugin sources See merge request BuildStream/buildstream!1537 | ||||
| * | sourcetests/track: Don't overwrite project configurationbschubert/register-sources-on-test | Benjamin Schubert | 2019-08-26 | 3 | -17/+10 |
| | | | | | | | | | | | | | | | | We need to keep the project configuration to use the expected plugins as configured by the `kind` fixture. This adds a utility method `update_project_configuration` that allows updated part of the project.conf. | ||||
| * | _sourcetests/mirror: Don't overwrite project_conf | Benjamin Schubert | 2019-08-26 | 1 | -100/+74 |
| | | | | | | | | | | | | If we overwrite project_conf, we loose the plugins registration. The only part that we really need to update is the 'aliases' and 'mirrors', which we can update ourselves. | ||||
| * | testing/sources: Automatically register plugin sources | Benjamin Schubert | 2019-08-26 | 10 | -54/+151 |
|/ | | | | | This fixes a bug where third party plugins cannot get tested automatically because they are not part of BuildStream. | ||||
* | Merge branch 'bschubert/fix-mutable-args' into 'master' | bst-marge-bot | 2019-08-23 | 1 | -6/+23 |
|\ | | | | | | | | | sandbox/_mounter: Remove default mutable arguments stderr/out See merge request BuildStream/buildstream!1562 | ||||
| * | sandbox/_mounter: Remove default mutable arguments stderr/out | Benjamin Schubert | 2019-08-23 | 1 | -6/+23 |
|/ | | | | | | | | | | | | | | | | stderr and stdout were passed as default arguments and would therefore retain the first value they had when the module was imported, which means they wouldn't get overriden by the pytest capture of stderr/out. This also meant that depending how the mounter was imported, if the stdout/err was patched at that moment, and the file closed, we would get an error. The bug can be reproduced by running: tox -e pyXX -- tests/integration/cmake.py On master, and seeing that it is now fixed. | ||||
* | Merge branch 'juerg/server-casd' into 'master' | bst-marge-bot | 2019-08-22 | 1 | -0/+4 |
|\ | | | | | | | | | casserver.py: Fix write operations with bst-artifact-server See merge request BuildStream/buildstream!1558 | ||||
| * | casserver.py: Fix write operations with bst-artifact-server | Jürg Billeter | 2019-08-22 | 1 | -0/+4 |
|/ | | | | Allow gRPC communication in the bst-artifact-server main process. | ||||
* | Merge branch 'tmewett/artifact-help' into 'master' | bst-marge-bot | 2019-08-22 | 1 | -36/+27 |
|\ | | | | | | | | | Clarify bst artifact subcommand help text See merge request BuildStream/buildstream!1541 | ||||
| * | cli.py: Rewrite artifact log help text & move up to main subcommand | Tom Mewett | 2019-08-22 | 1 | -36/+27 |
|/ | |||||
* | Merge branch 'aevri/nomp' into 'master' | bst-marge-bot | 2019-08-20 | 4 | -137/+27 |
|\ | | | | | | | | | Remove uneccesary _platform.multiprocessing See merge request BuildStream/buildstream!1554 | ||||
| * | Remove uneccesary _platform.multiprocessingaevri/nomp | Angelos Evripiotis | 2019-08-20 | 4 | -137/+27 |
|/ | | | | | | | | It turns out we don't need to use multiprocessing.Manager() queues when using the 'spawn' method - the regular multiprocessing queues are also picklable, if passed as parameters to the new process. Thanks to @BenjaminSchubert for pointing this out. | ||||
* | Merge branch 'juerg/casd' into 'master' | bst-marge-bot | 2019-08-20 | 36 | -1845/+2426 |
|\ | | | | | | | | | Use buildbox-casd for CAS access See merge request BuildStream/buildstream!1499 | ||||
| * | casserver.py: Use quota instead of headroom | Jürg Billeter | 2019-08-20 | 3 | -67/+21 |
| | | |||||
| * | casserver.py: Handle CASCacheError for add_object() calls | Jürg Billeter | 2019-08-20 | 1 | -3/+22 |
| | | |||||
| * | casserver.py: Update mtime on read | Jürg Billeter | 2019-08-20 | 1 | -1/+6 |
| | | |||||
| * | _artifactcache.py: Handle CASRemoteError | Jürg Billeter | 2019-08-20 | 1 | -1/+5 |
| | | |||||
| * | casremote.py: Use UploadMissingBlobs in CASBatchUpdate | Jürg Billeter | 2019-08-20 | 2 | -50/+9 |
| | | |||||
| * | casremote.py: Handle RESOURCE_EXHAUSTED in CASBatchUpdate | Jürg Billeter | 2019-08-20 | 1 | -1/+6 |
| | | |||||
| * | casremote.py: Drop unused ByteStreamStub | Jürg Billeter | 2019-08-20 | 1 | -3/+0 |
| | | |||||
| * | casremote.py: Use UploadMissingBlobs in _send_blob() | Jürg Billeter | 2019-08-20 | 2 | -38/+20 |
| | | |||||
| * | casremote.py: Use add_object() in push_message() | Jürg Billeter | 2019-08-20 | 1 | -6/+1 |
| | | |||||
| * | cascache.py: Add instance_name parameter to add_object() | Jürg Billeter | 2019-08-20 | 1 | -1/+5 |
| | | |||||
| * | casremote.py: Use FetchMissingBlobs in CASBatchRead | Jürg Billeter | 2019-08-20 | 2 | -59/+11 |
| | | |||||
| * | casremote.py: Use FetchMissingBlobs in _fetch_blob() | Jürg Billeter | 2019-08-20 | 2 | -32/+25 |
| | | |||||
| * | casremote.py: Use buildbox-casd in init() | Jürg Billeter | 2019-08-20 | 3 | -14/+29 |
| | | |||||
| * | tests/artifactcache/expiry.py: Fix test_cleanup_first | Jürg Billeter | 2019-08-20 | 1 | -14/+0 |
| | | | | | | | | | | | | | | Remove check for order of events as cache cleanup is now handled by buildbox-casd, not BuildStream scheduler jobs. The test still verifies that build succeeds when the cache disk usage is larger than the configured quota. | ||||
| * | tests/artifactcache/expiry.py: Fix test_never_delete_required | Jürg Billeter | 2019-08-20 | 1 | -17/+5 |
| | | | | | | | | | | | | buildbox-casd checks disk usage against the quota before actually committing a new blob to the local cache and thus, the disk usage will never outgrow the quota. | ||||
| * | tests/artifactcache/expiry.py: Limit to single fetcher | Jürg Billeter | 2019-08-20 | 1 | -0/+2 |
| | | | | | | | | | | Parallel fetching leads to sporadic test failures due to scheduling differences. | ||||
| * | _context.py: Pass cache quota to CASCache | Jürg Billeter | 2019-08-20 | 2 | -6/+1 |
| | | |||||
| * | cascache.py: Pass cache quota to casd | Jürg Billeter | 2019-08-20 | 1 | -1/+9 |
| | | |||||
| * | cascache.py: Use buildbox-casd in add_object() | Jürg Billeter | 2019-08-20 | 1 | -33/+20 |
| | | | | | | | | | | buildbox-casd clients are not allowed to directly write into the local cache directory. Use LocalCas.CaptureFiles() instead. | ||||
| * | tests/artifactcache/artifactservice.py: Enable write access via casd | Jürg Billeter | 2019-08-20 | 1 | -1/+1 |
| | | |||||
| * | tests/testutils/artifactshare.py: Allow write access via casd | Jürg Billeter | 2019-08-20 | 1 | -4/+8 |
| | | |||||
| * | _stream.py: Disable fork for Element._shell() | Jürg Billeter | 2019-08-20 | 1 | -0/+2 |
| | | | | | | | | | | | | With the buildbox sandboxing backend, communication with casd is required by Element._shell(). Disable fork after preparation to allow communication with casd in the main process. |