summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* signal debugtpollard/buildsubtempTom Pollard2019-10-293-3/+13
|
* Fixup sched notification to frontendTom Pollard2019-10-291-1/+1
|
* Lint fixesTom Pollard2019-10-294-18/+24
|
* Add support for logger print header displaying pipeline outputTom Pollard2019-10-294-2/+20
|
* Add support for dynamic queue status reporting to frontend State()Tom Pollard2019-10-294-20/+62
|
* basic user SIG interrupt handling in StreamTom Pollard2019-10-292-4/+26
|
* basic async in streamTom Pollard2019-10-296-72/+130
|
* Failed shell to load via name if no plugintable stateTom Pollard2019-10-292-3/+10
|
* Move sched notification poll to loop readerTom Pollard2019-10-291-15/+17
|
* Make it more verbose with front & back notificationsTom Pollard2019-10-292-58/+58
|
* Add len of session/total elements members to StreamTom Pollard2019-10-294-9/+23
|
* Explicitly ensure failed build sources are not pushedTom Pollard2019-10-292-2/+3
|
* Add notifications for session_start & task_groupsTom Pollard2019-10-292-4/+22
|
* Stop pickling exceptions, regen once off queueTom Pollard2019-10-293-13/+20
|
* Add in dual queue implementation for subprocess buildTom Pollard2019-10-293-30/+142
|
* scheduler.py: Notification for last_task_error propagationTom Pollard2019-10-294-7/+27
| | | | | | | Add a notification for TASK_ERROR. As queues & job handlers will be running in a different process to the front end, the global state in the frontend Exception process needs to be notified. This is used internally for the BST_TEST_SUITE.
* Merge branch 'chandan/pylint-c-extension-ujson' into 'master'bst-marge-bot2019-10-281-1/+2
|\ | | | | | | | | .pylintrc: Add ujson to extension-pkg-whitelist See merge request BuildStream/buildstream!1672
| * .pylintrc: Add ujson to extension-pkg-whitelistChandan Singh2019-10-281-1/+2
|/ | | | | | | | | | | | Add `ujson` to the `extension-pkg-whitelist` (we trust it!). Without this, `pylint` throws the following (non-fatal) warning: ``` src/buildstream/_cachekey.py:65:14: I1101: Module 'ujson' has no 'dumps' member, but source is unavailable. Consider adding this module to extension-pkg-whitelist if you want to perform analysis based on run-time introspection of living objects. (c-extension-no-member) ```
* Merge branch 'tlater/plugin-documentation-improvement' into 'master'bst-marge-bot2019-10-251-1/+1
|\ | | | | | | | | format_project.rst: De-obfuscate element/package differences See merge request BuildStream/buildstream!1670
| * format_project.rst: De-obfuscate element/package differencestlater/plugin-documentation-improvementTristan Maat2019-10-251-1/+1
|/ | | | | | When the package and project have the same name, it can be a little confusing what these things actually mean. This commit makes it a bit more obvious that the two can (and will often) be different.
* Merge branch 'tpollard/render_task_group' into 'master'bst-marge-bot2019-10-258-12/+15
|\ | | | | | | | | _frontend/status.py: Complete names when rendering dynamic queue status See merge request BuildStream/buildstream!1666
| * _frontend/status.py: Complete names when rendering dynamic queue statusTom Pollard2019-10-258-12/+15
|/ | | | | | | At somepoint action_name instead of complete_name started to be rendered to the user for the dynamic list of queue status reports. As we now have more of a UI seperation between 'Artifact' & 'Source' tasks, it also makes sense to reflect these actions in this output.
* Merge branch 'aevri/enable_spawn_ci_3' into 'master'1.91.2bst-marge-bot2019-10-255-39/+40
|\ | | | | | | | | pickle `first_pass_config` factories See merge request BuildStream/buildstream!1654
| * .gitlab-ci: test-spawn, enable tests/format/*Angelos Evripiotis2019-10-251-1/+2
| |
| * job pickling: pickle first_pass_config factoriesAngelos Evripiotis2019-10-251-2/+4
| | | | | | | | | | Note that for multiple-pass setups, i.e. where we have junctions, we also have to pickle things that belong to the 'first_pass_config'.
| * job pickling: plugins don't return their factoriesAngelos Evripiotis2019-10-254-35/+35
| | | | | | | | | | | | | | | | | | Remove the need for plugins to find and return the factory they came from. Also take the opportunity to combine source and element pickling into a single 'plugin' pickling path. This will make it easier for us to later support pickling plugins from the 'first_pass_config' of projects.
| * element: remove double MetaSource importAngelos Evripiotis2019-10-251-2/+0
|/ | | | It turns out we don't even need it once.
* Merge branch 'chandan/release-1.91.2' into 'master'bst-marge-bot2019-10-251-0/+8
|\ | | | | | | | | Prepare NEWS for 1.91.2 snapshot release See merge request BuildStream/buildstream!1668
| * Prepare NEWS for 1.91.2 snapshot releaseChandan Singh2019-10-251-0/+8
|/ | | | | Prepare NEWS file for next development snapshot release. There hasn't been any breaking changes since last snapshot.
* Merge branch 'chandan/fix-source-key-test' into 'master'bst-marge-bot2019-10-222-9/+12
|\ | | | | | | | | | | | | tests/sources/keytest: Ensure element state is updated as expected Closes #1179 See merge request BuildStream/buildstream!1664
| * tests/sources/keytest: Ensure element state is updated as expectedChandan Singh2019-10-222-9/+12
|/ | | | | | | | | | | | | | This contains two changes: * tests/sources/keytest.py: Ensure that the element state before/after BuildStream operations is updated as expected. Previously we were just checking that the command succeeded. * tests/sources/project_key_test/plugins/sources/key-test.py: Update the dummy plugin that's used for tests, such that it conforms to the expectations of a BuildStream source class. Fixes #1179.
* Merge branch 'aevri/no_mark_run_in_subprocess' into 'master'bst-marge-bot2019-10-229-151/+11
|\ | | | | | | | | tests: remove mark.in_subprocess, create_cas_usage_monitor See merge request BuildStream/buildstream!1661
| * cascache: don't pickle _cache_usage_monitorAngelos Evripiotis2019-10-221-0/+10
| | | | | | | | | | We don't need this in subprocesses, and it doesn't pickle, so don't try to. Make sure we get an error if we do try to use it in subprocesses.
| * cascache: don't need create_cas_usage_monitor nowAngelos Evripiotis2019-10-221-10/+1
| | | | | | | | | | | | | | Now that we don't use mark.in_suprocess in our tests anymore, we don't need to suppress creating _CASCacheUsageMonitor. This was introduced in 9c2bbe3c3871db3a33f81e48987f6d473f97b136
| * tests: remove mark.in_subprocessAngelos Evripiotis2019-10-228-141/+0
|/ | | | | It seems we don't need this anymore, thanks to cleaning up gRPC background threads.
* Merge branch 'chandan/register-pytest-mark' into 'master'bst-marge-bot2019-10-221-0/+1
|\ | | | | | | | | setup.cfg: Register mark for pytest-datafiles See merge request BuildStream/buildstream!1662
| * setup.cfg: Register mark for pytest-datafileschandan/register-pytest-markChandan Singh2019-10-221-0/+1
|/ | | | | | | | | | | | Register the marker for `pytest-datafiles`. This fixes the following warning that we currently get: ``` .tox/py37-nocover/lib/python3.7/site-packages/_pytest/mark/structures.py:324 /Users/csingh43/buildstream/bst-tmp/.tox/py37-nocover/lib/python3.7/site-packages/_pytest/mark/structures.py:324: PytestUnknownMarkWarning: Unknown pytest.mark.datafiles - is this a typo? You can register custom marks to avoid this warning - for detail s, see https://docs.pytest.org/en/latest/mark.html PytestUnknownMarkWarning, ```
* Merge branch 'traveltissues/1176' into 'master'bst-marge-bot2019-10-222-8/+18
|\ | | | | | | | | | | | | create usage monitor early Closes #1176 See merge request BuildStream/buildstream!1659
| * cascache.py: instantiate usage monitor earlyDarius Makovsky2019-10-222-8/+18
|/ | | | | | tests: manually close channels when interacting with the cache cascache.py: disable the usage monitor if start method is spawn
* Merge branch 'aevri/enable_spawn_ci_2' into 'master'bst-marge-bot2019-10-212-7/+22
|\ | | | | | | | | jobpickler: also pickle Digest protos See merge request BuildStream/buildstream!1652
| * gitlab: spawn tests, enable internals, sourcecacheaevri/enable_spawn_ci_2Angelos Evripiotis2019-10-211-1/+1
| | | | | | | | Now that more tests are passing, enable them.
| * jobpickler: also pickle DigestProtoAngelos Evripiotis2019-10-211-6/+21
|/ | | | | This is now required by some code paths. Also make a generic routine for pickling / unpickling, as we may be doing more of this.
* Merge branch 'aevri/enable_spawn_ci' into 'master'bst-marge-bot2019-10-184-10/+61
|\ | | | | | | | | Enable a subset of `tests-spawn-multiprocessing-start-method` See merge request BuildStream/buildstream!1650
| * .gitlab-ci.yml: disable most spawn testsaevri/enable_spawn_ciAngelos Evripiotis2019-10-181-0/+6
| |
| * cli: BST_FORCE_START_METHOD only sets if necessaryAngelos Evripiotis2019-10-181-10/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | Allow situations where the start method is already set, this enables us to use this in testing situations. Also, print a diagnostic if it's already set to something we didn't want. Now this block got more complex, split out into a new function. Now we're using this string a lot, extract it to a variable, to make sure we're spelling it correctly everywhere.
| * tests/conftest: implement BST_FORCE_START_METHODAngelos Evripiotis2019-10-181-0/+15
| |
| * tox.ini: pass through BST_FORCE_START_METHODAngelos Evripiotis2019-10-181-0/+1
|/ | | | Otherwise we won't actually be testing the spawn code path.
* Merge branch 'traveltissues/fix' into 'master'bst-marge-bot2019-10-181-3/+0
|\ | | | | | | | | element.py: remove unused variable See merge request BuildStream/buildstream!1658
| * element.py: remove unused variableDarius Makovsky2019-10-181-3/+0
|/
* Merge branch 'bschubert/bump-bst-experimental-version' into 'master'bst-marge-bot2019-10-182-2/+2
|\ | | | | | | | | | | | | .gitlab-ci.yml: Update bst-plugins-experimental version Closes #1174 See merge request BuildStream/buildstream!1656