nWarning: The class hawkey.Repo is deprecated. Please use dnf.repo.Repo instead. The class will be removed on 2019-12-31. 4: warnings.warn(msg, DeprecationWarning) 4: ok 4: test_all_arch (tests.test_sack.BasicTest) ... ok 4: test_creation (tests.test_sack.BasicTest) ... ok 4: test_creation_dir (tests.test_sack.BasicTest) ... ok 4: test_deepcopy (tests.test_sack.BasicTest) ... ok 4: test_evr_cmp (tests.test_sack.BasicTest) ... ok 4: test_failed_load (tests.test_sack.BasicTest) ... ok 4: test_failed_load_hawkey_Repo (tests.test_sack.BasicTest) ... /builddir/build/BUILD/libdnf-0.37.2/build-py3/python/hawkey/hawkey/__init__.py:348: DeprecationWarning: The class hawkey.Repo is deprecated. Please use dnf.repo.Repo instead. The class will be removed on 2019-12-31. 4: warnings.warn(msg, DeprecationWarning) 4: ok 4: test_unicoded_cachedir (tests.test_sack.BasicTest) ... ok 4: test_wrapping (tests.test_sack.PackageWrappingTest) ... ok 4: test_cache_dir (tests.test_sack.TestSackTest) ... ok 4: test_load_rpm (tests.test_sack.TestSackTest) ... ok 4: test_load_yum (tests.test_sack.TestSackTest) ... ok 4: test_load_yum_hawkey_Repo (tests.test_sack.TestSackTest) ... ok 4: test_sanity (tests.test_sack.TestSackTest) ... ok 4: test_imports (tests.test_sanity.Sanity) ... ok 4: Test we get all the possible NEVRA parses. ... ok 4: test_custom_list (tests.test_subject.SubjectTest) ... ok 4: test_na (tests.test_subject.SubjectTest) ... ok 4: test_nev (tests.test_subject.SubjectTest) ... ok 4: test_nevr (tests.test_subject.SubjectTest) ... ok 4: test_nevr_fail (tests.test_subject.SubjectTest) ... ok 4: test_nevra (tests.test_subject.SubjectTest) ... ok 4: test_chksum_name (tests.test_util.Util) ... ok 4: test_chksum_type (tests.test_util.Util) ... ok 4: test_split_nevra (tests.test_util.Util) ... ok 4: test_nevra_to_query (tests.test_util.UtilWithSack) ... ok 4: test_version (tests.test_version.Version) ... ok 4: 4: ---------------------------------------------------------------------- 4: XML: /builddir/build/BUILD/libdnf-0.37.2/build-py3/python/hawkey/tests/tests/xunit.xml 4: ---------------------------------------------------------------------- 4: Ran 135 tests in 0.576s 4: 4: OK 4/4 Test #4: test_python ...................... Passed 4.54 sec 50% tests passed, 2 tests failed out of 4 Total Test time (real) = 8.13 sec The following tests FAILED: 1 - test_cpp (Child aborted) 3 - test_libdnf_main (Child aborted) BUILDSTDERR: Errors while running CTest BUILDSTDERR: make: *** [Makefile:100: test] Error 8 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.UHGdBP (%check) BUILDSTDERR: extra tokens at the end of %endif directive in line 129: %endif # with python2 BUILDSTDERR: extra tokens at the end of %endif directive in line 163: %endif # with python2 BUILDSTDERR: extra tokens at the end of %endif directive in line 187: %endif # with python2 BUILDSTDERR: extra tokens at the end of %endif directive in line 203: %endif # with python2 BUILDSTDERR: extra tokens at the end of %endif directive in line 222: %endif # with python2 BUILDSTDERR: extra tokens at the end of %endif directive in line 244: %endif # with python2 BUILDSTDERR: extra tokens at the end of %endif directive in line 277: %endif # with python2 BUILDSTDERR: extra tokens at the end of %endif directive in line 287: %endif # with python2 BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.UHGdBP (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libdnf.spec