Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bst-external.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1589213451.168097/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yg_k198c:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yg_k198c:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '660e6b2e4efb48a680edab12e165c92f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1589213451.168097/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yg_k198c:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bst-external.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1583020800 Wrote: /builddir/build/SRPMS/bst-external-0.20.0-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bst-external.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1589213451.168097/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yg_k198c:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yg_k198c:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ade861d0fc064ecb9b127b41b929696f', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1589213451.168097/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yg_k198c:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bst-external.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1583020800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gAOtqx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bst-external-0.20.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/bst-external-0.20.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bst-external-0.20.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed 's|coverage == 4.4.0|coverage|' -i setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MFs8It + umask 022 + cd /builddir/build/BUILD + cd bst-external-0.20.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/bst_external copying bst_external/__init__.py -> build/lib/bst_external creating build/lib/bst_external/sources copying bst_external/sources/quilt.py -> build/lib/bst_external/sources copying bst_external/sources/git_tag.py -> build/lib/bst_external/sources copying bst_external/sources/docker.py -> build/lib/bst_external/sources copying bst_external/sources/cargo.py -> build/lib/bst_external/sources copying bst_external/sources/__init__.py -> build/lib/bst_external/sources creating build/lib/bst_external/elements copying bst_external/elements/x86image.py -> build/lib/bst_external/elements copying bst_external/elements/tar_element.py -> build/lib/bst_external/elements copying bst_external/elements/oci.py -> build/lib/bst_external/elements copying bst_external/elements/flatpak_repo.py -> build/lib/bst_external/elements copying bst_external/elements/flatpak_image.py -> build/lib/bst_external/elements copying bst_external/elements/fastboot_ext4.py -> build/lib/bst_external/elements copying bst_external/elements/fastboot_bootimg.py -> build/lib/bst_external/elements copying bst_external/elements/dpkg_deploy.py -> build/lib/bst_external/elements copying bst_external/elements/dpkg_build.py -> build/lib/bst_external/elements copying bst_external/elements/collect_manifest.py -> build/lib/bst_external/elements copying bst_external/elements/collect_integration.py -> build/lib/bst_external/elements copying bst_external/elements/__init__.py -> build/lib/bst_external/elements running egg_info creating BuildStream_external.egg-info writing BuildStream_external.egg-info/PKG-INFO writing dependency_links to BuildStream_external.egg-info/dependency_links.txt writing entry points to BuildStream_external.egg-info/entry_points.txt writing requirements to BuildStream_external.egg-info/requires.txt writing top-level names to BuildStream_external.egg-info/top_level.txt writing manifest file 'BuildStream_external.egg-info/SOURCES.txt' reading manifest file 'BuildStream_external.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'BuildStream_external.egg-info/SOURCES.txt' copying bst_external/elements/dpkg_build.yaml -> build/lib/bst_external/elements copying bst_external/elements/dpkg_deploy.yaml -> build/lib/bst_external/elements copying bst_external/elements/fastboot_bootimg.yaml -> build/lib/bst_external/elements copying bst_external/elements/fastboot_ext4.yaml -> build/lib/bst_external/elements copying bst_external/elements/flatpak_image.yaml -> build/lib/bst_external/elements copying bst_external/elements/flatpak_repo.yaml -> build/lib/bst_external/elements copying bst_external/elements/tar_element.yaml -> build/lib/bst_external/elements copying bst_external/elements/x86image.yaml -> build/lib/bst_external/elements + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EY5uqu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64 ++ dirname /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64 + cd bst-external-0.20.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr creating /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib creating /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8 creating /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages creating /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external creating /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/x86image.yaml -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/tar_element.yaml -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/flatpak_repo.yaml -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/flatpak_image.yaml -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/fastboot_ext4.yaml -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/fastboot_bootimg.yaml -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/dpkg_deploy.yaml -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/dpkg_build.yaml -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/__init__.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/collect_integration.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/collect_manifest.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/dpkg_build.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/dpkg_deploy.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/fastboot_bootimg.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/fastboot_ext4.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/flatpak_image.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/flatpak_repo.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/oci.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/tar_element.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements copying build/lib/bst_external/elements/x86image.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements creating /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources copying build/lib/bst_external/sources/__init__.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources copying build/lib/bst_external/sources/cargo.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources copying build/lib/bst_external/sources/docker.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources copying build/lib/bst_external/sources/git_tag.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources copying build/lib/bst_external/sources/quilt.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources copying build/lib/bst_external/__init__.py -> /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/__init__.py to __init__.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/collect_integration.py to collect_integration.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/collect_manifest.py to collect_manifest.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/dpkg_build.py to dpkg_build.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/dpkg_deploy.py to dpkg_deploy.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/fastboot_bootimg.py to fastboot_bootimg.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/fastboot_ext4.py to fastboot_ext4.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/flatpak_image.py to flatpak_image.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/flatpak_repo.py to flatpak_repo.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/oci.py to oci.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/tar_element.py to tar_element.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/elements/x86image.py to x86image.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources/__init__.py to __init__.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources/cargo.py to cargo.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources/docker.py to docker.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources/git_tag.py to git_tag.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/sources/quilt.py to quilt.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/bst_external/__init__.py to __init__.cpython-38.pyc writing byte-compilation script '/tmp/tmp3x7e1497.py' /usr/bin/python3 /tmp/tmp3x7e1497.py removing /tmp/tmp3x7e1497.py running install_egg_info running egg_info writing BuildStream_external.egg-info/PKG-INFO writing dependency_links to BuildStream_external.egg-info/dependency_links.txt writing entry points to BuildStream_external.egg-info/entry_points.txt writing requirements to BuildStream_external.egg-info/requires.txt writing top-level names to BuildStream_external.egg-info/top_level.txt reading manifest file 'BuildStream_external.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'BuildStream_external.egg-info/SOURCES.txt' Copying BuildStream_external.egg-info to /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages/BuildStream_external-0.20.0-py3.8.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.20.0-1.fc33 --unique-debug-suffix -0.20.0-1.fc33.x86_64 --unique-debug-src-base bst-external-0.20.0-1.fc33.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bst-external-0.20.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.T6PnLw + umask 022 + cd /builddir/build/BUILD + cd bst-external-0.20.0 + PATH=/builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/lib/python3.8/site-packages + /usr/bin/python3 setup.py test running pytest running egg_info writing BuildStream_external.egg-info/PKG-INFO writing dependency_links to BuildStream_external.egg-info/dependency_links.txt writing entry points to BuildStream_external.egg-info/entry_points.txt writing requirements to BuildStream_external.egg-info/requires.txt writing top-level names to BuildStream_external.egg-info/top_level.txt reading manifest file 'BuildStream_external.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'BuildStream_external.egg-info/SOURCES.txt' running build_ext ============================= test session starts ============================== platform linux -- Python 3.8.3rc1, pytest-4.6.10, py-1.8.0, pluggy-0.13.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/bst-external-0.20.0, inifile: setup.cfg plugins: cov-2.8.1, pep8-1.0.6, env-0.6.2, datafiles-2.0, xdist-1.32.0, forked-1.1.1 collecting ... collected 20 items tests/docker-source.py::test_docker_fetch FAILED [ 5%] tests/docker-source.py::test_docker_source_build FAILED [ 10%] tests/dpkg.py::test_dpkg_build FAILED [ 15%] tests/dpkg.py::test_dpkg_deploy FAILED [ 20%] tests/git_tag.py::test_gitlfs FAILED [ 25%] tests/git_tag.py::test_gitlfs_off FAILED [ 30%] tests/git_tag.py::test_gitlfs_notset FAILED [ 35%] tests/git_tag.py::test_fetch_bad_ref FAILED [ 40%] tests/git_tag.py::test_submodule_fetch_checkout FAILED [ 45%] tests/git_tag.py::test_submodule_fetch_source_enable_explicit FAILED [ 50%] tests/git_tag.py::test_submodule_fetch_source_disable FAILED [ 55%] tests/git_tag.py::test_submodule_fetch_submodule_does_override FAILED [ 60%] tests/git_tag.py::test_submodule_fetch_submodule_individual_checkout FAILED [ 65%] tests/git_tag.py::test_submodule_fetch_submodule_individual_checkout_explicit FAILED [ 70%] tests/git_tag.py::test_submodule_fetch_project_override FAILED [ 75%] tests/git_tag.py::test_submodule_track_ignore_inconsistent FAILED [ 80%] tests/git_tag.py::test_submodule_track_no_ref_or_track PASSED [ 85%] tests/git_tag.py::test_overwrite_rogue_tag_multiple_remotes FAILED [ 90%] tests/quilt.py::test_quilt_build FAILED [ 95%] tests/tar_element.py::test_tar_build FAILED [100%] =================================== FAILURES =================================== ______________________________ test_docker_fetch _______________________________ cli = datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0') @pytest.mark.datafiles(DATA_DIR) def test_docker_fetch(cli, datafiles): project = str(datafiles) result = cli.run(project=project, args=['fetch', 'dockerhub-alpine.bst']) > result.assert_success() tests/docker-source.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0 fetch dockerhub-alpine.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:13 Project: test (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0) Targets: dockerhub-alpine.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_fetch0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Project Options arch: x86_64 linux: 1 Loaded Plugins Source Plugins - docker Pipeline fetch needed 364701920f927834ab03efe9d2fb83c9cad038ef721306fd334a58c803545f1e dockerhub-alpine.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop ___________________________ test_docker_source_build ___________________________ cli = datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0') @pytest.mark.datafiles(DATA_DIR) def test_docker_source_build(cli, datafiles): project = str(datafiles) checkout = os.path.join(cli.directory, 'checkout') result = cli.run(project=project, args=['build', 'docker-source-test.bst']) > result.assert_success() tests/docker-source.py:24: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0 build docker-source-test.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Build [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:14 Project: test (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0) Targets: docker-source-test.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_docker_source_build0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Project Options arch: x86_64 linux: 1 Loaded Plugins Source Plugins - docker Pipeline fetch needed 364701920f927834ab03efe9d2fb83c9cad038ef721306fd334a58c803545f1e dockerhub-alpine.bst waiting 051a6fdf6e6069ea5f2de4f7f3cc794fe5f6d3be1e7073daa12c5b8665370fc0 docker-source-test.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 340, in build app.stream.build(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 211, in build self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop _______________________________ test_dpkg_build ________________________________ cli = datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_build0') @pytest.mark.datafiles(DATA_DIR) def test_dpkg_build(cli, datafiles): project = str(datafiles) checkout_dir = os.path.join(cli.directory, 'checkout') result = cli.run(project=project, args=['build', 'dpkg-build-test.bst']) > result.assert_success() tests/dpkg.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_build0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_build0 build dpkg-build-test.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Build [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:14 Project: test (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_build0) Targets: dpkg-build-test.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_build0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_build0/cache/logs Source Mirrors: /tmp/integration-cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_build0/cache/build Artifact Cache: /tmp/integration-cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Project Options arch: x86_64 linux: 1 Loaded Plugins Element Plugins - dpkg_build Pipeline fetch needed d5472eb60ceb8a45b0ed5907912b5d89ce91d8a4e9b454ea2663f052c6cf4dff base/alpine-image.bst fetch needed a6e8fd6c9ab8afac13ff720749b5d30ca216613400d9dbcfef8793a26a32e332 base/install-dpkg.bst waiting c82f9a03b706049b2a528db03b62b812f00f93303844a0fb751953a64073e0a8 base/base-configure.bst waiting 848f81fd174431a1151e6e04de31fecd8a334a939dad2ae7307061b6667a9ec0 base.bst waiting d935cad4761228c9affa5f5cf87bb2cacac66a114b56ef73bd18f7747ec125f6 dpkg-build-test.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 340, in build app.stream.build(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 211, in build self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop _______________________________ test_dpkg_deploy _______________________________ cli = datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_deploy0') @pytest.mark.datafiles(DATA_DIR) def test_dpkg_deploy(cli, datafiles): project = str(datafiles) checkout_dir = os.path.join(cli.directory, 'debian_package') result = cli.run(project=project, args=['build', 'dpkg-deploy-test.bst']) > result.assert_success() tests/dpkg.py:32: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_deploy0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_deploy0 build dpkg-deploy-test.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Build [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:14 Project: test (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_deploy0) Targets: dpkg-deploy-test.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_deploy0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_deploy0/cache/logs Source Mirrors: /tmp/integration-cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_dpkg_deploy0/cache/build Artifact Cache: /tmp/integration-cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Project Options arch: x86_64 linux: 1 Loaded Plugins Element Plugins - dpkg_deploy - dpkg_build Pipeline fetch needed d5472eb60ceb8a45b0ed5907912b5d89ce91d8a4e9b454ea2663f052c6cf4dff base/alpine-image.bst fetch needed a6e8fd6c9ab8afac13ff720749b5d30ca216613400d9dbcfef8793a26a32e332 base/install-dpkg.bst waiting c82f9a03b706049b2a528db03b62b812f00f93303844a0fb751953a64073e0a8 base/base-configure.bst waiting 848f81fd174431a1151e6e04de31fecd8a334a939dad2ae7307061b6667a9ec0 base.bst waiting d935cad4761228c9affa5f5cf87bb2cacac66a114b56ef73bd18f7747ec125f6 dpkg-build-test.bst waiting d725396a087c8d969b77db17965ef45760e4a5ff30fa0ff7a51079af0f8acabb dpkg-deploy-test.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 340, in build app.stream.build(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 211, in build self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop _________________________________ test_gitlfs __________________________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'lfs')) def test_gitlfs(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") element = { 'kind': 'import', 'sources': [ {'kind': 'git_tag', 'url': 'https://gitlab.com/buildstream/testing/test-lfs-repo', 'track': 'master', 'ref': '85b163a6252154d93c3f3320e95866b598c07835', 'use-lfs': True} ] } _yaml.dump(element, os.path.join(project, 'target.bst')) result = cli.run(project=project, args=[ 'fetch', 'target.bst' ]) > result.assert_success() tests/git_tag.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] FAILURE Resolving cached state [00:00:00][][] FAILURE Fetch git_tag source at target.bst [line 3 column 2]: git_tag source at target.bst [line 3 column 2]: Git lfs not installed _______________________________ test_gitlfs_off ________________________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'lfs')) def test_gitlfs_off(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") element = { 'kind': 'import', 'sources': [ {'kind': 'git_tag', 'url': 'https://gitlab.com/buildstream/testing/test-lfs-repo', 'track': 'master', 'ref': '85b163a6252154d93c3f3320e95866b598c07835', 'use-lfs': False} ] } _yaml.dump(element, os.path.join(project, 'target.bst')) result = cli.run(project=project, args=[ 'fetch', 'target.bst' ]) > result.assert_success() tests/git_tag.py:100: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:15 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_off0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 30a503a54401c74d6298c988fc850fa5d69c8ede0d835cd44ba31a8f5e7b2205 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop ______________________________ test_gitlfs_notset ______________________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'lfs')) def test_gitlfs_notset(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") element = { 'kind': 'import', 'sources': [ {'kind': 'git_tag', 'url': 'https://gitlab.com/buildstream/testing/test-lfs-repo', 'track': 'master', 'ref': '85b163a6252154d93c3f3320e95866b598c07835'} ] } _yaml.dump(element, os.path.join(project, 'target.bst')) result = cli.run(project=project, args=[ 'fetch', 'target.bst' ]) > result.assert_main_error(ErrorDomain.STREAM, None) tests/git_tag.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = error_domain = , error_reason = None, fail_message = '' def assert_main_error(self, error_domain, error_reason, fail_message=''): assert self.exit_code == -1, fail_message assert self.exc is not None, fail_message assert self.exception is not None, fail_message assert isinstance(self.exception, BstError), fail_message > assert self.unhandled_exception is False E assert True is False E + where True = .unhandled_exception tests/testutils/runcli.py:111: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:15 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_gitlfs_notset0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 30a503a54401c74d6298c988fc850fa5d69c8ede0d835cd44ba31a8f5e7b2205 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop ______________________________ test_fetch_bad_ref ______________________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_fetch_bad_ref(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Write out our test target with a bad ref element = { 'kind': 'import', 'sources': [ repo.source_config(ref='5') ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Assert that fetch raises an error here result = cli.run(project=project, args=[ 'fetch', 'target.bst' ]) > result.assert_main_error(ErrorDomain.STREAM, None) tests/git_tag.py:160: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = error_domain = , error_reason = None, fail_message = '' def assert_main_error(self, error_domain, error_reason, fail_message=''): assert self.exit_code == -1, fail_message assert self.exc is not None, fail_message assert self.exception is not None, fail_message assert isinstance(self.exception, BstError), fail_message > assert self.unhandled_exception is False E assert True is False E + where True = .unhandled_exception tests/testutils/runcli.py:111: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:15 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_fetch_bad_ref0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 2c6ae407e132216380b9d82d74cd6394a2c68cd4a5913989fe61a8481c32c196 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop ________________________ test_submodule_fetch_checkout _________________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_submodule_fetch_checkout(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") # Create the submodule first from the 'subrepofiles' subdir subrepo = create_repo('git', str(tmpdir), 'subrepo') subref = subrepo.create(os.path.join(project, 'subrepofiles')) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Add a submodule pointing to the one we created ref = repo.add_submodule('subdir', 'file://' + subrepo.repo) # Write out our test target element = { 'kind': 'import', 'sources': [ repo.source_config(ref=ref) ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Fetch, build, checkout result = cli.run(project=project, args=['fetch', 'target.bst']) > result.assert_success() tests/git_tag.py:192: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/subrepo/.git/ [master (root-commit) 7d9f078] Initial commit 1 file changed, 1 insertion(+) create mode 100644 ponyfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt [master eed09f3] Added the submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 subdir BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:15 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed d90d3ebd1cead2af1325257ee5b04816d218d188f9c8f99d12739f341b846038 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_checkout0/repo/subdir'... Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop _________________ test_submodule_fetch_source_enable_explicit __________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_submodule_fetch_source_enable_explicit(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") # Create the submodule first from the 'subrepofiles' subdir subrepo = create_repo('git', str(tmpdir), 'subrepo') subrepo.create(os.path.join(project, 'subrepofiles')) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Add a submodule pointing to the one we created ref = repo.add_submodule('subdir', 'file://' + subrepo.repo) # Write out our test target element = { 'kind': 'import', 'sources': [ repo.source_config(ref=ref, checkout_submodules=True) ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Fetch, build, checkout result = cli.run(project=project, args=['fetch', 'target.bst']) > result.assert_success() tests/git_tag.py:231: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/subrepo/.git/ [master (root-commit) 7d9f078] Initial commit 1 file changed, 1 insertion(+) create mode 100644 ponyfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt [master 6fc1d50] Added the submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 subdir BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:16 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 2ff08c7462181acc8c0a01b29f66054f0500f9129f764bf8e62f8bb63bc46d5c target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_en0/repo/subdir'... Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop _____________________ test_submodule_fetch_source_disable ______________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_submodule_fetch_source_disable(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") # Create the submodule first from the 'subrepofiles' subdir subrepo = create_repo('git', str(tmpdir), 'subrepo') subrepo.create(os.path.join(project, 'subrepofiles')) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Add a submodule pointing to the one we created ref = repo.add_submodule('subdir', 'file://' + subrepo.repo) # Write out our test target element = { 'kind': 'import', 'sources': [ repo.source_config(ref=ref, checkout_submodules=False) ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Fetch, build, checkout result = cli.run(project=project, args=['fetch', 'target.bst']) > result.assert_success() tests/git_tag.py:270: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/subrepo/.git/ [master (root-commit) 7d9f078] Initial commit 1 file changed, 1 insertion(+) create mode 100644 ponyfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt [master 22aa7e7] Added the submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 subdir BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:16 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 5680e8ace01b3634ebf551885adc356dd91e6e57444a5c3a6549d838afa9a014 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_source_di0/repo/subdir'... Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop _________________ test_submodule_fetch_submodule_does_override _________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_submodule_fetch_submodule_does_override(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") # Create the submodule first from the 'subrepofiles' subdir subrepo = create_repo('git', str(tmpdir), 'subrepo') subrepo.create(os.path.join(project, 'subrepofiles')) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Add a submodule pointing to the one we created ref = repo.add_submodule('subdir', 'file://' + subrepo.repo, checkout=True) # Write out our test target element = { 'kind': 'import', 'sources': [ repo.source_config(ref=ref, checkout_submodules=False) ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Fetch, build, checkout result = cli.run(project=project, args=['fetch', 'target.bst']) > result.assert_success() tests/git_tag.py:309: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/subrepo/.git/ [master (root-commit) 7d9f078] Initial commit 1 file changed, 1 insertion(+) create mode 100644 ponyfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt [master 3c8b6a3] Added the submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 subdir BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:16 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed a7d90a9382073988ed53953e70b3fb0323b83aefa648e0fe987f7aa346fe21e6 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule0/repo/subdir'... Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop ______________ test_submodule_fetch_submodule_individual_checkout ______________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_submodule_fetch_submodule_individual_checkout(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") # Create the submodule first from the 'subrepofiles' subdir subrepo = create_repo('git', str(tmpdir), 'subrepo') subrepo.create(os.path.join(project, 'subrepofiles')) # Create another submodule from the 'othersubrepofiles' subdir other_subrepo = create_repo('git', str(tmpdir), 'othersubrepo') other_subrepo.create(os.path.join(project, 'othersubrepofiles')) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Add a submodule pointing to the one we created ref = repo.add_submodule('subdir', 'file://' + subrepo.repo, checkout=False) ref = repo.add_submodule('othersubdir', 'file://' + other_subrepo.repo) # Write out our test target element = { 'kind': 'import', 'sources': [ repo.source_config(ref=ref, checkout_submodules=True) ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Fetch, build, checkout result = cli.run(project=project, args=['fetch', 'target.bst']) > result.assert_success() tests/git_tag.py:353: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/subrepo/.git/ [master (root-commit) 7d9f078] Initial commit 1 file changed, 1 insertion(+) create mode 100644 ponyfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/othersubrepo/.git/ [master (root-commit) bf77012] Initial commit 1 file changed, 1 insertion(+) create mode 100644 unicornfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt [master db16060] Added the submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 subdir [master 767cc92] Added the submodule 2 files changed, 4 insertions(+) create mode 160000 othersubdir BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:17 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 89e39902716691ff4f602d3d78ccf95618c6b96240e7dcf322f8ae1284aa5891 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/repo/subdir'... Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule1/repo/othersubdir'... Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop _________ test_submodule_fetch_submodule_individual_checkout_explicit __________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_submodule_fetch_submodule_individual_checkout_explicit(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") # Create the submodule first from the 'subrepofiles' subdir subrepo = create_repo('git', str(tmpdir), 'subrepo') subrepo.create(os.path.join(project, 'subrepofiles')) # Create another submodule from the 'othersubrepofiles' subdir other_subrepo = create_repo('git', str(tmpdir), 'othersubrepo') other_subrepo.create(os.path.join(project, 'othersubrepofiles')) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Add a submodule pointing to the one we created ref = repo.add_submodule('subdir', 'file://' + subrepo.repo, checkout=False) ref = repo.add_submodule('othersubdir', 'file://' + other_subrepo.repo, checkout=True) # Write out our test target element = { 'kind': 'import', 'sources': [ repo.source_config(ref=ref, checkout_submodules=True) ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Fetch, build, checkout result = cli.run(project=project, args=['fetch', 'target.bst']) > result.assert_success() tests/git_tag.py:398: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/subrepo/.git/ [master (root-commit) 7d9f078] Initial commit 1 file changed, 1 insertion(+) create mode 100644 ponyfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/othersubrepo/.git/ [master (root-commit) bf77012] Initial commit 1 file changed, 1 insertion(+) create mode 100644 unicornfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt [master b561912] Added the submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 subdir [master b002939] Added the submodule 2 files changed, 4 insertions(+) create mode 160000 othersubdir BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:17 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed cc845ec51a7096b06ce998536fddeeeb380c033d36b071a4e7e3ca3cdf1e4114 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/repo/subdir'... Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_submodule2/repo/othersubdir'... Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop ____________________ test_submodule_fetch_project_override _____________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'project-override')) def test_submodule_fetch_project_override(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) checkoutdir = os.path.join(str(tmpdir), "checkout") # Create the submodule first from the 'subrepofiles' subdir subrepo = create_repo('git', str(tmpdir), 'subrepo') subrepo.create(os.path.join(project, 'subrepofiles')) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Add a submodule pointing to the one we created ref = repo.add_submodule('subdir', 'file://' + subrepo.repo) # Write out our test target element = { 'kind': 'import', 'sources': [ repo.source_config(ref=ref) ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Fetch, build, checkout result = cli.run(project=project, args=['fetch', 'target.bst']) > result.assert_success() tests/git_tag.py:438: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/subrepo/.git/ [master (root-commit) 7d9f078] Initial commit 1 file changed, 1 insertion(+) create mode 100644 ponyfile.txt Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt [master caccf1e] Added the submodule 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 subdir BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:18 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 61c296284a02a93437b6ae70cf0210280360e6c2d70a5d54cf5c04334047b9fc target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Cloning into '/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_fetch_project_o0/repo/subdir'... Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop ___________________ test_submodule_track_ignore_inconsistent ___________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_submodule_track_ignore_inconsistent(cli, tmpdir, datafiles): project = os.path.join(datafiles.dirname, datafiles.basename) # Create the repo from 'repofiles' subdir repo = create_repo('git', str(tmpdir)) ref = repo.create(os.path.join(project, 'repofiles')) # Write out our test target element = { 'kind': 'import', 'sources': [ repo.source_config(ref=ref) ] } _yaml.dump(element, os.path.join(project, 'target.bst')) # Now add a .gitmodules file with an inconsistent submodule, # we are calling this inconsistent because the file was created # but `git submodule add` was never called, so there is no reference # associated to the submodule. # repo.add_file(os.path.join(project, 'inconsistent-submodule', '.gitmodules')) # Fetch should work, we're not yet at the offending ref result = cli.run(project=project, args=['fetch', 'target.bst']) > result.assert_success() tests/git_tag.py:476: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0/repo/.git/ [master (root-commit) 9ea9578] Initial commit 1 file changed, 1 insertion(+) create mode 100644 file.txt [master 6d61693] Added .gitmodules 1 file changed, 3 insertions(+) create mode 100644 .gitmodules BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0 fetch target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Fetch [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:18 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_submodule_track_ignore_in0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 25b15a86ee3794ea8d8b4b448eafdd863a6c719745a565f1c5126d002a516118 target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 391, in fetch app.stream.fetch(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 248, in fetch self._fetch(elements, track_elements=track_elements) File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1065, in _fetch self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop __________________ test_overwrite_rogue_tag_multiple_remotes ___________________ cli = tmpdir = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0') datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0') @pytest.mark.skipif(HAVE_GIT is False, reason="git is not available") @pytest.mark.datafiles(os.path.join(DATA_DIR, 'template')) def test_overwrite_rogue_tag_multiple_remotes(cli, tmpdir, datafiles): """When using multiple remotes in cache (i.e. when using aliases), we need to make sure we override tags. This is not allowed to fetch tags that were present from different origins """ project = str(datafiles) repofiles = os.path.join(str(tmpdir), 'repofiles') os.makedirs(repofiles, exist_ok=True) file0 = os.path.join(repofiles, 'file0') with open(file0, 'w') as f: f.write('test\n') repo = create_repo('git', str(tmpdir)) top_commit = repo.create(repofiles) repodir, reponame = os.path.split(repo.repo) project_config = _yaml.load(os.path.join(project, 'project.conf')) project_config['aliases'] = { 'repo': 'http://example.com/' } project_config['mirrors'] = [ { 'name': 'middle-earth', 'aliases': { 'repo': ['file://{}/'.format(repodir)] } } ] _yaml.dump(_yaml.node_sanitize(project_config), os.path.join(project, 'project.conf')) repo.add_annotated_tag('tag', 'tag') file1 = os.path.join(repofiles, 'file1') with open(file1, 'w') as f: f.write('test\n') ref = repo.add_file(file1) config = repo.source_config(ref=ref) del config['track'] config['url'] = 'repo:{}'.format(reponame) # Write out our test target element = { 'kind': 'import', 'sources': [ config ], } element_path = os.path.join(project, 'target.bst') _yaml.dump(element, element_path) result = cli.run(project=project, args=['build', 'target.bst']) > result.assert_success() tests/git_tag.py:571: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- Initialized empty Git repository in /builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0/repo/.git/ [master (root-commit) 742c108] Initial commit 2 files changed, 2 insertions(+) create mode 100644 file.txt create mode 100644 file0 [master 056714b] Added file1 1 file changed, 1 insertion(+) create mode 100644 file1 BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0 build target.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Build [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:18 Project: foo (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0) Targets: target.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0/cache/logs Source Mirrors: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0/cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0/cache/build Artifact Cache: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_overwrite_rogue_tag_multi0/cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Loaded Plugins Source Plugins - git_tag Pipeline fetch needed 6dbcf8b4a89c467b5c5e40ba8457ed8b71f51258cfcbec73bcf9a6fe7a94f32a target.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 340, in build app.stream.build(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 211, in build self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop _______________________________ test_quilt_build _______________________________ cli = datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_quilt_build0') @pytest.mark.datafiles(DATA_DIR) def test_quilt_build(cli, datafiles): project = str(datafiles) checkout = os.path.join(cli.directory, 'quilt_checkout') result = cli.run(project=project, args=['build', "quilt-build-test.bst"]) > result.assert_success() tests/quilt.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_quilt_build0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_quilt_build0 build quilt-build-test.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Build [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] FAILURE Resolving cached state [00:00:00][][] FAILURE Build quilt source at quilt-build-test.bst [line 11 column 2]: Did not find 'quilt' in PATH: /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ________________________________ test_tar_build ________________________________ cli = datafiles = local('/builddir/build/BUILD/bst-external-0.20.0/tmp/test_tar_build0') @pytest.mark.datafiles(DATA_DIR) def test_tar_build(cli, datafiles): project = str(datafiles) checkout_dir = os.path.join(cli.directory, 'tar_checkout') tarpath = os.path.join(checkout_dir, 'hello.tar.gz') result = cli.run(project=project, args=['build', 'tar-test.bst']) > result.assert_success() tests/tar_element.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = fail_message = '' def assert_success(self, fail_message=''): > assert self.exit_code == 0, fail_message E AssertionError: E assert -1 == 0 E --1 E +0 tests/testutils/runcli.py:84: AssertionError ----------------------------- Captured stdout call ----------------------------- BuildStream exited with code -1 for invocation: bst --no-colors --config /builddir/build/BUILD/bst-external-0.20.0/tmp/test_tar_build0/cache/buildstream.conf --directory /builddir/build/BUILD/bst-external-0.20.0/tmp/test_tar_build0 build tar-test.bst Program stderr was: [--:--:--][][] STATUS Cache usage recomputed: 140B / infinity (0%) [--:--:--][][] START Build [--:--:--][][] START Loading elements [00:00:00][][] SUCCESS Loading elements [--:--:--][][] START Resolving elements [00:00:00][][] SUCCESS Resolving elements [--:--:--][][] START Resolving cached state [00:00:00][][] SUCCESS Resolving cached state [--:--:--][][] START Checking sources [00:00:00][][] SUCCESS Checking sources BuildStream Version 1.4.1 Session Start: Monday, 11-05-2020 at 16:11:19 Project: test (/builddir/build/BUILD/bst-external-0.20.0/tmp/test_tar_build0) Targets: tar-test.bst Cache Usage: 140B / infinity (0%) User Configuration Configuration File: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_tar_build0/cache/buildstream.conf Log Files: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_tar_build0/cache/logs Source Mirrors: /tmp/integration-cache/sources Build Area: /builddir/build/BUILD/bst-external-0.20.0/tmp/test_tar_build0/cache/build Artifact Cache: /tmp/integration-cache/artifacts Strict Build Plan: Yes Maximum Fetch Tasks: 10 Maximum Build Tasks: 4 Maximum Push Tasks: 4 Maximum Network Retries: 2 Project Options arch: x86_64 linux: 1 Loaded Plugins Element Plugins - tar_element Pipeline buildable 5d0c7818580d5736708e0658a53829ade804dfa2119680dfe958dcc96f507f55 hello-import.bst waiting e96e657a9db0e42b0c1b95d6e7c71d81f7c1dba934a14357254dd72973742405 tar-test.bst =============================================================================== ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bst-external-0.20.0/tests/testutils/runcli.py", line 302, in invoke cli.main(args=args or (), prog_name=cli.name, **extra) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 173, in override_main original_main(self, args=args, prog_name=prog_name, complete_var=None, File "/usr/lib/python3.8/site-packages/click/core.py", line 782, in main rv = self.invoke(ctx) File "/usr/lib/python3.8/site-packages/click/core.py", line 1259, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python3.8/site-packages/click/core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python3.8/site-packages/click/core.py", line 610, in invoke return callback(*args, **kwargs) File "/usr/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func return f(get_current_context().obj, *args, **kwargs) File "/usr/lib/python3.8/site-packages/buildstream/_frontend/cli.py", line 340, in build app.stream.build(elements, File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 211, in build self._run() File "/usr/lib/python3.8/site-packages/buildstream/_stream.py", line 1022, in _run _, status = self._scheduler.run(self.queues) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 153, in run self._sched() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 427, in _sched self._sched_queue_jobs() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 401, in _sched_queue_jobs self._spawn_job(job) File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/scheduler.py", line 281, in _spawn_job job.spawn() File "/usr/lib/python3.8/site-packages/buildstream/_scheduler/jobs/job.py", line 162, in spawn self._watcher.add_child_handler(self._process.pid, self._parent_child_completed) File "/usr/lib64/python3.8/asyncio/unix_events.py", line 1293, in add_child_handler loop = events.get_running_loop() RuntimeError: no running event loop =============================== warnings summary =============================== /usr/lib/python3.8/site-packages/buildstream/source.py:150 /usr/lib/python3.8/site-packages/buildstream/source.py:150: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working from collections import Mapping tests/testutils/plugin_import.py:17 /builddir/build/BUILD/bst-external-0.20.0/tests/testutils/plugin_import.py:17: SyntaxWarning: "is not" with a literal. Did you mean "!="? if f is not "__init__.py" and (f.endswith(".py") or f.endswith(".yaml")): tests/testutils/plugin_import.py:24 /builddir/build/BUILD/bst-external-0.20.0/tests/testutils/plugin_import.py:24: SyntaxWarning: "is not" with a literal. Did you mean "!="? if f is not "__init__.py" and (f.endswith(".py") or f.endswith(".yaml")): /usr/lib/python3.8/site-packages/_pytest/mark/structures.py:331 /usr/lib/python3.8/site-packages/_pytest/mark/structures.py:331: PytestUnknownMarkWarning: Unknown pytest.mark.datafiles - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/latest/mark.html warnings.warn( -- Docs: https://docs.pytest.org/en/latest/warnings.html --------- coverage: platform linux, python 3.8.3-candidate-1 --------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------------- bst_external/__init__.py 0 0 100.00% bst_external/elements/__init__.py 0 0 100.00% bst_external/elements/collect_integration.py 52 52 0.00% 25-105 bst_external/elements/collect_manifest.py 135 135 0.00% 24-290 bst_external/elements/dpkg_build.py 67 49 26.87% 123-130, 149-227 bst_external/elements/dpkg_deploy.py 92 61 33.70% 136-140, 157, 173-237, 240-251, 254, 262-264 bst_external/elements/fastboot_bootimg.py 19 19 0.00% 19-63 bst_external/elements/fastboot_ext4.py 19 19 0.00% 19-64 bst_external/elements/flatpak_image.py 75 75 0.00% 27-127 bst_external/elements/flatpak_repo.py 43 43 0.00% 19-100 bst_external/elements/oci.py 470 470 0.00% 24-842 bst_external/elements/tar_element.py 44 19 56.82% 66, 78, 81, 84-105 bst_external/elements/x86image.py 19 19 0.00% 19-64 bst_external/sources/__init__.py 0 0 100.00% bst_external/sources/cargo.py 164 164 0.00% 20-443 bst_external/sources/docker.py 232 136 41.38% 74-82, 89-92, 115-116, 128, 136, 142-153, 158-161, 173-175, 210-250, 267-272, 283-287, 298, 308, 315, 328, 331-332, 336-349, 355-362, 365-367, 370-372, 388-415, 418-442, 448, 453-459 bst_external/sources/git_tag.py 318 125 60.69% 182-183, 191, 194-196, 204-264, 291-300, 311-318, 347, 366, 381-417, 420-438, 444-459, 477, 517, 523-530, 538-542, 623, 629, 632, 635-636, 639, 642-643, 648-676, 680-686, 695-702, 717-724, 753 bst_external/sources/quilt.py 25 8 68.00% 48, 51, 63-70 ------------------------------------------------------------------------------- TOTAL 1774 1394 21.42% =============== 19 failed, 1 passed, 4 warnings in 6.49 seconds ================ /usr/lib/python3.8/site-packages/pep8.py:110: FutureWarning: Possible nested set at position 1 EXTRANEOUS_WHITESPACE_REGEX = re.compile(r'[[({] | []}),;:]') + : + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd bst-external-0.20.0 + DOCDIR=/builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/share/doc/bst-external + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/share/doc/bst-external + cp -pr README.rst /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/share/doc/bst-external + cp -pr NEWS /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/share/doc/bst-external + cp -pr MAINTAINERS /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/share/doc/bst-external + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd bst-external-0.20.0 + LICENSEDIR=/builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/share/licenses/bst-external + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/share/licenses/bst-external + cp -pr LICENSE /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64/usr/share/licenses/bst-external + RPM_EC=0 ++ jobs -p + exit 0 Processing files: bst-external-0.20.0-1.fc33.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oz6Ypv Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wRRM5s Provides: bst-external = 0.20.0-1.fc33 python3.8dist(buildstream-external) = 0.20 python3dist(buildstream-external) = 0.20 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.8 python3.8dist(pytoml) python3.8dist(requests) python3.8dist(setuptools) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64 Wrote: /builddir/build/RPMS/bst-external-0.20.0-1.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZwJllv + umask 022 + cd /builddir/build/BUILD + cd bst-external-0.20.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bst-external-0.20.0-1.fc33.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0