Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/classloader-leak-test-framework.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-250934-24615/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4u861n9a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4u861n9a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '3adede1d9637498d8eda32036839aeb0', '-D', '/var/lib/mock/dist-ocs23-base-build-250934-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4u861n9a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 --noclean --target noarch --nodeps /builddir/build/SPECS/classloader-leak-test-framework.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/classloader-leak-test-framework-2.7.0-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/classloader-leak-test-framework.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-250934-24615/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4u861n9a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4u861n9a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '42e5be245f054c91a690cef107266f68', '-D', '/var/lib/mock/dist-ocs23-base-build-250934-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4u861n9a:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 --noclean --target noarch --nodeps /builddir/build/SPECS/classloader-leak-test-framework.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BaObVe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/classloader-leak-prevention-parent-2.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r classloader-leak-prevention + cp -r classloader-leak-test-framework/README.md classloader-leak-test-framework/pom.xml classloader-leak-test-framework/src . + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep com.sun.faces:jsf-api + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep com.sun.faces:jsf-impl + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep javax.el:el-api + sed 's;1.6;8;' -i pom.xml + sed 's;1.6;8;' -i pom.xml + cat pom.xml + grep -B 3 -A 3 -e 1.6 -e 8 8 8 -Xdoclint:none -- org.apache.maven.plugins maven-gpg-plugin 1.6 sign-artifacts + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-javadoc-plugin + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FKikR4 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc --xmvn-javadoc Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] [INFO] ------------< se.jiderhamn:classloader-leak-test-framework >------------ [INFO] Building ClassLoader leak test framework 1.1.2-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ classloader-leak-test-framework --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Using 'null' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ classloader-leak-test-framework --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 7 source files to /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/classes [INFO] /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/RedefiningClassLoader.java: Some input files use or override a deprecated API. [INFO] /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/RedefiningClassLoader.java: Recompile with -Xlint:deprecation for details. [INFO] /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/leak/JUnitClassloaderRunner.java: /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/leak/JUnitClassloaderRunner.java uses unchecked or unsafe operations. [INFO] /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/leak/JUnitClassloaderRunner.java: Recompile with -Xlint:unchecked for details. [INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ classloader-leak-test-framework --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Using 'null' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ classloader-leak-test-framework --- [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 7 source files to /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ classloader-leak-test-framework --- [INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running se.jiderhamn.classloader.leak.NonLeakingTest Loading se.jiderhamn.classloader.leak.NonLeakingTest in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.NonLeakingTest.nonLeakingMethod]@53b32d7 Loading se.jiderhamn.classloader.leak.JUnitClassloaderRunner in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.NonLeakingTest.nonLeakingMethod]@53b32d7 Loading se.jiderhamn.classloader.leak.Leaks in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.NonLeakingTest.nonLeakingMethod]@53b32d7 JUnit used jdk.internal.loader.ClassLoaders$AppClassLoader@7aec35a SeparateClassLoaderInvokeMethod used se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.NonLeakingTest.nonLeakingMethod]@53b32d7 Hello world! se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.NonLeakingTest.nonLeakingMethod]@53b32d7 is being finalized [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.153 s - in se.jiderhamn.classloader.leak.NonLeakingTest [INFO] Running se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest Loading se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest.setValueOfCustomThreadLocal]@60285225 Loading se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest$1 in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest.setValueOfCustomThreadLocal]@60285225 Loading se.jiderhamn.classloader.leak.JUnitClassloaderRunner in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest.setValueOfCustomThreadLocal]@60285225 Loading se.jiderhamn.classloader.leak.Leaks in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest.setValueOfCustomThreadLocal]@60285225 JUnit used jdk.internal.loader.ClassLoaders$AppClassLoader@7aec35a SeparateClassLoaderInvokeMethod used se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest.setValueOfCustomThreadLocal]@60285225 se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest.setValueOfCustomThreadLocal]@60285225 is being finalized [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 s - in se.jiderhamn.classloader.leak.accused.CustomThreadLocalTest [INFO] Running se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest Loading se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest.setCustomThreadLocalValue]@5bcea91b Loading se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest$1 in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest.setCustomThreadLocalValue]@5bcea91b Loading se.jiderhamn.classloader.leak.JUnitClassloaderRunner in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest.setCustomThreadLocalValue]@5bcea91b JUnit used jdk.internal.loader.ClassLoaders$AppClassLoader@7aec35a SeparateClassLoaderInvokeMethod used se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest.setCustomThreadLocalValue]@5bcea91b Loading se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest$Value in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest.setCustomThreadLocalValue]@5bcea91b [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 s - in se.jiderhamn.classloader.leak.known.CustomThreadLocalCustomValueTest [INFO] Running se.jiderhamn.classloader.leak.known.JEditorPaneTest Loading se.jiderhamn.classloader.leak.known.JEditorPaneTest in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.known.JEditorPaneTest.triggerJEditorPaneLeak]@44c8afef Loading se.jiderhamn.classloader.leak.JUnitClassloaderRunner in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.known.JEditorPaneTest.triggerJEditorPaneLeak]@44c8afef JUnit used jdk.internal.loader.ClassLoaders$AppClassLoader@7aec35a SeparateClassLoaderInvokeMethod used se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.known.JEditorPaneTest.triggerJEditorPaneLeak]@44c8afef [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.23 s - in se.jiderhamn.classloader.leak.known.JEditorPaneTest [INFO] Running se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest Loading se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest.throwException]@3e58a80e Loading se.jiderhamn.classloader.leak.JUnitClassloaderRunner in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest.throwException]@3e58a80e Loading se.jiderhamn.classloader.leak.Leaks in se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest.throwException]@3e58a80e JUnit used jdk.internal.loader.ClassLoaders$AppClassLoader@7aec35a SeparateClassLoaderInvokeMethod used se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest.throwException]@3e58a80e se.jiderhamn.classloader.RedefiningClassLoader[se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest.throwException]@3e58a80e is being finalized java.io.FileNotFoundException: foo.txt at se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest.throwException(JUnitClassloaderRunnerTest.java:19) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:61) at se.jiderhamn.classloader.leak.JUnitClassloaderRunner$SeparateClassLoaderInvokeMethod.evaluate(JUnitClassloaderRunner.java:115) at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:377) at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:284) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:248) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:167) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456) at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s - in se.jiderhamn.classloader.leak.JUnitClassloaderRunnerTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- maven-jar-plugin:3.2.2:jar (default-jar) @ classloader-leak-test-framework --- [INFO] Building jar: /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/classloader-leak-test-framework-1.1.2-SNAPSHOT.jar [INFO] [INFO] ------------< se.jiderhamn:classloader-leak-test-framework >------------ [INFO] Building ClassLoader leak test framework 1.1.2-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- xmvn-mojo:4.0.0:install (default-cli) @ classloader-leak-test-framework --- [INFO] [INFO] --- xmvn-mojo:4.0.0:javadoc (default-cli) @ classloader-leak-test-framework --- Loading source file /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/HeapDumper.java... Loading source file /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/PackagesLoadedOutsideClassLoader.java... Loading source file /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/leak/JUnitClassloaderRunner.java... Loading source file /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/leak/Leaks.java... Loading source file /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/leak/LeakPreventor.java... Loading source file /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/RedefiningClassLoader.java... Loading source file /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/src/main/java/se/jiderhamn/classloader/ZombieMarker.java... Constructing Javadoc information... Building index for all the packages and classes... Standard Doclet version 17.0.11-ga+1 Building tree for all the packages and classes... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/HeapDumper.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/JUnitClassloaderRunner.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/JUnitClassloaderRunner.SeparateClassLoaderInvokeMethod.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/LeakPreventor.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/Leaks.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/PackagesLoadedOutsideClassLoader.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/RedefiningClassLoader.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/ZombieMarker.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/package-summary.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/package-tree.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/package-summary.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/package-tree.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/package-summary.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/package-tree.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/constant-values.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/class-use/HeapDumper.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/class-use/PackagesLoadedOutsideClassLoader.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/class-use/JUnitClassloaderRunner.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/class-use/JUnitClassloaderRunner.SeparateClassLoaderInvokeMethod.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/class-use/Leaks.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/class-use/LeakPreventor.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/class-use/RedefiningClassLoader.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/class-use/ZombieMarker.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/package-use.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/package-use.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/se/jiderhamn/classloader/leak/package-use.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/overview-tree.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/index.html... Building index for all classes... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/allclasses-index.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/allpackages-index.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/index-all.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/overview-summary.html... Generating /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0/target/xmvn-apidocs/help-doc.html... [INFO] [INFO] --- xmvn-mojo:4.0.0:builddep (default-cli) @ classloader-leak-test-framework --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.964 s [INFO] Finished at: 2024-08-26T19:54:42+08:00 [INFO] ------------------------------------------------------------------------ -----BEGIN MAVEN BUILD DEPENDENCIES----- H4sIAAAAAAAC/32PPw+CMBTEdz7Fs3tBd/5EnRiciIlraZ+1pr6SUoh8eyHEgIOMd/fLXS4t3i8L PfrWOMrYId4zQJJOGdIZu1b8WJ3LkhV5lO44h1NnrAKFDZIaMYMtaCT0IqCCeoDbpSfgfKTXTB4B LMYwydHQ3nVNqfJnRyakyVfOofDB3IUMS75yprrkt+9/vfM6Fo2QD4xriXZjaI63dlZquvUB5vIw rz0BAAA= -----END MAVEN BUILD DEPENDENCIES----- + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WsSr3f + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch + cd classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0 + xmvn-install -R .xmvn-reactor -n classloader-leak-test-framework -d /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch [INFO] Installing artifact se.jiderhamn:classloader-leak-test-framework:jar:1.1.2-SNAPSHOT [INFO] Installing artifact se.jiderhamn:classloader-leak-test-framework:pom:1.1.2-SNAPSHOT [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + jdir=.xmvn/apidocs + /usr/bin/mkdir -p /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/licenses + '[' -d .xmvn/apidocs ']' + install -dm755 /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/javadoc/classloader-leak-test-framework + cp -pr .xmvn/apidocs/allclasses-index.html .xmvn/apidocs/allpackages-index.html .xmvn/apidocs/args .xmvn/apidocs/constant-values.html .xmvn/apidocs/element-list .xmvn/apidocs/help-doc.html .xmvn/apidocs/index-all.html .xmvn/apidocs/index.html .xmvn/apidocs/jquery-ui.overrides.css .xmvn/apidocs/legal .xmvn/apidocs/member-search-index.js .xmvn/apidocs/module-search-index.js .xmvn/apidocs/overview-summary.html .xmvn/apidocs/overview-tree.html .xmvn/apidocs/package-search-index.js .xmvn/apidocs/resources .xmvn/apidocs/script-dir .xmvn/apidocs/script.js .xmvn/apidocs/se .xmvn/apidocs/search.js .xmvn/apidocs/stylesheet.css .xmvn/apidocs/tag-search-index.js .xmvn/apidocs/type-search-index.js /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/javadoc/classloader-leak-test-framework + echo /usr/share/javadoc/classloader-leak-test-framework + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.7.0-4.ocs23 --unique-debug-suffix -2.7.0-4.ocs23.noarch --unique-debug-src-base classloader-leak-test-framework-2.7.0-4.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: classloader-leak-test-framework-2.7.0-4.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0GlV0S + umask 022 + cd /builddir/build/BUILD + cd classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0 + DOCDIR=/builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/doc/classloader-leak-test-framework + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/doc/classloader-leak-test-framework + cp -pr README.md /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/doc/classloader-leak-test-framework + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cqjPZE + umask 022 + cd /builddir/build/BUILD + cd classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/licenses/classloader-leak-test-framework + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/licenses/classloader-leak-test-framework + cp -pr LICENSE.txt /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/licenses/classloader-leak-test-framework + RPM_EC=0 ++ jobs -p + exit 0 [INFO maven.prov] input: ['/builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/maven-metadata/classloader-leak-test-framework.xml'] [INFO maven.prov] mvn(se.jiderhamn:classloader-leak-test-framework:pom:) = 1.1.2.SNAPSHOT, mvn(se.jiderhamn:classloader-leak-test-framework) = 1.1.2.SNAPSHOT [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/java/classloader-leak-test-framework/classloader-leak-test-framework.jar'] [INFO maven.req] input: ['/builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/maven-metadata/classloader-leak-test-framework.xml'] [INFO maven.req] (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless), mvn(org.apache.bcel:bcel), javapackages-filesystem, mvn(junit:junit) [INFO osgi.req] input: ['/builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/java/classloader-leak-test-framework/classloader-leak-test-framework.jar'] Provides: classloader-leak-test-framework = 2.7.0-4.ocs23 mvn(se.jiderhamn:classloader-leak-test-framework) = 1.1.2.SNAPSHOT mvn(se.jiderhamn:classloader-leak-test-framework:pom:) = 1.1.2.SNAPSHOT Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless) javapackages-filesystem mvn(junit:junit) mvn(org.apache.bcel:bcel) Processing files: classloader-leak-test-framework-javadoc-2.7.0-4.ocs23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.wQVyKt + umask 022 + cd /builddir/build/BUILD + cd classloader-leak-prevention-classloader-leak-prevention-parent-2.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/licenses/classloader-leak-test-framework-javadoc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/licenses/classloader-leak-test-framework-javadoc + cp -pr LICENSE.txt /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch/usr/share/licenses/classloader-leak-test-framework-javadoc + RPM_EC=0 ++ jobs -p + exit 0 Provides: classloader-leak-test-framework-javadoc = 2.7.0-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: javapackages-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/classloader-leak-test-framework-2.7.0-4.ocs23.noarch Wrote: /builddir/build/RPMS/classloader-leak-test-framework-2.7.0-4.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/classloader-leak-test-framework-javadoc-2.7.0-4.ocs23.noarch.rpm Child return code was: 0