Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/prometheus-jmx-exporter.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1644126295.717823/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9139qsc7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9139qsc7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f2e1147d6e2948dda6b77e07b55f7cbf', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1644126295.717823/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9139qsc7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/prometheus-jmx-exporter.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1644019200 Wrote: /builddir/build/SRPMS/prometheus-jmx-exporter-0.16.1-4.fc36.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/prometheus-jmx-exporter.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1644126295.717823/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9139qsc7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9139qsc7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2770acdf3f5c4c1fb3b75029fee70bd0', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1644126295.717823/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.9139qsc7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/prometheus-jmx-exporter.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1644019200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vKf9d0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jmx_exporter-parent-0.16.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/parent-0.16.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jmx_exporter-parent-0.16.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (properly_rewrite_namespace.patch):' Patch #1 (properly_rewrite_namespace.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p2 --fuzz=0 patching file jmx_prometheus_javaagent/pom.xml patching file jmx_prometheus_javaagent_java6/pom.xml Patch #2 (0001-Fix-CVE-2017-18640-and-add-a-test.patch): + echo 'Patch #2 (0001-Fix-CVE-2017-18640-and-add-a-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file collector/pom.xml patching file collector/src/main/java/io/prometheus/jmx/JmxCollector.java patching file collector/src/test/java/io/prometheus/jmx/JmxCollectorTest.java patching file collector/src/test/resources/testyaml.config + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.vafer:jdeb jmx_prometheus_httpserver + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-enforcer-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-failsafe-plugin jmx_prometheus_javaagent_java6 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin org.codehaus.mojo:build-helper-maven-plugin jmx_prometheus_javaagent_java6 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module integration_tests + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-compiler-plugin'\'']/pom:configuration/pom:source' 1.8 pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-compiler-plugin'\'']/pom:configuration/pom:target' 1.8 pom.xml + /usr/bin/python3 /usr/share/java-utils/mvn_package.py io.prometheus.jmx:jmx_prometheus_httpserver __noinstall + /usr/bin/python3 /usr/share/java-utils/mvn_package.py io.prometheus.jmx:parent __noinstall + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9hc3Bw + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/jmx_exporter-parent-0.16.1/.package_note-prometheus-jmx-exporter-0.16.1-4.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh prometheus-jmx-exporter 0.16.1-4.fc36 x86_64 + cd jmx_exporter-parent-0.16.1 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -j Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Prometheus JMX Exporter [pom] [INFO] Prometheus JMX Exporter - Collector [jar] [INFO] Prometheus JMX Exporter - Http Server [jar] [INFO] Prometheus JMX Exporter - Java Agent for Java 6 [jar] [INFO] Prometheus JMX Exporter - Java Agent [jar] [INFO] [INFO] ----------------------< io.prometheus.jmx:parent >---------------------- [INFO] Building Prometheus JMX Exporter 0.16.1 [1/5] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --------------------< io.prometheus.jmx:collector >--------------------- [INFO] Building Prometheus JMX Exporter - Collector 0.16.1 [2/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ collector --- [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/jmx_exporter-parent-0.16.1/collector/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ collector --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 7 source files to /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/target/classes [INFO] /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/src/main/java/io/prometheus/jmx/JmxCollector.java: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/src/main/java/io/prometheus/jmx/JmxCollector.java uses unchecked or unsafe operations. [INFO] /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/src/main/java/io/prometheus/jmx/JmxCollector.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ collector --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ collector --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 13 source files to /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/target/test-classes [INFO] /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/src/test/java/io/prometheus/jmx/HadoopDataNodeMXBean.java: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/src/test/java/io/prometheus/jmx/HadoopDataNodeMXBean.java uses or overrides a deprecated API that is marked for removal. [INFO] /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/src/test/java/io/prometheus/jmx/HadoopDataNodeMXBean.java: Recompile with -Xlint:removal for details. [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ collector --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running io.prometheus.jmx.BuildInfoCollectorTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 s - in io.prometheus.jmx.BuildInfoCollectorTest [INFO] Running io.prometheus.jmx.SnakeCaseAttrTest [INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s - in io.prometheus.jmx.SnakeCaseAttrTest [INFO] Running io.prometheus.jmx.TomcatPatternCheckTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in io.prometheus.jmx.TomcatPatternCheckTest [INFO] Running io.prometheus.jmx.SafeNameTest [INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in io.prometheus.jmx.SafeNameTest [INFO] Running io.prometheus.jmx.JmxCollectorTest YAML configuration error: Number of aliases for non-scalar nodes exceeds the specified max=50 [INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.383 s - in io.prometheus.jmx.JmxCollectorTest [INFO] Running io.prometheus.jmx.JmxMBeanPropertyCacheTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in io.prometheus.jmx.JmxMBeanPropertyCacheTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 80, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ collector --- [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/collector/target/collector-0.16.1.jar [INFO] [INFO] ------------< io.prometheus.jmx:jmx_prometheus_httpserver >------------- [INFO] Building Prometheus JMX Exporter - Http Server 0.16.1 [3/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ jmx_prometheus_httpserver --- [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/jmx_exporter-parent-0.16.1/jmx_prometheus_httpserver/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jmx_prometheus_httpserver --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_httpserver/target/classes [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ jmx_prometheus_httpserver --- [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/jmx_exporter-parent-0.16.1/jmx_prometheus_httpserver/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jmx_prometheus_httpserver --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ jmx_prometheus_httpserver --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ jmx_prometheus_httpserver --- [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_httpserver/target/jmx_prometheus_httpserver-0.16.1.jar [INFO] [INFO] --- maven-assembly-plugin:3.3.0:single (make-assembly) @ jmx_prometheus_httpserver --- [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_httpserver/target/jmx_prometheus_httpserver-0.16.1-jar-with-dependencies.jar [INFO] [INFO] ----------< io.prometheus.jmx:jmx_prometheus_javaagent_java6 >---------- [INFO] Building Prometheus JMX Exporter - Java Agent for Java 6 0.16.1 [4/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ jmx_prometheus_javaagent_java6 --- [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/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent_java6/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jmx_prometheus_javaagent_java6 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 1 source file to /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent_java6/target/classes [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ jmx_prometheus_javaagent_java6 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jmx_prometheus_javaagent_java6 --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent_java6/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ jmx_prometheus_javaagent_java6 --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running io.prometheus.jmx.TestJavaAgent [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 s - in io.prometheus.jmx.TestJavaAgent [INFO] [INFO] Results: [INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ jmx_prometheus_javaagent_java6 --- [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent_java6/target/jmx_prometheus_javaagent_java6-0.16.1.jar [INFO] [INFO] --- maven-shade-plugin:3.2.4:shade (default) @ jmx_prometheus_javaagent_java6 --- [INFO] Including io.prometheus.jmx:collector:jar:0.16.1 in the shaded jar. [INFO] Including io.prometheus:simpleclient:jar:0.11.0 in the shaded jar. [INFO] Including io.prometheus:simpleclient_tracer_common:jar:0.12.0 in the shaded jar. [INFO] Including org.yaml:snakeyaml:jar:1.26 in the shaded jar. [INFO] Including commons-codec:commons-codec:jar:any in the shaded jar. [INFO] Including io.prometheus:simpleclient_hotspot:jar:0.11.0 in the shaded jar. [INFO] Including io.prometheus:simpleclient_httpserver:jar:0.11.0 in the shaded jar. [INFO] Including io.prometheus:simpleclient_common:jar:0.12.0 in the shaded jar. [INFO] Minimizing jar io.prometheus.jmx:jmx_prometheus_javaagent_java6:jar:0.16.1 [WARNING] /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent_java6/target/classes (Is a directory) [WARNING] collector-0.16.1.jar, commons-codec.jar, jmx_prometheus_javaagent_java6-0.16.1.jar, simpleclient.jar, simpleclient_common.jar, simpleclient_hotspot.jar, simpleclient_httpserver.jar, simpleclient_tracer_common.jar, snakeyaml.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] maven-shade-plugin has detected that some class files are [WARNING] present in two or more JARs. When this happens, only one [WARNING] single version of the class is copied to the uber jar. [WARNING] Usually this is not harmful and you can skip these warnings, [WARNING] otherwise try to manually exclude artifacts based on [WARNING] mvn dependency:tree -Ddetail=true and the above output. [WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 577 -> 440 (76%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent_java6/target/jmx_prometheus_javaagent_java6-0.16.1.jar with /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent_java6/target/jmx_prometheus_javaagent_java6-0.16.1-shaded.jar [INFO] Dependency-reduced POM written at: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent_java6/dependency-reduced-pom.xml [INFO] [INFO] -------------< io.prometheus.jmx:jmx_prometheus_javaagent >------------- [INFO] Building Prometheus JMX Exporter - Java Agent 0.16.1 [5/5] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ jmx_prometheus_javaagent --- [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/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ jmx_prometheus_javaagent --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ jmx_prometheus_javaagent --- [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/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ jmx_prometheus_javaagent --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M4:test (default-test) @ jmx_prometheus_javaagent --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ jmx_prometheus_javaagent --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent/target/jmx_prometheus_javaagent-0.16.1.jar [INFO] [INFO] --- maven-shade-plugin:3.2.4:shade (default) @ jmx_prometheus_javaagent --- [INFO] Including io.prometheus.jmx:jmx_prometheus_javaagent_java6:jar:0.16.1 in the shaded jar. [INFO] Including org.yaml:snakeyaml:jar:1.29 in the shaded jar. [INFO] Including commons-codec:commons-codec:jar:any in the shaded jar. [WARNING] commons-codec.jar, jmx_prometheus_javaagent_java6-0.16.1.jar define 4 overlapping resources: [WARNING] - META-INF/LICENSE.txt [WARNING] - META-INF/NOTICE.txt [WARNING] - META-INF/maven/commons-codec/commons-codec/pom.properties [WARNING] - META-INF/maven/commons-codec/commons-codec/pom.xml [WARNING] jmx_prometheus_javaagent_java6-0.16.1.jar, snakeyaml.jar define 2 overlapping resources: [WARNING] - META-INF/maven/org.yaml/snakeyaml/pom.properties [WARNING] - META-INF/maven/org.yaml/snakeyaml/pom.xml [WARNING] commons-codec.jar, jmx_prometheus_javaagent-0.16.1.jar, jmx_prometheus_javaagent_java6-0.16.1.jar, snakeyaml.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] maven-shade-plugin has detected that some class files are [WARNING] present in two or more JARs. When this happens, only one [WARNING] single version of the class is copied to the uber jar. [WARNING] Usually this is not harmful and you can skip these warnings, [WARNING] otherwise try to manually exclude artifacts based on [WARNING] mvn dependency:tree -Ddetail=true and the above output. [WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent/target/jmx_prometheus_javaagent-0.16.1.jar with /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent/target/jmx_prometheus_javaagent-0.16.1-shaded.jar [INFO] Dependency-reduced POM written at: /builddir/build/BUILD/jmx_exporter-parent-0.16.1/jmx_prometheus_javaagent/dependency-reduced-pom.xml [INFO] [INFO] ----------------------< io.prometheus.jmx:parent >---------------------- [INFO] Building Prometheus JMX Exporter 0.16.1 [6/5] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- xmvn-mojo:4.0.0:install (default-cli) @ parent --- [INFO] [INFO] --- xmvn-mojo:4.0.0:builddep (default-cli) @ parent --- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Prometheus JMX Exporter 0.16.1: [INFO] [INFO] Prometheus JMX Exporter ............................ SUCCESS [ 0.073 s] [INFO] Prometheus JMX Exporter - Collector ................ SUCCESS [ 12.361 s] [INFO] Prometheus JMX Exporter - Http Server .............. SUCCESS [ 0.709 s] [INFO] Prometheus JMX Exporter - Java Agent for Java 6 .... SUCCESS [ 11.506 s] [INFO] Prometheus JMX Exporter - Java Agent ............... SUCCESS [ 0.699 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 26.024 s [INFO] Finished at: 2022-02-06T05:45:54Z [INFO] ------------------------------------------------------------------------ -----BEGIN MAVEN BUILD DEPENDENCIES----- H4sIAAAAAAAC/8WTP2+DMBDF93wKl93Q7ISo7cTQKYrUrTL4ApfaZ8t/UPj2hZKqdCiR0oHx3j35 p7t3zvcXrVgHzqOhXbJNHxMGVBuJ1OyS44E/HV7KMtkXm/yBc/YcUUkmwQLJwYbgWQMETgSQrOrZ 22tHjPPBPfcUG8Z+hH4sB6FxJtpSFsY1qbCibiE9gcJLnn13Jp9wAU+iDoOgRQfEq0hSAbcqNkh5 NuuPnOw36G8umtQ6oyG0EP0C1KO2CmqFQOF+2jkShgXKtX/v8+MSe6HV0hwkPmDy/IdyjeorinTK wN+MTHgPulL9KqG9tyFYD2648hVG962QsNLcJnhrblzVrBq/6ic1RaPpEQQAAA== -----END MAVEN BUILD DEPENDENCIES----- + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cHUFo3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/jmx_exporter-parent-0.16.1/.package_note-prometheus-jmx-exporter-0.16.1-4.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jmx_exporter-parent-0.16.1 + xmvn-install -R .xmvn-reactor -n prometheus-jmx-exporter -d /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64 [INFO] Installing artifact io.prometheus.jmx:collector:jar:0.16.1 [INFO] Installing artifact io.prometheus.jmx:collector:pom:0.16.1 [INFO] Installing artifact io.prometheus.jmx:jmx_prometheus_javaagent_java6:jar:0.16.1 [INFO] Installing artifact io.prometheus.jmx:jmx_prometheus_javaagent_java6:pom:0.16.1 [INFO] Installing artifact io.prometheus.jmx:jmx_prometheus_javaagent:jar:0.16.1 [INFO] Installing artifact io.prometheus.jmx:jmx_prometheus_javaagent:pom:0.16.1 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/licenses + '[' -d target/site/apidocs ']' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.16.1-4.fc36 --unique-debug-suffix -0.16.1-4.fc36.x86_64 --unique-debug-src-base prometheus-jmx-exporter-0.16.1-4.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/jmx_exporter-parent-0.16.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: prometheus-jmx-exporter-0.16.1-4.fc36.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PltDFz + umask 022 + cd /builddir/build/BUILD + cd jmx_exporter-parent-0.16.1 + DOCDIR=/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/doc/prometheus-jmx-exporter + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/doc/prometheus-jmx-exporter + cp -pr NOTICE /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/doc/prometheus-jmx-exporter + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7Shmq0 + umask 022 + cd /builddir/build/BUILD + cd jmx_exporter-parent-0.16.1 + LICENSEDIR=/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/licenses/prometheus-jmx-exporter + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/licenses/prometheus-jmx-exporter + cp -pr LICENSE /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/licenses/prometheus-jmx-exporter + RPM_EC=0 ++ jobs -p + exit 0 [INFO maven.prov] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/maven-metadata/prometheus-jmx-exporter.xml'] [INFO maven.prov] mvn(io.prometheus.jmx:collector) = 0.16.1, mvn(io.prometheus.jmx:jmx_prometheus_javaagent_java6:pom:) = 0.16.1, mvn(io.prometheus.jmx:jmx_prometheus_javaagent:pom:) = 0.16.1, mvn(io.prometheus.jmx:jmx_prometheus_javaagent) = 0.16.1, mvn(io.prometheus.jmx:jmx_prometheus_javaagent_java6) = 0.16.1, mvn(io.prometheus.jmx:collector:pom:) = 0.16.1 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/java/prometheus-jmx-exporter/collector.jar'] [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/java/prometheus-jmx-exporter/jmx_prometheus_javaagent.jar'] [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/java/prometheus-jmx-exporter/jmx_prometheus_javaagent_java6.jar'] [INFO maven.req] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/maven-metadata/prometheus-jmx-exporter.xml'] [INFO maven.req] mvn(org.yaml:snakeyaml), (java-headless or java-17-headless), mvn(io.prometheus:simpleclient_hotspot), mvn(io.prometheus:simpleclient_httpserver), mvn(io.prometheus:simpleclient), javapackages-filesystem [INFO osgi.req] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/java/prometheus-jmx-exporter/collector.jar'] [INFO osgi.req] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/java/prometheus-jmx-exporter/jmx_prometheus_javaagent.jar'] [INFO osgi.req] input: ['/builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64/usr/share/java/prometheus-jmx-exporter/jmx_prometheus_javaagent_java6.jar'] Provides: bundled(biz.source_code:base64coder) = 2010.12.19 bundled(commons-codec:commons-codec) = 1.11 bundled(io.prometheus.jmx:collector) = 0.16.1 bundled(io.prometheus:simpleclient) = 0.6.0 bundled(io.prometheus:simpleclient_common) = 0.6.0 bundled(io.prometheus:simpleclient_hotspot) = 0.6.0 bundled(io.prometheus:simpleclient_httpserver) = 0.6.0 bundled(org.yaml:snakeyaml) = 1.27 mvn(io.prometheus.jmx:collector) = 0.16.1 mvn(io.prometheus.jmx:collector:pom:) = 0.16.1 mvn(io.prometheus.jmx:jmx_prometheus_javaagent) = 0.16.1 mvn(io.prometheus.jmx:jmx_prometheus_javaagent:pom:) = 0.16.1 mvn(io.prometheus.jmx:jmx_prometheus_javaagent_java6) = 0.16.1 mvn(io.prometheus.jmx:jmx_prometheus_javaagent_java6:pom:) = 0.16.1 prometheus-jmx-exporter = 0.16.1-4.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: javapackages-filesystem Suggests: prometheus-jmx-exporter-openjdk11 = 0.16.1-4.fc36 Processing files: prometheus-jmx-exporter-openjdk8-0.16.1-4.fc36.noarch Processing files: prometheus-jmx-exporter-openjdk11-0.16.1-4.fc36.noarch Processing files: prometheus-jmx-exporter-openjdk17-0.16.1-4.fc36.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64 Wrote: /builddir/build/RPMS/prometheus-jmx-exporter-openjdk8-0.16.1-4.fc36.noarch.rpm Wrote: /builddir/build/RPMS/prometheus-jmx-exporter-openjdk11-0.16.1-4.fc36.noarch.rpm Wrote: /builddir/build/RPMS/prometheus-jmx-exporter-openjdk17-0.16.1-4.fc36.noarch.rpm Wrote: /builddir/build/RPMS/prometheus-jmx-exporter-0.16.1-4.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JSGdVR + umask 022 + cd /builddir/build/BUILD + cd jmx_exporter-parent-0.16.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/prometheus-jmx-exporter-0.16.1-4.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0