HyukjinKwon edited a comment on issue #23117: [WIP][SPARK-7721][INFRA] Run and 
generate test coverage report from Python via Jenkins
URL: https://github.com/apache/spark/pull/23117#issuecomment-456083489
 
 
   Cool, @shaneknapp. Looks coverage is installed properly and looks working 
okay in general.
   
   ```
   Name                                               Stmts   Miss Branch 
BrPart  Cover
   
------------------------------------------------------------------------------------
   pyspark/__init__.py                                   42      0      8      
2    96%
   ...
   pyspark/worker.py                                    274     28    123      
8    90%
   
------------------------------------------------------------------------------------
   TOTAL                                              26805   2111   6873    
713    90%
   Generating HTML files for PySpark coverage under 
/home/jenkins/workspace/SparkPullRequestBuilder/python/test_coverage/htmlcov
   /home/jenkins/workspace/SparkPullRequestBuilder
   [error] 'SPARK_TEST_KEY' environment variable was not set. Unable to post
   ```
   
   Can you set both:
   
   1. `SPARK_TEST_KEY` environment variable in 
`spark-master-test-sbt-hadoop-2.7` and PR builder
   2. any environment variable in `spark-master-test-sbt-hadoop-2.7` (to only 
run the coverage at this build)
   
   please? Then, I think I can handle all other stuff.
   
   For 1., I sent a personal email to you before but I can send you again if 
it's kind of lost. IIRC, the whole string of `SPARK_TEST_KEY` is masked like 
`*******` in Jenkins's console and UI if we use Jenkins's "Inject passwords to 
the build as environment variables" feature - I also manually tested it before. 
So, it should be okay.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to