[Builder] Build failed in Jenkins: iam-cloud » asgardeo-extensions #97
cbuilder at wso2.org
cbuilder at wso2.org
Wed Sep 21 01:12:50 PDT 2022
See <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/97/display/redirect?page=changes>
Changes:
[Lashini Jayasekara] resolving secrets
[Lashini Jayasekara] address comments
[Lashini Jayasekara] address comments
------------------------------------------
[...truncated 1.20 MB...]
[INFO] [INFO] --- maven-gpg-plugin:1.6:sign (default) @ com.wso2.identity.asgardeo.auth.emailotp ---
[INFO] gpg: WARNING: unsafe ownership on homedir `/build/gpg-keys/.gnupg'
[INFO] gpg: WARNING: unsafe ownership on homedir `/build/gpg-keys/.gnupg'
[INFO] gpg: WARNING: unsafe ownership on homedir `/build/gpg-keys/.gnupg'
[INFO] gpg: WARNING: unsafe ownership on homedir `/build/gpg-keys/.gnupg'
[INFO] [INFO]
[INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ com.wso2.identity.asgardeo.auth.emailotp ---
[INFO] [INFO] Installing <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/target/com.wso2.identity.asgardeo.auth.emailotp-1.0.43.jar> to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/com/wso2/identity/asgardeo/extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43/com.wso2.identity.asgardeo.auth.emailotp-1.0.43.jar>
[INFO] [INFO] Installing <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/pom.xml> to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/com/wso2/identity/asgardeo/extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43/com.wso2.identity.asgardeo.auth.emailotp-1.0.43.pom>
[INFO] [INFO] Installing <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/target/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-sources.jar> to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/com/wso2/identity/asgardeo/extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-sources.jar>
[INFO] [INFO] Installing <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/target/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-javadoc.jar> to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/com/wso2/identity/asgardeo/extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-javadoc.jar>
[INFO] [INFO] Installing <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/target/com.wso2.identity.asgardeo.auth.emailotp-1.0.43.jar.asc> to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/com/wso2/identity/asgardeo/extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43/com.wso2.identity.asgardeo.auth.emailotp-1.0.43.jar.asc>
[INFO] [INFO] Installing <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/target/com.wso2.identity.asgardeo.auth.emailotp-1.0.43.pom.asc> to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/com/wso2/identity/asgardeo/extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43/com.wso2.identity.asgardeo.auth.emailotp-1.0.43.pom.asc>
[INFO] [INFO] Installing <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/target/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-sources.jar.asc> to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/com/wso2/identity/asgardeo/extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-sources.jar.asc>
[INFO] [INFO] Installing <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/target/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-javadoc.jar.asc> to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/com/wso2/identity/asgardeo/extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-javadoc.jar.asc>
[INFO] [INFO]
[INFO] [INFO] --- maven-bundle-plugin:3.2.0:install (default-install) @ com.wso2.identity.asgardeo.auth.emailotp ---
[INFO] [INFO] Local OBR update disabled (enable with -DobrRepository)
[INFO] [INFO]
[INFO] [INFO] --< com.wso2.identity.asgardeo.extensions:com.wso2.identity.asgardeo.auth.smsotp >--
[INFO] [INFO] Building WSO2 Asgardeo - SMS OTP Authenticator 1.0.43 [6/8]
[INFO] [INFO] -------------------------------[ bundle ]-------------------------------
[INFO] [INFO]
[INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [INFO]
[INFO] [INFO] --- jacoco-maven-plugin:0.7.9:prepare-agent (default-prepare-agent) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [INFO] argLine set to -javaagent:<https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/.repository/org/jacoco/org.jacoco.agent/0.7.9/org.jacoco.agent-0.7.9-runtime.jar=destfile=/home/jenkins/workspace/iam-cloud/asgardeo-extensions/components/com.wso2.identity.asgardeo.auth.smsotp/target/jacoco.exec>
[INFO] [INFO]
[INFO] [INFO] --- maven-remote-resources-plugin:1.6.0:process (default) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] [INFO] Preparing remote bundle org.apache:apache-jar-resource-bundle:1.4
[INFO] [INFO] Copying 3 resources from 1 bundle.
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] [INFO] skip non existing resourceDirectory <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.smsotp/src/main/resources>
[INFO] [INFO] Copying 3 resources
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [INFO] Compiling 8 source files to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.smsotp/target/classes>
[INFO] [INFO]
[INFO] [INFO] >>> spotbugs-maven-plugin:4.1.3:check (analyze-compile) > :spotbugs @ com.wso2.identity.asgardeo.auth.smsotp >>>
[INFO] [INFO]
[INFO] [INFO] --- spotbugs-maven-plugin:4.1.3:spotbugs (spotbugs) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [INFO] Fork Value is true
[INFO] [java] The following errors occurred during analysis:
[INFO] [java] Exception while analyzing com.wso2.identity.asgardeo.auth.smsotp.util.AuthenticatorUtils.isAccountLocked(Lorg/wso2/carbon/identity/application/authentication/framework/model/AuthenticatedUser;)Z
[INFO] [java] java.lang.RuntimeException: Unable to call com/wso2/identity/asgardeo/auth/smsotp/internal/AuthenticatorDataHolder.getAccountLockService()Lorg/wso2/carbon/identity/handler/event/account/lock/service/AccountLockService;
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintFrameModelingVisitor.visitInvoke(TaintFrameModelingVisitor.java:599)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintFrameModelingVisitor.visitINVOKESTATIC(TaintFrameModelingVisitor.java:385)
[INFO] [java] At org.apache.bcel.generic.INVOKESTATIC.accept(INVOKESTATIC.java:86)
[INFO] [java] At edu.umd.cs.findbugs.ba.AbstractFrameModelingVisitor.analyzeInstruction(AbstractFrameModelingVisitor.java:84)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintFrameModelingVisitor.analyzeInstruction(TaintFrameModelingVisitor.java:129)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintAnalysis.transferInstruction(TaintAnalysis.java:90)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintAnalysis.transferInstruction(TaintAnalysis.java:51)
[INFO] [java] At edu.umd.cs.findbugs.ba.AbstractDataflowAnalysis.transfer(AbstractDataflowAnalysis.java:136)
[INFO] [java] At edu.umd.cs.findbugs.ba.Dataflow.execute(Dataflow.java:378)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintDataflowEngine.analyze(TaintDataflowEngine.java:183)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintDataflowEngine.analyze(TaintDataflowEngine.java:56)
[INFO] [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.analyzeMethod(AnalysisCache.java:368)
[INFO] [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getMethodAnalysis(AnalysisCache.java:321)
[INFO] [java] At com.h3xstream.findsecbugs.injection.AbstractTaintDetector.getTaintDataFlow(AbstractTaintDetector.java:142)
[INFO] [java] At com.h3xstream.findsecbugs.injection.AbstractTaintDetector.analyzeMethod(AbstractTaintDetector.java:109)
[INFO] [java] At com.h3xstream.findsecbugs.injection.AbstractTaintDetector.visitClassContext(AbstractTaintDetector.java:79)
[INFO] [java] At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
[INFO] [java] At java.util.concurrent.FutureTask.run(FutureTask.java:266)
[INFO] [java] At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
[INFO] [java] At java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:238)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
[INFO] [java] Exception while analyzing com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator.getTenantUserRealm(Ljava/lang/String;)Lorg/wso2/carbon/user/api/UserRealm;
[INFO] [java] java.lang.RuntimeException: Unable to call com/wso2/identity/asgardeo/auth/smsotp/internal/AuthenticatorDataHolder.getRealmService()Lorg/wso2/carbon/user/core/service/RealmService;
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintFrameModelingVisitor.visitInvoke(TaintFrameModelingVisitor.java:599)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintFrameModelingVisitor.visitINVOKESTATIC(TaintFrameModelingVisitor.java:385)
[INFO] [java] At org.apache.bcel.generic.INVOKESTATIC.accept(INVOKESTATIC.java:86)
[INFO] [java] At edu.umd.cs.findbugs.ba.AbstractFrameModelingVisitor.analyzeInstruction(AbstractFrameModelingVisitor.java:84)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintFrameModelingVisitor.analyzeInstruction(TaintFrameModelingVisitor.java:129)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintAnalysis.transferInstruction(TaintAnalysis.java:90)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintAnalysis.transferInstruction(TaintAnalysis.java:51)
[INFO] [java] At edu.umd.cs.findbugs.ba.AbstractDataflowAnalysis.transfer(AbstractDataflowAnalysis.java:136)
[INFO] [java] At edu.umd.cs.findbugs.ba.Dataflow.execute(Dataflow.java:378)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintDataflowEngine.analyze(TaintDataflowEngine.java:183)
[INFO] [java] At com.h3xstream.findsecbugs.taintanalysis.TaintDataflowEngine.analyze(TaintDataflowEngine.java:56)
[INFO] [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.analyzeMethod(AnalysisCache.java:368)
[INFO] [java] At edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getMethodAnalysis(AnalysisCache.java:321)
[INFO] [java] At com.h3xstream.findsecbugs.injection.AbstractTaintDetector.getTaintDataFlow(AbstractTaintDetector.java:142)
[INFO] [java] At com.h3xstream.findsecbugs.injection.AbstractTaintDetector.analyzeMethod(AbstractTaintDetector.java:109)
[INFO] [java] At com.h3xstream.findsecbugs.injection.AbstractTaintDetector.visitClassContext(AbstractTaintDetector.java:94)
[INFO] [java] At edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:76)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs2.lambda$analyzeApplication$1(FindBugs2.java:1108)
[INFO] [java] At java.util.concurrent.FutureTask.run(FutureTask.java:266)
[INFO] [java] At edu.umd.cs.findbugs.CurrentThreadExecutorService.execute(CurrentThreadExecutorService.java:86)
[INFO] [java] At java.util.concurrent.AbstractExecutorService.invokeAll(AbstractExecutorService.java:238)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1118)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:309)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs.runMain(FindBugs.java:395)
[INFO] [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1231)
[INFO] [INFO] Done SpotBugs Analysis....
[INFO] [INFO]
[INFO] [INFO] <<< spotbugs-maven-plugin:4.1.3:check (analyze-compile) < :spotbugs @ com.wso2.identity.asgardeo.auth.smsotp <<<
[INFO] [INFO]
[INFO] [INFO]
[INFO] [INFO] --- spotbugs-maven-plugin:4.1.3:check (analyze-compile) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [INFO] BugInstance size is 0
[INFO] [INFO] Error size is 0
[INFO] [INFO] No errors/warnings found
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] [INFO] Copying 1 resource
[INFO] [INFO] Copying 3 resources
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [INFO] Compiling 1 source file to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.smsotp/target/test-classes>
[INFO] [INFO]
[INFO] [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ com.wso2.identity.asgardeo.auth.smsotp ---
[INFO] [INFO] Surefire report directory: <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.smsotp/target/surefire-reports>
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running TestSuite
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : Getting the mobile number of the local user: admin in userstore: null in tenant: carbon.super
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : Inside SMSOTPAuthenticator canHandle method and check the existence of mobile number and otp code
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : Inside SMSOTPAuthenticator canHandle method and check the existence of mobile number and otp code
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : Getting the mobile number of the local user: admin in userstore: null in tenant: carbon.super
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : Getting the mobile number of the initially federating user: admin
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : Getting the mobile number of the local user: admin in userstore: null in tenant: carbon.super
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : No value configured for claim: http://wso2.org/claims/identity/unlockTime for user: admin at carbon.super
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : User: admin authenticated successfully via SMS OTP
[INFO] [com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator] DEBUG : Invalid OTP given by the user: admin
[INFO] Tests run: 13, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 3.944 sec <<< FAILURE! - in TestSuite
[INFO] testInitiateAuthenticationRequest(com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticatorTest) Time elapsed: 0.025 sec <<< FAILURE!
[INFO] java.lang.NullPointerException: null
[INFO] at com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator.getProviderType(SmsOTPAuthenticator.java:488)
[INFO] at com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator.publishPostSMSOTPGeneratedEvent(SmsOTPAuthenticator.java:448)
[INFO] at com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator.initiateAuthenticationRequest(SmsOTPAuthenticator.java:249)
[INFO] at com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticatorTest.testInitiateAuthenticationRequest(SmsOTPAuthenticatorTest.java:194)
[INFO]
[INFO] testInitiateAuthenticationRequestForFederatedUsers(com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticatorTest) Time elapsed: 0.083 sec <<< FAILURE!
[INFO] java.lang.NullPointerException: null
[INFO] at com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator.getProviderType(SmsOTPAuthenticator.java:488)
[INFO] at com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator.publishPostSMSOTPGeneratedEvent(SmsOTPAuthenticator.java:448)
[INFO] at com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticator.initiateAuthenticationRequest(SmsOTPAuthenticator.java:249)
[INFO] at com.wso2.identity.asgardeo.auth.smsotp.SmsOTPAuthenticatorTest.testInitiateAuthenticationRequestForFederatedUsers(SmsOTPAuthenticatorTest.java:283)
[INFO]
[INFO]
[INFO] Results :
[INFO]
[INFO] Failed tests:
[INFO] SmsOTPAuthenticatorTest.testInitiateAuthenticationRequest:194 » NullPointer
[INFO] SmsOTPAuthenticatorTest.testInitiateAuthenticationRequestForFederatedUsers:283 » NullPointer
[INFO]
[INFO] Tests run: 13, Failures: 2, Errors: 0, Skipped: 0
[INFO]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Asgardeo extensions 1.0.43 ......................... SUCCESS [ 14.605 s]
[INFO] [INFO] Asgardeo config mapper ............................. SUCCESS [ 22.682 s]
[INFO] [INFO] Asgardeo reCaptcha user skip ....................... SUCCESS [ 27.330 s]
[INFO] [INFO] Asgardeo Enterprise Login .......................... SUCCESS [ 10.039 s]
[INFO] [INFO] WSO2 Asgardeo - Email OTP Authenticator ............ SUCCESS [ 20.310 s]
[INFO] [INFO] WSO2 Asgardeo - SMS OTP Authenticator .............. FAILURE [ 13.449 s]
[INFO] [INFO] WSO2 Asgardeo - WebSubHub Event Publisher .......... SKIPPED
[INFO] [INFO] Conditional Authentication Functions for MyAccount 1.0.43 SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 01:49 min
[INFO] [INFO] Finished at: 2022-09-21T08:11:52Z
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project com.wso2.identity.asgardeo.auth.smsotp: There are test failures.
[INFO] [ERROR]
[INFO] [ERROR] Please refer to <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.smsotp/target/surefire-reports> for the individual test results.
[INFO] [ERROR] -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[INFO] [ERROR]
[INFO] [ERROR] After correcting the problems, you can resume the build with the command
[INFO] [ERROR] mvn <goals> -rf :com.wso2.identity.asgardeo.auth.smsotp
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Asgardeo extensions 1.0.43-SNAPSHOT ................ FAILURE [01:54 min]
[INFO] Asgardeo config mapper ............................. SKIPPED
[INFO] Asgardeo reCaptcha user skip ....................... SKIPPED
[INFO] Asgardeo Enterprise Login .......................... SKIPPED
[INFO] WSO2 Asgardeo - Email OTP Authenticator ............ SKIPPED
[INFO] WSO2 Asgardeo - SMS OTP Authenticator .............. SKIPPED
[INFO] WSO2 Asgardeo - WebSubHub Event Publisher .......... SKIPPED
[INFO] Conditional Authentication Functions for MyAccount 1.0.43-SNAPSHOT SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:07 min
[INFO] Finished at: 2022-09-21T08:11:59Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project asgardeo-extensions: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[JENKINS] Archiving <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.websubhub.publisher/pom.xml> to com.wso2.identity.asgardeo.extensions/com.wso2.identity.asgardeo.websubhub.publisher/1.0.43-SNAPSHOT/com.wso2.identity.asgardeo.websubhub.publisher-1.0.43-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.conditional.auth.functions.myaccount/pom.xml> to com.wso2.identity.asgardeo.extensions/com.wso2.identity.asgardeo.conditional.auth.functions.myaccount/1.0.43-SNAPSHOT/com.wso2.identity.asgardeo.conditional.auth.functions.myaccount-1.0.43-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/pom.xml> to com.wso2.identity.asgardeo.extensions/asgardeo-extensions/1.0.43-SNAPSHOT/asgardeo-extensions-1.0.43-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.config.mapper/pom.xml> to com.wso2.identity.asgardeo.extensions/com.wso2.identity.asgardeo.config.mapper/1.0.43-SNAPSHOT/com.wso2.identity.asgardeo.config.mapper-1.0.43-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.emailotp/pom.xml> to com.wso2.identity.asgardeo.extensions/com.wso2.identity.asgardeo.auth.emailotp/1.0.43-SNAPSHOT/com.wso2.identity.asgardeo.auth.emailotp-1.0.43-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.recaptcha.user.skip/pom.xml> to com.wso2.identity.asgardeo.extensions/com.wso2.identity.asgardeo.recaptcha.user.skip/1.0.43-SNAPSHOT/com.wso2.identity.asgardeo.recaptcha.user.skip-1.0.43-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.enterprise.login/pom.xml> to com.wso2.identity.asgardeo.extensions/com.wso2.identity.asgardeo.enterprise.login/1.0.43-SNAPSHOT/com.wso2.identity.asgardeo.enterprise.login-1.0.43-SNAPSHOT.pom
[JENKINS] Archiving <https://wso2.org/jenkins/job/iam-cloud/job/asgardeo-extensions/ws/components/com.wso2.identity.asgardeo.auth.smsotp/pom.xml> to com.wso2.identity.asgardeo.extensions/com.wso2.identity.asgardeo.auth.smsotp/1.0.43-SNAPSHOT/com.wso2.identity.asgardeo.auth.smsotp-1.0.43-SNAPSHOT.pom
No mail will be sent out, as 'iam-cloud » asgardeo-extensions » WSO2 Asgardeo - WebSubHub Event Publisher #97' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'iam-cloud » asgardeo-extensions » Conditional Authentication Functions for MyAccount #97' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
Not sending mail to user lashini at wso2.com with no permission to view iam-cloud » asgardeo-extensions » Asgardeo extensions #97
Sending e-mails to: builder at wso2.org
No mail will be sent out, as 'iam-cloud » asgardeo-extensions » Asgardeo config mapper #97' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'iam-cloud » asgardeo-extensions » WSO2 Asgardeo - Email OTP Authenticator #97' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'iam-cloud » asgardeo-extensions » Asgardeo reCaptcha user skip #97' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'iam-cloud » asgardeo-extensions » Asgardeo Enterprise Login #97' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
No mail will be sent out, as 'iam-cloud » asgardeo-extensions » WSO2 Asgardeo - SMS OTP Authenticator #97' does not have a result yet. Please make sure you set a proper result in case of pipeline/build scripts.
channel stopped
using credential github-user-for-maven-releases
> git rev-parse HEAD^{commit} # timeout=10
using credential github-user-for-maven-releases
> git rev-parse HEAD^{commit} # timeout=10
------------------------------------------------------------------------
[WSO2 Maven Release] [WSO2 Maven Release] Build Result: FAILURE
[WSO2 Maven Release] Dropping Git Tag: v1.0.43. Reason: FAILURE build.
[WSO2 Maven Release] Deleting release tag from remote.
> git --version # timeout=10
using GIT_ASKPASS to set credentials github user for maven release plugin (CD)
> git push https://github.com/wso2-enterprise/asgardeo-extensions.git :refs/tags/v1.0.43 # timeout=10
[WSO2 Maven Release] Dropped git tag - v1.0.43
[WSO2 Maven Release] Not Releasing the Nexus repository. "release:perform" goal is not defined in build goals -Dresume=false -Darguments='-Dadditionalparam=-Xdoclint:none' release:prepare -P wso2-release
Not sending mail to user chanikaruchini.16 at cse.mrt.ac.lk with no permission to view iam-cloud » asgardeo-extensions #97
Not sending mail to user lashini at wso2.com with no permission to view iam-cloud » asgardeo-extensions #97
Not sending mail to user udeshathukorala at gmail.com with no permission to view iam-cloud » asgardeo-extensions #97
More information about the Builder
mailing list