Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bgd 5677 spark operator security patching #25

Merged
merged 10 commits into from
Aug 12, 2024

Conversation

sigmarkarl
Copy link

@sigmarkarl sigmarkarl commented Aug 8, 2024

Jira ticket

https://spotinst.atlassian.net/browse/BGD-5677

Description

Update libraries to fix security vulnerabilities

Demo

Not relevant, no functional change

Checklist

  • I have added a Jira ticket link
  • I have filled in the test plan
  • I have executed the tests and filled in the test results
  • I have updated/created relevant documentation

How to test

No functional change, run integration tests

Test plan and results

The integration tests ran successfully

4:11PM INF Checking cluster availability clusterId=osc-739db584
4:11PM INF Cluster is available, tests are ready to run clusterId=osc-739db584
4:11PM INF Start running tests
4:11PM INF Optimizer Url: https://api.spotinst.io
4:11PM INF accountId: act-12f6b1b9
4:11PM INF clusterId: osc-739db584
4:11PM INF sparkProps: [{Version:3.5.0 Image:}]
4:11PM INF 20 tests selected: [list_applications, kill_application_pending_3.5.0, kill_application_running_3.5.0, kill_application_completed_3.5.0, list_jobs, get_job, put_job, list_clusters, get_config_template, create_valid_config_template, create_invalid_config_template, list_config_templates, put_config_templates, delete_config_template, run_workspace, run_spark_connect_application-3.5.0, run_spark_connect_application_code-3.5.0, run_notebook_application-Python, run_notebook_application-Scala, run_application-3.5.0]
4:11PM INF Starting suite=list_jobs
4:11PM INF Starting suite=list_applications
4:11PM INF Starting suite=put_job
4:11PM INF Starting suite=get_job
4:11PM INF Starting suite=run_workspace
4:11PM INF Starting suite=list_config_templates
4:11PM INF Workspace creation test suite=run_workspace
4:11PM INF Starting suite=run_spark_connect_application_code-3.5.0
4:11PM INF Testing spark connect app submit with properties {3.5.0 } suite=run_spark_connect_application_code-3.5.0
4:11PM INF Starting suite=get_config_template
4:11PM INF Starting suite=run_notebook_application-Scala
4:11PM INF Starting suite=run_spark_connect_application-3.5.0
4:11PM INF Starting suite=list_clusters
4:11PM INF Starting suite=kill_application_completed_3.5.0
4:11PM INF Starting suite=create_valid_config_template
4:11PM INF Trying to create config template integration-tests-config-template-create-ffwdnv suite=create_valid_config_template
4:11PM INF Starting suite=delete_config_template
4:11PM INF Starting suite=run_notebook_application-Python
4:11PM INF Creating config Scala template. suite=run_notebook_application-Scala
4:11PM INF Starting suite=kill_application_running_3.5.0
4:11PM INF Starting suite=put_config_templates
4:11PM INF Starting suite=create_invalid_config_template
4:11PM INF Testing spark connect app submit with properties {3.5.0 } suite=run_spark_connect_application-3.5.0
4:11PM INF Creating config Python template. suite=run_notebook_application-Python
4:11PM INF Starting suite=run_application-3.5.0
4:11PM INF Testing Spark submit with properties {3.5.0 } suite=run_application-3.5.0
4:11PM INF Trying to create invalid config template integration-tests-config-template-create-oytejp suite=create_invalid_config_template
4:11PM INF Successfully received unprocessable entity response for integration-tests-config-template-create-oytejp suite=create_invalid_config_template
4:11PM INF Success suite=create_invalid_config_template
4:11PM INF Config template created successfully suite=get_config_template
4:11PM INF Config template created successfully suite=put_config_templates
4:11PM INF Config template created successfully suite=delete_config_template
4:11PM INF Success suite=list_clusters
4:11PM INF Config template created successfully suite=list_config_templates
4:11PM INF Testing Spark submit with properties Python suite=run_notebook_application-Python
4:11PM INF Testing Spark submit with properties Scala suite=run_notebook_application-Scala
4:11PM INF Workspace created: wksp-170654-9ef01fbb suite=run_workspace
4:11PM INF Success suite=list_jobs
4:11PM INF Config template successfully updated suite=put_config_templates
4:11PM INF Submitted app integration-tests-8d6aa-smear suite=kill_application_running_3.5.0
4:11PM INF Submitted spark connect app suite=run_spark_connect_application-3.5.0
4:11PM INF Submitted app integration-tests-18d47-grate suite=kill_application_completed_3.5.0
4:11PM INF Success suite=list_applications
4:11PM INF Submitted app suite=run_application-3.5.0
4:11PM INF Submitted app integration-tests-job-put-xfxcsa-cdba3-bales suite=put_job
4:11PM INF App is processed suite=kill_application_running_3.5.0
4:11PM INF App is processed suite=kill_application_completed_3.5.0
4:11PM INF Created config template integration-tests-config-template-create-ffwdnv suite=create_valid_config_template
4:11PM INF Trying to create config template with same name integration-tests-config-template-create-ffwdnv suite=create_valid_config_template
4:11PM INF Submitted app integration-tests-job-get-pikkxo-effc6-lauds suite=get_job
4:11PM INF App is processed suite=run_application-3.5.0
4:11PM INF Job config has updated suite=put_job
4:11PM INF Updated job labels are correct suite=put_job
4:11PM INF Job fetched successfully suite=get_job
4:11PM INF Got a correct job suite=get_job
4:11PM INF Successfully received bad request response for integration-tests-config-template-create-ffwdnv suite=create_valid_config_template
4:11PM INF Success suite=create_valid_config_template
4:11PM INF Trying to list the config templates suite=list_config_templates
4:11PM INF Config template fetched successfully suite=get_config_template
4:11PM INF Got a correct config template suite=get_config_template
4:11PM INF Success suite=get_config_template
4:11PM INF Config template successfully deleted suite=delete_config_template
4:11PM INF Success suite=delete_config_template
4:11PM INF Config template fetched successfully suite=put_config_templates
4:11PM INF Got a correct config template suite=put_config_templates
4:11PM INF Config template fetched successfully suite=list_config_templates
4:11PM INF Got a correct config template list suite=list_config_templates
4:11PM INF Success suite=put_config_templates
4:11PM INF Success suite=list_config_templates
4:11PM INF Live kubernetes logs are available suite=run_application-3.5.0
4:11PM INF Submitted spark connect app suite=run_spark_connect_application_code-3.5.0
4:12PM INF Workspace is running: wksp-170654-9ef01fbb suite=run_workspace
4:12PM INF Workspace killed: wksp-170654-9ef01fbb suite=run_workspace
4:12PM INF Success suite=run_workspace
4:12PM INF Success suite=get_job
4:12PM INF Success suite=put_job
4:14PM INF App is now running. suite=kill_application_running_3.5.0
4:14PM INF App killed suite=kill_application_running_3.5.0
4:14PM INF Success suite=kill_application_running_3.5.0
4:14PM INF App is now running. suite=run_application-3.5.0
4:14PM INF Live driver logs are available suite=run_application-3.5.0
4:14PM INF Listing applications for Python test suite=run_notebook_application-Python
4:14PM INF Submitted app suite=run_notebook_application-Python
4:14PM INF App is processed suite=run_notebook_application-Python
4:14PM INF App is now running. suite=run_notebook_application-Python
4:14PM INF Get App status. suite=run_notebook_application-Python
4:14PM INF Cleaning up config templates. suite=run_notebook_application-Python
4:14PM INF Success suite=run_notebook_application-Python
4:15PM INF Spark connect app is now running suite=run_spark_connect_application-3.5.0
4:15PM INF Spark connect app killed suite=run_spark_connect_application-3.5.0
4:15PM INF Success suite=run_spark_connect_application-3.5.0
4:15PM INF Listing applications for Scala test suite=run_notebook_application-Scala
4:15PM INF Submitted app suite=run_notebook_application-Scala
4:15PM INF App is processed suite=run_notebook_application-Scala
4:15PM INF App is now running. suite=run_notebook_application-Scala
4:15PM INF Get App status. suite=run_notebook_application-Scala
4:15PM INF Cleaning up config templates. suite=run_notebook_application-Scala
4:15PM INF Success suite=run_notebook_application-Scala
4:15PM INF App is completed suite=kill_application_completed_3.5.0
4:15PM INF Success suite=kill_application_completed_3.5.0
4:15PM INF Spark connect app is now running suite=run_spark_connect_application_code-3.5.0
4:16PM INF App is completed suite=run_application-3.5.0
4:17PM INF Spark connect app executed sql suite=run_spark_connect_application_code-3.5.0
4:17PM INF Spark connect app killed suite=run_spark_connect_application_code-3.5.0
4:17PM INF Success suite=run_spark_connect_application_code-3.5.0
4:21PM INF Logs are processed suite=run_application-3.5.0
4:21PM INF Driver log archive is available suite=run_application-3.5.0
4:21PM INF Success suite=run_application-3.5.0
4:21PM INF Starting sequential tests
4:21PM INF Starting suite=kill_application_pending_3.5.0
4:21PM INF Submitted app integration-tests-96afe-reach suite=kill_application_pending_3.5.0
4:21PM INF App is processed suite=kill_application_pending_3.5.0
4:21PM INF App killed suite=kill_application_pending_3.5.0
4:21PM INF Success suite=kill_application_pending_3.5.0
4:21PM INF All tests are successful

@sigmarkarl sigmarkarl changed the base branch from master to ocean-spark August 8, 2024 14:16
@sigmarkarl sigmarkarl requested a review from a team as a code owner August 8, 2024 14:16
@alextarasov-spot
Copy link

@sigmarkarl, please, add screenshots from the integration test results

Copy link

@alextarasov-spot alextarasov-spot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sigmarkarl sigmarkarl merged commit 91653f6 into ocean-spark Aug 12, 2024
3 checks passed
@sigmarkarl sigmarkarl deleted the BGD-5677-spark-operator-security-patching branch August 12, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants