We are working on porting our python 2 PGE's to python 3. Individual PGE's will be tested and validated against equivalent datasets in C-cluster. Once all PGE's have been validated, a system level test of the pipeline will be performed to ensure all trigger rules are in place and all expected products are generated.
Pipeline
<update pipeline diagram>
PGE's Ported to Python 3
AOI Ops Report
ariamh
SLC sling
enumerator
SAR avail
SLCP-COR
SLCP-PM
COD
evaluator
localizer
multi acquisition localizer
PGE I/O
PGE test list is incomplete. We are currently focusing on the main pipeline |
Test Procedures
Process
For this example we are porting the aoi ops report.
Create a python3 virtual environment.
virtualenv env3 -p python3 to create the virtual environmentStart the python3 virtual environment.
source ~/env3/bin/activate to start a python 3 virtual environmentPull contents of repo on a new branch named python3
Run futurize over the contents of the repo.
pip install future
cd <repo>
futurize -w -n -p .
Output will show what has been changed.ssh into e mozart to add the python3 converted pge : sds ci add_job -k -b develop https://github.com/aria-jpl/standard_product_report.git s3
Go to e jenkins and click configure. Specify the branch as python3 branch and build. check the docker file change FROM to the latest branch. wait for build to complete successfully. may take a few minutes. will publish job to e cluster automatically.
Go to e cluster and run job. step into container if you need to debug stuff.
Once job runs successfully, push changes to dev.
0 Comments