You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:54:53 UTC
[buildstream] branch raoul/1023-ci-hanging created (now 94cd45c)
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a change to branch raoul/1023-ci-hanging
in repository https://gitbox.apache.org/repos/asf/buildstream.git.
at 94cd45c Update pytest and pytest-xdist
This branch includes the following new commits:
new 839c3e9 setup.cfg: add timeout to prevent hanging tests
new 94cd45c Update pytest and pytest-xdist
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[buildstream] 02/02: Update pytest and pytest-xdist
Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a commit to branch raoul/1023-ci-hanging
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 94cd45ca8a26cfd47aa06f3dc6aa461042ec1ee0
Author: Raoul Hidalgo Charman <ra...@codethink.co.uk>
AuthorDate: Fri May 17 15:01:18 2019 +0100
Update pytest and pytest-xdist
Part of #1023
---
requirements/cov-requirements.txt | 2 +-
requirements/dev-requirements.txt | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/requirements/cov-requirements.txt b/requirements/cov-requirements.txt
index 843df85..71e5341 100644
--- a/requirements/cov-requirements.txt
+++ b/requirements/cov-requirements.txt
@@ -7,5 +7,5 @@ more-itertools==6.0.0
pathlib2==2.3.3
pluggy==0.9.0
py==1.8.0
-pytest==4.3.0
+pytest==4.5.0
six==1.12.0
diff --git a/requirements/dev-requirements.txt b/requirements/dev-requirements.txt
index d8039c3..ddaeeb6 100644
--- a/requirements/dev-requirements.txt
+++ b/requirements/dev-requirements.txt
@@ -1,9 +1,9 @@
pylint==2.2.2
pycodestyle==2.5.0
-pytest==4.3.0
+pytest==4.5.0
pytest-datafiles==2.0
pytest-env==0.6.2
-pytest-xdist==1.26.1
+pytest-xdist==1.28.0
pytest-timeout==1.3.3
pyftpdlib==1.5.4
## The following requirements were added by pip freeze:
[buildstream] 01/02: setup.cfg: add timeout to prevent hanging tests
Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a commit to branch raoul/1023-ci-hanging
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 839c3e94f02bdca9d525de72fbcbe0abbee3c07b
Author: Raoul Hidalgo Charman <ra...@codethink.co.uk>
AuthorDate: Mon May 13 14:34:44 2019 +0100
setup.cfg: add timeout to prevent hanging tests
Part of #1023
---
setup.cfg | 1 +
tests/examples/flatpak-autotools.py | 2 ++
tests/integration/artifact.py | 1 +
tests/integration/shellbuildtrees.py | 1 +
4 files changed, 5 insertions(+)
diff --git a/setup.cfg b/setup.cfg
index efdca70..0078dc1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,6 +14,7 @@ test=pytest
addopts = --verbose --basetemp ./tmp --durations=20
norecursedirs = tests/integration/project integration-cache tmp __pycache__ .eggs
python_files = tests/*/*.py
+timeout = 60
env =
D:BST_TEST_SUITE=True
D:XDG_CACHE_HOME=./tmp/cache
diff --git a/tests/examples/flatpak-autotools.py b/tests/examples/flatpak-autotools.py
index 8af564e..5a63770 100644
--- a/tests/examples/flatpak-autotools.py
+++ b/tests/examples/flatpak-autotools.py
@@ -39,6 +39,7 @@ def workaround_setuptools_bug(project):
reason='Examples are written for x86-64')
@pytest.mark.skipif(not IS_LINUX or not HAVE_OSTREE, reason='Only available on linux with ostree')
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.timeout(300)
def test_autotools_build(cli, datafiles):
project = str(datafiles)
checkout = os.path.join(cli.directory, 'checkout')
@@ -62,6 +63,7 @@ def test_autotools_build(cli, datafiles):
reason='Examples are written for x86-64')
@pytest.mark.skipif(not IS_LINUX or not HAVE_OSTREE, reason='Only available on linux with ostree')
@pytest.mark.datafiles(DATA_DIR)
+@pytest.mark.timeout(300)
def test_autotools_run(cli, datafiles):
project = str(datafiles)
workaround_setuptools_bug(project)
diff --git a/tests/integration/artifact.py b/tests/integration/artifact.py
index a5e1f4d..5fdbb9c 100644
--- a/tests/integration/artifact.py
+++ b/tests/integration/artifact.py
@@ -45,6 +45,7 @@ DATA_DIR = os.path.join(
# content of an element on caching.
@pytest.mark.datafiles(DATA_DIR)
@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox')
+@pytest.mark.timeout(300)
def test_cache_buildtrees(cli, tmpdir, datafiles):
project = str(datafiles)
element_name = 'autotools/amhello.bst'
diff --git a/tests/integration/shellbuildtrees.py b/tests/integration/shellbuildtrees.py
index 3d59c78..2d1501f 100644
--- a/tests/integration/shellbuildtrees.py
+++ b/tests/integration/shellbuildtrees.py
@@ -213,6 +213,7 @@ def test_buildtree_pulled(cli, tmpdir, datafiles):
# This test checks for correct behaviour if a buildtree is not present in the local cache.
@pytest.mark.datafiles(DATA_DIR)
@pytest.mark.skipif(not HAVE_SANDBOX, reason='Only available with a functioning sandbox')
+@pytest.mark.timeout(180)
def test_buildtree_options(cli, tmpdir, datafiles):
project = str(datafiles)
element_name = 'build-shell/buildtree.bst'