-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/67323/
-----------------------------------------------------------

(Updated May 25, 2018, 2:32 p.m.)


Review request for lens and Rajitha R.


Bugs: LENS-1516
    https://issues.apache.org/jira/browse/LENS-1516


Repository: lens


Description
-------

In Python module we need to ignore self signed server cert for each client 
request.


Diffs
-----

  contrib/clients/python/lens/client/log.py e427f7fb 
  contrib/clients/python/lens/client/query.py b09ff19d 
  contrib/clients/python/lens/client/session.py 3b527e01 


Diff: https://reviews.apache.org/r/67323/diff/2/


Testing (updated)
-------

https://build.corp.inmobi.com/view/Platform/job/Platform_Common_Job/2960/


python client logs
/Library/Python/2.7/site-packages/urllib3/connectionpool.py:858: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
certificate verification is strongly advised. See: 
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/Library/Python/2.7/site-packages/urllib3/connectionpool.py:858: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
certificate verification is strongly advised. See: 
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/Library/Python/2.7/site-packages/urllib3/connectionpool.py:858: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
certificate verification is strongly advised. See: 
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
/Library/Python/2.7/site-packages/urllib3/connectionpool.py:858: 
InsecureRequestWarning: Unverified HTTPS request is being made. Adding 
certificate verification is strongly advised. See: 
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
<lens.client.session.LensSessionClient object at 0x1079b7b10>


[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules ............................. SUCCESS [1.231s]
[INFO] Lens .............................................. SUCCESS [2.528s]
[INFO] Lens API .......................................... SUCCESS [16.781s]
[INFO] Lens API for server and extensions ................ SUCCESS [13.274s]
[INFO] Lens Cube ......................................... SUCCESS [2:40.141s]
[INFO] Lens DB storage ................................... SUCCESS [11.890s]
[INFO] Lens Query Library ................................ SUCCESS [10.211s]
[INFO] Lens Hive Driver .................................. SUCCESS [1:03.397s]
[INFO] Lens Driver for JDBC .............................. SUCCESS [38.709s]
[INFO] Lens Elastic Search Driver ........................ SUCCESS [15.413s]
[INFO] Lens Server ....................................... SUCCESS [10:01.285s]
[INFO] Lens client ....................................... SUCCESS [1:18.280s]
[INFO] Lens CLI .......................................... SUCCESS [1:06.755s]
[INFO] Lens Examples ..................................... SUCCESS [5.549s]
[INFO] Lens Ship Jars to Distributed Cache ............... SUCCESS [0.518s]
[INFO] Lens Distribution ................................. SUCCESS [7.701s]
[INFO] Lens ML Lib ....................................... SUCCESS [54.059s]
[INFO] Lens ML Ext Distribution .......................... SUCCESS [1.422s]
[INFO] Lens Regression ................................... SUCCESS [8.780s]
[INFO] Lens UI ........................................... SUCCESS [26.070s]
[INFO] Lens Contrib ...................................... SUCCESS [0.248s]
[INFO] Lens Contributed Clients .......................... SUCCESS [0.245s]
[INFO] Lens Python Client ................................ SUCCESS [0.250s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:45.166s
[INFO] Finished at: Fri May 25 13:54:14 UTC 2018

[INFO] Final Memory: 280M/3172M
[INFO] ------------------------------------------------------------------------
[Platform_Common_Job] $ /bin/sh -xe /tmp/jenkins8641663063594723774.sh
+ ruby /d0/jenkins/scripts/licenseCheck.rb 
/d0/jenkins/workspace/Platform_Common_Job
0

[File exists] check if file exists [Run]
Run condition [File exists] enabling perform for step [BuilderChain]
[Platform_Common_Job] $ /bin/sh -xe /tmp/jenkins1603012458758280737.sh
+ git describe --abbrev=0 --tags
+ TagName=jenkins-Platform_Common_Job-2960
+ git checkout jenkins-Platform_Common_Job-2960
HEAD is now at e5dbb60... Merge branch 'ankit_ssl' of 
https://github.com/ankitkailaswar/lens into ssl
M       src/site/apt/admin/config.apt
M       src/site/apt/user/cli.apt
M       src/site/apt/user/client-config.apt
[DependencyCheck] OWASP Dependency-Check Plugin v3.1.2
[DependencyCheck] Executing Dependency-Check with the following options:
[DependencyCheck]  -name = Platform_Common_Job
[DependencyCheck]  -scanPath = /d0/jenkins/workspace/Platform_Common_Job
[DependencyCheck]  -outputDirectory = /d0/jenkins/workspace/Platform_Common_Job
[DependencyCheck]  -dataDirectory = /d0/jenkins/owasp
[DependencyCheck]  -dataMirroringType = none
[DependencyCheck]  -isQuickQueryTimestampEnabled = true
[DependencyCheck]  -jarAnalyzerEnabled = true
[DependencyCheck]  -nodePackageAnalyzerEnabled = true
[DependencyCheck]  -nspAnalyzerEnabled = false
[DependencyCheck]  -composerLockAnalyzerEnabled = true
[DependencyCheck]  -pythonDistributionAnalyzerEnabled = true
[DependencyCheck]  -pythonPackageAnalyzerEnabled = true
[DependencyCheck]  -rubyBundlerAuditAnalyzerEnabled = true
[DependencyCheck]  -rubyGemAnalyzerEnabled = true
[DependencyCheck]  -cocoaPodsAnalyzerEnabled = true
[DependencyCheck]  -swiftPackageManagerAnalyzerEnabled = true
[DependencyCheck]  -archiveAnalyzerEnabled = true
[DependencyCheck]  -assemblyAnalyzerEnabled = true
[DependencyCheck]  -centralAnalyzerEnabled = false
[DependencyCheck]  -nuspecAnalyzerEnabled = true
[DependencyCheck]  -nexusAnalyzerEnabled = false
[DependencyCheck]  -autoconfAnalyzerEnabled = true
[DependencyCheck]  -cmakeAnalyzerEnabled = true
[DependencyCheck]  -opensslAnalyzerEnabled = true
[DependencyCheck]  -showEvidence = true
[DependencyCheck]  -formats = XML 
[DependencyCheck]  -autoUpdate = false
[DependencyCheck]  -updateOnly = false
[DependencyCheck] Scanning: /d0/jenkins/workspace/Platform_Common_Job

[DependencyCheck] Analyzing Dependencies

[DependencyCheck] One or more exceptions were thrown while executing 
Dependency-Check
[DependencyCheck] Exception Caught: 
org.owasp.dependencycheck.exception.InitializationException
[DependencyCheck] Message: Invalid Configuration: enabling the Node Package 
Analyzer without using the NSP Analyzer is not supported.
[DependencyCheck] org.owasp.dependencycheck.exception.InitializationException: 
Invalid Configuration: enabling the Node Package Analyzer without using the NSP 
Analyzer is not supported.
[DependencyCheck]       at 
org.owasp.dependencycheck.analyzer.NodePackageAnalyzer.prepareFileTypeAnalyzer(NodePackageAnalyzer.java:124)
[DependencyCheck]       at 
org.owasp.dependencycheck.analyzer.AbstractFileTypeAnalyzer.prepareAnalyzer(AbstractFileTypeAnalyzer.java:73)
[DependencyCheck]       at 
org.owasp.dependencycheck.analyzer.AbstractAnalyzer.prepare(AbstractAnalyzer.java:107)
[DependencyCheck]       at 
org.owasp.dependencycheck.Engine.initializeAnalyzer(Engine.java:817)
[DependencyCheck]       at 
org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:662)
[DependencyCheck]       at 
org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.executeDependencyCheck(DependencyCheckExecutor.java:172)
[DependencyCheck]       at 
org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.call(DependencyCheckExecutor.java:103)
[DependencyCheck]       at 
org.jenkinsci.plugins.DependencyCheck.DependencyCheckExecutor.call(DependencyCheckExecutor.java:46)
[DependencyCheck]       at 
hudson.remoting.UserRequest.perform(UserRequest.java:207)
[DependencyCheck]       at 
hudson.remoting.UserRequest.perform(UserRequest.java:53)
[DependencyCheck]       at hudson.remoting.Request$2.run(Request.java:358)
[DependencyCheck]       at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
[DependencyCheck]       at 
java.util.concurrent.FutureTask.run(FutureTask.java:266)
[DependencyCheck]       at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[DependencyCheck]       at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[DependencyCheck]       at java.lang.Thread.run(Thread.java:745)
[DependencyCheck] 
Build step 'Invoke Dependency-Check analysis' changed build result to FAILURE
[JDK Parameter]: Restored job JDK
[DependencyCheck] Skipping publisher since build result is FAILURE
Archiving artifacts

[SLOCCount] Skipping results publication since the build is not successful
Recording test results

Sending e-mails to: databus-...@inmobi.com rajith...@inmobi.com 
barunstha...@gmail.com ankit.kailas...@inmobi.com

ERROR: 250 2.0.0 Ok: queued as 76069A06F4

com.sun.mail.smtp.SMTPSendFailedException: 250 2.0.0 Ok: queued as 76069A06F4
;
  nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 
<barunstha...@gmail.com>: Relay access denied

        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1112)
        at javax.mail.Transport.send0(Transport.java:195)
        at javax.mail.Transport.send(Transport.java:124)
        at hudson.tasks.MailSender.run(MailSender.java:131)
        at hudson.tasks.Mailer.perform(Mailer.java:170)
        at 
hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
        at hudson.model.Build$BuildExecution.post2(Build.java:186)
        at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
        at hudson.model.Run.execute(Run.java:1749)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 554 5.7.1 
<barunstha...@gmail.com>: Relay access denied

        at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1733)
        at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1098)
        ... 14 more
Finished: FAILURE


Thanks,

Ankit Kailaswar

Reply via email to