| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Supports workspace builds via RE
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Avoids testing for utimes when testing for umask. These tests are known to
be flaky and are overly specific in that they implicitly test more than
just umask.
|
|
|
|
|
|
| |
tests: additional incremental test
test: incremental conditions are not effective until modification
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
if the mtime is specified then try to copy files in file-to-file
transfers and reset the mtimes to the parameter value
|
|
|
|
| |
_filebaseddirectory: don't update mtimes/hardlink if mtimes are provided
|
|
|
|
|
|
| |
If checking out files from a CasBasedDirectory which holds
node_properties in the index files are explicitly copied instead of
being hardlinked and the mtime is updated to the stored value.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
supports properties in `_partial_import_cas_into_cas`
_casbaseddirectory: initialise entrynode properties
Copy node properties from/to IndexEntry
_casbaseddirectory: sort properties before copying to filenode
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Prepare NEWS for 1.91.3 development snapshot release
See merge request BuildStream/buildstream!1784
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
_platform: Don't use psutil.Process.cpu_affinity on unsupported platforms
Closes #1244
See merge request BuildStream/buildstream!1786
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
`psutil.Process.cpu_affinity` is not available on many non-Linux
platforms, like AIX and Solaris. We already have such a case with Darwin
where we need to resort to using `os.cpu_count()`.
Rather than adding more subclasses and overrides, add that logic as a
fallback in the main `Process` class. `os.cpu_count()` should generally
always be available, so hopefully we will only need to override this in
future too much or at all.
Fixes #1244.
|
|\
| |
| |
| |
| | |
Drop chroot sandboxing backend
See merge request BuildStream/buildstream!1777
|
| | |
|
| |
| |
| |
| |
| | |
The chroot sandboxing backend didn't work across platforms and has been
replaced by the buildbox-run sandboxing backend.
|
| | |
|
|/
|
|
| |
The chroot sandboxing backend will be dropped.
|
|\
| |
| |
| |
| | |
requirements: Add dependency on ruamel.yaml.clib
See merge request BuildStream/buildstream!1783
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Python3.8, when `ruamel.yaml.clib` is not installed, BuildStream ends
up throwing a stack trace on any and all operations. This manifests
itself in the following form:
$ bst show hello.bst
Error loading user configuration:
/venv/lib/python3.8/site-packages/buildstream/data/userconfig.yaml:
Severely malformed YAML:
'NoneType' object is not callable
This is also the root cause of downstream issues like
https://gitlab.com/BuildStream/bst-plugins-container/issues/19.
The fix is simple - to add a hard dependency on `ruamel.yaml.clib`, since
we explicitly import `yaml.Cparser` -
https://gitlab.com/BuildStream/buildstream/blob/master/src/buildstream/_yaml.pyx#L298
- that doesn't come from the main `ruamel.yaml` package.
This works fine on Python < 3.8 because `ruamel.yaml` itself has a hard
dependency on `ruamel.yaml.clib` for those versions. The Python 3.8 CI
pipeline also works because our requirements were frozen using a Python
3.7 interpreter and hence already have this requirement.
|
|\
| |
| |
| |
| |
| |
| | |
Add test environment for Python 3.8
Closes #1173
See merge request BuildStream/buildstream!1647
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Bump the testsuite image versions in order to get the latest Python
3.8 image, as we need at least Python 3.8.1. Python 3.8.0 suffers from
an issue that causes recursion errors when using `shutil.copytree`.
See upstream issue (https://bugs.python.org/issue38688) for more
details on that.
* Add partial support for running tests on Python 3.8. Coverage still
doesn't play well with our tests on 3.8.
https://gitlab.com/BuildStream/buildstream/issues/1173 is tracking
that.
|
| | |
|
| |
| |
| |
| |
| | |
In Python 3.8, `ThreadedChildWatcher` is the default watcher that causes
issues with our scheduler. Enforce use of `SafeChildWatcher`.
|
|/
|
|
|
|
| |
The command for running external tests only had the `-external`
qualifier for one of the tests, so it ended up duplicating the first
command for the first two environments.
|
|\
| |
| |
| |
| |
| |
| | |
Fix running tests without `--develop` flag
Closes #1121
See merge request BuildStream/buildstream!1782
|
| |
| |
| |
| |
| |
| | |
This is to prevent us from breaking `*-nocover` environments, and in
general, ensure that we can run tests correctly without `--develop`
flag.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Generally we don't have any tests in the `src` directory so we don't
need to collect anything from that directory. The only exception to this
are the `sourcetests`, but they add their own collection hook so they
are not affected by this.
This fixes an issue where pytest gets confused upon finding two
different `conftest.py` modules - one in the `src` directory and one in
the virtual environment.
Fixes #1121.
|
|\
| |
| |
| |
| | |
Remove unused functions 2
See merge request BuildStream/buildstream!1781
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|