feat: Output VERSION_FULL
#43
GitHub Actions / Test Results
failed
Jan 10, 2024 in 0s
1 fail, 5 pass in 1m 48s
Annotations
github-actions / Test Results
1 out of 3 runs failed: /DynamicVersion/sdist
JUnit-CMake-latest/report.xml [took 7s]
Raw output
fail
:: Tagged archive [DEV]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:05 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:05 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.AomlwRjaXf/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:05 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:05 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:05 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] distance: 0$'
Error: /tmp/tmp.AomlwRjaXf/build-DEV is not a directory
:: [ 18:19:06 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:19:06 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.3X13JeSE' should contain '^version: 0.0.0$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.3X13JeSE' should contain '^version-full: 0.0.0$'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:19:06 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^version: 0.0.0$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^version-full: 0.0.0$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^distance: 0$'
:: Off-tag archive [DEV]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:06 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:06 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.AomlwRjaXf/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:07 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] version: 0.0.1$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] version-full: 0.0.1.dev1+g3be3855$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] short-hash: 3be3855$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] distance: 1$'
Error: /tmp/tmp.AomlwRjaXf/build-DEV is not a directory
:: [ 18:19:07 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:19:07 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.yfGZMxis' should contain '^version: 0.0.1$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.yfGZMxis' should contain 'version-full: 0.0.1.dev1+g3be3855'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:19:07 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^version: 0.0.1$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain 'version-full: 0.0.1.dev1+g3be3855'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^short-hash: 3be3855$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^distance: 1$'
:: Tagged archive [POST]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:08 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:08 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.AomlwRjaXf/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:08 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] distance: 0$'
Error: /tmp/tmp.AomlwRjaXf/build-POST is not a directory
:: [ 18:19:08 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:19:08 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.auqFZ07k' should contain '^version: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.auqFZ07k' should contain '^version-full: 0.0.0$'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:19:08 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^version: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^version-full: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^distance: 0$'
:: Off-tag archive [POST]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:09 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:09 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.AomlwRjaXf/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:09 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] version-full: 0.0.0.post1+gc5c8282$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] short-hash: c5c8282$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] distance: 1$'
Error: /tmp/tmp.AomlwRjaXf/build-POST is not a directory
:: [ 18:19:09 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:19:09 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.o02wpKcN' should contain '^version: 0.0.0$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.o02wpKcN' should contain 'version-full: 0.0.0.post1+gc5c8282'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:19:09 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^version: 0.0.0$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain 'version-full: 0.0.0.post1+gc5c8282'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^short-hash: c5c8282$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:02 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)'
:: [ 18:19:02 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Copy test files :: actually running 'rsync -r ./ /tmp/tmp.AomlwRjaXf'
:: [ 18:19:02 ] :: [ PASS ] :: Copy test files (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.AomlwRjaXf'
/tmp/tmp.AomlwRjaXf /var/tmp/tmt/run-001/plans/full/discover/default-0/tests/DynamicVersion
:: [ 18:19:02 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.AomlwRjaXf' (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Set base_configure_args :: actually running 'base_configure_args="-G Ninja --log-context"'
:: [ 18:19:02 ] :: [ PASS ] :: Set base_configure_args (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Add CMakeExtraUtils_ROOT :: actually running 'base_configure_args="${base_configure_args} -DCMakeExtraUtils_ROOT=${CMakeExtraUtils_ROOT}"'
:: [ 18:19:02 ] :: [ PASS ] :: Add CMakeExtraUtils_ROOT (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Configure .gitattributes :: actually running 'echo '.git_archival.txt export-subst' > .gitattributes'
:: [ 18:19:02 ] :: [ PASS ] :: Configure .gitattributes (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Running 'set -o pipefail'
:: [ 18:19:02 ] :: [ PASS ] :: Command 'set -o pipefail' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 7 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Reset arguments and git environment [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:03 ] :: [ BEGIN ] :: Remove any version_scheme defined :: actually running 'sed -i -e 's/version_scheme=.*//g' pyproject.toml'
:: [ 18:19:03 ] :: [ PASS ] :: Remove any version_scheme defined (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Setup version_scheme for DEV :: actually running 'echo 'version_scheme="guess-next-dev"' >> pyproject.toml && cat pyproject.toml'
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "TestProject"
dynamic = ["version"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme="guess-next-dev"
:: [ 18:19:03 ] :: [ PASS ] :: Setup version_scheme for DEV (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Set specific build_dir :: actually running 'build_dir=./build-DEV'
:: [ 18:19:03 ] :: [ PASS ] :: Set specific build_dir (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Set full configure_args :: actually running 'configure_args="-B ${build_dir} ${base_configure_args}" && echo ${configure_args}'
-B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build
:: [ 18:19:03 ] :: [ PASS ] :: Set full configure_args (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Set build_args :: actually running 'build_args="--build ${build_dir}"'
:: [ 18:19:03 ] :: [ PASS ] :: Set build_args (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Running 'git init'
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/tmp.AomlwRjaXf/.git/
:: [ 18:19:03 ] :: [ PASS ] :: Command 'git init' (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Git add basic files :: actually running 'git add CMakeLists.txt .git_archival.txt .gitattributes src pyproject.toml'
:: [ 18:19:03 ] :: [ PASS ] :: Git add basic files (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Git commit (initial) :: actually running 'git commit -m 'Initial commit''
[master (root-commit) d465149] Initial commit
8 files changed, 104 insertions(+)
create mode 100644 .git_archival.txt
create mode 100644 .gitattributes
create mode 100644 CMakeLists.txt
create mode 100644 pyproject.toml
create mode 100644 src/commit.cpp
create mode 100644 src/commit.h.in
create mode 100644 src/version.cpp
create mode 100644 src/version.h.in
:: [ 18:19:03 ] :: [ PASS ] :: Git commit (initial) (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 8 good, 0 bad
:: RESULT: PASS (Reset arguments and git environment [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Tagged archive [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:03 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-DEV dist testproject-*'
:: [ 18:19:03 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Set tag_version :: actually running 'tag_version=0.0.0'
:: [ 18:19:03 ] :: [ PASS ] :: Set tag_version (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Tag git commit :: actually running 'git tag v${tag_version}'
:: [ 18:19:03 ] :: [ PASS ] :: Tag git commit (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
Setting up build environment for missing dependencies
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
0.0.0
:: [ 18:19:05 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:19:05 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
d465149b5e5049377f1efa3aa8629d8fea9e5be6
:: [ 18:19:05 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:19:05 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
d465149
:: [ 18:19:05 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:19:05 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0
:: [ 18:19:05 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:19:05 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=0 && echo ${distance}'
0
:: [ 18:19:05 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:19:05 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:05 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:19:05 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:05 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:19:05 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.AomlwRjaXf/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:05 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:05 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:05 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.pnTWVZ0h' should contain '^\[TestProject\] distance: 0$'
:: [ 18:19:06 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-DEV'
Error: /tmp/tmp.AomlwRjaXf/build-DEV is not a directory
:: [ 18:19:06 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:19:06 ] :: [ BEGIN ] :: Run ./version :: actually running './build-DEV/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:19:06 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.3X13JeSE' should contain '^version: 0.0.0$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.3X13JeSE' should contain '^version-full: 0.0.0$'
:: [ 18:19:06 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-DEV/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:19:06 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^version: 0.0.0$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^version-full: 0.0.0$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:06 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.UhehLlcX' should contain '^distance: 0$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 3s
:: Assertions: 8 good, 20 bad
:: RESULT: FAIL (Tagged archive [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Off-tag archive [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:06 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-DEV dist testproject-*'
:: [ 18:19:06 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Create a random file :: actually running 'touch ./random_file'
:: [ 18:19:06 ] :: [ PASS ] :: Create a random file (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Git add the random file :: actually running 'git add random_file'
:: [ 18:19:06 ] :: [ PASS ] :: Git add the random file (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Git commit (off-tag) :: actually running 'git commit -m 'Moved commit''
[master 3be3855] Moved commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 random_file
:: [ 18:19:06 ] :: [ PASS ] :: Git commit (off-tag) (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.1.dev1+g3be3855
:: [ 18:19:06 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Strip version :: actually running 'version=$(echo ${version_full} | sed -E 's/([0-9\.]*)\.[a-z].*/\1/') && echo ${version}'
0.0.1
:: [ 18:19:06 ] :: [ PASS ] :: Strip version (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
3be3855d517a2c4cb1c10f89a3fab0c7af9d73b5
:: [ 18:19:06 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
3be3855
:: [ 18:19:06 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0-1-g3be3855
:: [ 18:19:06 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=$(echo ${describe} | sed -E 's/.*-([0-9]+)-.*/\1/') && echo ${distance}'
1
:: [ 18:19:06 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:19:06 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:06 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:19:06 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:06 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:19:06 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.AomlwRjaXf/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:07 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] version: 0.0.1$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] version-full: 0.0.1.dev1+g3be3855$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] short-hash: 3be3855$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.KckEJ8aB' should contain '^\[TestProject\] distance: 1$'
:: [ 18:19:07 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-DEV'
Error: /tmp/tmp.AomlwRjaXf/build-DEV is not a directory
:: [ 18:19:07 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:19:07 ] :: [ BEGIN ] :: Run ./version :: actually running './build-DEV/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:19:07 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.yfGZMxis' should contain '^version: 0.0.1$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.yfGZMxis' should contain 'version-full: 0.0.1.dev1+g3be3855'
:: [ 18:19:07 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-DEV/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:19:07 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^version: 0.0.1$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain 'version-full: 0.0.1.dev1+g3be3855'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^short-hash: 3be3855$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:07 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LtJLeBR1' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 10 good, 20 bad
:: RESULT: FAIL (Off-tag archive [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Reset arguments and git environment [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:07 ] :: [ BEGIN ] :: Clean git repository :: actually running 'rm -rf .git'
:: [ 18:19:07 ] :: [ PASS ] :: Clean git repository (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Remove any version_scheme defined :: actually running 'sed -i -e 's/version_scheme=.*//g' pyproject.toml'
:: [ 18:19:07 ] :: [ PASS ] :: Remove any version_scheme defined (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Setup version_scheme for POST :: actually running 'echo 'version_scheme="post-release"' >> pyproject.toml && cat pyproject.toml'
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "TestProject"
dynamic = ["version"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme="post-release"
:: [ 18:19:07 ] :: [ PASS ] :: Setup version_scheme for POST (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Set specific build_dir :: actually running 'build_dir=./build-POST'
:: [ 18:19:07 ] :: [ PASS ] :: Set specific build_dir (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Set full configure_args :: actually running 'configure_args="-B ${build_dir} ${base_configure_args}" && echo ${configure_args}'
-B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build
:: [ 18:19:07 ] :: [ PASS ] :: Set full configure_args (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Set build_args :: actually running 'build_args="--build ${build_dir}"'
:: [ 18:19:07 ] :: [ PASS ] :: Set build_args (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Running 'git init'
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/tmp.AomlwRjaXf/.git/
:: [ 18:19:07 ] :: [ PASS ] :: Command 'git init' (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Git add basic files :: actually running 'git add CMakeLists.txt .git_archival.txt .gitattributes src pyproject.toml'
:: [ 18:19:07 ] :: [ PASS ] :: Git add basic files (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Git commit (initial) :: actually running 'git commit -m 'Initial commit''
[master (root-commit) 7ba5d48] Initial commit
8 files changed, 105 insertions(+)
create mode 100644 .git_archival.txt
create mode 100644 .gitattributes
create mode 100644 CMakeLists.txt
create mode 100644 pyproject.toml
create mode 100644 src/commit.cpp
create mode 100644 src/commit.h.in
create mode 100644 src/version.cpp
create mode 100644 src/version.h.in
:: [ 18:19:07 ] :: [ PASS ] :: Git commit (initial) (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 9 good, 0 bad
:: RESULT: PASS (Reset arguments and git environment [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Tagged archive [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:07 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-POST dist testproject-*'
:: [ 18:19:07 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Set tag_version :: actually running 'tag_version=0.0.0'
:: [ 18:19:07 ] :: [ PASS ] :: Set tag_version (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Tag git commit :: actually running 'git tag v${tag_version}'
:: [ 18:19:07 ] :: [ PASS ] :: Tag git commit (Expected 0, got 0)
:: [ 18:19:07 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.0
:: [ 18:19:08 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
7ba5d48d9b7136c3f65e677ccd0f0621e4174b31
:: [ 18:19:08 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
7ba5d48
:: [ 18:19:08 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0
:: [ 18:19:08 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=0 && echo ${distance}'
0
:: [ 18:19:08 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:08 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:19:08 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:08 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:19:08 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.AomlwRjaXf/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:08 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSr4Jhok' should contain '^\[TestProject\] distance: 0$'
:: [ 18:19:08 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-POST'
Error: /tmp/tmp.AomlwRjaXf/build-POST is not a directory
:: [ 18:19:08 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:19:08 ] :: [ BEGIN ] :: Run ./version :: actually running './build-POST/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:19:08 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.auqFZ07k' should contain '^version: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.auqFZ07k' should contain '^version-full: 0.0.0$'
:: [ 18:19:08 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-POST/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:19:08 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^version: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^version-full: 0.0.0$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:08 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RooO0fTp' should contain '^distance: 0$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 8 good, 20 bad
:: RESULT: FAIL (Tagged archive [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Off-tag archive [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:08 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-POST dist testproject-*'
:: [ 18:19:08 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Create a random file :: actually running 'touch ./random_file'
:: [ 18:19:08 ] :: [ PASS ] :: Create a random file (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Git add the random file :: actually running 'git add random_file'
:: [ 18:19:08 ] :: [ PASS ] :: Git add the random file (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Git commit (off-tag) :: actually running 'git commit -m 'Moved commit''
[master c5c8282] Moved commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 random_file
:: [ 18:19:08 ] :: [ PASS ] :: Git commit (off-tag) (Expected 0, got 0)
:: [ 18:19:08 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.0.post1+gc5c8282
:: [ 18:19:09 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:19:09 ] :: [ BEGIN ] :: Strip version :: actually running 'version=$(echo ${version_full} | sed -E 's/([0-9\.]*)\.[a-z].*/\1/') && echo ${version}'
0.0.0
:: [ 18:19:09 ] :: [ PASS ] :: Strip version (Expected 0, got 0)
:: [ 18:19:09 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
c5c82823efbb2f0734d730e1c8a4bbe5911ad240
:: [ 18:19:09 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:19:09 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
c5c8282
:: [ 18:19:09 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:19:09 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0-1-gc5c8282
:: [ 18:19:09 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:19:09 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=$(echo ${describe} | sed -E 's/.*-([0-9]+)-.*/\1/') && echo ${distance}'
1
:: [ 18:19:09 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:19:09 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:09 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:19:09 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:09 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:19:09 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.AomlwRjaXf/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:09 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] version-full: 0.0.0.post1+gc5c8282$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] short-hash: c5c8282$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.FIsPmo5n' should contain '^\[TestProject\] distance: 1$'
:: [ 18:19:09 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-POST'
Error: /tmp/tmp.AomlwRjaXf/build-POST is not a directory
:: [ 18:19:09 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:19:09 ] :: [ BEGIN ] :: Run ./version :: actually running './build-POST/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:19:09 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.o02wpKcN' should contain '^version: 0.0.0$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.o02wpKcN' should contain 'version-full: 0.0.0.post1+gc5c8282'
:: [ 18:19:09 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-POST/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:19:09 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^version: 0.0.0$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain 'version-full: 0.0.0.post1+gc5c8282'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^short-hash: c5c8282$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:09 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.Sqh9Jsln' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 10 good, 20 bad
:: RESULT: FAIL (Off-tag archive [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:09 ] :: [ BEGIN ] :: Running 'popd'
/var/tmp/tmt/run-001/plans/full/discover/default-0/tests/DynamicVersion
:: [ 18:19:09 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0)
:: [ 18:19:09 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.AomlwRjaXf'
:: [ 18:19:09 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:09 ] :: [ LOG ] :: Phases fingerprint: CC88/p6l
:: [ 18:19:09 ] :: [ LOG ] :: Asserts fingerprint: 2XvaQZgR
:: [ 18:19:09 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-001/plans/full/execute/data/guest/default-0/DynamicVersion/sdist-5/journal.xml
:: [ 18:19:09 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-001/plans/full/execute/data/guest/default-0/DynamicVersion/sdist-5/journal.txt
:: [ 18:19:09 ] :: [ INFO ] :: Deleting rlRun_LOG file(s)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 7s
:: Phases: 4 good, 4 bad
:: OVERALL RESULT: FAIL ()
github-actions / Test Results
1 out of 3 runs failed: /DynamicVersion/sdist
JUnit-CMake-latestrc/report.xml [took 7s]
Raw output
fail
:: Tagged archive [DEV]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:48 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:48 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.GogIwxhh7T/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:48 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] distance: 0$'
Error: /tmp/tmp.GogIwxhh7T/build-DEV is not a directory
:: [ 18:18:48 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:18:48 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LRHH0iC0' should contain '^version: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LRHH0iC0' should contain '^version-full: 0.0.0$'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:18:48 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^version: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^version-full: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^distance: 0$'
:: Off-tag archive [DEV]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:49 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:49 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.GogIwxhh7T/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:49 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] version: 0.0.1$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] version-full: 0.0.1.dev1+g11f9e34$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] short-hash: 11f9e34$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] distance: 1$'
Error: /tmp/tmp.GogIwxhh7T/build-DEV is not a directory
:: [ 18:18:49 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:18:49 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.fwD5yIhQ' should contain '^version: 0.0.1$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.fwD5yIhQ' should contain 'version-full: 0.0.1.dev1+g11f9e34'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:18:49 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^version: 0.0.1$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain 'version-full: 0.0.1.dev1+g11f9e34'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^short-hash: 11f9e34$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^distance: 1$'
:: Tagged archive [POST]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:50 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:50 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.GogIwxhh7T/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:50 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] distance: 0$'
Error: /tmp/tmp.GogIwxhh7T/build-POST is not a directory
:: [ 18:18:50 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:18:50 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.USFsdCXL' should contain '^version: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.USFsdCXL' should contain '^version-full: 0.0.0$'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:18:50 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^version: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^version-full: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^distance: 0$'
:: Off-tag archive [POST]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:51 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:51 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.GogIwxhh7T/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:51 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] version-full: 0.0.0.post1+g1676aee$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] short-hash: 1676aee$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] distance: 1$'
Error: /tmp/tmp.GogIwxhh7T/build-POST is not a directory
:: [ 18:18:51 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:18:51 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.lAVijFso' should contain '^version: 0.0.0$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.lAVijFso' should contain 'version-full: 0.0.0.post1+g1676aee'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:18:51 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^version: 0.0.0$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain 'version-full: 0.0.0.post1+g1676aee'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^short-hash: 1676aee$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:44 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)'
:: [ 18:18:44 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0)
:: [ 18:18:44 ] :: [ BEGIN ] :: Copy test files :: actually running 'rsync -r ./ /tmp/tmp.GogIwxhh7T'
:: [ 18:18:44 ] :: [ PASS ] :: Copy test files (Expected 0, got 0)
:: [ 18:18:44 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.GogIwxhh7T'
/tmp/tmp.GogIwxhh7T /var/tmp/tmt/run-001/plans/full/discover/default-0/tests/DynamicVersion
:: [ 18:18:44 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.GogIwxhh7T' (Expected 0, got 0)
:: [ 18:18:44 ] :: [ BEGIN ] :: Set base_configure_args :: actually running 'base_configure_args="-G Ninja --log-context"'
:: [ 18:18:44 ] :: [ PASS ] :: Set base_configure_args (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Add CMakeExtraUtils_ROOT :: actually running 'base_configure_args="${base_configure_args} -DCMakeExtraUtils_ROOT=${CMakeExtraUtils_ROOT}"'
:: [ 18:18:45 ] :: [ PASS ] :: Add CMakeExtraUtils_ROOT (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Configure .gitattributes :: actually running 'echo '.git_archival.txt export-subst' > .gitattributes'
:: [ 18:18:45 ] :: [ PASS ] :: Configure .gitattributes (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Running 'set -o pipefail'
:: [ 18:18:45 ] :: [ PASS ] :: Command 'set -o pipefail' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 7 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Reset arguments and git environment [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:45 ] :: [ BEGIN ] :: Remove any version_scheme defined :: actually running 'sed -i -e 's/version_scheme=.*//g' pyproject.toml'
:: [ 18:18:45 ] :: [ PASS ] :: Remove any version_scheme defined (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Setup version_scheme for DEV :: actually running 'echo 'version_scheme="guess-next-dev"' >> pyproject.toml && cat pyproject.toml'
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "TestProject"
dynamic = ["version"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme="guess-next-dev"
:: [ 18:18:45 ] :: [ PASS ] :: Setup version_scheme for DEV (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Set specific build_dir :: actually running 'build_dir=./build-DEV'
:: [ 18:18:45 ] :: [ PASS ] :: Set specific build_dir (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Set full configure_args :: actually running 'configure_args="-B ${build_dir} ${base_configure_args}" && echo ${configure_args}'
-B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build
:: [ 18:18:45 ] :: [ PASS ] :: Set full configure_args (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Set build_args :: actually running 'build_args="--build ${build_dir}"'
:: [ 18:18:45 ] :: [ PASS ] :: Set build_args (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Running 'git init'
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/tmp.GogIwxhh7T/.git/
:: [ 18:18:45 ] :: [ PASS ] :: Command 'git init' (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Git add basic files :: actually running 'git add CMakeLists.txt .git_archival.txt .gitattributes src pyproject.toml'
:: [ 18:18:45 ] :: [ PASS ] :: Git add basic files (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Git commit (initial) :: actually running 'git commit -m 'Initial commit''
[master (root-commit) d5549dd] Initial commit
8 files changed, 104 insertions(+)
create mode 100644 .git_archival.txt
create mode 100644 .gitattributes
create mode 100644 CMakeLists.txt
create mode 100644 pyproject.toml
create mode 100644 src/commit.cpp
create mode 100644 src/commit.h.in
create mode 100644 src/version.cpp
create mode 100644 src/version.h.in
:: [ 18:18:45 ] :: [ PASS ] :: Git commit (initial) (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 8 good, 0 bad
:: RESULT: PASS (Reset arguments and git environment [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Tagged archive [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:45 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-DEV dist testproject-*'
:: [ 18:18:45 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Set tag_version :: actually running 'tag_version=0.0.0'
:: [ 18:18:45 ] :: [ PASS ] :: Set tag_version (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Tag git commit :: actually running 'git tag v${tag_version}'
:: [ 18:18:45 ] :: [ PASS ] :: Tag git commit (Expected 0, got 0)
:: [ 18:18:45 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
Setting up build environment for missing dependencies
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
0.0.0
:: [ 18:18:47 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:18:47 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
d5549ddb34937ca1779d66908dd4db7765c89841
:: [ 18:18:47 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:18:47 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
d5549dd
:: [ 18:18:47 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:18:47 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0
:: [ 18:18:47 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:18:47 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=0 && echo ${distance}'
0
:: [ 18:18:47 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:18:47 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:48 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:18:48 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:48 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:18:48 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.GogIwxhh7T/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:48 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.cRpAXmt1' should contain '^\[TestProject\] distance: 0$'
:: [ 18:18:48 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-DEV'
Error: /tmp/tmp.GogIwxhh7T/build-DEV is not a directory
:: [ 18:18:48 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:18:48 ] :: [ BEGIN ] :: Run ./version :: actually running './build-DEV/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:18:48 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LRHH0iC0' should contain '^version: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LRHH0iC0' should contain '^version-full: 0.0.0$'
:: [ 18:18:48 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-DEV/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:18:48 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^version: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^version-full: 0.0.0$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:48 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.A3bhDkxB' should contain '^distance: 0$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 3s
:: Assertions: 8 good, 20 bad
:: RESULT: FAIL (Tagged archive [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Off-tag archive [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:48 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-DEV dist testproject-*'
:: [ 18:18:48 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:18:48 ] :: [ BEGIN ] :: Create a random file :: actually running 'touch ./random_file'
:: [ 18:18:48 ] :: [ PASS ] :: Create a random file (Expected 0, got 0)
:: [ 18:18:48 ] :: [ BEGIN ] :: Git add the random file :: actually running 'git add random_file'
:: [ 18:18:48 ] :: [ PASS ] :: Git add the random file (Expected 0, got 0)
:: [ 18:18:48 ] :: [ BEGIN ] :: Git commit (off-tag) :: actually running 'git commit -m 'Moved commit''
[master 11f9e34] Moved commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 random_file
:: [ 18:18:48 ] :: [ PASS ] :: Git commit (off-tag) (Expected 0, got 0)
:: [ 18:18:48 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.1.dev1+g11f9e34
:: [ 18:18:49 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Strip version :: actually running 'version=$(echo ${version_full} | sed -E 's/([0-9\.]*)\.[a-z].*/\1/') && echo ${version}'
0.0.1
:: [ 18:18:49 ] :: [ PASS ] :: Strip version (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
11f9e34b5a63f5d942c04d4f34980fa399bcb571
:: [ 18:18:49 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
11f9e34
:: [ 18:18:49 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0-1-g11f9e34
:: [ 18:18:49 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=$(echo ${describe} | sed -E 's/.*-([0-9]+)-.*/\1/') && echo ${distance}'
1
:: [ 18:18:49 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:49 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:18:49 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:49 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:18:49 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.GogIwxhh7T/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:49 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] version: 0.0.1$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] version-full: 0.0.1.dev1+g11f9e34$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] short-hash: 11f9e34$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ke49c9Oq' should contain '^\[TestProject\] distance: 1$'
:: [ 18:18:49 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-DEV'
Error: /tmp/tmp.GogIwxhh7T/build-DEV is not a directory
:: [ 18:18:49 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:18:49 ] :: [ BEGIN ] :: Run ./version :: actually running './build-DEV/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:18:49 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.fwD5yIhQ' should contain '^version: 0.0.1$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.fwD5yIhQ' should contain 'version-full: 0.0.1.dev1+g11f9e34'
:: [ 18:18:49 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-DEV/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:18:49 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^version: 0.0.1$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain 'version-full: 0.0.1.dev1+g11f9e34'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^short-hash: 11f9e34$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:49 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.IYMo7fQC' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 10 good, 20 bad
:: RESULT: FAIL (Off-tag archive [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Reset arguments and git environment [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:49 ] :: [ BEGIN ] :: Clean git repository :: actually running 'rm -rf .git'
:: [ 18:18:49 ] :: [ PASS ] :: Clean git repository (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Remove any version_scheme defined :: actually running 'sed -i -e 's/version_scheme=.*//g' pyproject.toml'
:: [ 18:18:49 ] :: [ PASS ] :: Remove any version_scheme defined (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Setup version_scheme for POST :: actually running 'echo 'version_scheme="post-release"' >> pyproject.toml && cat pyproject.toml'
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "TestProject"
dynamic = ["version"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme="post-release"
:: [ 18:18:49 ] :: [ PASS ] :: Setup version_scheme for POST (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Set specific build_dir :: actually running 'build_dir=./build-POST'
:: [ 18:18:49 ] :: [ PASS ] :: Set specific build_dir (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Set full configure_args :: actually running 'configure_args="-B ${build_dir} ${base_configure_args}" && echo ${configure_args}'
-B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build
:: [ 18:18:49 ] :: [ PASS ] :: Set full configure_args (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Set build_args :: actually running 'build_args="--build ${build_dir}"'
:: [ 18:18:49 ] :: [ PASS ] :: Set build_args (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Running 'git init'
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/tmp.GogIwxhh7T/.git/
:: [ 18:18:49 ] :: [ PASS ] :: Command 'git init' (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Git add basic files :: actually running 'git add CMakeLists.txt .git_archival.txt .gitattributes src pyproject.toml'
:: [ 18:18:49 ] :: [ PASS ] :: Git add basic files (Expected 0, got 0)
:: [ 18:18:49 ] :: [ BEGIN ] :: Git commit (initial) :: actually running 'git commit -m 'Initial commit''
[master (root-commit) 4ee5736] Initial commit
8 files changed, 105 insertions(+)
create mode 100644 .git_archival.txt
create mode 100644 .gitattributes
create mode 100644 CMakeLists.txt
create mode 100644 pyproject.toml
create mode 100644 src/commit.cpp
create mode 100644 src/commit.h.in
create mode 100644 src/version.cpp
create mode 100644 src/version.h.in
:: [ 18:18:49 ] :: [ PASS ] :: Git commit (initial) (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 9 good, 0 bad
:: RESULT: PASS (Reset arguments and git environment [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Tagged archive [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:49 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-POST dist testproject-*'
:: [ 18:18:49 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Set tag_version :: actually running 'tag_version=0.0.0'
:: [ 18:18:50 ] :: [ PASS ] :: Set tag_version (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Tag git commit :: actually running 'git tag v${tag_version}'
:: [ 18:18:50 ] :: [ PASS ] :: Tag git commit (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.0
:: [ 18:18:50 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
4ee573682c5f234ecb7e00dc2406ecc4280e8a1f
:: [ 18:18:50 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
4ee5736
:: [ 18:18:50 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0
:: [ 18:18:50 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=0 && echo ${distance}'
0
:: [ 18:18:50 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:50 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:18:50 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:50 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:18:50 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.GogIwxhh7T/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:50 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.RGqVv472' should contain '^\[TestProject\] distance: 0$'
:: [ 18:18:50 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-POST'
Error: /tmp/tmp.GogIwxhh7T/build-POST is not a directory
:: [ 18:18:50 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:18:50 ] :: [ BEGIN ] :: Run ./version :: actually running './build-POST/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:18:50 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.USFsdCXL' should contain '^version: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.USFsdCXL' should contain '^version-full: 0.0.0$'
:: [ 18:18:50 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-POST/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:18:50 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^version: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^version-full: 0.0.0$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:50 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.gXvmIZHw' should contain '^distance: 0$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 8 good, 20 bad
:: RESULT: FAIL (Tagged archive [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Off-tag archive [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:50 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-POST dist testproject-*'
:: [ 18:18:50 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Create a random file :: actually running 'touch ./random_file'
:: [ 18:18:50 ] :: [ PASS ] :: Create a random file (Expected 0, got 0)
:: [ 18:18:50 ] :: [ BEGIN ] :: Git add the random file :: actually running 'git add random_file'
:: [ 18:18:51 ] :: [ PASS ] :: Git add the random file (Expected 0, got 0)
:: [ 18:18:51 ] :: [ BEGIN ] :: Git commit (off-tag) :: actually running 'git commit -m 'Moved commit''
[master 1676aee] Moved commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 random_file
:: [ 18:18:51 ] :: [ PASS ] :: Git commit (off-tag) (Expected 0, got 0)
:: [ 18:18:51 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.0.post1+g1676aee
:: [ 18:18:51 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:18:51 ] :: [ BEGIN ] :: Strip version :: actually running 'version=$(echo ${version_full} | sed -E 's/([0-9\.]*)\.[a-z].*/\1/') && echo ${version}'
0.0.0
:: [ 18:18:51 ] :: [ PASS ] :: Strip version (Expected 0, got 0)
:: [ 18:18:51 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
1676aeea928221754748dc868ea4e2560000a693
:: [ 18:18:51 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:18:51 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
1676aee
:: [ 18:18:51 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:18:51 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0-1-g1676aee
:: [ 18:18:51 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:18:51 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=$(echo ${describe} | sed -E 's/.*-([0-9]+)-.*/\1/') && echo ${distance}'
1
:: [ 18:18:51 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:18:51 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:51 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:18:51 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:51 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:18:51 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.GogIwxhh7T/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:51 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] version-full: 0.0.0.post1+g1676aee$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] short-hash: 1676aee$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.iqBDv11Z' should contain '^\[TestProject\] distance: 1$'
:: [ 18:18:51 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-POST'
Error: /tmp/tmp.GogIwxhh7T/build-POST is not a directory
:: [ 18:18:51 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:18:51 ] :: [ BEGIN ] :: Run ./version :: actually running './build-POST/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:18:51 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.lAVijFso' should contain '^version: 0.0.0$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.lAVijFso' should contain 'version-full: 0.0.0.post1+g1676aee'
:: [ 18:18:51 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-POST/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:18:51 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^version: 0.0.0$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain 'version-full: 0.0.0.post1+g1676aee'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^short-hash: 1676aee$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:51 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ejtiZ4IV' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 10 good, 20 bad
:: RESULT: FAIL (Off-tag archive [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:51 ] :: [ BEGIN ] :: Running 'popd'
/var/tmp/tmt/run-001/plans/full/discover/default-0/tests/DynamicVersion
:: [ 18:18:51 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0)
:: [ 18:18:52 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.GogIwxhh7T'
:: [ 18:18:52 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:52 ] :: [ LOG ] :: Phases fingerprint: CC88/p6l
:: [ 18:18:52 ] :: [ LOG ] :: Asserts fingerprint: 2XvaQZgR
:: [ 18:18:52 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-001/plans/full/execute/data/guest/default-0/DynamicVersion/sdist-5/journal.xml
:: [ 18:18:52 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-001/plans/full/execute/data/guest/default-0/DynamicVersion/sdist-5/journal.txt
:: [ 18:18:52 ] :: [ INFO ] :: Deleting rlRun_LOG file(s)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 8s
:: Phases: 4 good, 4 bad
:: OVERALL RESULT: FAIL ()
github-actions / Test Results
1 out of 3 runs failed: /DynamicVersion/sdist
JUnit-CMake-3.20/report.xml [took 7s]
Raw output
fail
:: Tagged archive [DEV]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:59 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:59 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.PCBnpAzsrk/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:59 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] distance: 0$'
Error: /tmp/tmp.PCBnpAzsrk/build-DEV is not a directory
:: [ 18:18:59 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:18:59 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.h5fZWytA' should contain '^version: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.h5fZWytA' should contain '^version-full: 0.0.0$'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:18:59 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^version: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^version-full: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^distance: 0$'
:: Off-tag archive [DEV]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:00 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:00 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.PCBnpAzsrk/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:00 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] version: 0.0.1$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] version-full: 0.0.1.dev1+g099e107$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] short-hash: 099e107$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] distance: 1$'
Error: /tmp/tmp.PCBnpAzsrk/build-DEV is not a directory
:: [ 18:19:00 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:19:00 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.kGbOKjha' should contain '^version: 0.0.1$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.kGbOKjha' should contain 'version-full: 0.0.1.dev1+g099e107'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:19:00 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^version: 0.0.1$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain 'version-full: 0.0.1.dev1+g099e107'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^short-hash: 099e107$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^distance: 1$'
:: Tagged archive [POST]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:01 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:01 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.PCBnpAzsrk/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:01 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] distance: 0$'
Error: /tmp/tmp.PCBnpAzsrk/build-POST is not a directory
:: [ 18:19:01 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:19:01 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.9jOaJ6di' should contain '^version: 0.0.0$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.9jOaJ6di' should contain '^version-full: 0.0.0$'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:19:02 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^version: 0.0.0$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^version-full: 0.0.0$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^distance: 0$'
:: Off-tag archive [POST]
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:02 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:02 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
CMake Error: The source directory "/tmp/tmp.PCBnpAzsrk/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:02 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] version-full: 0.0.0.post1+gab4a63e$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] short-hash: ab4a63e$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] distance: 1$'
Error: /tmp/tmp.PCBnpAzsrk/build-POST is not a directory
:: [ 18:19:02 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:19:02 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSsCciBC' should contain '^version: 0.0.0$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSsCciBC' should contain 'version-full: 0.0.0.post1+gab4a63e'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:19:03 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^version: 0.0.0$'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain 'version-full: 0.0.0.post1+gab4a63e'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^short-hash: ab4a63e$'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:56 ] :: [ BEGIN ] :: Create tmp directory :: actually running 'tmp=$(mktemp -d)'
:: [ 18:18:56 ] :: [ PASS ] :: Create tmp directory (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Copy test files :: actually running 'rsync -r ./ /tmp/tmp.PCBnpAzsrk'
:: [ 18:18:56 ] :: [ PASS ] :: Copy test files (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Running 'pushd /tmp/tmp.PCBnpAzsrk'
/tmp/tmp.PCBnpAzsrk /var/tmp/tmt/run-001/plans/full/discover/default-0/tests/DynamicVersion
:: [ 18:18:56 ] :: [ PASS ] :: Command 'pushd /tmp/tmp.PCBnpAzsrk' (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Set base_configure_args :: actually running 'base_configure_args="-G Ninja --log-context"'
:: [ 18:18:56 ] :: [ PASS ] :: Set base_configure_args (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Add CMakeExtraUtils_ROOT :: actually running 'base_configure_args="${base_configure_args} -DCMakeExtraUtils_ROOT=${CMakeExtraUtils_ROOT}"'
:: [ 18:18:56 ] :: [ PASS ] :: Add CMakeExtraUtils_ROOT (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Configure .gitattributes :: actually running 'echo '.git_archival.txt export-subst' > .gitattributes'
:: [ 18:18:56 ] :: [ PASS ] :: Configure .gitattributes (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Running 'set -o pipefail'
:: [ 18:18:56 ] :: [ PASS ] :: Command 'set -o pipefail' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 7 good, 0 bad
:: RESULT: PASS (Setup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Reset arguments and git environment [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:56 ] :: [ BEGIN ] :: Remove any version_scheme defined :: actually running 'sed -i -e 's/version_scheme=.*//g' pyproject.toml'
:: [ 18:18:56 ] :: [ PASS ] :: Remove any version_scheme defined (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Setup version_scheme for DEV :: actually running 'echo 'version_scheme="guess-next-dev"' >> pyproject.toml && cat pyproject.toml'
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "TestProject"
dynamic = ["version"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme="guess-next-dev"
:: [ 18:18:56 ] :: [ PASS ] :: Setup version_scheme for DEV (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Set specific build_dir :: actually running 'build_dir=./build-DEV'
:: [ 18:18:56 ] :: [ PASS ] :: Set specific build_dir (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Set full configure_args :: actually running 'configure_args="-B ${build_dir} ${base_configure_args}" && echo ${configure_args}'
-B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build
:: [ 18:18:56 ] :: [ PASS ] :: Set full configure_args (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Set build_args :: actually running 'build_args="--build ${build_dir}"'
:: [ 18:18:56 ] :: [ PASS ] :: Set build_args (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Running 'git init'
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/tmp.PCBnpAzsrk/.git/
:: [ 18:18:56 ] :: [ PASS ] :: Command 'git init' (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Git add basic files :: actually running 'git add CMakeLists.txt .git_archival.txt .gitattributes src pyproject.toml'
:: [ 18:18:56 ] :: [ PASS ] :: Git add basic files (Expected 0, got 0)
:: [ 18:18:56 ] :: [ BEGIN ] :: Git commit (initial) :: actually running 'git commit -m 'Initial commit''
[master (root-commit) ae6f227] Initial commit
8 files changed, 104 insertions(+)
create mode 100644 .git_archival.txt
create mode 100644 .gitattributes
create mode 100644 CMakeLists.txt
create mode 100644 pyproject.toml
create mode 100644 src/commit.cpp
create mode 100644 src/commit.h.in
create mode 100644 src/version.cpp
create mode 100644 src/version.h.in
:: [ 18:18:56 ] :: [ PASS ] :: Git commit (initial) (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 8 good, 0 bad
:: RESULT: PASS (Reset arguments and git environment [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Tagged archive [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:57 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-DEV dist testproject-*'
:: [ 18:18:57 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:18:57 ] :: [ BEGIN ] :: Set tag_version :: actually running 'tag_version=0.0.0'
:: [ 18:18:57 ] :: [ PASS ] :: Set tag_version (Expected 0, got 0)
:: [ 18:18:57 ] :: [ BEGIN ] :: Tag git commit :: actually running 'git tag v${tag_version}'
:: [ 18:18:57 ] :: [ PASS ] :: Tag git commit (Expected 0, got 0)
:: [ 18:18:57 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
Setting up build environment for missing dependencies
WARNING: The directory '/github/home/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
0.0.0
:: [ 18:18:59 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
ae6f227dcbecce670c9aec07f5eeade74bc6c43d
:: [ 18:18:59 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
ae6f227
:: [ 18:18:59 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0
:: [ 18:18:59 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=0 && echo ${distance}'
0
:: [ 18:18:59 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:18:59 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:18:59 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:18:59 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:18:59 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.PCBnpAzsrk/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:18:59 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.PpqrhEJ6' should contain '^\[TestProject\] distance: 0$'
:: [ 18:18:59 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-DEV'
Error: /tmp/tmp.PCBnpAzsrk/build-DEV is not a directory
:: [ 18:18:59 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:18:59 ] :: [ BEGIN ] :: Run ./version :: actually running './build-DEV/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:18:59 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.h5fZWytA' should contain '^version: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.h5fZWytA' should contain '^version-full: 0.0.0$'
:: [ 18:18:59 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-DEV/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:18:59 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^version: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^version-full: 0.0.0$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^commit: commit-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^describe: describe-NOTFOUND$'
:: [ 18:18:59 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.LTrEDg48' should contain '^distance: 0$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 3s
:: Assertions: 8 good, 20 bad
:: RESULT: FAIL (Tagged archive [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Off-tag archive [DEV]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:18:59 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-DEV dist testproject-*'
:: [ 18:18:59 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Create a random file :: actually running 'touch ./random_file'
:: [ 18:18:59 ] :: [ PASS ] :: Create a random file (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Git add the random file :: actually running 'git add random_file'
:: [ 18:18:59 ] :: [ PASS ] :: Git add the random file (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Git commit (off-tag) :: actually running 'git commit -m 'Moved commit''
[master 099e107] Moved commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 random_file
:: [ 18:18:59 ] :: [ PASS ] :: Git commit (off-tag) (Expected 0, got 0)
:: [ 18:18:59 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.1.dev1+g099e107
:: [ 18:19:00 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Strip version :: actually running 'version=$(echo ${version_full} | sed -E 's/([0-9\.]*)\.[a-z].*/\1/') && echo ${version}'
0.0.1
:: [ 18:19:00 ] :: [ PASS ] :: Strip version (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
099e107123096f244ff07992aef8e60743956d69
:: [ 18:19:00 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
099e107
:: [ 18:19:00 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0-1-g099e107
:: [ 18:19:00 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=$(echo ${describe} | sed -E 's/.*-([0-9]+)-.*/\1/') && echo ${distance}'
1
:: [ 18:19:00 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:00 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:19:00 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:00 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:19:00 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-DEV -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.PCBnpAzsrk/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:00 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] version: 0.0.1$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] version-full: 0.0.1.dev1+g099e107$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] short-hash: 099e107$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.ddym0Adg' should contain '^\[TestProject\] distance: 1$'
:: [ 18:19:00 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-DEV'
Error: /tmp/tmp.PCBnpAzsrk/build-DEV is not a directory
:: [ 18:19:00 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:19:00 ] :: [ BEGIN ] :: Run ./version :: actually running './build-DEV/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/version: No such file or directory
:: [ 18:19:00 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.kGbOKjha' should contain '^version: 0.0.1$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.kGbOKjha' should contain 'version-full: 0.0.1.dev1+g099e107'
:: [ 18:19:00 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-DEV/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-DEV/commit: No such file or directory
:: [ 18:19:00 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^version: 0.0.1$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain 'version-full: 0.0.1.dev1+g099e107'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^short-hash: 099e107$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:00 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.XMWGqshk' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 10 good, 20 bad
:: RESULT: FAIL (Off-tag archive [DEV])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Reset arguments and git environment [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:00 ] :: [ BEGIN ] :: Clean git repository :: actually running 'rm -rf .git'
:: [ 18:19:00 ] :: [ PASS ] :: Clean git repository (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Remove any version_scheme defined :: actually running 'sed -i -e 's/version_scheme=.*//g' pyproject.toml'
:: [ 18:19:00 ] :: [ PASS ] :: Remove any version_scheme defined (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Setup version_scheme for POST :: actually running 'echo 'version_scheme="post-release"' >> pyproject.toml && cat pyproject.toml'
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "TestProject"
dynamic = ["version"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme="post-release"
:: [ 18:19:00 ] :: [ PASS ] :: Setup version_scheme for POST (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Set specific build_dir :: actually running 'build_dir=./build-POST'
:: [ 18:19:00 ] :: [ PASS ] :: Set specific build_dir (Expected 0, got 0)
:: [ 18:19:00 ] :: [ BEGIN ] :: Set full configure_args :: actually running 'configure_args="-B ${build_dir} ${base_configure_args}" && echo ${configure_args}'
-B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build
:: [ 18:19:00 ] :: [ PASS ] :: Set full configure_args (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Set build_args :: actually running 'build_args="--build ${build_dir}"'
:: [ 18:19:01 ] :: [ PASS ] :: Set build_args (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Running 'git init'
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /tmp/tmp.PCBnpAzsrk/.git/
:: [ 18:19:01 ] :: [ PASS ] :: Command 'git init' (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Git add basic files :: actually running 'git add CMakeLists.txt .git_archival.txt .gitattributes src pyproject.toml'
:: [ 18:19:01 ] :: [ PASS ] :: Git add basic files (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Git commit (initial) :: actually running 'git commit -m 'Initial commit''
[master (root-commit) 0b2eff4] Initial commit
8 files changed, 105 insertions(+)
create mode 100644 .git_archival.txt
create mode 100644 .gitattributes
create mode 100644 CMakeLists.txt
create mode 100644 pyproject.toml
create mode 100644 src/commit.cpp
create mode 100644 src/commit.h.in
create mode 100644 src/version.cpp
create mode 100644 src/version.h.in
:: [ 18:19:01 ] :: [ PASS ] :: Git commit (initial) (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 9 good, 0 bad
:: RESULT: PASS (Reset arguments and git environment [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Tagged archive [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:01 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-POST dist testproject-*'
:: [ 18:19:01 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Set tag_version :: actually running 'tag_version=0.0.0'
:: [ 18:19:01 ] :: [ PASS ] :: Set tag_version (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Tag git commit :: actually running 'git tag v${tag_version}'
:: [ 18:19:01 ] :: [ PASS ] :: Tag git commit (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.0
:: [ 18:19:01 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
0b2eff476c6a98d7d2d72c6c1d15dae35806dfac
:: [ 18:19:01 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
0b2eff4
:: [ 18:19:01 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0
:: [ 18:19:01 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=0 && echo ${distance}'
0
:: [ 18:19:01 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:19:01 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:01 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:19:01 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:01 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:19:01 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.PCBnpAzsrk/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:01 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] version-full: 0.0.0$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] short-hash: short-hash-NOTFOUND$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.1AcgULjS' should contain '^\[TestProject\] distance: 0$'
:: [ 18:19:01 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-POST'
Error: /tmp/tmp.PCBnpAzsrk/build-POST is not a directory
:: [ 18:19:01 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:19:01 ] :: [ BEGIN ] :: Run ./version :: actually running './build-POST/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:19:01 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.9jOaJ6di' should contain '^version: 0.0.0$'
:: [ 18:19:01 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.9jOaJ6di' should contain '^version-full: 0.0.0$'
:: [ 18:19:01 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-POST/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:19:02 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^version: 0.0.0$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^version-full: 0.0.0$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^short-hash: short-hash-NOTFOUND$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.uqkFfZPc' should contain '^distance: 0$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 8 good, 20 bad
:: RESULT: FAIL (Tagged archive [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Off-tag archive [POST]
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:02 ] :: [ BEGIN ] :: Clean the build, dist, extracted directory :: actually running 'rm -rf ./build-POST dist testproject-*'
:: [ 18:19:02 ] :: [ PASS ] :: Clean the build, dist, extracted directory (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Create a random file :: actually running 'touch ./random_file'
:: [ 18:19:02 ] :: [ PASS ] :: Create a random file (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Git add the random file :: actually running 'git add random_file'
:: [ 18:19:02 ] :: [ PASS ] :: Git add the random file (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Git commit (off-tag) :: actually running 'git commit -m 'Moved commit''
[master ab4a63e] Moved commit
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 random_file
:: [ 18:19:02 ] :: [ PASS ] :: Git commit (off-tag) (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Get setuptools_scm version :: actually running 'version_full=$(hatch version) && echo ${version_full}'
0.0.0.post1+gab4a63e
:: [ 18:19:02 ] :: [ PASS ] :: Get setuptools_scm version (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Strip version :: actually running 'version=$(echo ${version_full} | sed -E 's/([0-9\.]*)\.[a-z].*/\1/') && echo ${version}'
0.0.0
:: [ 18:19:02 ] :: [ PASS ] :: Strip version (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Get git commit :: actually running 'commit=$(git rev-parse HEAD) && echo ${commit}'
ab4a63eddc0f40e5e878219774ff4c1a46b80022
:: [ 18:19:02 ] :: [ PASS ] :: Get git commit (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Get git short-hash :: actually running 'short_hash=$(git rev-parse --short HEAD) && echo ${short_hash}'
ab4a63e
:: [ 18:19:02 ] :: [ PASS ] :: Get git short-hash (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Get git describe :: actually running 'describe=$(git describe --tags) && echo ${describe}'
v0.0.0-1-gab4a63e
:: [ 18:19:02 ] :: [ PASS ] :: Get git describe (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Extract git distance :: actually running 'distance=$(echo ${describe} | sed -E 's/.*-([0-9]+)-.*/\1/') && echo ${distance}'
1
:: [ 18:19:02 ] :: [ PASS ] :: Extract git distance (Expected 0, got 0)
:: [ 18:19:02 ] :: [ BEGIN ] :: Build sdist archive :: actually running 'python3 -m build -s'
/__t/Python/3.12.1/x64/bin/python3: No module named build
:: [ 18:19:02 ] :: [ FAIL ] :: Build sdist archive (Expected 0, got 1)
:: [ 18:19:02 ] :: [ BEGIN ] :: Extract archive :: actually running 'tar -xf dist/testproject-*.tar.gz'
tar: dist/testproject-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
:: [ 18:19:02 ] :: [ FAIL ] :: Extract archive (Expected 0, got 2)
:: [ 18:19:02 ] :: [ BEGIN ] :: CMake configure :: actually running 'cmake -S testproject-* -B ./build-POST -G Ninja --log-context -DCMakeExtraUtils_ROOT=/__w/CMakeExtraUtils/CMakeExtraUtils/build'
CMake Error: The source directory "/tmp/tmp.PCBnpAzsrk/testproject-*" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
:: [ 18:19:02 ] :: [ FAIL ] :: CMake configure (Expected 0, got 1)
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] version: 0.0.0$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] version-full: 0.0.0.post1+gab4a63e$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] commit: commit-NOTFOUND'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] short-hash: ab4a63e$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] describe: describe-NOTFOUND$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.O3eRwJmf' should contain '^\[TestProject\] distance: 1$'
:: [ 18:19:02 ] :: [ BEGIN ] :: CMake build :: actually running 'cmake --build ./build-POST'
Error: /tmp/tmp.PCBnpAzsrk/build-POST is not a directory
:: [ 18:19:02 ] :: [ FAIL ] :: CMake build (Expected 0, got 1)
:: [ 18:19:02 ] :: [ BEGIN ] :: Run ./version :: actually running './build-POST/version'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/version: No such file or directory
:: [ 18:19:02 ] :: [ FAIL ] :: Run ./version (Expected 0, got 127)
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSsCciBC' should contain '^version: 0.0.0$'
:: [ 18:19:02 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.zSsCciBC' should contain 'version-full: 0.0.0.post1+gab4a63e'
:: [ 18:19:03 ] :: [ BEGIN ] :: Run ./commit :: actually running './build-POST/commit'
/usr/share/beakerlib/testing.sh: line 878: ./build-POST/commit: No such file or directory
:: [ 18:19:03 ] :: [ FAIL ] :: Run ./commit (Expected 0, got 127)
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^version: 0.0.0$'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain 'version-full: 0.0.0.post1+gab4a63e'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^commit: commit-NOTFOUND$'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^short-hash: ab4a63e$'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^describe: describe-NOTFOUND$'
:: [ 18:19:03 ] :: [ FAIL ] :: File '/var/tmp/rlRun_LOG.njcIPsZH' should contain '^distance: 1$'
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 10 good, 20 bad
:: RESULT: FAIL (Off-tag archive [POST])
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:03 ] :: [ BEGIN ] :: Running 'popd'
/var/tmp/tmt/run-001/plans/full/discover/default-0/tests/DynamicVersion
:: [ 18:19:03 ] :: [ PASS ] :: Command 'popd' (Expected 0, got 0)
:: [ 18:19:03 ] :: [ BEGIN ] :: Remove tmp directory :: actually running 'rm -r /tmp/tmp.PCBnpAzsrk'
:: [ 18:19:03 ] :: [ PASS ] :: Remove tmp directory (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS (Cleanup)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 18:19:03 ] :: [ LOG ] :: Phases fingerprint: CC88/p6l
:: [ 18:19:03 ] :: [ LOG ] :: Asserts fingerprint: 2XvaQZgR
:: [ 18:19:03 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/tmt/run-001/plans/full/execute/data/guest/default-0/DynamicVersion/sdist-5/journal.xml
:: [ 18:19:03 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/tmt/run-001/plans/full/execute/data/guest/default-0/DynamicVersion/sdist-5/journal.txt
:: [ 18:19:03 ] :: [ INFO ] :: Deleting rlRun_LOG file(s)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 7s
:: Phases: 4 good, 4 bad
:: OVERALL RESULT: FAIL ()
Loading