Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/javamail.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8060020220519080256-5dbfe8be-build-62956-21432/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/javamail.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/javamail-1.6.2-2.module+el8.6.0+501+87374eb3.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/javamail.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8060020220519080256-5dbfe8be-build-62956-21432/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/javamail.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.K4CF78 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf javamail-1.6.2 + /usr/bin/mkdir -p javamail-1.6.2 + cd javamail-1.6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/javamail-1.6.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd javamail-JAVAMAIL-1_6_2 ~/build/BUILD/javamail-1.6.2/javamail-JAVAMAIL-1_6_2 ~/build/BUILD/javamail-1.6.2 + find -name module-info.java -delete + mv CONTRIBUTING.md LICENSE.txt README.md android ant-common.xml build.properties build.xml client copyright-exclude demo doc dsn gimap imap javadoc logging mail mail.sig mailapi mailapijar mailhandler mbox mbox.xml outlook parent-distrib pom.xml pop3 project.properties project.xml publish servlet siggen sigtest smtp taglib update_version webapp .. + popd ~/build/BUILD/javamail-1.6.2 + rm -rf javamail-JAVAMAIL-1_6_2 Patch #0 (0000-Disable-tests-that-use-networking.patch): + echo 'Patch #0 (0000-Disable-tests-that-use-networking.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file mail/src/test/java/com/sun/mail/util/WriteTimeoutSocketTest.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:arg[text()='\''-Werror'\'']' mail + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_change_dep javax.activation:activation 'com.sun.mail:android-activation:${mail.version}' mail + cp -p android/mail/src/main/java/com/sun/mail/handlers/handler_base.java mail/src/main/java/com/sun/mail/handlers/handler_base.java + rm -f mail/src/test/java/com/sun/mail/handlers/TextXmlTest.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module mail android + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module dsn + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :animal-sniffer-maven-plugin android + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove /pom:project/pom:profiles + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r org.glassfish.hk2:osgiversion-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject /pom:project/pom:properties '1.6.2' + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject /pom:project/pom:build/pom:plugins/pom:plugin/pom:configuration/pom:instructions '<_nouses>true' + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py com.sun.mail:mailapi javax.mail:mailapi + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py com.sun.mail:javax.mail javax.mail:mail org.eclipse.jetty.orbit:javax.mail.glassfish + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py 'com.sun.mail:{javax.mail}' javamail/@1 javamail/mail + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jRTGw9 + umask 022 + cd /builddir/build/BUILD + cd javamail-1.6.2 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --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] Reactor Build Order: [INFO] [INFO] JavaMail API distribution [pom] [INFO] Android support for JavaMail [pom] [INFO] JavaBeans Activation Framework fork for Android [jar] [INFO] JavaMail API [jar] [INFO] JavaMail API (no providers) [jar] [INFO] JavaMail API jar [jar] [INFO] JavaMail API smtp provider [jar] [INFO] JavaMail API imap provider [jar] [INFO] JavaMail API Gmail IMAP provider [jar] [INFO] JavaMail API pop3 provider [jar] [INFO] JavaMail API logging handler [jar] [INFO] [INFO] --------------------------< com.sun.mail:all >-------------------------- [INFO] Building JavaMail API distribution 1.6.2 [1/11] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version) @ all --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ all --- [INFO] Source directory: /builddir/build/BUILD/javamail-1.6.2/target/sources added. [INFO] Source directory: /builddir/build/BUILD/javamail-1.6.2/target/classes added. [INFO] [INFO] --- maven-bundle-plugin:4.2.1:manifest (osgi-manifest) @ all --- [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle] [INFO] [INFO] --- maven-source-plugin:3.1.0:jar-no-fork (attach-sources) @ all --- [INFO] [INFO] ------------------------< com.sun.mail:android >------------------------ [INFO] Building Android support for JavaMail 1.6.2 [2/11] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version) @ android --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ android --- [INFO] Source directory: /builddir/build/BUILD/javamail-1.6.2/android/target/sources added. [INFO] Source directory: /builddir/build/BUILD/javamail-1.6.2/android/target/classes added. [INFO] [INFO] --- maven-bundle-plugin:4.2.1:manifest (osgi-manifest) @ android --- [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle] [INFO] [INFO] --- maven-source-plugin:3.1.0:jar-no-fork (attach-sources) @ android --- [INFO] [INFO] ------------------< com.sun.mail:android-activation >------------------- [INFO] Building JavaBeans Activation Framework fork for Android 1.6.2 [3/11] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version) @ android-activation --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ android-activation --- [INFO] Source directory: /builddir/build/BUILD/javamail-1.6.2/android/activation/target/sources added. [INFO] Source directory: /builddir/build/BUILD/javamail-1.6.2/android/activation/target/classes added. [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ android-activation --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ android-activation --- [INFO] Compiling 24 source files to /builddir/build/BUILD/javamail-1.6.2/android/activation/target/classes [INFO] [INFO] --- maven-bundle-plugin:4.2.1:manifest (osgi-manifest) @ android-activation --- [WARNING] Manifest com.sun.mail:android-activation:jar:1.6.2 : No translation found for macro: activation.osgiversion [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ android-activation --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/javamail-1.6.2/android/activation/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ android-activation --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ android-activation --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ android-activation --- [INFO] Building jar: /builddir/build/BUILD/javamail-1.6.2/android/activation/target/android-activation.jar [INFO] [INFO] --- maven-source-plugin:3.1.0:jar-no-fork (attach-sources) @ android-activation --- [INFO] Building jar: /builddir/build/BUILD/javamail-1.6.2/android/activation/target/android-activation-1.6.2-sources.jar [INFO] [INFO] ----------------------< com.sun.mail:javax.mail >----------------------- [INFO] Building JavaMail API 1.6.2 [4/11] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-version) @ javax.mail --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ javax.mail --- [INFO] Source directory: /builddir/build/BUILD/javamail-1.6.2/mail/target/sources added. [INFO] Source directory: /builddir/build/BUILD/javamail-1.6.2/mail/target/classes added. [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ javax.mail --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ javax.mail --- [INFO] Compiling 239 source files to /builddir/build/BUILD/javamail-1.6.2/mail/target/classes [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/javax/mail/Folder.java:[1659,20] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/javax/mail/Folder.java:[1663,18] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/javax/mail/Service.java:[660,20] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/javax/mail/Service.java:[664,18] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/com/sun/mail/pop3/Protocol.java:[202,20] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/com/sun/mail/pop3/Protocol.java:[207,18] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/com/sun/mail/pop3/TempFile.java:[84,20] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/com/sun/mail/pop3/TempFile.java:[88,18] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/javax/mail/util/SharedFileInputStream.java:[147,24] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/javax/mail/util/SharedFileInputStream.java:[151,22] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/javax/mail/util/SharedFileInputStream.java:[559,20] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/javax/mail/util/SharedFileInputStream.java:[560,14] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/com/sun/mail/iap/Protocol.java:[682,20] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/com/sun/mail/iap/Protocol.java:[686,18] finalize() in java.lang.Object has been deprecated [WARNING] /builddir/build/BUILD/javamail-1.6.2/mail/src/main/java/com/sun/mail/auth/OAuth2SaslClientFactory.java:[63,13] Provider(java.lang.String,double,java.lang.String) in java.security.Provider has been deprecated [INFO] [INFO] --- maven-bundle-plugin:4.2.1:manifest (osgi-manifest) @ javax.mail --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ javax.mail --- [INFO] Using 'iso-8859-1' encoding to copy filtered resources. [INFO] Copying 10 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ javax.mail --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 119 source files to /builddir/build/BUILD/javamail-1.6.2/mail/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ javax.mail --- [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running com.sun.mail.smtp.SMTPUtf8Test [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.338 s - in com.sun.mail.smtp.SMTPUtf8Test [INFO] Running com.sun.mail.smtp.SMTPIOExceptionTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.246 s - in com.sun.mail.smtp.SMTPIOExceptionTest [INFO] Running com.sun.mail.smtp.SMTPAuthDebugTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.146 s - in com.sun.mail.smtp.SMTPAuthDebugTest [INFO] Running com.sun.mail.smtp.SMTPConnectFailureTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.sun.mail.smtp.SMTPConnectFailureTest [INFO] Running com.sun.mail.smtp.SMTPSaslLoginTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.367 s - in com.sun.mail.smtp.SMTPSaslLoginTest [INFO] Running com.sun.mail.smtp.SMTPWriteTimeoutTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.716 s - in com.sun.mail.smtp.SMTPWriteTimeoutTest [INFO] Running com.sun.mail.smtp.SMTPBdatTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.248 s - in com.sun.mail.smtp.SMTPBdatTest [INFO] Running com.sun.mail.smtp.SMTPCloseTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.104 s - in com.sun.mail.smtp.SMTPCloseTest [INFO] Running com.sun.mail.imap.IMAPCloseFailureTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.311 s - in com.sun.mail.imap.IMAPCloseFailureTest [INFO] Running com.sun.mail.imap.IMAPMessageNumberOutOfRangeTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 s - in com.sun.mail.imap.IMAPMessageNumberOutOfRangeTest [INFO] Running com.sun.mail.imap.IMAPLoginCapabilitiesTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 s - in com.sun.mail.imap.IMAPLoginCapabilitiesTest [INFO] Running com.sun.mail.imap.IMAPAlertTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s - in com.sun.mail.imap.IMAPAlertTest [INFO] Running com.sun.mail.imap.IMAPAuthDebugTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 s - in com.sun.mail.imap.IMAPAuthDebugTest [INFO] Running com.sun.mail.imap.IMAPFetchProfileTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.448 s - in com.sun.mail.imap.IMAPFetchProfileTest [INFO] Running com.sun.mail.imap.IMAPUidExpungeTest [INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.7 s - in com.sun.mail.imap.IMAPUidExpungeTest [INFO] Running com.sun.mail.imap.protocol.UIDSetTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in com.sun.mail.imap.protocol.UIDSetTest [INFO] Running com.sun.mail.imap.protocol.StratoImapBugfixTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.sun.mail.imap.protocol.StratoImapBugfixTest [INFO] Running com.sun.mail.imap.protocol.MODSEQTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.sun.mail.imap.protocol.MODSEQTest [INFO] Running com.sun.mail.imap.protocol.NamespacesTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.sun.mail.imap.protocol.NamespacesTest [INFO] Running com.sun.mail.imap.protocol.EnvelopeTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.sun.mail.imap.protocol.EnvelopeTest [INFO] Running com.sun.mail.imap.protocol.StatusTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.sun.mail.imap.protocol.StatusTest [INFO] Running com.sun.mail.imap.protocol.BODYSTRUCTURETest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.sun.mail.imap.protocol.BODYSTRUCTURETest [INFO] Running com.sun.mail.imap.protocol.IMAPProtocolTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.sun.mail.imap.protocol.IMAPProtocolTest [INFO] Running com.sun.mail.imap.IMAPMessageTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.951 s - in com.sun.mail.imap.IMAPMessageTest [INFO] Running com.sun.mail.imap.IMAPIDTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s - in com.sun.mail.imap.IMAPIDTest [INFO] Running com.sun.mail.imap.IMAPIdleStateTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in com.sun.mail.imap.IMAPIdleStateTest [INFO] Running com.sun.mail.imap.MessageCacheTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in com.sun.mail.imap.MessageCacheTest [INFO] Running com.sun.mail.imap.IMAPSearchTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.1 s - in com.sun.mail.imap.IMAPSearchTest [INFO] Running com.sun.mail.imap.IMAPFolderTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.418 s - in com.sun.mail.imap.IMAPFolderTest [INFO] Running com.sun.mail.imap.IMAPIdleUntaggedResponseTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 s - in com.sun.mail.imap.IMAPIdleUntaggedResponseTest [INFO] Running com.sun.mail.imap.IMAPLoginReferralTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.01 s - in com.sun.mail.imap.IMAPLoginReferralTest [INFO] Running com.sun.mail.imap.IMAPResponseEventTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in com.sun.mail.imap.IMAPResponseEventTest [INFO] Running com.sun.mail.imap.IMAPSaslLoginTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in com.sun.mail.imap.IMAPSaslLoginTest [INFO] Running com.sun.mail.imap.IMAPConnectFailureTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.sun.mail.imap.IMAPConnectFailureTest [INFO] Running com.sun.mail.imap.IMAPIdleManagerTest May 19, 2022 7:41:08 PM com.sun.mail.imap.IMAPHandler readLine SEVERE: Current line is null! [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.599 s - in com.sun.mail.imap.IMAPIdleManagerTest [INFO] Running com.sun.mail.imap.IMAPStoreTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.437 s - in com.sun.mail.imap.IMAPStoreTest [INFO] Running com.sun.mail.imap.IMAPLoginFailureTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.sun.mail.imap.IMAPLoginFailureTest [INFO] Running com.sun.mail.iap.ResponseTest [INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in com.sun.mail.iap.ResponseTest [INFO] Running com.sun.mail.iap.ResponseInputStreamTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.sun.mail.iap.ResponseInputStreamTest [INFO] Running com.sun.mail.iap.ProtocolTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 s - in com.sun.mail.iap.ProtocolTest [INFO] Running com.sun.mail.pop3.POP3AuthDebugTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.019 s - in com.sun.mail.pop3.POP3AuthDebugTest [INFO] Running com.sun.mail.pop3.POP3FolderClosedExceptionTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.049 s - in com.sun.mail.pop3.POP3FolderClosedExceptionTest [INFO] Running com.sun.mail.pop3.POP3StoreTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in com.sun.mail.pop3.POP3StoreTest [INFO] Running com.sun.mail.pop3.POP3MessageTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.402 s - in com.sun.mail.pop3.POP3MessageTest [INFO] Running com.sun.mail.pop3.POP3ReadableMimeTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.397 s - in com.sun.mail.pop3.POP3ReadableMimeTest [INFO] Running com.sun.mail.util.PropUtilTest [INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in com.sun.mail.util.PropUtilTest [INFO] Running com.sun.mail.util.UUDecoderStreamTest [INFO] Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in com.sun.mail.util.UUDecoderStreamTest [INFO] Running com.sun.mail.util.BASE64Test [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.386 s - in com.sun.mail.util.BASE64Test [INFO] Running com.sun.mail.util.LineInputStreamTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.sun.mail.util.LineInputStreamTest [INFO] Running com.sun.mail.util.QPEncoderStreamTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s - in com.sun.mail.util.QPEncoderStreamTest [INFO] Running com.sun.mail.util.logging.CollectorFormatterTest [INFO] Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.571 s - in com.sun.mail.util.logging.CollectorFormatterTest [INFO] Running com.sun.mail.util.logging.LogManagerPropertiesTest [INFO] Tests run: 45, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 s - in com.sun.mail.util.logging.LogManagerPropertiesTest [INFO] Running com.sun.mail.util.logging.CompactFormatterTest [INFO] Tests run: 119, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 s - in com.sun.mail.util.logging.CompactFormatterTest [INFO] Running com.sun.mail.util.logging.MailHandlerTest [ERROR] Tests run: 131, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.769 s <<< FAILURE! - in com.sun.mail.util.logging.MailHandlerTest [ERROR] testIsLoggable(com.sun.mail.util.logging.MailHandlerTest) Time elapsed: 0.006 s <<< FAILURE! java.lang.AssertionError: MailHandler threw and exception: java.lang.NullPointerException at com.sun.mail.util.logging.MailHandlerTest.testLoggable(MailHandlerTest.java:495) at com.sun.mail.util.logging.MailHandlerTest.testIsLoggable(MailHandlerTest.java:463) [INFO] Running com.sun.mail.util.logging.SeverityComparatorTest [INFO] Tests run: 65, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.242 s - in com.sun.mail.util.logging.SeverityComparatorTest [INFO] Running com.sun.mail.util.logging.DurationFilterTest [INFO] Tests run: 58, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.327 s - in com.sun.mail.util.logging.DurationFilterTest [INFO] Running com.sun.mail.util.MimeUtilTestSuite ContentTypeCleaner [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 s - in com.sun.mail.util.MimeUtilTestSuite [INFO] Running com.sun.mail.util.SocketFetcherTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 s - in com.sun.mail.util.SocketFetcherTest [INFO] Running com.sun.mail.util.WriteTimeoutSocketTest [WARNING] Tests run: 5, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.689 s - in com.sun.mail.util.WriteTimeoutSocketTest [INFO] Running javax.mail.search.SearchTermSerializationTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in javax.mail.search.SearchTermSerializationTest [INFO] Running javax.mail.URLNameTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in javax.mail.URLNameTest [INFO] Running javax.mail.internet.InternetAddressTest [INFO] Tests run: 188, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 s - in javax.mail.internet.InternetAddressTest [INFO] Running javax.mail.internet.MimeMultipartParseTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.486 s - in javax.mail.internet.MimeMultipartParseTest [INFO] Running javax.mail.internet.MimeMultipartPreambleTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.MimeMultipartPreambleTest [INFO] Running javax.mail.internet.InternetHeadersTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.InternetHeadersTest [INFO] Running javax.mail.internet.ParameterListTestSuite ParameterListTests WindowsFileNames AppleFileNames NonAsciiFileNames DecodeParameters ParametersNoStrict [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.055 s - in javax.mail.internet.ParameterListTestSuite [INFO] Running javax.mail.internet.MimeBodyPartTestSuite NoEncodeFileName EncodeFileName EncodeFileNameNoEncodeParameters [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s - in javax.mail.internet.MimeBodyPartTestSuite [INFO] Running javax.mail.internet.MimeUtilityTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 s - in javax.mail.internet.MimeUtilityTest [INFO] Running javax.mail.internet.MimeMessageTestSuite AllowEncodedMessages [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 s - in javax.mail.internet.MimeMessageTestSuite [INFO] Running javax.mail.internet.HeaderTokenizerTest [INFO] Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 s - in javax.mail.internet.HeaderTokenizerTest [INFO] Running javax.mail.internet.FoldTest [INFO] Tests run: 48, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s - in javax.mail.internet.FoldTest [INFO] Running javax.mail.internet.ContentTypeTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.ContentTypeTest [INFO] Running javax.mail.internet.GetLocalAddressTest [INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.GetLocalAddressTest [INFO] Running javax.mail.internet.AddFromTest [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.AddFromTest [INFO] Running javax.mail.internet.InternetAddressExtraTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.InternetAddressExtraTest [INFO] Running javax.mail.internet.InternetAddressFoldTest [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.InternetAddressFoldTest [INFO] Running javax.mail.internet.NonAsciiBoundaryTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.NonAsciiBoundaryTest [INFO] Running javax.mail.internet.MimeMultipartPropertyTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.MimeMultipartPropertyTest [INFO] Running javax.mail.internet.RestrictEncodingTest [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.RestrictEncodingTest [INFO] Running javax.mail.internet.ContentDispositionTestSuite [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in javax.mail.internet.ContentDispositionTestSuite [INFO] Running javax.mail.internet.AddAddressHeaderTest [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.AddAddressHeaderTest [INFO] Running javax.mail.internet.ReferencesTest [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.ReferencesTest [INFO] Running javax.mail.internet.MimeMessageTest [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in javax.mail.internet.MimeMessageTest [INFO] Running javax.mail.internet.NewsAddressTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in javax.mail.internet.NewsAddressTest [INFO] Running javax.mail.internet.MailDateFormatTest [INFO] Tests run: 45, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 s - in javax.mail.internet.MailDateFormatTest [INFO] Running javax.mail.internet.MimeBodyPartTest [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in javax.mail.internet.MimeBodyPartTest [INFO] Running javax.mail.internet.ModifyMessageTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in javax.mail.internet.ModifyMessageTest [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] MailHandlerTest.testIsLoggable:463->testLoggable:495 MailHandler threw and exception: java.lang.NullPointerException [INFO] [ERROR] Tests run: 1138, Failures: 1, Errors: 0, Skipped: 2 [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping JavaMail API distribution [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for JavaMail API distribution 1.6.2: [INFO] [INFO] JavaMail API distribution .......................... SUCCESS [ 0.709 s] [INFO] Android support for JavaMail ....................... SUCCESS [ 0.008 s] [INFO] JavaBeans Activation Framework fork for Android .... SUCCESS [ 2.254 s] [INFO] JavaMail API ....................................... FAILURE [ 55.512 s] [INFO] JavaMail API (no providers) ........................ SKIPPED [INFO] JavaMail API jar ................................... SKIPPED [INFO] JavaMail API smtp provider ......................... SKIPPED [INFO] JavaMail API imap provider ......................... SKIPPED [INFO] JavaMail API Gmail IMAP provider ................... SKIPPED [INFO] JavaMail API pop3 provider ......................... SKIPPED [INFO] JavaMail API logging handler ....................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 58.967 s [INFO] Finished at: 2022-05-19T19:41:42+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project javax.mail: There are test failures. [ERROR] [ERROR] Please refer to /builddir/build/BUILD/javamail-1.6.2/mail/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [ERROR] -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :javax.mail error: Bad exit status from /var/tmp/rpm-tmp.jRTGw9 (%build) Bad exit status from /var/tmp/rpm-tmp.jRTGw9 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target noarch --nodeps /builddir/build/SPECS/javamail.spec