Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-engine.spec'], chrootPath='/var/lib/mock/dist-an23-build-276502-64365/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-engine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1685577600 Wrote: /builddir/build/SRPMS/dsms-engine-1.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-engine.spec'], chrootPath='/var/lib/mock/dist-an23-build-276502-64365/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-engine.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1685577600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RwhNJd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dsms-engine-v1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dsms-engine-v1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dsms-engine-v1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + tar -xf /builddir/build/SOURCES/repository.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VXvstR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC build dsms-engine ... + CXX=g++ + export CXX + cd dsms-engine-v1.0 + echo 'build dsms-engine ...' + echo + export JAVA_HOME=/usr/lib/jvm/jre-11 + JAVA_HOME=/usr/lib/jvm/jre-11 + mvn --version SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/share/maven/lib/maven-slf4j-provider-3.8.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/maven/lib/slf4j-api-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/maven/lib/jcl-over-slf4j-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory] SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/share/maven/lib/maven-slf4j-provider-3.8.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/maven/lib/slf4j-api-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/maven/lib/jcl-over-slf4j-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory] Apache Maven 3.8.5 (Red Hat 3.8.5-1) Maven home: /usr/share/maven Java version: 11.0.17.13, vendor: Alibaba, runtime: /usr/lib/jvm/java-11-alibaba-dragonwell-11.0.17.13.8-3.an23.aarch64 Default locale: en_US, platform encoding: ANSI_X3.4-1968 OS name: "linux", version: "4.18.0-305.17.1.el8_4.aarch64", arch: "aarch64", family: "unix" + mvn -o clean package -DskipTests -Dmaven.repo.local=../repository SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/share/maven/lib/maven-slf4j-provider-3.8.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/maven/lib/slf4j-api-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/maven/lib/jcl-over-slf4j-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory] SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/share/maven/lib/maven-slf4j-provider-3.8.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/maven/lib/slf4j-api-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/share/maven/lib/jcl-over-slf4j-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.MavenSimpleLoggerFactory] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] dsms-engine [pom] [INFO] dsms-engine-common [jar] [INFO] dsms-engine-dfsbroker [jar] [INFO] dsms-engine-application [jar] [INFO] [INFO] ------------------------< com.dsms:dsms-engine >------------------------ [INFO] Building dsms-engine 1.0.0-SNAPSHOT [1/4] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ dsms-engine --- [INFO] [INFO] --------------------< com.dsms:dsms-engine-common >--------------------- [INFO] Building dsms-engine-common 1.0.0-SNAPSHOT [2/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ dsms-engine-common --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ dsms-engine-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/src/main/resources [INFO] skip non existing resourceDirectory /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ dsms-engine-common --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 100 source files to /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/target/classes [INFO] /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/src/main/java/com/dsms/common/config/RedisConfig.java: /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/src/main/java/com/dsms/common/config/RedisConfig.java uses or overrides a deprecated API. [INFO] /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/src/main/java/com/dsms/common/config/RedisConfig.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/src/main/java/com/dsms/common/config/RedisConfig.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/src/main/java/com/dsms/common/config/RedisConfig.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ dsms-engine-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ dsms-engine-common --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ dsms-engine-common --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ dsms-engine-common --- [INFO] Building jar: /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-common/target/dsms-engine-common-1.0.0-SNAPSHOT.jar [INFO] [INFO] -------------------< com.dsms:dsms-engine-dfsbroker >------------------- [INFO] Building dsms-engine-dfsbroker 1.0.0-SNAPSHOT [3/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ dsms-engine-dfsbroker --- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ dsms-engine-dfsbroker --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/main/resources [INFO] skip non existing resourceDirectory /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ dsms-engine-dfsbroker --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 114 source files to /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/target/classes [INFO] /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/main/java/com/dsms/dfsbroker/rbd/service/RbdExt.java: /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/main/java/com/dsms/dfsbroker/rbd/service/RbdExt.java uses or overrides a deprecated API. [INFO] /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/main/java/com/dsms/dfsbroker/rbd/service/RbdExt.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/main/java/com/dsms/dfsbroker/common/api/CommonApi.java: /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/main/java/com/dsms/dfsbroker/common/api/CommonApi.java uses unchecked or unsafe operations. [INFO] /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/main/java/com/dsms/dfsbroker/common/api/CommonApi.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ dsms-engine-dfsbroker --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ dsms-engine-dfsbroker --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ dsms-engine-dfsbroker --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ dsms-engine-dfsbroker --- [INFO] Building jar: /builddir/build/BUILD/dsms-engine-v1.0/dsms-engine-dfsbroker/target/dsms-engine-dfsbroker-1.0.0-SNAPSHOT.jar [INFO] [INFO] ------------------< com.dsms:dsms-engine-application >------------------ [INFO] Building dsms-engine-application 1.0.0-SNAPSHOT [4/4] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ dsms-engine-application --- [INFO] [INFO] --- maven-resources-plugin:3.3.0:copy-resources (copy-resources) @ dsms-engine-application --- [INFO] Copying 1 resource [INFO] [INFO] --- git-commit-id-plugin:4.9.10:revision (default) @ dsms-engine-application --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for dsms-engine 1.0.0-SNAPSHOT: [INFO] [INFO] dsms-engine ........................................ SUCCESS [ 0.107 s] [INFO] dsms-engine-common ................................. SUCCESS [ 3.862 s] [INFO] dsms-engine-dfsbroker .............................. SUCCESS [ 2.228 s] [INFO] dsms-engine-application ............................ FAILURE [ 0.137 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.534 s [INFO] Finished at: 2023-06-19T20:33:17+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:4.9.10:revision (default) on project dsms-engine-application: .git directory is not found! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :dsms-engine-application error: Bad exit status from /var/tmp/rpm-tmp.VXvstR (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VXvstR (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-engine.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-engine.spec