D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/javapackages-tools-6.2.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sP5XdN + umask 022 + cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + test -d /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.D4bwVJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + rm -rf javapackages-6.2.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/6.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd javapackages-6.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i /javapackages-metadata.xml/d install + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yNeYhx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd javapackages-6.2.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --pyinterpreter=/usr/bin/python3 --default_jdk=/usr/lib/jvm/java-21-openjdk --default_jre=/usr/lib/jvm/jre-21-openjdk --rpmmacrodir=/usr/lib/rpm/macros.d --rpmconfigdir=/usr/lib/rpm --m2home=/usr/share/xmvn + ./build Generating manpage for abs2rel... Note: Writing abs2rel.1 Generating manpage for find-jar... Warn: meta author : no refentry/info/author find-jar Note: meta author : see http://www.docbook.org/tdg5/en/html/autho find-jar Warn: meta author : no author data, so inserted a fixme find-jar Note: Writing find-jar.1 Generating manpage for gradle_build... Note: Writing gradle_build.7 Generating manpage for mvn_alias... Note: Writing mvn_alias.7 Generating manpage for mvn_artifact... Note: Writing mvn_artifact.7 Generating manpage for mvn_build... Note: Writing mvn_build.7 Generating manpage for mvn_config... Note: Writing mvn_config.7 Generating manpage for mvn_compat_version... Note: Writing mvn_compat_version.7 Generating manpage for mvn_file... Note: Writing mvn_file.7 Generating manpage for mvn_install... Note: Writing mvn_install.7 Generating manpage for mvn_package... Note: Writing mvn_package.7 Generating manpage for pom_add_dep... Note: Writing pom_add_dep.7 Generating manpage for pom_add_parent... Note: Writing pom_add_parent.7 Generating manpage for pom_add_plugin... Note: Writing pom_add_plugin.7 Generating manpage for pom_disable_module... Note: Writing pom_disable_module.7 Generating manpage for pom_xpath_disable... Note: Writing pom_xpath_disable.7 Generating manpage for pom_remove_dep... Note: Writing pom_remove_dep.7 Generating manpage for pom_remove_parent... Note: Writing pom_remove_parent.7 Generating manpage for pom_remove_plugin... Note: Writing pom_remove_plugin.7 Generating manpage for pom_change_dep... Note: Writing pom_change_dep.7 Generating manpage for pom_set_parent... Note: Writing pom_set_parent.7 Generating manpage for pom_xpath_inject... Note: Writing pom_xpath_inject.7 Generating manpage for pom_xpath_remove... Note: Writing pom_xpath_remove.7 Generating manpage for pom_xpath_replace... Note: Writing pom_xpath_replace.7 Generating manpage for pom_xpath_set... Note: Writing pom_xpath_set.7 Generating manpage for build-classpath... Note: Writing build-classpath.1 Generating manpage for build-jar-repository... Note: Writing build-jar-repository.1 Generating manpage for rebuild-jar-repository... Note: Writing rebuild-jar-repository.1 Generating manpage for shade-jar... Note: Writing shade-jar.1 running build running build_py creating build/lib/javapackages copying javapackages/version.py -> build/lib/javapackages copying javapackages/__init__.py -> build/lib/javapackages creating build/lib/javapackages/ivy copying javapackages/ivy/ivyfile.py -> build/lib/javapackages/ivy copying javapackages/ivy/__init__.py -> build/lib/javapackages/ivy creating build/lib/javapackages/common copying javapackages/common/exception.py -> build/lib/javapackages/common copying javapackages/common/mock.py -> build/lib/javapackages/common copying javapackages/common/binding.py -> build/lib/javapackages/common copying javapackages/common/osgi.py -> build/lib/javapackages/common copying javapackages/common/config.py -> build/lib/javapackages/common copying javapackages/common/strutils.py -> build/lib/javapackages/common copying javapackages/common/__init__.py -> build/lib/javapackages/common copying javapackages/common/util.py -> build/lib/javapackages/common copying javapackages/common/manifest.py -> build/lib/javapackages/common creating build/lib/javapackages/maven copying javapackages/maven/pom.py -> build/lib/javapackages/maven copying javapackages/maven/pomreader.py -> build/lib/javapackages/maven copying javapackages/maven/artifact.py -> build/lib/javapackages/maven copying javapackages/maven/__init__.py -> build/lib/javapackages/maven copying javapackages/maven/exclusion.py -> build/lib/javapackages/maven copying javapackages/maven/dependency.py -> build/lib/javapackages/maven copying javapackages/maven/extension.py -> build/lib/javapackages/maven copying javapackages/maven/plugin.py -> build/lib/javapackages/maven creating build/lib/javapackages/cache copying javapackages/cache/osgi.py -> build/lib/javapackages/cache copying javapackages/cache/__init__.py -> build/lib/javapackages/cache copying javapackages/cache/metadata.py -> build/lib/javapackages/cache copying javapackages/cache/cache.py -> build/lib/javapackages/cache creating build/lib/javapackages/xmvn copying javapackages/xmvn/xmvn_resolve.py -> build/lib/javapackages/xmvn copying javapackages/xmvn/__init__.py -> build/lib/javapackages/xmvn copying javapackages/xmvn/xmvn_config.py -> build/lib/javapackages/xmvn creating build/lib/javapackages/metadata copying javapackages/metadata/alias.py -> build/lib/javapackages/metadata copying javapackages/metadata/artifact.py -> build/lib/javapackages/metadata copying javapackages/metadata/__init__.py -> build/lib/javapackages/metadata copying javapackages/metadata/skippedartifact.py -> build/lib/javapackages/metadata copying javapackages/metadata/exclusion.py -> build/lib/javapackages/metadata copying javapackages/metadata/metadata.py -> build/lib/javapackages/metadata copying javapackages/metadata/dependency.py -> build/lib/javapackages/metadata + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.o0b0bX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + mkdir /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd javapackages-6.2.0 + '[' 1 -eq 1 ']' + ./install running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages creating /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages copying build/lib/javapackages/version.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages creating /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/ivy copying build/lib/javapackages/ivy/ivyfile.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/ivy copying build/lib/javapackages/ivy/__init__.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/ivy creating /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/exception.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/mock.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/binding.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/osgi.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/config.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/strutils.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/__init__.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/util.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common copying build/lib/javapackages/common/manifest.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common creating /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven copying build/lib/javapackages/maven/pom.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven copying build/lib/javapackages/maven/pomreader.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven copying build/lib/javapackages/maven/artifact.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven copying build/lib/javapackages/maven/__init__.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven copying build/lib/javapackages/maven/exclusion.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven copying build/lib/javapackages/maven/dependency.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven copying build/lib/javapackages/maven/extension.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven copying build/lib/javapackages/maven/plugin.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven creating /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache copying build/lib/javapackages/cache/osgi.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache copying build/lib/javapackages/cache/__init__.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache copying build/lib/javapackages/cache/metadata.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache copying build/lib/javapackages/cache/cache.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache creating /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/xmvn copying build/lib/javapackages/xmvn/xmvn_resolve.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/xmvn copying build/lib/javapackages/xmvn/__init__.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/xmvn copying build/lib/javapackages/xmvn/xmvn_config.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/xmvn copying build/lib/javapackages/__init__.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages creating /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata copying build/lib/javapackages/metadata/alias.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata copying build/lib/javapackages/metadata/artifact.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata copying build/lib/javapackages/metadata/__init__.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata copying build/lib/javapackages/metadata/skippedartifact.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata copying build/lib/javapackages/metadata/exclusion.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata copying build/lib/javapackages/metadata/metadata.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata copying build/lib/javapackages/metadata/dependency.py -> /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/version.py to version.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/ivy/ivyfile.py to ivyfile.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/ivy/__init__.py to __init__.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/exception.py to exception.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/mock.py to mock.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/binding.py to binding.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/osgi.py to osgi.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/config.py to config.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/strutils.py to strutils.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/__init__.py to __init__.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/util.py to util.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/common/manifest.py to manifest.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven/pom.py to pom.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven/pomreader.py to pomreader.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven/artifact.py to artifact.cpython-312.pyc /usr/lib/python3.12/site-packages/javapackages/maven/artifact.py:194: SyntaxWarning: invalid escape sequence '\$' byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven/__init__.py to __init__.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven/exclusion.py to exclusion.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven/dependency.py to dependency.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven/extension.py to extension.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/maven/plugin.py to plugin.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache/osgi.py to osgi.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache/__init__.py to __init__.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache/metadata.py to metadata.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/cache/cache.py to cache.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/xmvn/xmvn_resolve.py to xmvn_resolve.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/xmvn/__init__.py to __init__.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/xmvn/xmvn_config.py to xmvn_config.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/__init__.py to __init__.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata/alias.py to alias.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata/artifact.py to artifact.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata/__init__.py to __init__.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata/skippedartifact.py to skippedartifact.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata/exclusion.py to exclusion.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata/metadata.py to metadata.cpython-312.pyc byte-compiling /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages/metadata/dependency.py to dependency.cpython-312.pyc writing byte-compilation script '/tmp/tmp2hc6dxxs.py' /usr/bin/python3 /tmp/tmp2hc6dxxs.py /usr/lib/python3.12/site-packages/javapackages/maven/artifact.py:194: SyntaxWarning: invalid escape sequence '\$' removing /tmp/tmp2hc6dxxs.py running install_egg_info running egg_info creating javapackages.egg-info writing javapackages.egg-info/PKG-INFO writing dependency_links to javapackages.egg-info/dependency_links.txt writing top-level names to javapackages.egg-info/top_level.txt writing manifest file 'javapackages.egg-info/SOURCES.txt' reading manifest file 'javapackages.egg-info/SOURCES.txt' writing manifest file 'javapackages.egg-info/SOURCES.txt' Copying javapackages.egg-info to /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12/site-packages/javapackages-6.2.0-py3.12.egg-info running install_scripts + sed -e 's/.[17]$/&*/' -i files-common files-compat files-filesystem files-generators files-gradle files-ivy files-maven files-python files-tools + rm -rf /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/bin/gradle-local + rm -rf /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/share/gradle-local + rm -rf /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/share/man/man7/gradle_build.7 + mkdir -p /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/share/xmvn/conf/ + cp -p /home/pterjan/rpmbuild/SOURCES/toolchains-openjdk8.xml /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/share/xmvn/conf/toolchains.xml-openjdk8 + cp -p /home/pterjan/rpmbuild/SOURCES/toolchains-openjdk11.xml /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/share/xmvn/conf/toolchains.xml-openjdk11 + cp -p /home/pterjan/rpmbuild/SOURCES/toolchains-openjdk17.xml /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/share/xmvn/conf/toolchains.xml-openjdk17 + cp -p /home/pterjan/rpmbuild/SOURCES/toolchains-openjdk21.xml /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/share/xmvn/conf/toolchains.xml-openjdk21 + install -p -m 644 /home/pterjan/rpmbuild/SOURCES/javapackages-config.json /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/etc/java/javapackages-config.json + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 Bytecompiling .py files below /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/BUILDROOT/usr/lib/python3.12 using python3.12 Not clamping source mtimes, $SOURCE_DATE_EPOCH not set /usr/lib/python3.12/site-packages/javapackages/maven/artifact.py:194: SyntaxWarning: invalid escape sequence '\$' /usr/lib/python3.12/site-packages/javapackages/maven/artifact.py:194: SyntaxWarning: invalid escape sequence '\$' + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TuCwBm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd javapackages-6.2.0 + '[' 1 -eq 1 ']' + ./check empty_flags_test.sh: PASS flags_test.sh: PASS Running Python tests with /usr/bin/python3... ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/python collecting ... collected 79 items test/artifact_test.py::TestArtifact::test_artifact_init PASSED [ 1%] test/artifact_test.py::TestArtifact::test_from_mvn_str_full PASSED [ 2%] test/artifact_test.py::TestArtifact::test_from_mvn_str_ga PASSED [ 3%] test/artifact_test.py::TestArtifact::test_from_mvn_str_gac PASSED [ 5%] test/artifact_test.py::TestArtifact::test_from_mvn_str_gacv PASSED [ 6%] test/artifact_test.py::TestArtifact::test_from_mvn_str_gae PASSED [ 7%] test/artifact_test.py::TestArtifact::test_from_mvn_str_gaec PASSED [ 8%] test/artifact_test.py::TestArtifact::test_from_mvn_str_gaev PASSED [ 10%] test/artifact_test.py::TestArtifact::test_from_mvn_str_gav PASSED [ 11%] test/artifact_test.py::TestArtifact::test_from_xml_empty PASSED [ 12%] test/artifact_test.py::TestArtifact::test_from_xml_full PASSED [ 13%] test/artifact_test.py::TestArtifact::test_from_xml_ga PASSED [ 15%] test/artifact_test.py::TestArtifact::test_from_xml_gav PASSED [ 16%] test/artifact_test.py::TestArtifact::test_from_xml_noa PASSED [ 17%] test/artifact_test.py::TestArtifact::test_from_xml_nog PASSED [ 18%] test/artifact_test.py::TestArtifact::test_from_xml_whitespace PASSED [ 20%] test/artifact_test.py::TestArtifact::test_interpolation1 PASSED [ 21%] test/artifact_test.py::TestArtifact::test_interpolation2 PASSED [ 22%] test/artifact_test.py::TestArtifact::test_interpolation3 PASSED [ 24%] test/artifact_test.py::TestArtifact::test_merge1 PASSED [ 25%] test/artifact_test.py::TestArtifact::test_merge2 PASSED [ 26%] test/artifact_test.py::TestArtifact::test_merge3 PASSED [ 27%] test/artifact_test.py::TestArtifact::test_merge4 PASSED [ 29%] test/artifact_test.py::TestArtifact::test_merge5 PASSED [ 30%] test/artifact_test.py::TestArtifact::test_rpm_str PASSED [ 31%] test/artifact_test.py::TestArtifact::test_str PASSED [ 32%] test/artifact_test.py::TestArtifact::test_xml_str_full PASSED [ 34%] test/artifact_test.py::TestArtifact::test_xml_str_ga PASSED [ 35%] test/artifact_test.py::TestArtifact::test_xml_str_gac PASSED [ 36%] test/artifact_test.py::TestArtifact::test_xml_str_gacv PASSED [ 37%] test/artifact_test.py::TestArtifact::test_xml_str_gae PASSED [ 39%] test/artifact_test.py::TestArtifact::test_xml_str_gaev PASSED [ 40%] test/artifact_test.py::TestArtifact::test_xml_str_gav PASSED [ 41%] test/metadata_test.py::TestDepmap::test_compat_new PASSED [ 43%] test/metadata_test.py::TestDepmap::test_compressed_depmap PASSED [ 44%] test/metadata_test.py::TestDepmap::test_incorrect_provides PASSED [ 45%] test/metadata_test.py::TestDepmap::test_java_devel_requires PASSED [ 46%] test/metadata_test.py::TestDepmap::test_java_requires PASSED [ 48%] test/metadata_test.py::TestDepmap::test_multiple_namespaces PASSED [ 49%] test/metadata_test.py::TestDepmap::test_multiple_requires PASSED [ 50%] test/metadata_test.py::TestDepmap::test_namespace PASSED [ 51%] test/metadata_test.py::TestDepmap::test_no_maven_version PASSED [ 53%] test/metadata_test.py::TestDepmap::test_no_maven_version_mappings PASSED [ 54%] test/metadata_test.py::TestDepmap::test_nonexisting_depmap PASSED [ 55%] test/metadata_test.py::TestDepmap::test_provided_mappings PASSED [ 56%] test/metadata_test.py::TestDepmap::test_provided_versioned PASSED [ 58%] test/metadata_test.py::TestDepmap::test_requires_namespace PASSED [ 59%] test/metadata_test.py::TestDepmap::test_single_provides PASSED [ 60%] test/metadata_test.py::TestDepmap::test_skipped PASSED [ 62%] test/osgi_test.py::TestOSGi::test_bundle_from_properties PASSED [ 63%] test/osgi_test.py::TestOSGi::test_bundle_from_properties_complex PASSED [ 64%] test/osgi_test.py::TestOSGi::test_bundle_namespace PASSED [ 65%] test/osgi_test.py::TestOSGi::test_bundle_requires PASSED [ 67%] test/osgi_test.py::TestOSGi::test_bundle_simple PASSED [ 68%] test/osgi_test.py::TestOSGi::test_bundle_whitespaces PASSED [ 69%] test/osgi_test.py::TestOSGi::test_require PASSED [ 70%] test/osgi_test.py::TestOSGi::test_require_namespace PASSED [ 72%] test/pom_test.py::TestPOM::test_ivy_module PASSED [ 73%] test/pom_test.py::TestPOM::test_loading PASSED [ 74%] test/pom_test.py::TestPOM::test_no_xmlns PASSED [ 75%] test/pom_test.py::TestPOM::test_nonexisting_pom PASSED [ 77%] test/pom_test.py::TestPOM::test_parent_pom PASSED [ 78%] test/pom_test.py::TestPOM::test_parent_version PASSED [ 79%] test/pom_test.py::TestPOM::test_pom_comments PASSED [ 81%] test/pom_test.py::TestPOM::test_unparsable_xml PASSED [ 82%] test/pom_test.py::TestPOM::test_with_parent PASSED [ 83%] test/strutils_test.py::TestStrUtils::test_get_mvn_str PASSED [ 84%] test/strutils_test.py::TestStrUtils::test_get_rpm_str_basic PASSED [ 86%] test/strutils_test.py::TestStrUtils::test_get_rpm_str_compat PASSED [ 87%] test/strutils_test.py::TestStrUtils::test_get_rpm_str_namespace PASSED [ 88%] test/strutils_test.py::TestStrUtils::test_get_rpm_str_versioned PASSED [ 89%] test/util_test.py::TestUtil::test_br_files_basic PASSED [ 91%] test/xmvn_config_test.py::TestXMvnConfig::test_aliases PASSED [ 92%] test/xmvn_config_test.py::TestXMvnConfig::test_compat_versions PASSED [ 93%] test/xmvn_config_test.py::TestXMvnConfig::test_custom_config PASSED [ 94%] test/xmvn_config_test.py::TestXMvnConfig::test_custom_config_xml PASSED [ 96%] test/xmvn_config_test.py::TestXMvnConfig::test_file_mappings PASSED [ 97%] test/xmvn_config_test.py::TestXMvnConfig::test_index_init PASSED [ 98%] test/xmvn_config_test.py::TestXMvnConfig::test_package_mappings PASSED [100%] =============================== warnings summary =============================== javapackages/maven/artifact.py:194 /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/python/javapackages/maven/artifact.py:194: SyntaxWarning: invalid escape sequence '\$' prog = re.compile("\$\{([^}]+)\}") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================== 79 passed, 1 warning in 0.16s ========================= ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test collecting ... collected 444 items abs2rel_test.py::TestAbs2Rel::test_abs_abs PASSED [ 0%] abs2rel_test.py::TestAbs2Rel::test_rel_rel PASSED [ 0%] abs2rel_test.py::TestAbs2Rel::test_usage PASSED [ 0%] builddep_test.py::TestBuilddep::test_compat PASSED [ 0%] install_pom_test.py::TestInstallPom::test_any_not_final PASSED [ 1%] install_pom_test.py::TestInstallPom::test_basic PASSED [ 1%] install_pom_test.py::TestInstallPom::test_dep_classifier PASSED [ 1%] install_pom_test.py::TestInstallPom::test_dep_type PASSED [ 1%] install_pom_test.py::TestInstallPom::test_interpolate_from_model PASSED [ 2%] install_pom_test.py::TestInstallPom::test_interpolate_from_parent PASSED [ 2%] install_pom_test.py::TestInstallPom::test_missing_version PASSED [ 2%] install_pom_test.py::TestInstallPom::test_no_args PASSED [ 2%] install_pom_test.py::TestInstallPom::test_no_directory PASSED [ 2%] install_pom_test.py::TestInstallPom::test_no_overwrite PASSED [ 3%] install_pom_test.py::TestInstallPom::test_no_pom PASSED [ 3%] install_pom_test.py::TestInstallPom::test_not_directory PASSED [ 3%] install_pom_test.py::TestInstallPom::test_not_pom PASSED [ 3%] install_pom_test.py::TestInstallPom::test_packaging_pom PASSED [ 4%] install_pom_test.py::TestInstallPom::test_packaging_pom_missing_version PASSED [ 4%] install_pom_test.py::TestInstallPom::test_parent_chain PASSED [ 4%] install_pom_test.py::TestInstallPom::test_parent_install PASSED [ 4%] install_pom_test.py::TestInstallPom::test_parent_relpath PASSED [ 4%] install_pom_test.py::TestInstallPom::test_parent_version PASSED [ 5%] javadoc_req_test.py::TestJavadocReq::test_configuration PASSED [ 5%] javadoc_req_test.py::TestJavadocReq::test_javadoc PASSED [ 5%] javadoc_req_test.py::TestJavadocReq::test_missing_configuration PASSED [ 5%] maven_depmap_test.py::TestMavenDepmap::test_alias_extension PASSED [ 6%] maven_depmap_test.py::TestMavenDepmap::test_append PASSED [ 6%] maven_depmap_test.py::TestMavenDepmap::test_append_and_namespace PASSED [ 6%] maven_depmap_test.py::TestMavenDepmap::test_basic PASSED [ 6%] maven_depmap_test.py::TestMavenDepmap::test_buildroot PASSED [ 6%] maven_depmap_test.py::TestMavenDepmap::test_cdata PASSED [ 7%] maven_depmap_test.py::TestMavenDepmap::test_classifier PASSED [ 7%] maven_depmap_test.py::TestMavenDepmap::test_compare_jar PASSED [ 7%] maven_depmap_test.py::TestMavenDepmap::test_compare_jar_class_ext PASSED [ 7%] maven_depmap_test.py::TestMavenDepmap::test_compare_jar_modified PASSED [ 8%] maven_depmap_test.py::TestMavenDepmap::test_compare_jar_unmodified PASSED [ 8%] maven_depmap_test.py::TestMavenDepmap::test_expansion PASSED [ 8%] maven_depmap_test.py::TestMavenDepmap::test_expansion_model PASSED [ 8%] maven_depmap_test.py::TestMavenDepmap::test_incorrect_artifact PASSED [ 9%] maven_depmap_test.py::TestMavenDepmap::test_incorrect_extension PASSED [ 9%] maven_depmap_test.py::TestMavenDepmap::test_missing_jar PASSED [ 9%] maven_depmap_test.py::TestMavenDepmap::test_missing_jar_arg PASSED [ 9%] maven_depmap_test.py::TestMavenDepmap::test_missing_version PASSED [ 9%] maven_depmap_test.py::TestMavenDepmap::test_missing_version2 PASSED [ 10%] maven_depmap_test.py::TestMavenDepmap::test_mvn_spec PASSED [ 10%] maven_depmap_test.py::TestMavenDepmap::test_mvn_spec_buildroot PASSED [ 10%] maven_depmap_test.py::TestMavenDepmap::test_mvn_spec_war PASSED [ 10%] maven_depmap_test.py::TestMavenDepmap::test_namespace PASSED [ 11%] maven_depmap_test.py::TestMavenDepmap::test_no_args PASSED [ 11%] maven_depmap_test.py::TestMavenDepmap::test_no_pom PASSED [ 11%] maven_depmap_test.py::TestMavenDepmap::test_not_pom PASSED [ 11%] maven_depmap_test.py::TestMavenDepmap::test_packaging_pom_no_jar PASSED [ 11%] maven_depmap_test.py::TestMavenDepmap::test_parent_version PASSED [ 12%] maven_depmap_test.py::TestMavenDepmap::test_rhbz1012245 PASSED [ 12%] maven_depmap_test.py::TestMavenDepmap::test_version PASSED [ 12%] maven_depmap_test.py::TestMavenDepmap::test_version2 PASSED [ 12%] maven_depmap_test.py::TestMavenDepmap::test_version_append PASSED [ 13%] maven_depmap_test.py::TestMavenDepmap::test_version_namespace PASSED [ 13%] maven_depmap_test.py::TestMavenDepmap::test_versioned PASSED [ 13%] maven_depmap_test.py::TestMavenDepmap::test_versioned2 PASSED [ 13%] maven_depmap_test.py::TestMavenDepmap::test_versioned_classifier PASSED [ 13%] maven_depmap_test.py::TestMavenDepmap::test_versioned_with_pom PASSED [ 14%] maven_depmap_test.py::TestMavenDepmap::test_war PASSED [ 14%] maven_prov_test.py::TestMavenProv::test_alias PASSED [ 14%] maven_prov_test.py::TestMavenProv::test_alias2 PASSED [ 14%] maven_prov_test.py::TestMavenProv::test_compat_alias PASSED [ 15%] maven_prov_test.py::TestMavenProv::test_compat_version_in_artifact PASSED [ 15%] maven_prov_test.py::TestMavenProv::test_dashes PASSED [ 15%] maven_prov_test.py::TestMavenProv::test_extension1 PASSED [ 15%] maven_prov_test.py::TestMavenProv::test_extension2 PASSED [ 15%] maven_prov_test.py::TestMavenProv::test_invalid PASSED [ 16%] maven_prov_test.py::TestMavenProv::test_jar_extension PASSED [ 16%] maven_prov_test.py::TestMavenProv::test_multi_ns PASSED [ 16%] maven_prov_test.py::TestMavenProv::test_namespace_rhbz1017271 PASSED [ 16%] maven_prov_test.py::TestMavenProv::test_non_compat PASSED [ 17%] maven_prov_test.py::TestMavenProv::test_nonexistent PASSED [ 17%] maven_prov_test.py::TestMavenProv::test_not_xml PASSED [ 17%] maven_prov_test.py::TestMavenProv::test_pom_extension PASSED [ 17%] maven_prov_test.py::TestMavenProv::test_simple PASSED [ 18%] maven_prov_test.py::TestMavenProv::test_single_ns PASSED [ 18%] maven_req_test.py::TestMavenReq::test_config_env1 PASSED [ 18%] maven_req_test.py::TestMavenReq::test_config_env2 PASSED [ 18%] maven_req_test.py::TestMavenReq::test_dashes PASSED [ 18%] maven_req_test.py::TestMavenReq::test_dep_filtering PASSED [ 19%] maven_req_test.py::TestMavenReq::test_deps_from_pom PASSED [ 19%] maven_req_test.py::TestMavenReq::test_deps_from_pom_on_subpkg PASSED [ 19%] maven_req_test.py::TestMavenReq::test_deps_from_pom_with_parent PASSED [ 19%] maven_req_test.py::TestMavenReq::test_java_config PASSED [ 20%] maven_req_test.py::TestMavenReq::test_mixed PASSED [ 20%] maven_req_test.py::TestMavenReq::test_no_artifacts PASSED [ 20%] maven_req_test.py::TestMavenReq::test_optional PASSED [ 20%] maven_req_test.py::TestMavenReq::test_osgi_basic PASSED [ 20%] maven_req_test.py::TestMavenReq::test_osgi_self PASSED [ 21%] maven_req_test.py::TestMavenReq::test_osgi_versioned PASSED [ 21%] maven_req_test.py::TestMavenReq::test_osgi_versioned_ns PASSED [ 21%] maven_req_test.py::TestMavenReq::test_pom_dep_fail PASSED [ 21%] maven_req_test.py::TestMavenReq::test_require1 PASSED [ 22%] maven_req_test.py::TestMavenReq::test_require_java PASSED [ 22%] maven_req_test.py::TestMavenReq::test_require_java10 PASSED [ 22%] maven_req_test.py::TestMavenReq::test_require_java2 PASSED [ 22%] maven_req_test.py::TestMavenReq::test_require_java3 PASSED [ 22%] maven_req_test.py::TestMavenReq::test_require_java9 PASSED [ 23%] maven_req_test.py::TestMavenReq::test_require_java9and10 PASSED [ 23%] maven_req_test.py::TestMavenReq::test_require_java_fail PASSED [ 23%] maven_req_test.py::TestMavenReq::test_require_multi PASSED [ 23%] maven_req_test.py::TestMavenReq::test_require_multi_namespace PASSED [ 24%] maven_req_test.py::TestMavenReq::test_require_multi_versioned PASSED [ 24%] maven_req_test.py::TestMavenReq::test_require_parent PASSED [ 24%] maven_req_test.py::TestMavenReq::test_require_skipped PASSED [ 24%] maven_req_test.py::TestMavenReq::test_rhbz1017701_c2 PASSED [ 25%] maven_req_test.py::TestMavenReq::test_simple_artifact_in_same_package PASSED [ 25%] maven_req_test.py::TestMavenReq::test_simple_subpackage PASSED [ 25%] maven_req_test.py::TestMavenReq::test_simple_subpackage2 PASSED [ 25%] maven_req_test.py::TestMavenReq::test_simple_subpackage3 PASSED [ 25%] maven_req_test.py::TestMavenReq::test_simple_subpackage4 PASSED [ 26%] maven_req_test.py::TestMavenReq::test_unknown_dep PASSED [ 26%] mvn_alias_test.py::TestMvnAlias::test_backref PASSED [ 26%] mvn_alias_test.py::TestMvnAlias::test_backref1 PASSED [ 26%] mvn_alias_test.py::TestMvnAlias::test_backref2 PASSED [ 27%] mvn_alias_test.py::TestMvnAlias::test_backref3 PASSED [ 27%] mvn_alias_test.py::TestMvnAlias::test_braces PASSED [ 27%] mvn_alias_test.py::TestMvnAlias::test_classifier PASSED [ 27%] mvn_alias_test.py::TestMvnAlias::test_comb1 PASSED [ 27%] mvn_alias_test.py::TestMvnAlias::test_comb2 PASSED [ 28%] mvn_alias_test.py::TestMvnAlias::test_comb3 PASSED [ 28%] mvn_alias_test.py::TestMvnAlias::test_comb4 PASSED [ 28%] mvn_alias_test.py::TestMvnAlias::test_extension PASSED [ 28%] mvn_alias_test.py::TestMvnAlias::test_help PASSED [ 29%] mvn_alias_test.py::TestMvnAlias::test_invalid1 PASSED [ 29%] mvn_alias_test.py::TestMvnAlias::test_invalid2 PASSED [ 29%] mvn_alias_test.py::TestMvnAlias::test_invalid5 PASSED [ 29%] mvn_alias_test.py::TestMvnAlias::test_invalid6 PASSED [ 29%] mvn_alias_test.py::TestMvnAlias::test_longopt PASSED [ 30%] mvn_alias_test.py::TestMvnAlias::test_multi PASSED [ 30%] mvn_alias_test.py::TestMvnAlias::test_odd PASSED [ 30%] mvn_alias_test.py::TestMvnAlias::test_odd_braces1 PASSED [ 30%] mvn_alias_test.py::TestMvnAlias::test_odd_braces2 PASSED [ 31%] mvn_alias_test.py::TestMvnAlias::test_one_argument PASSED [ 31%] mvn_alias_test.py::TestMvnAlias::test_preexisting PASSED [ 31%] mvn_alias_test.py::TestMvnAlias::test_preexisting_unindexed PASSED [ 31%] mvn_alias_test.py::TestMvnAlias::test_rhbz1014301 PASSED [ 31%] mvn_alias_test.py::TestMvnAlias::test_run_no_args PASSED [ 32%] mvn_alias_test.py::TestMvnAlias::test_simple PASSED [ 32%] mvn_alias_test.py::TestMvnAlias::test_version PASSED [ 32%] mvn_alias_test.py::TestMvnAlias::test_wildcard1 PASSED [ 32%] mvn_alias_test.py::TestMvnAlias::test_wildcard2 PASSED [ 33%] mvn_alias_test.py::TestMvnAlias::test_wildcard3 PASSED [ 33%] mvn_alias_test.py::TestMvnAlias::test_wildcard4 PASSED [ 33%] mvn_alias_test.py::TestMvnAlias::test_wildcard7 PASSED [ 33%] mvn_alias_test.py::TestMvnAlias::test_wildcard8 PASSED [ 34%] mvn_alias_test.py::TestMvnAlias::test_wildcard9 PASSED [ 34%] mvn_artifact_test.py::TestMvnArtifact::test_artifact_war PASSED [ 34%] mvn_artifact_test.py::TestMvnArtifact::test_basic PASSED [ 34%] mvn_artifact_test.py::TestMvnArtifact::test_basic_jar PASSED [ 34%] mvn_artifact_test.py::TestMvnArtifact::test_extension_not_specified PASSED [ 35%] mvn_artifact_test.py::TestMvnArtifact::test_extensions_dont_match PASSED [ 35%] mvn_artifact_test.py::TestMvnArtifact::test_extensions_dont_match2 PASSED [ 35%] mvn_artifact_test.py::TestMvnArtifact::test_invalid_artifact_string PASSED [ 35%] mvn_artifact_test.py::TestMvnArtifact::test_ivy PASSED [ 36%] mvn_artifact_test.py::TestMvnArtifact::test_ivy_jar PASSED [ 36%] mvn_artifact_test.py::TestMvnArtifact::test_ivy_war PASSED [ 36%] mvn_artifact_test.py::TestMvnArtifact::test_merge_sections PASSED [ 36%] mvn_artifact_test.py::TestMvnArtifact::test_mvn_spec_classifier PASSED [ 36%] mvn_artifact_test.py::TestMvnArtifact::test_mvn_spec_classifier_war PASSED [ 37%] mvn_artifact_test.py::TestMvnArtifact::test_mvn_spec_ext PASSED [ 37%] mvn_artifact_test.py::TestMvnArtifact::test_mvn_spec_ext_war PASSED [ 37%] mvn_artifact_test.py::TestMvnArtifact::test_mvn_spec_jar PASSED [ 37%] mvn_artifact_test.py::TestMvnArtifact::test_mvn_spec_nojar PASSED [ 38%] mvn_artifact_test.py::TestMvnArtifact::test_mvn_spec_war PASSED [ 38%] mvn_artifact_test.py::TestMvnArtifact::test_nonexistent PASSED [ 38%] mvn_artifact_test.py::TestMvnArtifact::test_parent PASSED [ 38%] mvn_build_test.py::TestMvnBuild::test_all PASSED [ 38%] mvn_build_test.py::TestMvnBuild::test_all1 PASSED [ 39%] mvn_build_test.py::TestMvnBuild::test_bootstrap PASSED [ 39%] mvn_build_test.py::TestMvnBuild::test_builddep PASSED [ 39%] mvn_build_test.py::TestMvnBuild::test_debug PASSED [ 39%] mvn_build_test.py::TestMvnBuild::test_force PASSED [ 40%] mvn_build_test.py::TestMvnBuild::test_force1 PASSED [ 40%] mvn_build_test.py::TestMvnBuild::test_goal_after PASSED [ 40%] mvn_build_test.py::TestMvnBuild::test_goal_before PASSED [ 40%] mvn_build_test.py::TestMvnBuild::test_help PASSED [ 40%] mvn_build_test.py::TestMvnBuild::test_more_goals PASSED [ 41%] mvn_build_test.py::TestMvnBuild::test_run_no_args PASSED [ 41%] mvn_build_test.py::TestMvnBuild::test_singleton PASSED [ 41%] mvn_build_test.py::TestMvnBuild::test_singleton1 PASSED [ 41%] mvn_build_test.py::TestMvnBuild::test_skip_both PASSED [ 42%] mvn_build_test.py::TestMvnBuild::test_skip_install PASSED [ 42%] mvn_build_test.py::TestMvnBuild::test_skip_javadoc PASSED [ 42%] mvn_build_test.py::TestMvnBuild::test_xmvn_debug PASSED [ 42%] mvn_compat_version_test.py::TestMvnCompatVersion::test_backref1 PASSED [ 43%] mvn_compat_version_test.py::TestMvnCompatVersion::test_backref2 PASSED [ 43%] mvn_compat_version_test.py::TestMvnCompatVersion::test_help PASSED [ 43%] mvn_compat_version_test.py::TestMvnCompatVersion::test_more PASSED [ 43%] mvn_compat_version_test.py::TestMvnCompatVersion::test_odd_braces1 PASSED [ 43%] mvn_compat_version_test.py::TestMvnCompatVersion::test_odd_braces2 PASSED [ 44%] mvn_compat_version_test.py::TestMvnCompatVersion::test_run_no_args PASSED [ 44%] mvn_compat_version_test.py::TestMvnCompatVersion::test_simple PASSED [ 44%] mvn_compat_version_test.py::TestMvnCompatVersion::test_single PASSED [ 44%] mvn_compat_version_test.py::TestMvnCompatVersion::test_version PASSED [ 45%] mvn_compat_version_test.py::TestMvnCompatVersion::test_wildcard PASSED [ 45%] mvn_config_test.py::TestMvnConfig::test_entity PASSED [ 45%] mvn_config_test.py::TestMvnConfig::test_help PASSED [ 45%] mvn_config_test.py::TestMvnConfig::test_invalid_xml1 PASSED [ 45%] mvn_config_test.py::TestMvnConfig::test_invalid_xml2 PASSED [ 46%] mvn_config_test.py::TestMvnConfig::test_invalid_xml3 PASSED [ 46%] mvn_config_test.py::TestMvnConfig::test_invalid_xml4 PASSED [ 46%] mvn_config_test.py::TestMvnConfig::test_mixed PASSED [ 46%] mvn_config_test.py::TestMvnConfig::test_more PASSED [ 47%] mvn_config_test.py::TestMvnConfig::test_nested_xml1 PASSED [ 47%] mvn_config_test.py::TestMvnConfig::test_nested_xml2 PASSED [ 47%] mvn_config_test.py::TestMvnConfig::test_path PASSED [ 47%] mvn_config_test.py::TestMvnConfig::test_run_no_args PASSED [ 47%] mvn_config_test.py::TestMvnConfig::test_simple PASSED [ 48%] mvn_config_test.py::TestMvnConfig::test_single PASSED [ 48%] mvn_config_test.py::TestMvnConfig::test_xml1 PASSED [ 48%] mvn_config_test.py::TestMvnConfig::test_xml2 PASSED [ 48%] mvn_config_test.py::TestMvnConfig::test_xml3 PASSED [ 49%] mvn_config_test.py::TestMvnConfig::test_xml4 PASSED [ 49%] mvn_file_test.py::TestMvnFile::test_absolute1 PASSED [ 49%] mvn_file_test.py::TestMvnFile::test_absolute2 PASSED [ 49%] mvn_file_test.py::TestMvnFile::test_backref PASSED [ 50%] mvn_file_test.py::TestMvnFile::test_backref1 PASSED [ 50%] mvn_file_test.py::TestMvnFile::test_backref2 PASSED [ 50%] mvn_file_test.py::TestMvnFile::test_backref3 PASSED [ 50%] mvn_file_test.py::TestMvnFile::test_classifier PASSED [ 50%] mvn_file_test.py::TestMvnFile::test_extension PASSED [ 51%] mvn_file_test.py::TestMvnFile::test_group PASSED [ 51%] mvn_file_test.py::TestMvnFile::test_help PASSED [ 51%] mvn_file_test.py::TestMvnFile::test_invalid1 PASSED [ 51%] mvn_file_test.py::TestMvnFile::test_invalid2 PASSED [ 52%] mvn_file_test.py::TestMvnFile::test_more_symlinks PASSED [ 52%] mvn_file_test.py::TestMvnFile::test_odd_braces1 PASSED [ 52%] mvn_file_test.py::TestMvnFile::test_odd_braces2 PASSED [ 52%] mvn_file_test.py::TestMvnFile::test_relative1 PASSED [ 52%] mvn_file_test.py::TestMvnFile::test_relative2 PASSED [ 53%] mvn_file_test.py::TestMvnFile::test_relative3 PASSED [ 53%] mvn_file_test.py::TestMvnFile::test_run_no_args PASSED [ 53%] mvn_file_test.py::TestMvnFile::test_simple PASSED [ 53%] mvn_file_test.py::TestMvnFile::test_single PASSED [ 54%] mvn_file_test.py::TestMvnFile::test_symlink PASSED [ 54%] mvn_file_test.py::TestMvnFile::test_symlinks PASSED [ 54%] mvn_file_test.py::TestMvnFile::test_version PASSED [ 54%] mvn_file_test.py::TestMvnFile::test_wildcard PASSED [ 54%] mvn_file_test.py::TestMvnFile::test_wildcard2 PASSED [ 55%] mvn_macros_test.py::MvnMacrosTest::test_mvn_alias_backref FAILED [ 55%] mvn_macros_test.py::MvnMacrosTest::test_mvn_alias_no_args PASSED [ 55%] mvn_macros_test.py::MvnMacrosTest::test_mvn_alias_single_arg PASSED [ 55%] mvn_macros_test.py::MvnMacrosTest::test_mvn_build_bootstrap FAILED [ 56%] mvn_macros_test.py::MvnMacrosTest::test_mvn_build_environment FAILED [ 56%] mvn_macros_test.py::MvnMacrosTest::test_mvn_build_no_args FAILED [ 56%] mvn_macros_test.py::MvnMacrosTest::test_mvn_build_pass_args FAILED [ 56%] mvn_macros_test.py::MvnMacrosTest::test_mvn_build_singleton FAILED [ 56%] mvn_macros_test.py::MvnMacrosTest::test_mvn_build_skip_javadoc FAILED [ 57%] mvn_macros_test.py::MvnMacrosTest::test_mvn_build_skip_test FAILED [ 57%] mvn_macros_test.py::MvnMacrosTest::test_mvn_compat_version_no_args PASSED [ 57%] mvn_macros_test.py::MvnMacrosTest::test_mvn_compat_version_simple FAILED [ 57%] mvn_macros_test.py::MvnMacrosTest::test_mvn_compat_version_single PASSED [ 58%] mvn_macros_test.py::MvnMacrosTest::test_mvn_config_multiline FAILED [ 58%] mvn_macros_test.py::MvnMacrosTest::test_mvn_config_no_args PASSED [ 58%] mvn_macros_test.py::MvnMacrosTest::test_mvn_config_path FAILED [ 58%] mvn_macros_test.py::MvnMacrosTest::test_mvn_config_single PASSED [ 59%] mvn_macros_test.py::MvnMacrosTest::test_mvn_file_no_args PASSED [ 59%] mvn_macros_test.py::MvnMacrosTest::test_mvn_file_simple FAILED [ 59%] mvn_macros_test.py::MvnMacrosTest::test_mvn_file_single_arg PASSED [ 59%] mvn_macros_test.py::MvnMacrosTest::test_mvn_file_symlinks FAILED [ 59%] mvn_macros_test.py::MvnMacrosTest::test_mvn_install FAILED [ 60%] mvn_macros_test.py::MvnMacrosTest::test_mvn_install_debug FAILED [ 60%] mvn_macros_test.py::MvnMacrosTest::test_mvn_install_directory FAILED [ 60%] mvn_macros_test.py::MvnMacrosTest::test_mvn_package_no_args PASSED [ 60%] mvn_macros_test.py::MvnMacrosTest::test_mvn_package_simple FAILED [ 61%] mvn_macros_test.py::MvnMacrosTest::test_mvn_package_single FAILED [ 61%] mvn_package_test.py::TestMvnPackage::test_all PASSED [ 61%] mvn_package_test.py::TestMvnPackage::test_backref1 PASSED [ 61%] mvn_package_test.py::TestMvnPackage::test_backref2 PASSED [ 61%] mvn_package_test.py::TestMvnPackage::test_backref3 PASSED [ 62%] mvn_package_test.py::TestMvnPackage::test_backref4 PASSED [ 62%] mvn_package_test.py::TestMvnPackage::test_braces1 PASSED [ 62%] mvn_package_test.py::TestMvnPackage::test_braces2 PASSED [ 62%] mvn_package_test.py::TestMvnPackage::test_classifier PASSED [ 63%] mvn_package_test.py::TestMvnPackage::test_extension PASSED [ 63%] mvn_package_test.py::TestMvnPackage::test_help PASSED [ 63%] mvn_package_test.py::TestMvnPackage::test_more PASSED [ 63%] mvn_package_test.py::TestMvnPackage::test_noinstall PASSED [ 63%] mvn_package_test.py::TestMvnPackage::test_odd_braces PASSED [ 64%] mvn_package_test.py::TestMvnPackage::test_odd_braces1 PASSED [ 64%] mvn_package_test.py::TestMvnPackage::test_run_no_args PASSED [ 64%] mvn_package_test.py::TestMvnPackage::test_simple PASSED [ 64%] mvn_package_test.py::TestMvnPackage::test_single PASSED [ 65%] mvn_package_test.py::TestMvnPackage::test_version PASSED [ 65%] mvn_package_test.py::TestMvnPackage::test_wildcard1 PASSED [ 65%] mvn_package_test.py::TestMvnPackage::test_wildcard2 PASSED [ 65%] mvn_package_test.py::TestMvnPackage::test_wildcard3 PASSED [ 65%] osgi_prov_test.py::TestOSGiProv::test_basic PASSED [ 66%] osgi_prov_test.py::TestOSGiProv::test_basic_jar PASSED [ 66%] osgi_prov_test.py::TestOSGiProv::test_empty PASSED [ 66%] osgi_prov_test.py::TestOSGiProv::test_rhbz889131 PASSED [ 66%] osgi_req_test.py::TestOSGiReq::test_basic PASSED [ 67%] osgi_req_test.py::TestOSGiReq::test_basic_jar PASSED [ 67%] osgi_req_test.py::TestOSGiReq::test_corrupt PASSED [ 67%] osgi_req_test.py::TestOSGiReq::test_empty PASSED [ 67%] osgi_req_test.py::TestOSGiReq::test_self_require PASSED [ 68%] osgi_req_test.py::TestOSGiReq::test_symlink PASSED [ 68%] osgi_req_test.py::TestOSGiReq::test_symlink_dir PASSED [ 68%] osgi_req_test.py::TestOSGiReq::test_symlink_dir_jar PASSED [ 68%] osgi_req_test.py::TestOSGiReq::test_symlink_jar PASSED [ 68%] pm_request_test.py::PmRequestTest::test_connection_error PASSED [ 69%] pm_request_test.py::PmRequestTest::test_full_coords PASSED [ 69%] pm_request_test.py::PmRequestTest::test_jar PASSED [ 69%] pm_request_test.py::PmRequestTest::test_nok PASSED [ 69%] pm_request_test.py::PmRequestTest::test_ok PASSED [ 70%] pm_request_test.py::PmRequestTest::test_unsupported_type PASSED [ 70%] pm_request_test.py::PmRequestTest::test_usage PASSED [ 70%] pom_editor_artifact_test.py::TestPomArtifact::test_aid FAILED [ 70%] pom_editor_artifact_test.py::TestPomArtifact::test_all FAILED [ 70%] pom_editor_artifact_test.py::TestPomArtifact::test_classifier FAILED [ 71%] pom_editor_artifact_test.py::TestPomArtifact::test_gid1 FAILED [ 71%] pom_editor_artifact_test.py::TestPomArtifact::test_gid2 FAILED [ 71%] pom_editor_artifact_test.py::TestPomArtifact::test_scope FAILED [ 71%] pom_editor_artifact_test.py::TestPomArtifact::test_version FAILED [ 72%] pom_editor_artifact_test.py::TestPomChange::test_change_simple FAILED [ 72%] pom_editor_artifact_test.py::TestPomChange::test_copy_aid1 FAILED [ 72%] pom_editor_artifact_test.py::TestPomChange::test_copy_aid2 FAILED [ 72%] pom_editor_artifact_test.py::TestPomChange::test_copy_gid FAILED [ 72%] pom_editor_artifact_test.py::TestPomChange::test_extra_xml FAILED [ 73%] pom_editor_artifact_test.py::TestPomChange::test_keep_classifier FAILED [ 73%] pom_editor_artifact_test.py::TestPomChange::test_keep_optional FAILED [ 73%] pom_editor_artifact_test.py::TestPomChange::test_remove_scope FAILED [ 73%] pom_editor_modules_test.py::TestPomXpathDisable::test_disable_by_aid FAILED [ 74%] pom_editor_modules_test.py::TestPomXpathDisable::test_fail_on_main PASSED [ 74%] pom_editor_modules_test.py::TestPomXpathDisable::test_no_match PASSED [ 74%] pom_editor_modules_test.py::TestPomXpathDisable::test_nonexistent PASSED [ 74%] pom_editor_modules_test.py::TestPomXpathDisable::test_skip_level FAILED [ 75%] pom_editor_modules_test.py::TestPomXpathDisable::test_two_levels FAILED [ 75%] pom_editor_paths_test.py::TestPomPath::test_default FAILED [ 75%] pom_editor_paths_test.py::TestPomPath::test_default_nonexistent PASSED [ 75%] pom_editor_paths_test.py::TestPomPath::test_explicit FAILED [ 75%] pom_editor_paths_test.py::TestPomPath::test_sanity FAILED [ 76%] pom_editor_paths_test.py::TestPomPath::test_submodule_default FAILED [ 76%] pom_editor_paths_test.py::TestPomPath::test_submodule_explicit FAILED [ 76%] pom_editor_paths_test.py::TestPomPath::test_submodule_more_levels FAILED [ 76%] pom_editor_paths_test.py::TestPomPath::test_submodule_nonexistent PASSED [ 77%] pom_editor_paths_test.py::TestMorePoms::test_many_submodules FAILED [ 77%] pom_editor_paths_test.py::TestMorePoms::test_submodules_default FAILED [ 77%] pom_editor_paths_test.py::TestMorePoms::test_submodules_different_levels FAILED [ 77%] pom_editor_paths_test.py::TestMorePoms::test_submodules_partial_match PASSED [ 77%] pom_editor_paths_test.py::TestMorePoms::test_submodules_partial_match_force FAILED [ 78%] pom_editor_paths_test.py::TestRecursive::test_default_recursive1 FAILED [ 78%] pom_editor_paths_test.py::TestRecursive::test_default_recursive2 FAILED [ 78%] pom_editor_paths_test.py::TestRecursive::test_default_recursive_profile FAILED [ 78%] pom_editor_paths_test.py::TestRecursive::test_recursive_missing PASSED [ 79%] pom_editor_paths_test.py::TestRecursive::test_recursive_multiple FAILED [ 79%] pom_editor_paths_test.py::TestRecursive::test_recursive_no_match PASSED [ 79%] pom_editor_paths_test.py::TestRecursive::test_recursive_partial_match PASSED [ 79%] pom_editor_paths_test.py::TestRecursive::test_recursive_partial_match_forced FAILED [ 79%] pom_editor_paths_test.py::TestRecursive::test_recursive_plugin_with_module FAILED [ 80%] pom_editor_paths_test.py::TestRecursive::test_recursive_subpom FAILED [ 80%] pom_editor_paths_test.py::TestAttributeRecognition::test_default_extra_xml FAILED [ 80%] pom_editor_paths_test.py::TestAttributeRecognition::test_dep_mgmt_extra_xml FAILED [ 80%] pom_editor_paths_test.py::TestAttributeRecognition::test_explicit_extra_xml FAILED [ 81%] pom_editor_paths_test.py::TestAttributeRecognition::test_plugin_extra_xml FAILED [ 81%] pom_editor_paths_test.py::TestAttributeRecognition::test_submodule_extra_xml FAILED [ 81%] pom_editor_paths_test.py::TestAttributeRecognition::test_submodules_extra_xml FAILED [ 81%] pom_editor_xml_test.py::TestGeneric::test_inject FAILED [ 81%] pom_editor_xml_test.py::TestGeneric::test_namespace FAILED [ 82%] pom_editor_xml_test.py::TestGeneric::test_remove FAILED [ 82%] pom_editor_xml_test.py::TestGeneric::test_remove_attribute FAILED [ 82%] pom_editor_xml_test.py::TestGeneric::test_set FAILED [ 82%] pom_editor_xml_test.py::TestGeneric::test_set_attribute FAILED [ 83%] pom_editor_xml_test.py::TestIvy::test_add_dep FAILED [ 83%] pom_editor_xml_test.py::TestIvy::test_change_dep FAILED [ 83%] pom_editor_xml_test.py::TestIvy::test_inject FAILED [ 83%] pom_editor_xml_test.py::TestIvy::test_remove_dep FAILED [ 84%] pom_editor_xml_test.py::TestIvy::test_remove_rev FAILED [ 84%] pom_editor_xml_test.py::TestIvy::test_unsupported PASSED [ 84%] pom_macros_test.py::PomMacrosTest::test_add_dep FAILED [ 84%] pom_macros_test.py::PomMacrosTest::test_add_dep2 FAILED [ 84%] pom_macros_test.py::PomMacrosTest::test_add_dep_extra FAILED [ 85%] pom_macros_test.py::PomMacrosTest::test_add_dep_mgmt FAILED [ 85%] pom_macros_test.py::PomMacrosTest::test_add_dep_mgmt2 FAILED [ 85%] pom_macros_test.py::PomMacrosTest::test_add_dep_mgmt_extra FAILED [ 85%] pom_macros_test.py::PomMacrosTest::test_add_dep_mgmt_nons FAILED [ 86%] pom_macros_test.py::PomMacrosTest::test_add_dep_nons FAILED [ 86%] pom_macros_test.py::PomMacrosTest::test_add_dep_whitespace FAILED [ 86%] pom_macros_test.py::PomMacrosTest::test_add_parent FAILED [ 86%] pom_macros_test.py::PomMacrosTest::test_add_parent_nons FAILED [ 86%] pom_macros_test.py::PomMacrosTest::test_add_plugin FAILED [ 87%] pom_macros_test.py::PomMacrosTest::test_add_plugin2 FAILED [ 87%] pom_macros_test.py::PomMacrosTest::test_add_plugin_default_gid FAILED [ 87%] pom_macros_test.py::PomMacrosTest::test_add_plugin_extra FAILED [ 87%] pom_macros_test.py::PomMacrosTest::test_add_plugin_nons FAILED [ 88%] pom_macros_test.py::PomMacrosTest::test_change_dep_nover FAILED [ 88%] pom_macros_test.py::PomMacrosTest::test_disable_module FAILED [ 88%] pom_macros_test.py::PomMacrosTest::test_disable_module_no_effect PASSED [ 88%] pom_macros_test.py::PomMacrosTest::test_disable_module_nons FAILED [ 88%] pom_macros_test.py::PomMacrosTest::test_keep_no_xml_declaration FAILED [ 89%] pom_macros_test.py::PomMacrosTest::test_keep_xml_declaration FAILED [ 89%] pom_macros_test.py::PomMacrosTest::test_no_pom PASSED [ 89%] pom_macros_test.py::PomMacrosTest::test_no_pom_explicit PASSED [ 89%] pom_macros_test.py::PomMacrosTest::test_non_unicode FAILED [ 90%] pom_macros_test.py::PomMacrosTest::test_remove_dep FAILED [ 90%] pom_macros_test.py::PomMacrosTest::test_remove_dep_no_effect PASSED [ 90%] pom_macros_test.py::PomMacrosTest::test_remove_dep_nons FAILED [ 90%] pom_macros_test.py::PomMacrosTest::test_remove_deps FAILED [ 90%] pom_macros_test.py::PomMacrosTest::test_remove_parent FAILED [ 91%] pom_macros_test.py::PomMacrosTest::test_remove_parent_fail PASSED [ 91%] pom_macros_test.py::PomMacrosTest::test_remove_parent_nons FAILED [ 91%] pom_macros_test.py::PomMacrosTest::test_remove_plugin FAILED [ 91%] pom_macros_test.py::PomMacrosTest::test_remove_plugin_nons FAILED [ 92%] pom_macros_test.py::PomMacrosTest::test_remove_plugin_ret1 PASSED [ 92%] pom_macros_test.py::PomMacrosTest::test_remove_plugins FAILED [ 92%] pom_macros_test.py::PomMacrosTest::test_remove_wildcard FAILED [ 92%] pom_macros_test.py::PomMacrosTest::test_set_parent FAILED [ 93%] pom_macros_test.py::PomMacrosTest::test_set_parent_fail PASSED [ 93%] pom_macros_test.py::PomMacrosTest::test_set_parent_nons FAILED [ 93%] pom_macros_test.py::PomMacrosTest::test_unicode FAILED [ 93%] pom_macros_test.py::PomMacrosTest::test_unparsable_xml PASSED [ 93%] pom_macros_test.py::PomMacrosTest::test_usage PASSED [ 94%] pom_macros_test.py::PomMacrosTest::test_xpath_inject FAILED [ 94%] pom_macros_test.py::PomMacrosTest::test_xpath_inject2 FAILED [ 94%] pom_macros_test.py::PomMacrosTest::test_xpath_inject_fail PASSED [ 94%] pom_macros_test.py::PomMacrosTest::test_xpath_inject_multiple FAILED [ 95%] pom_macros_test.py::PomMacrosTest::test_xpath_inject_nons FAILED [ 95%] pom_macros_test.py::PomMacrosTest::test_xpath_inject_whitespace FAILED [ 95%] pom_macros_test.py::PomMacrosTest::test_xpath_inject_whitespace1 FAILED [ 95%] pom_macros_test.py::PomMacrosTest::test_xpath_remove FAILED [ 95%] pom_macros_test.py::PomMacrosTest::test_xpath_remove2 FAILED [ 96%] pom_macros_test.py::PomMacrosTest::test_xpath_remove_fail PASSED [ 96%] pom_macros_test.py::PomMacrosTest::test_xpath_remove_generic FAILED [ 96%] pom_macros_test.py::PomMacrosTest::test_xpath_remove_nons FAILED [ 96%] pom_macros_test.py::PomMacrosTest::test_xpath_replace FAILED [ 97%] pom_macros_test.py::PomMacrosTest::test_xpath_replace2 FAILED [ 97%] pom_macros_test.py::PomMacrosTest::test_xpath_replace_fail FAILED [ 97%] pom_macros_test.py::PomMacrosTest::test_xpath_replace_invalid PASSED [ 97%] pom_macros_test.py::PomMacrosTest::test_xpath_replace_invalid_xml PASSED [ 97%] pom_macros_test.py::PomMacrosTest::test_xpath_replace_multiple FAILED [ 98%] pom_macros_test.py::PomMacrosTest::test_xpath_replace_nons FAILED [ 98%] pom_macros_test.py::PomMacrosTest::test_xpath_replace_text FAILED [ 98%] pom_macros_test.py::PomMacrosTest::test_xpath_replace_whitespace FAILED [ 98%] pom_macros_test.py::PomMacrosTest::test_xpath_set FAILED [ 99%] pom_macros_test.py::PomMacrosTest::test_xpath_set2 FAILED [ 99%] pom_macros_test.py::PomMacrosTest::test_xpath_set_fail FAILED [ 99%] pom_macros_test.py::PomMacrosTest::test_xpath_set_multiple FAILED [ 99%] pom_macros_test.py::PomMacrosTest::test_xpath_set_nons FAILED [100%] =================================== FAILURES =================================== _____________________ MvnMacrosTest.test_mvn_alias_backref _____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_alias_backref(self, pack): pack.append_to_prep("""%mvn_alias '*:{aaa,bbb}*' ':@1'""") _, stderr, return_value = pack.run_prep() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = os.listdir(confpath) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_alias_backref-1/.xmvn/config.d' mvn_macros_test.py:65: FileNotFoundError ____________________ MvnMacrosTest.test_mvn_build_bootstrap ____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_build_bootstrap(self, pack): pack.append_to_build('%define xmvn_bootstrap true') pack.append_to_build('%mvn_build') _, stderr, return_value = pack.run_build() self.assertEqual(return_value, 0, stderr) argspath = os.path.join(pack.buildpath, '.xmvn', 'out') > with open(argspath, 'r') as argsfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_build_bootstrap-1/.xmvn/out' mvn_macros_test.py:339: FileNotFoundError ___________________ MvnMacrosTest.test_mvn_build_environment ___________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_build_environment(self, pack): pack.append_to_build('export MAVEN_OPTS="-Xmx1024M"') pack.append_to_build('%mvn_build') _, stderr, return_value = pack.run_build() self.assertEqual(return_value, 0, stderr) envpath = os.path.join(pack.buildpath, '.xmvn', 'env') > with open(envpath, 'r') as envfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_build_environment-1/.xmvn/env' mvn_macros_test.py:311: FileNotFoundError _____________________ MvnMacrosTest.test_mvn_build_no_args _____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_build_no_args(self, pack): pack.append_to_build('%mvn_build') _, stderr, return_value = pack.run_build() self.assertEqual(return_value, 0, stderr) argspath = os.path.join(pack.buildpath, '.xmvn', 'out') > with open(argspath, 'r') as argsfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_build_no_args-1/.xmvn/out' mvn_macros_test.py:275: FileNotFoundError ____________________ MvnMacrosTest.test_mvn_build_pass_args ____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_build_pass_args(self, pack): pack.append_to_build('%mvn_build -s -- --log-file "/var/log/xmvn"') _, stderr, return_value = pack.run_build() self.assertEqual(return_value, 0, stderr) argspath = os.path.join(pack.buildpath, '.xmvn', 'out') > with open(argspath, 'r') as argsfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_build_pass_args-1/.xmvn/out' mvn_macros_test.py:324: FileNotFoundError ____________________ MvnMacrosTest.test_mvn_build_singleton ____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_build_singleton(self, pack): pack.append_to_build('%mvn_build -s') _, stderr, return_value = pack.run_build() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = sorted(os.listdir(confpath)) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_build_singleton-1/.xmvn/config.d' mvn_macros_test.py:288: FileNotFoundError __________________ MvnMacrosTest.test_mvn_build_skip_javadoc ___________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_build_skip_javadoc(self, pack): pack.prepend('%bcond_without javadoc') pack.append_to_build('%mvn_build') _, stderr, return_value = pack.run_build(['--without', 'javadoc']) self.assertEqual(return_value, 0, stderr) argspath = os.path.join(pack.buildpath, '.xmvn', 'out') > with open(argspath, 'r') as argsfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_build_skip_javadoc-1/.xmvn/out' mvn_macros_test.py:354: FileNotFoundError ____________________ MvnMacrosTest.test_mvn_build_skip_test ____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_build_skip_test(self, pack): pack.prepend('%bcond_without tests') pack.append_to_build('%mvn_build') _, stderr, return_value = pack.run_build(['--without', 'tests']) self.assertEqual(return_value, 0, stderr) argspath = os.path.join(pack.buildpath, '.xmvn', 'out') > with open(argspath, 'r') as argsfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_build_skip_test-1/.xmvn/out' mvn_macros_test.py:368: FileNotFoundError _________________ MvnMacrosTest.test_mvn_compat_version_simple _________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_compat_version_simple(self, pack): pack.append_to_prep('%mvn_compat_version aaa:bbb 1') _, stderr, return_value = pack.run_prep() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = os.listdir(confpath) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_compat_version_simple-1/.xmvn/config.d' mvn_macros_test.py:165: FileNotFoundError ___________________ MvnMacrosTest.test_mvn_config_multiline ____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_config_multiline(self, pack): pack.append_to_prep("""%mvn_config a/b/c " bla " """) _, stderr, return_value = pack.run_prep() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = os.listdir(confpath) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_config_multiline-1/.xmvn/config.d' mvn_macros_test.py:260: FileNotFoundError ______________________ MvnMacrosTest.test_mvn_config_path ______________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_config_path(self, pack): pack.append_to_prep('%mvn_config a/b/c xxx') _, stderr, return_value = pack.run_prep() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = os.listdir(confpath) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_config_path-1/.xmvn/config.d' mvn_macros_test.py:242: FileNotFoundError ______________________ MvnMacrosTest.test_mvn_file_simple ______________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_file_simple(self, pack): pack.append_to_prep('%mvn_file :x file') _, stderr, return_value = pack.run_prep() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = os.listdir(confpath) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_file_simple-1/.xmvn/config.d' mvn_macros_test.py:124: FileNotFoundError _____________________ MvnMacrosTest.test_mvn_file_symlinks _____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_file_symlinks(self, pack): pack.append_to_prep('%mvn_file :a file sym1 sym2 sym3') _, stderr, return_value = pack.run_prep() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = os.listdir(confpath) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_file_symlinks-1/.xmvn/config.d' mvn_macros_test.py:137: FileNotFoundError ________________________ MvnMacrosTest.test_mvn_install ________________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_install(self, pack): pack.append_to_install('%mvn_install') _, stderr, return_value = pack.run_install() self.assertEqual(return_value, 0, stderr) argspath = os.path.join('rpmbuild', 'BUILD', '.xmvn', 'install-out') > with open(argspath, 'r') as argsfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/.xmvn/install-out' mvn_macros_test.py:383: FileNotFoundError _____________________ MvnMacrosTest.test_mvn_install_debug _____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_install_debug(self, pack): pack.append_to_install('%mvn_install -X') _, stderr, return_value = pack.run_install() self.assertEqual(return_value, 0, stderr) argspath = os.path.join('rpmbuild', 'BUILD', '.xmvn', 'install-out') > with open(argspath, 'r') as argsfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/.xmvn/install-out' mvn_macros_test.py:396: FileNotFoundError ___________________ MvnMacrosTest.test_mvn_install_directory ___________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_install_directory(self, pack): pack.append_to_build('mkdir ../doc') pack.append_to_build('touch ../doc/file') pack.append_to_install('%mvn_install -J doc') pack.append_to_install('%files -f .mfiles-javadoc') _, stderr, return_value = pack.run_install() self.assertEqual(return_value, 0, stderr) argspath = os.path.join('rpmbuild', 'BUILD', '.xmvn', 'install-out') > with open(argspath, 'r') as argsfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/.xmvn/install-out' mvn_macros_test.py:412: FileNotFoundError ____________________ MvnMacrosTest.test_mvn_package_simple _____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_package_simple(self, pack): pack.append_to_prep('%mvn_package aaa:bbb pack') _, stderr, return_value = pack.run_prep() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = os.listdir(confpath) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_package_simple-1/.xmvn/config.d' mvn_macros_test.py:193: FileNotFoundError ____________________ MvnMacrosTest.test_mvn_package_single _____________________ self = def test_decorated(self): pack = Package(function.__name__) > function(self, pack) mvn_macros_test.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pack = @rpm_test() def test_mvn_package_single(self, pack): pack.append_to_prep('%mvn_package aaa:bbb') _, stderr, return_value = pack.run_prep() self.assertEqual(return_value, 0, stderr) confpath = os.path.join(pack.buildpath, '.xmvn', 'config.d') > filelist = os.listdir(confpath) E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_mvn_package_single-1/.xmvn/config.d' mvn_macros_test.py:214: FileNotFoundError ___________________________ TestPomArtifact.test_aid ___________________________ self = def test_aid(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_remove_dep :junit", 'example_schemas.xml', 'example_schemas_removed_junit.xml') pom_editor_artifact_test.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ___________________________ TestPomArtifact.test_all ___________________________ self = def test_all(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_remove_dep :", 'example_common.xml', 'example_common_removed_all_deps.xml') pom_editor_artifact_test.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _______________________ TestPomArtifact.test_classifier ________________________ self = def test_classifier(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_add_dep org.apache.ant:ant-parent:::cls", 'minimal_pom.xml', 'minimal_pom_add_cls.xml') pom_editor_artifact_test.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError __________________________ TestPomArtifact.test_gid1 ___________________________ self = def test_gid1(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_remove_dep commons-ioX", 'example_common.xml', 'example_common_removed_commons_iox.xml') pom_editor_artifact_test.py:6: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError __________________________ TestPomArtifact.test_gid2 ___________________________ self = def test_gid2(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_remove_dep commons-ioX:", 'example_common.xml', 'example_common_removed_commons_iox.xml') pom_editor_artifact_test.py:13: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError __________________________ TestPomArtifact.test_scope __________________________ self = def test_scope(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_add_dep org.apache.ant:ant-parent::test", 'minimal_pom.xml', 'minimal_pom_add_ant.xml') pom_editor_artifact_test.py:41: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _________________________ TestPomArtifact.test_version _________________________ self = def test_version(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_add_dep org.apache.uima:uimaj:2.5.0", 'minimal_pom.xml', 'minimal_pom_add_uimaj.xml') pom_editor_artifact_test.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _______________________ TestPomChange.test_change_simple _______________________ self = def test_change_simple(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep junit:junit junit:junit3", 'example_common.xml', 'example_common_junit3.xml') pom_editor_artifact_test.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _________________________ TestPomChange.test_copy_aid1 _________________________ self = def test_copy_aid1(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep commons-io org.apache.commons-io", 'example_common.xml', 'example_common_apache.xml') pom_editor_artifact_test.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _________________________ TestPomChange.test_copy_aid2 _________________________ self = def test_copy_aid2(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep commons-io: org.apache.commons-io:", 'example_common.xml', 'example_common_apache.xml') pom_editor_artifact_test.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _________________________ TestPomChange.test_copy_gid __________________________ self = def test_copy_gid(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep :commons-io :commons", 'example_common.xml', 'example_common_commons.xml') pom_editor_artifact_test.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _________________________ TestPomChange.test_extra_xml _________________________ self = def test_extra_xml(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep :junit : ''", 'simple_pom.xml', 'simple_added_exclusions.xml') pom_editor_artifact_test.py:105: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ______________________ TestPomChange.test_keep_classifier ______________________ self = def test_keep_classifier(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep commons-io org.apache.commons.commons-io:", 'classifier.xml', 'keep_classifier.xml') pom_editor_artifact_test.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _______________________ TestPomChange.test_keep_optional _______________________ self = def test_keep_optional(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep commons-io: org.apache.commons-io:", 'optional.xml', 'keep_optional.xml') pom_editor_artifact_test.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _______________________ TestPomChange.test_remove_scope ________________________ self = def test_remove_scope(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep :::test :::-", 'simple_pom.xml', 'simple_removed_scope.xml') pom_editor_artifact_test.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ___________________ TestPomXpathDisable.test_disable_by_aid ____________________ self = def test_disable_by_aid(self): > return_value, stderr, report = exec_pom_macro( """%pom_xpath_disable "/pom:project/pom:artifactId='common'" """, poms_tree=example_tree, want_tree={'': 'parent_disabled_common.xml'}) pom_editor_modules_test.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _____________________ TestPomXpathDisable.test_skip_level ______________________ self = def test_skip_level(self): poms_tree = dict(example_tree) del poms_tree['intermediate/schemas'] poms_tree['intermediate'] = 'intermediate_skip.xml' poms_tree['intermediate/src/schemas'] = 'example_schemas.xml' > return_value, stderr, report = exec_pom_macro( """%pom_xpath_disable "pom:project.build.sourceEncoding='UTF-8'" """, poms_tree=poms_tree, want_tree={'intermediate': 'intermediate_disabled_schemas.xml'}) pom_editor_modules_test.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _____________________ TestPomXpathDisable.test_two_levels ______________________ self = def test_two_levels(self): > return_value, stderr, report = exec_pom_macro( """%pom_xpath_disable "pom:parent[pom:artifactId='intermediate']" """, poms_tree=example_tree, want_tree={'intermediate': 'intermediate_disabled_schemas.xml'}) pom_editor_modules_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ___________________________ TestPomPath.test_default ___________________________ self = def test_default(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_parent', poms_tree={'': 'minimal_pom.xml'}, want_tree={'': 'minimal_removed_parent.xml'}) pom_editor_paths_test.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError __________________________ TestPomPath.test_explicit ___________________________ self = def test_explicit(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_parent pom.xml', poms_tree={'': 'minimal_pom.xml'}, want_tree={'': 'minimal_removed_parent.xml'}) pom_editor_paths_test.py:35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ___________________________ TestPomPath.test_sanity ____________________________ self = def test_sanity(self): > return_value, stderr, report = exec_pom_macro('', { 'submodule': 'minimal_pom.xml'}) pom_editor_paths_test.py:12: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule/pom.xml" src/lxml/parser.pxi:670: OSError ______________________ TestPomPath.test_submodule_default ______________________ self = def test_submodule_default(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_parent submodule', poms_tree={'submodule': 'minimal_pom.xml'}, want_tree={'submodule': 'minimal_removed_parent.xml'}) pom_editor_paths_test.py:42: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule/pom.xml" src/lxml/parser.pxi:670: OSError _____________________ TestPomPath.test_submodule_explicit ______________________ self = def test_submodule_explicit(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_parent submodule', poms_tree={'submodule': 'minimal_pom.xml'}, want_tree={'submodule': 'minimal_removed_parent.xml'}) pom_editor_paths_test.py:49: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule/pom.xml" src/lxml/parser.pxi:670: OSError ____________________ TestPomPath.test_submodule_more_levels ____________________ self = def test_submodule_more_levels(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_parent submodule/something', poms_tree={'submodule/something': 'minimal_pom.xml'}, want_tree={'submodule/something': 'minimal_removed_parent.xml'}) pom_editor_paths_test.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule/something/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule/something/pom.xml" src/lxml/parser.pxi:670: OSError ______________________ TestMorePoms.test_many_submodules _______________________ self = def test_many_submodules(self): poms = ['submodule{0}'.format(i) for i in range(10)] command = '%pom_remove_parent ' + ' '.join(poms) poms_tree = {'untouched': 'minimal_pom.xml'} want_tree = {} for pom in poms: poms_tree[pom] = 'simple_pom.xml' want_tree[pom] = 'simple_removed_parent.xml' > return_value, stderr, report = exec_pom_macro(command, poms_tree, want_tree) pom_editor_paths_test.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/untouched/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/untouched/pom.xml" src/lxml/parser.pxi:670: OSError _____________________ TestMorePoms.test_submodules_default _____________________ self = def test_submodules_default(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_parent submodule1 submodule2', poms_tree={'submodule1': 'minimal_pom.xml', 'submodule2': 'simple_pom.xml'}, want_tree={'submodule1': 'minimal_removed_parent.xml', 'submodule2': 'simple_removed_parent.xml'}) pom_editor_paths_test.py:64: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule1/pom.xml" src/lxml/parser.pxi:670: OSError ________________ TestMorePoms.test_submodules_different_levels _________________ self = def test_submodules_different_levels(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_parent . submodule2', poms_tree={'submodule1': 'minimal_pom.xml', 'submodule2': 'simple_pom.xml', '': 'minimal_pom.xml'}, want_tree={'submodule2': 'simple_removed_parent.xml', '': 'minimal_removed_parent.xml'}) pom_editor_paths_test.py:73: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule1/pom.xml" src/lxml/parser.pxi:670: OSError _______________ TestMorePoms.test_submodules_partial_match_force _______________ self = def test_submodules_partial_match_force(self): > return_value, stderr, report = exec_pom_macro(\ '%pom_remove_dep -f :commons-io submodule1 submodule2', poms_tree={'submodule1': 'minimal_pom.xml', 'submodule2': 'simple_pom.xml'}, want_tree={'submodule2': 'simple_removed_commons_io.xml'}) pom_editor_paths_test.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule1/pom.xml" src/lxml/parser.pxi:670: OSError ____________________ TestRecursive.test_default_recursive1 _____________________ self = def test_default_recursive1(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_dep -r :commons-io', poms_tree=example_tree, want_tree={'intermediate': 'example_intermediate_removed_commons_io.xml', 'common': 'example_common_removed_commons_io.xml'}) pom_editor_paths_test.py:114: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ____________________ TestRecursive.test_default_recursive2 _____________________ self = def test_default_recursive2(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_dep -r :junit', poms_tree=example_tree, want_tree={'intermediate/schemas': 'example_schemas_removed_junit.xml', 'common': 'example_common_removed_junit.xml'}) pom_editor_paths_test.py:122: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _________________ TestRecursive.test_default_recursive_profile _________________ self = def test_default_recursive_profile(self): poms_tree = dict(example_tree) poms_tree[''] = 'example_parent_profile.xml' > return_value, stderr, report = exec_pom_macro('%pom_remove_dep -r :commons-io', poms_tree=poms_tree, want_tree={'intermediate': 'example_intermediate_removed_commons_io.xml', 'common': 'example_common_removed_commons_io.xml'}) pom_editor_paths_test.py:141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ____________________ TestRecursive.test_recursive_multiple _____________________ self = def test_recursive_multiple(self): poms_tree = dict(example_tree) > return_value, stderr, report = exec_pom_macro('%pom_remove_dep -r :junit intermediate common', poms_tree=poms_tree, want_tree={'intermediate/schemas': 'example_schemas_removed_junit.xml', 'common': 'example_common_removed_junit.xml'}) pom_editor_paths_test.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ______________ TestRecursive.test_recursive_partial_match_forced _______________ self = def test_recursive_partial_match_forced(self): > return_value, stderr, report = exec_pom_macro(\ '%pom_remove_dep -rf commons-ioX:commons-io intermediate common', poms_tree=example_tree, want_tree={'common': 'example_common_removed_commons_iox.xml'}) pom_editor_paths_test.py:187: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _______________ TestRecursive.test_recursive_plugin_with_module ________________ self = def test_recursive_plugin_with_module(self): poms_tree = dict(example_tree) poms_tree[''] = 'example_parent_plugin_with_module.xml' > return_value, stderr, report = exec_pom_macro('%pom_remove_dep -r :junit', poms_tree=poms_tree, want_tree={'intermediate/schemas': 'example_schemas_removed_junit.xml'}) pom_editor_paths_test.py:132: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _____________________ TestRecursive.test_recursive_subpom ______________________ self = def test_recursive_subpom(self): > return_value, stderr, report = exec_pom_macro('%pom_remove_dep -r :junit intermediate', poms_tree=example_tree, want_tree={'intermediate/schemas': 'example_schemas_removed_junit.xml'}) pom_editor_paths_test.py:164: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _______________ TestAttributeRecognition.test_default_extra_xml ________________ self = def test_default_extra_xml(self): > return_value, stderr, report = exec_pom_macro('\ %pom_add_dep org.apache.uimaj:uimaj-core "test"', poms_tree={'': 'minimal_pom.xml'}, want_tree={'': 'minimal_add_dep_scope.xml'}) pom_editor_paths_test.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError _______________ TestAttributeRecognition.test_dep_mgmt_extra_xml _______________ self = def test_dep_mgmt_extra_xml(self): > return_value, stderr, report = exec_pom_macro(\ '%pom_add_dep_mgmt org.apache.uimaj:uimaj-core submodule1 submodule2 "test"', poms_tree={'submodule1': 'minimal_pom.xml', 'submodule2': 'minimal_pom.xml'}, want_tree={'submodule1': 'minimal_add_dep_mgmt_scope.xml', 'submodule2': 'minimal_add_dep_mgmt_scope.xml'}) pom_editor_paths_test.py:230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule1/pom.xml" src/lxml/parser.pxi:670: OSError _______________ TestAttributeRecognition.test_explicit_extra_xml _______________ self = def test_explicit_extra_xml(self): > return_value, stderr, report = exec_pom_macro('\ %pom_add_dep org.apache.uimaj:uimaj-core pom.xml "test"', poms_tree={'': 'minimal_pom.xml'}, want_tree={'': 'minimal_add_dep_scope.xml'}) pom_editor_paths_test.py:204: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/pom.xml" src/lxml/parser.pxi:670: OSError ________________ TestAttributeRecognition.test_plugin_extra_xml ________________ self = def test_plugin_extra_xml(self): > return_value, stderr, report = exec_pom_macro(\ '%pom_add_plugin org.apache.maven:maven-remote-resources-plugin \ submodule1 submodule2 "generate-resources"', poms_tree={'submodule1': 'minimal_pom.xml', 'submodule2': 'minimal_pom.xml'}, want_tree={'submodule1': 'minimal_add_plugin_resource.xml', 'submodule2': 'minimal_add_plugin_resource.xml'}) pom_editor_paths_test.py:240: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule1/pom.xml" src/lxml/parser.pxi:670: OSError ______________ TestAttributeRecognition.test_submodule_extra_xml _______________ self = def test_submodule_extra_xml(self): > return_value, stderr, report = exec_pom_macro('\ %pom_add_dep org.apache.uimaj:uimaj-core submodule "test"', poms_tree={'submodule': 'minimal_pom.xml'}, want_tree={'submodule': 'minimal_add_dep_scope.xml'}) pom_editor_paths_test.py:212: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule/pom.xml" src/lxml/parser.pxi:670: OSError ______________ TestAttributeRecognition.test_submodules_extra_xml ______________ self = def test_submodules_extra_xml(self): > return_value, stderr, report = exec_pom_macro(\ '%pom_add_dep org.apache.uimaj:uimaj-core submodule1 submodule2 "test"', poms_tree={'submodule1': 'minimal_pom.xml', 'submodule2': 'minimal_pom.xml'}, want_tree={'submodule1': 'minimal_add_dep_scope.xml', 'submodule2': 'minimal_add_dep_scope.xml'}) pom_editor_paths_test.py:220: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/submodule1/pom.xml': failed to load external entity "rpmbuild/BUILD/test-1/submodule1/pom.xml" src/lxml/parser.pxi:670: OSError ___________________________ TestGeneric.test_inject ____________________________ self = def test_inject(self): > return_value, stderr, report = exec_pom_macro_simple(\ """%pom_xpath_inject "/project/target[@name='init']" ' ' build.xml""", 'build.xml', 'build_with_lib.xml', filename='build.xml') pom_editor_xml_test.py:6: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/build.xml': failed to load external entity "rpmbuild/BUILD/test-1/build.xml" src/lxml/parser.pxi:670: OSError __________________________ TestGeneric.test_namespace __________________________ self = def test_namespace(self): > return_value, stderr, report = exec_pom_macro_simple(\ """%pom_xpath_set "target/ivy:cachepath/@type" 'war' build.xml""", 'build_ns.xml', 'build_ns_set.xml', filename='build.xml') pom_editor_xml_test.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/build.xml': failed to load external entity "rpmbuild/BUILD/test-1/build.xml" src/lxml/parser.pxi:670: OSError ___________________________ TestGeneric.test_remove ____________________________ self = def test_remove(self): > return_value, stderr, report = exec_pom_macro_simple(\ """%pom_xpath_remove "/project/target[@name='dist']" build.xml""", 'build.xml', 'build_without_dist.xml', filename='build.xml') pom_editor_xml_test.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/build.xml': failed to load external entity "rpmbuild/BUILD/test-1/build.xml" src/lxml/parser.pxi:670: OSError ______________________ TestGeneric.test_remove_attribute _______________________ self = def test_remove_attribute(self): > return_value, stderr, report = exec_pom_macro_simple(\ """%pom_xpath_remove "jar/@basedir" build.xml""", 'build.xml', 'build_attr_removed.xml', filename='build.xml') pom_editor_xml_test.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/build.xml': failed to load external entity "rpmbuild/BUILD/test-1/build.xml" src/lxml/parser.pxi:670: OSError _____________________________ TestGeneric.test_set _____________________________ self = def test_set(self): > return_value, stderr, report = exec_pom_macro_simple(\ """%pom_xpath_set "target[@name='clean']" '' build.xml""", 'build.xml', 'build_set.xml', filename='build.xml') pom_editor_xml_test.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/build.xml': failed to load external entity "rpmbuild/BUILD/test-1/build.xml" src/lxml/parser.pxi:670: OSError ________________________ TestGeneric.test_set_attribute ________________________ self = def test_set_attribute(self): > return_value, stderr, report = exec_pom_macro_simple(\ """%pom_xpath_set "jar/@jarfile" '${dist}/other.jar' build.xml""", 'build.xml', 'build_attr.xml', filename='build.xml') pom_editor_xml_test.py:29: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/build.xml': failed to load external entity "rpmbuild/BUILD/test-1/build.xml" src/lxml/parser.pxi:670: OSError _____________________________ TestIvy.test_add_dep _____________________________ self = def test_add_dep(self): > return_value, stderr, report = exec_pom_macro_simple(\ """%pom_add_dep 'org.eclipse.jetty.orbit:javax.servlet:3.1:servlet->default:false' ' '""", 'simple_ivy.xml', 'simple_ivy_added_orbit.xml', filename='ivy.xml') pom_editor_xml_test.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/ivy.xml': failed to load external entity "rpmbuild/BUILD/test-1/ivy.xml" src/lxml/parser.pxi:670: OSError ___________________________ TestIvy.test_change_dep ____________________________ self = def test_change_dep(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep ':xercesImpl' ':xerces'", 'simple_ivy.xml', 'simple_ivy_xerces_aid.xml', filename='ivy.xml') pom_editor_xml_test.py:86: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/ivy.xml': failed to load external entity "rpmbuild/BUILD/test-1/ivy.xml" src/lxml/parser.pxi:670: OSError _____________________________ TestIvy.test_inject ______________________________ self = def test_inject(self): > return_value, stderr, report = exec_pom_macro_simple(\ """%pom_xpath_inject dependencies ' '""", 'simple_ivy.xml', 'simple_ivy_added_foo_bar.xml', filename='ivy.xml') pom_editor_xml_test.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/ivy.xml': failed to load external entity "rpmbuild/BUILD/test-1/ivy.xml" src/lxml/parser.pxi:670: OSError ___________________________ TestIvy.test_remove_dep ____________________________ self = def test_remove_dep(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_remove_dep 'xerces:'", 'simple_ivy.xml', 'simple_ivy_removed_xerces.xml', filename='ivy.xml') pom_editor_xml_test.py:79: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/ivy.xml': failed to load external entity "rpmbuild/BUILD/test-1/ivy.xml" src/lxml/parser.pxi:670: OSError ___________________________ TestIvy.test_remove_rev ____________________________ self = def test_remove_rev(self): > return_value, stderr, report = exec_pom_macro_simple(\ "%pom_change_dep ':nekohtml' '::-'", 'simple_ivy.xml', 'simple_ivy_remove_rev.xml', filename='ivy.xml') pom_editor_xml_test.py:93: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_common.py:380: in exec_pom_macro_simple return exec_pom_macro(line, {'': pom}, {'': want} if want else None, filename=filename) test_common.py:376: in exec_pom_macro reports.append(compare_xml_files(actual_pom, expected_pom)) xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test-1/ivy.xml': failed to load external entity "rpmbuild/BUILD/test-1/ivy.xml" src/lxml/parser.pxi:670: OSError __________________________ PomMacrosTest.test_add_dep __________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep.xml' pomname = 'pom_add_dep.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep-1/pom_add_dep.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.x72pID\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.IE7F5W\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ages-6.2.0/java-utils/pom_editor.py pom_add_dep gdep:adep:3.2:test pom_add_dep.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:164: in test_add_dep report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_dep-1/pom_add_dep.xml': failed to load external entity "rpmbuild/BUILD/test_add_dep-1/pom_add_dep.xml" src/lxml/parser.pxi:670: OSError _________________________ PomMacrosTest.test_add_dep2 __________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep2.xml' pomname = 'pom_add_dep2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep2-1/pom_add_dep2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.v7314d\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.V34Oqp\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...javapackages-6.2.0/java-utils/pom_editor.py pom_add_dep gdep:adep pom_add_dep2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:194: in test_add_dep2 report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_dep2-1/pom_add_dep2.xml': failed to load external entity "rpmbuild/BUILD/test_add_dep2-1/pom_add_dep2.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_add_dep_extra _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep_extra.xml' pomname = 'pom_add_dep_extra.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep_extra-1/pom_add_dep_extra.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.bEjxCG\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.lipXZt\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros.../pom_editor.py pom_add_dep foo:bar:1.2 pom_add_dep_extra.xml 'test'\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:172: in test_add_dep_extra report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_dep_extra-1/pom_add_dep_extra.xml': failed to load external entity "rpmbuild/BUILD/test_add_dep_extra-1/pom_add_dep_extra.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_add_dep_mgmt ________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep_mgmt.xml' pomname = 'pom_add_dep_mgmt.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep_mgmt-1/pom_add_dep_mgmt.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.yRdgOC\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.MrKA6F\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros.../java-utils/pom_editor.py pom_add_dep_mgmt gdep:adep:3.2:test pom_add_dep_mgmt.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:208: in test_add_dep_mgmt report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_dep_mgmt-1/pom_add_dep_mgmt.xml': failed to load external entity "rpmbuild/BUILD/test_add_dep_mgmt-1/pom_add_dep_mgmt.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_add_dep_mgmt2 _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep_mgmt2.xml' pomname = 'pom_add_dep_mgmt2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep_mgmt2-1/pom_add_dep_mgmt2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.s2TpQw\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.2WTgJM\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...es-6.2.0/java-utils/pom_editor.py pom_add_dep_mgmt gdep:adep pom_add_dep_mgmt2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:215: in test_add_dep_mgmt2 report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_dep_mgmt2-1/pom_add_dep_mgmt2.xml': failed to load external entity "rpmbuild/BUILD/test_add_dep_mgmt2-1/pom_add_dep_mgmt2.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_add_dep_mgmt_extra _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep_mgmt_extra.xml' pomname = 'pom_add_dep_mgmt_extra.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep_mgmt_extra-1/pom_add_dep_mgmt_extra.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.5UIuNj\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.kKOY1n\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...r.py pom_add_dep_mgmt foo:bar:1.2 pom_add_dep_mgmt_extra.xml 'test'\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:180: in test_add_dep_mgmt_extra report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_dep_mgmt_extra-1/pom_add_dep_mgmt_extra.xml': failed to load external entity "rpmbuild/BUILD/test_add_dep_mgmt_extra-1/pom_add_dep_mgmt_extra.xml" src/lxml/parser.pxi:670: OSError _____________________ PomMacrosTest.test_add_dep_mgmt_nons _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep_mgmt_nons.xml' pomname = 'pom_add_dep_mgmt_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep_mgmt_nons-1/pom_add_dep_mgmt_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.i2Jyk8\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.ju4FDb\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros....2.0/java-utils/pom_editor.py pom_add_dep_mgmt gdep:adep pom_add_dep_mgmt_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:222: in test_add_dep_mgmt_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_dep_mgmt_nons-1/pom_add_dep_mgmt_nons.xml': failed to load external entity "rpmbuild/BUILD/test_add_dep_mgmt_nons-1/pom_add_dep_mgmt_nons.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_add_dep_nons ________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep_nons.xml' pomname = 'pom_add_dep_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep_nons-1/pom_add_dep_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ehfiRh\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.ytRRy0\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...kages-6.2.0/java-utils/pom_editor.py pom_add_dep A:B::compile pom_add_dep_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:201: in test_add_dep_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_dep_nons-1/pom_add_dep_nons.xml': failed to load external entity "rpmbuild/BUILD/test_add_dep_nons-1/pom_add_dep_nons.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_add_dep_whitespace _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_dep_whitespace.xml' pomname = 'pom_add_dep_whitespace.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_dep_whitespace-1/pom_add_dep_whitespace.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.RflQFk\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.u7xWrW\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...java-utils/pom_editor.py pom_add_dep gdep:adep:3.2:test pom_add_dep_whitespace.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:187: in test_add_dep_whitespace got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_add_dep_whitespace-1/pom_add_dep_whitespace.xml' encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_add_dep_whitespace-1/pom_add_dep_whitespace.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError ________________________ PomMacrosTest.test_add_parent _________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_parent.xml' pomname = 'pom_add_parent.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_parent-1/pom_add_parent.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ttZYe1\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.XiyF7R\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...packages-6.2.0/java-utils/pom_editor.py pom_add_parent pg:pa:21 pom_add_parent.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:290: in test_add_parent report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_parent-1/pom_add_parent.xml': failed to load external entity "rpmbuild/BUILD/test_add_parent-1/pom_add_parent.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_add_parent_nons ______________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_parent_nons.xml' pomname = 'pom_add_parent_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_parent_nons-1/pom_add_parent_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.GFb2lM\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.4IYf9Z\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ckages-6.2.0/java-utils/pom_editor.py pom_add_parent pg:pa pom_add_parent_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:297: in test_add_parent_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_parent_nons-1/pom_add_parent_nons.xml': failed to load external entity "rpmbuild/BUILD/test_add_parent_nons-1/pom_add_parent_nons.xml" src/lxml/parser.pxi:670: OSError ________________________ PomMacrosTest.test_add_plugin _________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_plugin.xml' pomname = 'pom_add_plugin.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_plugin-1/pom_add_plugin.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.e7lA8o\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.uwywaq\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ges-6.2.0/java-utils/pom_editor.py pom_add_plugin plugin:plug:3 pom_add_plugin.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:229: in test_add_plugin report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_plugin-1/pom_add_plugin.xml': failed to load external entity "rpmbuild/BUILD/test_add_plugin-1/pom_add_plugin.xml" src/lxml/parser.pxi:670: OSError ________________________ PomMacrosTest.test_add_plugin2 ________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_plugin2.xml' pomname = 'pom_add_plugin2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_plugin2-1/pom_add_plugin2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.EisTD4\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.TyAnWm\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ckages-6.2.0/java-utils/pom_editor.py pom_add_plugin plug:plug pom_add_plugin2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:250: in test_add_plugin2 report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_plugin2-1/pom_add_plugin2.xml': failed to load external entity "rpmbuild/BUILD/test_add_plugin2-1/pom_add_plugin2.xml" src/lxml/parser.pxi:670: OSError __________________ PomMacrosTest.test_add_plugin_default_gid ___________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_plugin_default_gid.xml' pomname = 'pom_add_plugin_default_gid.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_plugin_default_gid-1/pom_add_plugin_default_gid.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.T4jCn8\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.ver9pN\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...-6.2.0/java-utils/pom_editor.py pom_add_plugin :A-A pom_add_plugin_default_gid.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:264: in test_add_plugin_default_gid report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_plugin_default_gid-1/pom_add_plugin_default_gid.xml': failed to load external entity "rpmbuild/BUILD/test_add_plugin_default_gid-1/pom_add_plugin_default_gid.xml" src/lxml/parser.pxi:670: OSError _____________________ PomMacrosTest.test_add_plugin_extra ______________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_plugin_extra.xml' pomname = 'pom_add_plugin_extra.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_plugin_extra-1/pom_add_plugin_extra.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.GPS6bq\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.lVykMn\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros... \n \n '\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:243: in test_add_plugin_extra report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_plugin_extra-1/pom_add_plugin_extra.xml': failed to load external entity "rpmbuild/BUILD/test_add_plugin_extra-1/pom_add_plugin_extra.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_add_plugin_nons ______________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_add_plugin_nons.xml' pomname = 'pom_add_plugin_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_add_plugin_nons-1/pom_add_plugin_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ZeqjIe\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.LkRBFj\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...kages-6.2.0/java-utils/pom_editor.py pom_add_plugin g:a:15 pom_add_plugin_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:257: in test_add_plugin_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_add_plugin_nons-1/pom_add_plugin_nons.xml': failed to load external entity "rpmbuild/BUILD/test_add_plugin_nons-1/pom_add_plugin_nons.xml" src/lxml/parser.pxi:670: OSError _____________________ PomMacrosTest.test_change_dep_nover ______________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_change_dep_nover.xml' pomname = 'pom_change_dep_nover.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_change_dep_nover-1/pom_change_dep_nover.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.PtW6tN\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.YRwwb4\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ls/pom_editor.py pom_change_dep : commons-nio:commons-nio pom_change_dep_nover.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:589: in test_change_dep_nover got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_change_dep_nover-1/pom_change_dep_nover.xml' encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_change_dep_nover-1/pom_change_dep_nover.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError ______________________ PomMacrosTest.test_disable_module _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_disable_module.xml' pomname = 'pom_disable_module.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_disable_module-1/pom_disable_module.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.5Un3uE\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.jscp5x\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...es-6.2.0/java-utils/pom_editor.py pom_disable_module module pom_disable_module.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:144: in test_disable_module report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_disable_module-1/pom_disable_module.xml': failed to load external entity "rpmbuild/BUILD/test_disable_module-1/pom_disable_module.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_disable_module_nons ____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_disable_module_nons.xml' pomname = 'pom_disable_module_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_disable_module_nons-1/pom_disable_module_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.lfJE8X\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.b30oL4\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...2.0/java-utils/pom_editor.py pom_disable_module module pom_disable_module_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:151: in test_disable_module_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_disable_module_nons-1/pom_disable_module_nons.xml': failed to load external entity "rpmbuild/BUILD/test_disable_module_nons-1/pom_disable_module_nons.xml" src/lxml/parser.pxi:670: OSError __________________ PomMacrosTest.test_keep_no_xml_declaration __________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_keep_no_xml_declaration.xml' pomname = 'pom_keep_no_xml_declaration.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_keep_no_xml_declaration-1/pom_keep_no_xml_declaration.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.GdwOxq\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.o1Y7Ra\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ditor.py pom_xpath_set pom:project/pom:version 2.7 pom_keep_no_xml_declaration.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:547: in test_keep_no_xml_declaration got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_keep_no_xml_declaration-1/pom_keep_no_xml_declaration.xml' encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_keep_no_xml_declaration-1/pom_keep_no_xml_declaration.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError ___________________ PomMacrosTest.test_keep_xml_declaration ____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_keep_xml_declaration.xml' pomname = 'pom_keep_xml_declaration.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_keep_xml_declaration-1/pom_keep_xml_declaration.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.JR2vDC\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.HcpQSQ\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...m_editor.py pom_xpath_set pom:project/pom:version 2.7 pom_keep_xml_declaration.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:540: in test_keep_xml_declaration got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_keep_xml_declaration-1/pom_keep_xml_declaration.xml' encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_keep_xml_declaration-1/pom_keep_xml_declaration.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError ________________________ PomMacrosTest.test_non_unicode ________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_non_unicode.xml' pomname = 'pom_non_unicode.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_non_unicode-1/pom_non_unicode.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.z5n6Ij\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.DqscKX\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...-utils/pom_editor.py pom_xpath_set pom:project/pom:version 2.7 pom_non_unicode.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:561: in test_non_unicode got, want = get_result_literally(pom_path, encoding='ISO-8859-1') _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_non_unicode-1/pom_non_unicode.xml' encoding = 'ISO-8859-1' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_non_unicode-1/pom_non_unicode.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError ________________________ PomMacrosTest.test_remove_dep _________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_dep.xml' pomname = 'pom_remove_dep.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_dep-1/pom_remove_dep.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.TZvVRm\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.RMFJjd\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...kages-6.2.0/java-utils/pom_editor.py pom_remove_dep :commons-io pom_remove_dep.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:83: in test_remove_dep report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_dep-1/pom_remove_dep.xml': failed to load external entity "rpmbuild/BUILD/test_remove_dep-1/pom_remove_dep.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_remove_dep_nons ______________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_dep_nons.xml' pomname = 'pom_remove_dep_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_dep_nons-1/pom_remove_dep_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.rEug5w\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.UMINTg\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...kages-6.2.0/java-utils/pom_editor.py pom_remove_dep junit: pom_remove_dep_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:105: in test_remove_dep_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_dep_nons-1/pom_remove_dep_nons.xml': failed to load external entity "rpmbuild/BUILD/test_remove_dep_nons-1/pom_remove_dep_nons.xml" src/lxml/parser.pxi:670: OSError ________________________ PomMacrosTest.test_remove_deps ________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_dep2.xml' pomname = 'pom_remove_dep2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_deps-1/pom_remove_dep2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.lTqg5y\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.V05Hwu\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros.../java-utils/pom_editor.py pom_remove_dep commons-io:commons-io pom_remove_dep2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:90: in test_remove_deps report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_deps-1/pom_remove_dep2.xml': failed to load external entity "rpmbuild/BUILD/test_remove_deps-1/pom_remove_dep2.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_remove_parent _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_parent.xml' pomname = 'pom_remove_parent.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_parent-1/pom_remove_parent.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ST2x02\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.0gow74\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...avapackages-6.2.0/java-utils/pom_editor.py pom_remove_parent pom_remove_parent.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:271: in test_remove_parent report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_parent-1/pom_remove_parent.xml': failed to load external entity "rpmbuild/BUILD/test_remove_parent-1/pom_remove_parent.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_remove_parent_nons _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_parent_nons.xml' pomname = 'pom_remove_parent_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_parent_nons-1/pom_remove_parent_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.9g8sYN\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.dXVEWE\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ckages-6.2.0/java-utils/pom_editor.py pom_remove_parent pom_remove_parent_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:278: in test_remove_parent_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_parent_nons-1/pom_remove_parent_nons.xml': failed to load external entity "rpmbuild/BUILD/test_remove_parent_nons-1/pom_remove_parent_nons.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_remove_plugin _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_plugin.xml' pomname = 'pom_remove_plugin.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_plugin-1/pom_remove_plugin.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.r1fHBv\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.f59jRG\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...-6.2.0/java-utils/pom_editor.py pom_remove_plugin :my-plugin pom_remove_plugin.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:117: in test_remove_plugin report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_plugin-1/pom_remove_plugin.xml': failed to load external entity "rpmbuild/BUILD/test_remove_plugin-1/pom_remove_plugin.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_remove_plugin_nons _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_plugin_nons.xml' pomname = 'pom_remove_plugin_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_plugin_nons-1/pom_remove_plugin_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ZTsi3F\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ng33e9\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...0/java-utils/pom_editor.py pom_remove_plugin :my-plugin pom_remove_plugin_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:132: in test_remove_plugin_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_plugin_nons-1/pom_remove_plugin_nons.xml': failed to load external entity "rpmbuild/BUILD/test_remove_plugin_nons-1/pom_remove_plugin_nons.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_remove_plugins _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_plugin2.xml' pomname = 'pom_remove_plugin2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_plugins-1/pom_remove_plugin2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.tTjNfx\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.JyMr81\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...va-utils/pom_editor.py pom_remove_plugin my.group:my-plugin pom_remove_plugin2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:125: in test_remove_plugins report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_plugins-1/pom_remove_plugin2.xml': failed to load external entity "rpmbuild/BUILD/test_remove_plugins-1/pom_remove_plugin2.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_remove_wildcard ______________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_remove_dep_wildcard.xml' pomname = 'pom_remove_dep_wildcard.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_remove_wildcard-1/pom_remove_dep_wildcard.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.gxNt1f\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.HXFvXM\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ckages-6.2.0/java-utils/pom_editor.py pom_remove_dep : pom_remove_dep_wildcard.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:97: in test_remove_wildcard report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_remove_wildcard-1/pom_remove_dep_wildcard.xml': failed to load external entity "rpmbuild/BUILD/test_remove_wildcard-1/pom_remove_dep_wildcard.xml" src/lxml/parser.pxi:670: OSError ________________________ PomMacrosTest.test_set_parent _________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_set_parent.xml' pomname = 'pom_set_parent.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_set_parent-1/pom_set_parent.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Fvwga4\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.wh2mW4\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...apackages-6.2.0/java-utils/pom_editor.py pom_set_parent pg:aa:5 pom_set_parent.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:304: in test_set_parent report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_set_parent-1/pom_set_parent.xml': failed to load external entity "rpmbuild/BUILD/test_set_parent-1/pom_set_parent.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_set_parent_nons ______________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_set_parent_nons.xml' pomname = 'pom_set_parent_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_set_parent_nons-1/pom_set_parent_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ysltjR\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.4XMiwF\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ckages-6.2.0/java-utils/pom_editor.py pom_set_parent pg:aa pom_set_parent_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:311: in test_set_parent_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_set_parent_nons-1/pom_set_parent_nons.xml': failed to load external entity "rpmbuild/BUILD/test_set_parent_nons-1/pom_set_parent_nons.xml" src/lxml/parser.pxi:670: OSError __________________________ PomMacrosTest.test_unicode __________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_unicode.xml' pomname = 'pom_unicode.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_unicode-1/pom_unicode.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.T64UvU\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.k8bgmw\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...java-utils/pom_editor.py pom_xpath_set pom:project/pom:version 2.7 pom_unicode.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:554: in test_unicode got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_unicode-1/pom_unicode.xml', encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_unicode-1/pom_unicode.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError _______________________ PomMacrosTest.test_xpath_inject ________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_inject.xml' pomname = 'pom_xpath_inject.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_inject-1/pom_xpath_inject.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.7lDnog\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.k6H7OF\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ditor.py pom_xpath_inject pom:parent '1.2' pom_xpath_inject.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:361: in test_xpath_inject report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_inject-1/pom_xpath_inject.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_inject-1/pom_xpath_inject.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_xpath_inject2 _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_inject2.xml' pomname = 'pom_xpath_inject2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_inject2-1/pom_xpath_inject2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Pm2pmg\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.cdjheR\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...pId>some plugin' pom_xpath_inject2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:397: in test_xpath_inject2 report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_inject2-1/pom_xpath_inject2.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_inject2-1/pom_xpath_inject2.xml" src/lxml/parser.pxi:670: OSError ___________________ PomMacrosTest.test_xpath_inject_multiple ___________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_inject_multiple.xml' pomname = 'pom_xpath_inject_multiple.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_inject_multiple-1/pom_xpath_inject_multiple.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.zm0EkW\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.JifzNC\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...ncies/pom:dependency 'test' pom_xpath_inject_multiple.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:370: in test_xpath_inject_multiple report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_inject_multiple-1/pom_xpath_inject_multiple.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_inject_multiple-1/pom_xpath_inject_multiple.xml" src/lxml/parser.pxi:670: OSError _____________________ PomMacrosTest.test_xpath_inject_nons _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_inject_nons.xml' pomname = 'pom_xpath_inject_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_inject_nons-1/pom_xpath_inject_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.wfQWxG\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.6nzNuL\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...pom_xpath_inject pom:project 'Commons Lang' pom_xpath_inject_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:405: in test_xpath_inject_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_inject_nons-1/pom_xpath_inject_nons.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_inject_nons-1/pom_xpath_inject_nons.xml" src/lxml/parser.pxi:670: OSError __________________ PomMacrosTest.test_xpath_inject_whitespace __________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_inject_whitespace.xml' pomname = 'pom_xpath_inject_whitespace.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_inject_whitespace-1/pom_xpath_inject_whitespace.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.N9x95D\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.J6Xs0D\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...m_xpath_inject pom:parent '1.2' pom_xpath_inject_whitespace.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:378: in test_xpath_inject_whitespace got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_xpath_inject_whitespace-1/pom_xpath_inject_whitespace.xml' encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_xpath_inject_whitespace-1/pom_xpath_inject_whitespace.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError _________________ PomMacrosTest.test_xpath_inject_whitespace1 __________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_inject_whitespace1.xml' pomname = 'pom_xpath_inject_whitespace1.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_inject_whitespace1-1/pom_xpath_inject_whitespace1.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.7SREC1\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.hMBuiD\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros..._xpath_inject pom:parent '1.2' pom_xpath_inject_whitespace1.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:387: in test_xpath_inject_whitespace1 got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_xpath_inject_whitespace1-1/pom_xpath_inject_whitespace1.xml' encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_xpath_inject_whitespace1-1/pom_xpath_inject_whitespace1.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError _______________________ PomMacrosTest.test_xpath_remove ________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_remove.xml' pomname = 'pom_xpath_remove.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_remove-1/pom_xpath_remove.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.6EukCY\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.we6nNu\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...6.2.0/java-utils/pom_editor.py pom_xpath_remove pom:maven-old pom_xpath_remove.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:323: in test_xpath_remove report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_remove-1/pom_xpath_remove.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_remove-1/pom_xpath_remove.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_xpath_remove2 _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_remove2.xml' pomname = 'pom_xpath_remove2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_remove2-1/pom_xpath_remove2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.687ZsN\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.EdvfgE\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...emove 'pom:dependency[pom:artifactId[text()='\\''m-m'\\'']]' pom_xpath_remove2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:339: in test_xpath_remove2 report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_remove2-1/pom_xpath_remove2.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_remove2-1/pom_xpath_remove2.xml" src/lxml/parser.pxi:670: OSError ___________________ PomMacrosTest.test_xpath_remove_generic ____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_remove_generic.xml' pomname = 'pom_xpath_remove_generic.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_remove_generic-1/pom_xpath_remove_generic.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.fBhqq2\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.pKTbPZ\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...s/pom_editor.py pom_xpath_remove 'pom:modules/node()' pom_xpath_remove_generic.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:330: in test_xpath_remove_generic report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_remove_generic-1/pom_xpath_remove_generic.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_remove_generic-1/pom_xpath_remove_generic.xml" src/lxml/parser.pxi:670: OSError _____________________ PomMacrosTest.test_xpath_remove_nons _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_remove_nons.xml' pomname = 'pom_xpath_remove_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_remove_nons-1/pom_xpath_remove_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.JknI0n\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.a73DMf\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...va-utils/pom_editor.py pom_xpath_remove pom:dependencies pom_xpath_remove_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:347: in test_xpath_remove_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_remove_nons-1/pom_xpath_remove_nons.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_remove_nons-1/pom_xpath_remove_nons.xml" src/lxml/parser.pxi:670: OSError _______________________ PomMacrosTest.test_xpath_replace _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_replace.xml' pomname = 'pom_xpath_replace.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_replace-1/pom_xpath_replace.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.KawabY\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.bZ7PIa\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros..._replace pom:parent/pom:groupId 'commons' pom_xpath_replace.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:421: in test_xpath_replace report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_replace-1/pom_xpath_replace.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_replace-1/pom_xpath_replace.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_xpath_replace2 _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_replace2.xml' pomname = 'pom_xpath_replace2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_replace2-1/pom_xpath_replace2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.1hpqlu\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.0GzBqH\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...'\\''junit'\\'']]/pom:version' 'commons' pom_xpath_replace2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:464: in test_xpath_replace2 report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_replace2-1/pom_xpath_replace2.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_replace2-1/pom_xpath_replace2.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_xpath_replace_fail _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_replace_fail.xml' pomname = 'pom_xpath_replace_fail.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_replace_fail-1/pom_xpath_replace_fail.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ey5yVE\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.McsoR8\n\nRPM build errors:\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...rror: Bad exit status from /var/tmp/rpm-tmp.McsoR8 (%prep)\n Bad exit status from /var/tmp/rpm-tmp.McsoR8 (%prep)\n' return_value = 1 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:483: in test_xpath_replace_fail report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_replace_fail-1/pom_xpath_replace_fail.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_replace_fail-1/pom_xpath_replace_fail.xml" src/lxml/parser.pxi:670: OSError __________________ PomMacrosTest.test_xpath_replace_multiple ___________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_replace_multiple.xml' pomname = 'pom_xpath_replace_multiple.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_replace_multiple-1/pom_xpath_replace_multiple.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.P9oyOa\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.GFx6ig\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...//pom:dependency/pom:groupId 'a' pom_xpath_replace_multiple.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:438: in test_xpath_replace_multiple report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_replace_multiple-1/pom_xpath_replace_multiple.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_replace_multiple-1/pom_xpath_replace_multiple.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_xpath_replace_nons _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_replace_nons.xml' pomname = 'pom_xpath_replace_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_replace_nons-1/pom_xpath_replace_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.pxqd6f\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.pxe4je\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...lace pom:parent 'org.apache.commons' pom_xpath_replace_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:473: in test_xpath_replace_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_replace_nons-1/pom_xpath_replace_nons.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_replace_nons-1/pom_xpath_replace_nons.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_xpath_replace_text _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_replace_text.xml' pomname = 'pom_xpath_replace_text.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_replace_text-1/pom_xpath_replace_text.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.zj3E5f\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.waJFkU\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...m_xpath_replace 'pom:parent/pom:groupId/text()' commons pom_xpath_replace_text.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:429: in test_xpath_replace_text got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_xpath_replace_text-1/pom_xpath_replace_text.xml' encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_xpath_replace_text-1/pom_xpath_replace_text.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError _________________ PomMacrosTest.test_xpath_replace_whitespace __________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_replace_whitespace.xml' pomname = 'pom_xpath_replace_whitespace.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_replace_whitespace-1/pom_xpath_replace_whitespace.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.xpqhwL\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.mTrwLm\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...m:parent/pom:groupId 'commons' pom_xpath_replace_whitespace.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:455: in test_xpath_replace_whitespace got, want = get_result_literally(pom_path) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pom_path = 'rpmbuild/BUILD/test_xpath_replace_whitespace-1/pom_xpath_replace_whitespace.xml' encoding = 'UTF-8' def get_result_literally(pom_path, encoding='UTF-8'): > with io.open(pom_path, 'r', encoding=encoding) as gotfile: E FileNotFoundError: [Errno 2] No such file or directory: 'rpmbuild/BUILD/test_xpath_replace_whitespace-1/pom_xpath_replace_whitespace.xml' /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:41: FileNotFoundError _________________________ PomMacrosTest.test_xpath_set _________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_set.xml' pomname = 'pom_xpath_set.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_set-1/pom_xpath_set.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ZedYpf\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.B4vDdc\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...tils/pom_editor.py pom_xpath_set pom:project/pom:groupId commons pom_xpath_set.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:499: in test_xpath_set report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_set-1/pom_xpath_set.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_set-1/pom_xpath_set.xml" src/lxml/parser.pxi:670: OSError ________________________ PomMacrosTest.test_xpath_set2 _________________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_set2.xml' pomname = 'pom_xpath_set2.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_set2-1/pom_xpath_set2.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.IzAdqs\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.m1unJF\n' stderr = "+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...om:groupId [text()='\\''org.codehaus.mojo'\\'']]/pom:version' 2 pom_xpath_set2.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n" return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:516: in test_xpath_set2 report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_set2-1/pom_xpath_set2.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_set2-1/pom_xpath_set2.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_xpath_set_fail _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_set_fail.xml' pomname = 'pom_xpath_set_fail.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_set_fail-1/pom_xpath_set_fail.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.HkZqcQ\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.vpPsPD\n\nRPM build errors:\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...rror: Bad exit status from /var/tmp/rpm-tmp.vpPsPD (%prep)\n Bad exit status from /var/tmp/rpm-tmp.vpPsPD (%prep)\n' return_value = 1 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:533: in test_xpath_set_fail report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_set_fail-1/pom_xpath_set_fail.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_set_fail-1/pom_xpath_set_fail.xml" src/lxml/parser.pxi:670: OSError ____________________ PomMacrosTest.test_xpath_set_multiple _____________________ self = args = (), kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_set_multiple.xml' pomname = 'pom_xpath_set_multiple.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_set_multiple-1/pom_xpath_set_multiple.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.x6ZCpT\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.OjlaR6\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros...a-utils/pom_editor.py pom_xpath_set pom:groupId commons pom_xpath_set_multiple.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:507: in test_xpath_set_multiple report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_set_multiple-1/pom_xpath_set_multiple.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_set_multiple-1/pom_xpath_set_multiple.xml" src/lxml/parser.pxi:670: OSError ______________________ PomMacrosTest.test_xpath_set_nons _______________________ self = , args = () kwargs = {} pompath = '/home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros/../pom_macros_workdir/pom_xpath_set_nons.xml' pomname = 'pom_xpath_set_nons.xml' package = pomsourcepath = 'rpmbuild/BUILD/test_xpath_set_nons-1/pom_xpath_set_nons.xml' stdin = 'Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.jUVIVz\nExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.HJQfFg\n' stderr = '+ umask 022\n+ cd /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/data/pom_macros.../pom_editor.py pom_xpath_set pom:parent/pom:artifactId a-Id pom_xpath_set_nons.xml\n+ RPM_EC=0\n++ jobs -p\n+ exit 0\n' return_value = 0 def test_decorated(self, *args, **kwargs): pompath = os.path.join(WORKDIR, pom) pomname = os.path.basename(pom) package = Package(function.__name__) package.add_source(pompath) pomsourcepath = os.path.join(package.buildpath, pomname) package.append_to_prep('%{command} {pom} {tail}'.format(command=command, pom=pomname, tail=tail)) stdin, stderr, return_value = package.run_prep() > function(self, stdin, stderr, return_value, pomsourcepath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:524: in test_xpath_set_nons report, res = check_result(pom_path) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/pom_macros_test.py:36: in check_result report = compare_xml_files(pom_path, wantpath) /home/pterjan/rpmbuild/BUILD/javapackages-tools-6.2.0-build/javapackages-6.2.0/test/xml_compare.py:16: in compare_xml_files return compare_lxml_etree(etree.parse(file1).getroot(), src/lxml/etree.pyx:3589: in lxml.etree.parse ??? src/lxml/parser.pxi:1958: in lxml.etree._parseDocument ??? src/lxml/parser.pxi:1984: in lxml.etree._parseDocumentFromURL ??? src/lxml/parser.pxi:1887: in lxml.etree._parseDocFromFile ??? src/lxml/parser.pxi:1200: in lxml.etree._BaseParser._parseDocFromFile ??? src/lxml/parser.pxi:633: in lxml.etree._ParserContext._handleParseResultDoc ??? src/lxml/parser.pxi:743: in lxml.etree._handleParseResult ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: Error reading file 'rpmbuild/BUILD/test_xpath_set_nons-1/pom_xpath_set_nons.xml': failed to load external entity "rpmbuild/BUILD/test_xpath_set_nons-1/pom_xpath_set_nons.xml" src/lxml/parser.pxi:670: OSError =========================== short test summary info ============================ FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_alias_backref - FileNotFou... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_build_bootstrap - FileNotF... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_build_environment - FileNo... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_build_no_args - FileNotFou... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_build_pass_args - FileNotF... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_build_singleton - FileNotF... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_build_skip_javadoc - FileN... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_build_skip_test - FileNotF... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_compat_version_simple - Fi... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_config_multiline - FileNot... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_config_path - FileNotFound... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_file_simple - FileNotFound... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_file_symlinks - FileNotFou... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_install - FileNotFoundErro... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_install_debug - FileNotFou... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_install_directory - FileNo... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_package_simple - FileNotFo... FAILED mvn_macros_test.py::MvnMacrosTest::test_mvn_package_single - FileNotFo... FAILED pom_editor_artifact_test.py::TestPomArtifact::test_aid - OSError: Erro... FAILED pom_editor_artifact_test.py::TestPomArtifact::test_all - OSError: Erro... FAILED pom_editor_artifact_test.py::TestPomArtifact::test_classifier - OSErro... FAILED pom_editor_artifact_test.py::TestPomArtifact::test_gid1 - OSError: Err... FAILED pom_editor_artifact_test.py::TestPomArtifact::test_gid2 - OSError: Err... FAILED pom_editor_artifact_test.py::TestPomArtifact::test_scope - OSError: Er... FAILED pom_editor_artifact_test.py::TestPomArtifact::test_version - OSError: ... FAILED pom_editor_artifact_test.py::TestPomChange::test_change_simple - OSErr... FAILED pom_editor_artifact_test.py::TestPomChange::test_copy_aid1 - OSError: ... FAILED pom_editor_artifact_test.py::TestPomChange::test_copy_aid2 - OSError: ... FAILED pom_editor_artifact_test.py::TestPomChange::test_copy_gid - OSError: E... FAILED pom_editor_artifact_test.py::TestPomChange::test_extra_xml - OSError: ... FAILED pom_editor_artifact_test.py::TestPomChange::test_keep_classifier - OSE... FAILED pom_editor_artifact_test.py::TestPomChange::test_keep_optional - OSErr... FAILED pom_editor_artifact_test.py::TestPomChange::test_remove_scope - OSErro... FAILED pom_editor_modules_test.py::TestPomXpathDisable::test_disable_by_aid FAILED pom_editor_modules_test.py::TestPomXpathDisable::test_skip_level - OSE... FAILED pom_editor_modules_test.py::TestPomXpathDisable::test_two_levels - OSE... FAILED pom_editor_paths_test.py::TestPomPath::test_default - OSError: Error r... FAILED pom_editor_paths_test.py::TestPomPath::test_explicit - OSError: Error ... FAILED pom_editor_paths_test.py::TestPomPath::test_sanity - OSError: Error re... FAILED pom_editor_paths_test.py::TestPomPath::test_submodule_default - OSErro... FAILED pom_editor_paths_test.py::TestPomPath::test_submodule_explicit - OSErr... FAILED pom_editor_paths_test.py::TestPomPath::test_submodule_more_levels - OS... FAILED pom_editor_paths_test.py::TestMorePoms::test_many_submodules - OSError... FAILED pom_editor_paths_test.py::TestMorePoms::test_submodules_default - OSEr... FAILED pom_editor_paths_test.py::TestMorePoms::test_submodules_different_levels FAILED pom_editor_paths_test.py::TestMorePoms::test_submodules_partial_match_force FAILED pom_editor_paths_test.py::TestRecursive::test_default_recursive1 - OSE... FAILED pom_editor_paths_test.py::TestRecursive::test_default_recursive2 - OSE... FAILED pom_editor_paths_test.py::TestRecursive::test_default_recursive_profile FAILED pom_editor_paths_test.py::TestRecursive::test_recursive_multiple - OSE... FAILED pom_editor_paths_test.py::TestRecursive::test_recursive_partial_match_forced FAILED pom_editor_paths_test.py::TestRecursive::test_recursive_plugin_with_module FAILED pom_editor_paths_test.py::TestRecursive::test_recursive_subpom - OSErr... FAILED pom_editor_paths_test.py::TestAttributeRecognition::test_default_extra_xml FAILED pom_editor_paths_test.py::TestAttributeRecognition::test_dep_mgmt_extra_xml FAILED pom_editor_paths_test.py::TestAttributeRecognition::test_explicit_extra_xml FAILED pom_editor_paths_test.py::TestAttributeRecognition::test_plugin_extra_xml FAILED pom_editor_paths_test.py::TestAttributeRecognition::test_submodule_extra_xml FAILED pom_editor_paths_test.py::TestAttributeRecognition::test_submodules_extra_xml FAILED pom_editor_xml_test.py::TestGeneric::test_inject - OSError: Error read... FAILED pom_editor_xml_test.py::TestGeneric::test_namespace - OSError: Error r... FAILED pom_editor_xml_test.py::TestGeneric::test_remove - OSError: Error read... FAILED pom_editor_xml_test.py::TestGeneric::test_remove_attribute - OSError: ... FAILED pom_editor_xml_test.py::TestGeneric::test_set - OSError: Error reading... FAILED pom_editor_xml_test.py::TestGeneric::test_set_attribute - OSError: Err... FAILED pom_editor_xml_test.py::TestIvy::test_add_dep - OSError: Error reading... FAILED pom_editor_xml_test.py::TestIvy::test_change_dep - OSError: Error read... FAILED pom_editor_xml_test.py::TestIvy::test_inject - OSError: Error reading ... FAILED pom_editor_xml_test.py::TestIvy::test_remove_dep - OSError: Error read... FAILED pom_editor_xml_test.py::TestIvy::test_remove_rev - OSError: Error read... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep - OSError: Error readi... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep2 - OSError: Error read... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep_extra - OSError: Error... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep_mgmt - OSError: Error ... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep_mgmt2 - OSError: Error... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep_mgmt_extra - OSError: ... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep_mgmt_nons - OSError: E... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep_nons - OSError: Error ... FAILED pom_macros_test.py::PomMacrosTest::test_add_dep_whitespace - FileNotFo... FAILED pom_macros_test.py::PomMacrosTest::test_add_parent - OSError: Error re... FAILED pom_macros_test.py::PomMacrosTest::test_add_parent_nons - OSError: Err... FAILED pom_macros_test.py::PomMacrosTest::test_add_plugin - OSError: Error re... FAILED pom_macros_test.py::PomMacrosTest::test_add_plugin2 - OSError: Error r... FAILED pom_macros_test.py::PomMacrosTest::test_add_plugin_default_gid - OSErr... FAILED pom_macros_test.py::PomMacrosTest::test_add_plugin_extra - OSError: Er... FAILED pom_macros_test.py::PomMacrosTest::test_add_plugin_nons - OSError: Err... FAILED pom_macros_test.py::PomMacrosTest::test_change_dep_nover - FileNotFoun... FAILED pom_macros_test.py::PomMacrosTest::test_disable_module - OSError: Erro... FAILED pom_macros_test.py::PomMacrosTest::test_disable_module_nons - OSError:... FAILED pom_macros_test.py::PomMacrosTest::test_keep_no_xml_declaration - File... FAILED pom_macros_test.py::PomMacrosTest::test_keep_xml_declaration - FileNot... FAILED pom_macros_test.py::PomMacrosTest::test_non_unicode - FileNotFoundErro... FAILED pom_macros_test.py::PomMacrosTest::test_remove_dep - OSError: Error re... FAILED pom_macros_test.py::PomMacrosTest::test_remove_dep_nons - OSError: Err... FAILED pom_macros_test.py::PomMacrosTest::test_remove_deps - OSError: Error r... FAILED pom_macros_test.py::PomMacrosTest::test_remove_parent - OSError: Error... FAILED pom_macros_test.py::PomMacrosTest::test_remove_parent_nons - OSError: ... FAILED pom_macros_test.py::PomMacrosTest::test_remove_plugin - OSError: Error... FAILED pom_macros_test.py::PomMacrosTest::test_remove_plugin_nons - OSError: ... FAILED pom_macros_test.py::PomMacrosTest::test_remove_plugins - OSError: Erro... FAILED pom_macros_test.py::PomMacrosTest::test_remove_wildcard - OSError: Err... FAILED pom_macros_test.py::PomMacrosTest::test_set_parent - OSError: Error re... FAILED pom_macros_test.py::PomMacrosTest::test_set_parent_nons - OSError: Err... FAILED pom_macros_test.py::PomMacrosTest::test_unicode - FileNotFoundError: [... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_inject - OSError: Error ... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_inject2 - OSError: Error... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_inject_multiple - OSErro... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_inject_nons - OSError: E... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_inject_whitespace - File... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_inject_whitespace1 - Fil... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_remove - OSError: Error ... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_remove2 - OSError: Error... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_remove_generic - OSError... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_remove_nons - OSError: E... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_replace - OSError: Error... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_replace2 - OSError: Erro... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_replace_fail - OSError: ... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_replace_multiple - OSErr... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_replace_nons - OSError: ... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_replace_text - FileNotFo... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_replace_whitespace - Fil... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_set - OSError: Error rea... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_set2 - OSError: Error re... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_set_fail - OSError: Erro... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_set_multiple - OSError: ... FAILED pom_macros_test.py::PomMacrosTest::test_xpath_set_nons - OSError: Erro... ================== 126 failed, 318 passed in 62.57s (0:01:02) ================== error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.TuCwBm (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.TuCwBm (%check) I: [iurt_root_command] ERROR: chroot