| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| | |
Cache key calculation changes: add project name and name of dependencies
See merge request BuildStream/buildstream!1548
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We also need to store the project name of dependencies in
the proto in order to reconstruct the graph.
This also means that we must include the project name of the
dependencies in the cache key, otherwise the proto and the
cache keys may fall out of sync.
|
| | |
|
| |
| |
| |
| |
| | |
We store the build dependency names in the artifact proto. This
should be reflected in the cache key dict.
|
|/
|
|
|
|
| |
Only our tests/cachekey tests should test explicit cache keys.
Tests outside of here should determine cache keys using
the appropriate methods.
|
|\
| |
| |
| |
| | |
Support the 'spawn' method of starting processes
See merge request BuildStream/buildstream!1511
|
| |
| |
| |
| | |
Add a GitLab test with the 'spawn' method of starting processes forced.
|
| |
| |
| |
| |
| |
| | |
Allow users to force the start method via a 'BST_FORCE_START_METHOD'
environment variable. This enables testing of the 'spawn' and
'forkserver' methods on platforms that don't require them.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for using `multiprocessing.Manager` and the associated
queues. Downgrade the queue event callback guarantees accordingly. In
later work we may be able to support callbacks in all scenarios.
Pickle and unpickle the child job if the platform requires it.
|
| |
| |
| |
| |
| |
| |
| | |
Pave the way to supporting starting processes by the 'spawn' method, by
abstracting our usage of `multiprocessing.Queue`. This means we can
easily switch to using a multiprocessing.Manager() and associated queues
instead when necessary.
|
|/
|
|
| |
This is consistent with the other global vars in the module.
|
|\
| |
| |
| |
| | |
Addition of bst artifact list-contents
See merge request BuildStream/buildstream!1529
|
|/
|
|
|
|
|
| |
this commit introduces the bst artifact list-contents
command. When used it provides the user with a list of
the contents within the artifact.
Tests and a NEWS entry have also been added for the command.
|
|\
| |
| |
| |
| |
| |
| | |
Improve node provenance in error reporting
Closes #1059
See merge request BuildStream/buildstream!1551
|
| |
| |
| |
| | |
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test that we get the correct provenance from a node which has
been compositied.
This tests asserts that if we forget to include one of the
local plugin's essential keys, we fail and see the appropriate
error message.
Tests issue described in #1059.
|
|/
|
|
|
|
|
|
| |
In order to better composite things, sometimes we may want to
clobber the provenance of the MappingNode itself. This means that
error reporting for sources and elements might be somewhat better.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| | |
Move qmake plugin to bst-plugins-experimental
See merge request BuildStream/buildstream!1545
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Ensure push fails when trying to push an unbuilt element
Closes #1095
See merge request BuildStream/buildstream!1524
|
| |
| |
| |
| | |
A test for this has also been added to tests/frontend/push.py
|
|/ |
|
|\
| |
| |
| |
| | |
Move modulebuild plugin to bst-plugins-experimental
See merge request BuildStream/buildstream!1539
|
|/
|
|
| |
Continuing moving plugins over to bst-plugins-experimental.
|
|\
| |
| |
| |
| |
| |
| | |
Cache failed builds caused by missing-command
Closes #1101
See merge request BuildStream/buildstream!1543
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
| |
| |
| |
| |
| |
| |
| |
| | |
So that, should a sandbox be missing a command such as `sh`, we cache
failures to build, ensure that each sandbox which checks for the command
raises SandboxCommandError instead of SandboxError.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|/
|
|
|
|
|
|
|
| |
In order to properly support caching failures to build when a sandbox
is missing a command, we need to permit SandboxCommandError to take a
reason parameter. We default that to that which it previously forced
in order to reduce the need to add a reason code to every raise.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
|
|\
| |
| |
| |
| |
| |
| | |
Don't reset a failed (but cached) workspaced Element
Closes #1096
See merge request BuildStream/buildstream!1536
|
|/
|
|
|
|
|
|
|
|
|
| |
A workspaced element can fail to build, if this happens, we
cache the result as a failure. This patch ensures that we
do not reset the cache data if a workspace has failed to build.
An integration test has also been added which ensures that we
are able to get the log of a failed workspace build.
Closes #1096
|
|\
| |
| |
| |
| |
| |
| | |
Report error when job process unexpectedly dies
Closes #1089
See merge request BuildStream/buildstream!1531
|
|/ |
|
|\
| |
| |
| |
| | |
Move makemaker plugin to bst-plugins-experimental
See merge request BuildStream/buildstream!1538
|
|/
|
|
| |
Continuing moving plugins to bst-plugins-experimental.
|
|\
| |
| |
| |
| | |
Move make plugin to bst-plugins-experimental
See merge request BuildStream/buildstream!1535
|
|/ |
|
|\
| |
| |
| |
| | |
Fix artifact log
See merge request BuildStream/buildstream!1533
|
| |
| |
| |
| |
| |
| |
| |
| | |
This command now fetches the absolute paths of the log files in
the local CAS cache and opens a pager for each path.
The test has also been updated to ensure that a log file is
actually obtained.
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
_frontend/app.py: Fixup node._assert_symbol_name() positional args
Closes #1100
See merge request BuildStream/buildstream!1534
|
|/
|
|
|
| |
bst init was failing due to project_name_proc() incorrectly
passing args to the method, remove erroneous None.
|
|\
| |
| |
| |
| | |
Move meson element to bst-plugins-experimental
See merge request BuildStream/buildstream!1532
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Reject elements which have duplicated dependencies
Closes #1077
See merge request BuildStream/buildstream!1528
|