| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| |
| |
| | |
_platform/platform.py: Add alias for IBM AIX 7 powerpc
See merge request BuildStream/buildstream!1779
|
|/
|
|
|
|
|
|
|
|
|
| |
* `uname -m` is unusable in case of IBM AIX 7 as it reports the serial
number of the machine. As a workaround, special case it and use the
reported processor identifier.
* tests/format/optionos.py: Don't use AIX for unsupported architecture
`AIX` is special-cased in BuildStream, so use a different system for
testing unsupported architectures.
|
|\
| |
| |
| |
| | |
_platform/platform.py: Add alias for sun4v
See merge request BuildStream/buildstream!1778
|
|/
|
|
|
|
|
|
|
|
|
| |
Some Solaris 11 servers report `uname -m` as `sun4v`. It uses the same
SPARC v9 processor architecture so add an alias for it as we already
support `sparc-v9`.
`uname -a` output for reference:
$ uname -a
SunOS sundev1 5.11 11.3 sun4v sparc sun4v Solaris
|
|\
| |
| |
| |
| | |
Drop support for `setup.py test`
See merge request BuildStream/buildstream!1758
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop support for running tests via `setup.py test`, that is considered
deprecated. `tox` is our primary frontend for running tests, so this
change ensures that we don't have to support multiple ways of running
tests.
For testing against a specific installation environment, `tox` is not
quite practical. But in these cases, one can run `pytest` directly. So,
there is no need for this additional indirection.
This was discussed in the following mailing list thread:
https://mail.gnome.org/archives/buildstream-list/2019-December/msg00006.html.
|
|\
| |
| |
| |
| |
| |
| | |
job.py: Do not call Process.close()
Closes #1243
See merge request BuildStream/buildstream!1776
|
|/
|
|
|
|
|
|
|
|
|
| |
As we handle subprocess termination by pid with an asyncio child
watcher, the multiprocessing.Process object does not get notified when
the process terminates. And as the child watcher reaps the process, the
pid is no longer valid and the Process object is unable to check whether
the process is dead. This results in Process.close() raising a
ValueError.
Fixes: 9c23ce5c ("job.py: Replace message queue with pipe")
|
|\
| |
| |
| |
| | |
setup.cfg: Set pytest default timeout
See merge request BuildStream/buildstream!1775
|
|/
|
|
|
|
|
| |
This sets a default timeout of 15 minutes for tests to avoid hanging
indefinitely. As the slowest test in CI normally takes less than
5 minutes, the timeout should be long enough to not trigger even on
slower systems if everything operates normally.
|
|\
| |
| |
| |
| | |
buildstream/_platform/platform.py: Add powerpc64 and powerpc64le
See merge request BuildStream/buildstream!1698
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Add CI job to test buildbox-run-userchroot
Closes #1237
See merge request BuildStream/buildstream!1751
|
| | |
|
| |
| |
| |
| | |
This adds userchroot and buildbox-run-userchroot.
|
| | |
|
| |
| |
| |
| | |
buildbox-run-userchroot requires a shell.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The root directory is not allowed to be writable by userchroot.
+ sh -c -e echo 'I can write to root' > /test
sh: can't create /test: Permission denied
|
| |
| |
| |
| |
| |
| |
| | |
The root directory is not allowed to be writable by userchroot.
+ sh -e -c touch /foo
touch: /foo: Permission denied
|
| |
| |
| |
| |
| |
| |
| |
| | |
The root directory is not allowed to be writable by userchroot.
+ sh -e -c mkdir -p /tests
mkdir: can't create directory '/tests': Permission denied
Command 'mkdir -p /tests' failed with exitcode 1
|
| |
| |
| |
| |
| | |
The tests are flaky due to non-deterministic timestamps in the output of
`ls -l`. See https://gitlab.com/BuildStream/buildstream/issues/1218
|
| | |
|
| |
| |
| |
| |
| | |
This is required for testing with userchroot to create staging
directories in a system-specific prefix.
|
|/
|
|
|
|
|
|
|
| |
If we don't, and encounter a file we don't own, but have permission to
delete, we'll fail with EPERM, since we won't be able to change
permissions but will be able to delete it.
Instead, we now try to change permissions and remove a file *after* we
realize we couldn't at first.
|
|\
| |
| |
| |
| |
| |
| | |
Make Git source plugin clone submodules recursively
Closes #1162
See merge request BuildStream/buildstream!1765
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
"Ignore submodule" sounds like it could be an action, so this changes the name
to more clearly be a predicate.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, GitSourceBase would only consider immediate submodules of the
superproject. It now fetches and stages recursively.
To achieve this, this commit somewhat refactors the relationship between
GitMirror and GitSourceBase. Enumerating GitMirrors for the submodules is now
done in GitMirror itself. GitSourceBase recursively iterates these mirror
classes with _recurse_submodules and applies the source configuration with
_configure_submodules.
|
|/ |
|
|\
| |
| |
| |
| | |
Small cleanups in `element._fetch`
See merge request BuildStream/buildstream!1768
|
| | |
|
|/
|
|
|
| |
This variable is used only once, when the original is used multiple
times. This only increases the cognitive load
|
|\
| |
| |
| |
| | |
job.py: Replace message queue with pipe
See merge request BuildStream/buildstream!1766
|
|/
|
|
|
|
|
|
| |
A lightweight unidirectional pipe is sufficient to pass messages from
the child job process to its parent.
This also avoids the need to access the private `_reader` instance
variable of `multiprocessing.Queue`.
|
|\
| |
| |
| |
| | |
.gitlab-ci.yml: Use latest freedesktop-sdk 19.08.5
See merge request BuildStream/buildstream!1762
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
Add CI job to test buildbox-run-bubblewrap and buildbox-fuse
Closes #1226
See merge request BuildStream/buildstream!1752
|
| | |
|
| |
| |
| |
| | |
Replaced by buildbox-run.
|
| |
| |
| |
| | |
Replaced by buildbox-run.
|
| |
| |
| |
| | |
This job uses buildbox-run-bubblewrap and buildbox-fuse.
|
| |
| |
| |
| |
| | |
This updates buildbox-common and builbox-casd to 0.0.5 and adds
buildbox-fuse and buildbox-run-bubblewrap.
|
|/ |
|
|\
| |
| |
| |
| | |
tox.ini: Add ability to run tests in a randomized order
See merge request BuildStream/buildstream!1760
|
|/
|
|
|
|
|
|
|
|
| |
Also register them to run nightly.
Running tests in a randomized order is a good way of checking whether
our tests depend on each others or not.
Since we order them globally, tests will take longer to run, but that
will give us higher confidence that they are correct.
|
|\
| |
| |
| |
| | |
tests/sources/tar.py: `utils._force_rmtree` instead of giving 777 permissions
See merge request BuildStream/buildstream!1763
|
|/
|
|
|
|
|
|
|
| |
While this is deep in our test suite, and should therefore never
create files that leak information, our code security linter
complains about setting broad file permissions.
We should really be using `utils._force_rmtree` here anyway, to stop
duplicating code, so that's what we do.
|