podaac / swodlr

swodlr (swaa·dler) is a system for generating on demand raster products from SWOT L2 data
Apache License 2.0
4 stars 2 forks source link

UAT E2E Testing #83

Open viviant100 opened 9 months ago

viviant100 commented 9 months ago

Once UAT is deployed to service-uat account, and UAT Ingestion #82 starts, UAT testing will begin.

frankinspace commented 8 months ago

@davidcolemanjpl @viviant100 See below for the initial test plan. Let me know if anything is unclear.

Collection short names in question: SWOT_L2_HR_PIXCVec_2.0 SWOT_L2_HR_PIXC_2.0 SWOT_XDF_ORBIT_REV_FILE_2.0

High level steps for testing:

  1. From swot-cumulus-sit, ingest (at a minimum) 8 SWOT_L2_HR_PIXCVec_2.0 and 8 SWOT_L2_HR_PIXC_2.0 and 1 SWOT_XDF_ORBIT_REV_FILE_2.0. The pixc and pixcvec files ingested should be files required to generate an L2 raster product.
  2. Verify in service-uat that all files are ingested by the ingest to sds step function (work with @joshgarde if there are question about how to verify)
  3. Using the service-uat swodlr UI, create a custom L2 raster product for the cycle/pass/scene associated with the pixc/pixcvec files ingested
  4. Verify new raster product is available for download in podaac-swot-uat-swodlr-protected s3 bucket
viviant100 commented 7 months ago

The test data will now use v2 collection:

viviant100 commented 5 months ago

@davidcolemanjpl Below are the user stories for SWODLR UI testing:

davidcolemanjpl commented 5 months ago

SWODLR-UI (SIT) (v1.0 Pre-Alpha) podaac-application-services-sit-3404 (service-swodlr-sit-raster-create) gsfc-esdis-edc-podaac-app-swot-sit-1128 (s3 archive - podaac-swot-sit-swodlr-protected /L2_HR_Raster)

note: SWODLR (UAT) UI - currently non-functional today - ..."issues with data."

note: the User story (3) noted above for SWODLR UI testing is not currently implemented this way (e.g. new, in progress, ready to download, etc.) - Only Email status currently implemented = "Product Download Ready" note: Unable to locate cycles/passes/scenes for SWOT_XDF_ORBIT_REV_FILE_2.0 collection (in CMR / EDSC)

Some SWODLR-UI Front-End issues observed:

Some SWODLR Back-End issues observed:

davidcolemanjpl commented 5 months ago

SWODLR-UI (UAT) (v1.0 Pre-Alpha): FAIL podaac-app-services-uat-1858 https://swodlr.podaac.uat.earthdatacloud.nasa.gov/ (this issue is related to podaac/swodlr/issues/82)

Observed SWODLR-UI Front-End issues:

SWODLR Back-End issues observed:

{ "errorMessage": "module 'sys' has no attribute 'last_type'", "errorType": "AttributeError", "requestId": "3129f281-0ad2-446a-8a86-79b1ffe71713", "stackTrace": [ " File \"/var/task/podaac/swodlr_common/decorators.py\", line 158, in lambda_handler\n output_jobs = handler(input_jobs)\n", " File \"/var/task/podaac/swodlr_common/decorators.py\", line 132, in default_bulk_job_handler\n output_jobs = [\n", " File \"/var/task/podaac/swodlr_common/decorators.py\", line 133, in \n try_handler(input_job) for input_job in input_jobs\n", " File \"/var/task/podaac/swodlr_common/decorators.py\", line 120, in try_handler\n sys.last_type, sys.last_value, sys.last_traceback # pylint: disable=no-member # noqa: E501\n" ] }

020124-rastercreate-executionsin UAT-UI raster create execution in AWS-false-positives- UPDATE-1

davidcolemanjpl commented 5 months ago

SWODLR UI (UAT) – podaac-app-services-uat-1858

The AWS raster create workflow executions are still not completing as expected.

note: I'm also still unable to currently locate footprint scenes on the map in SWODLR (UAT) UI (using Spatial Search Options)

see raster create workflow execution aa0cf897-0873-4aa7-a6d7-1ca7db01eecf: { "errorMessage": "module 'sys' has no attribute 'last_type'", "errorType": "AttributeError", "requestId": "f6807fad-05a1-43cc-b436-09111f44b2c0", "stackTrace": [ " File \"/var/task/podaac/swodlr_common/decorators.py\", line 158, in lambda_handler\n output_jobs = handler(input_jobs)\n", " File \"/var/task/podaac/swodlr_common/decorators.py\", line 132, in default_bulk_job_handler\n output_jobs = [\n", " File \"/var/task/podaac/swodlr_common/decorators.py\", line 133, in \n try_handler(input_job) for input_job in input_jobs\n", " File \"/var/task/podaac/swodlr_common/decorators.py\", line 120, in try_handler\n sys.last_type, sys.last_value, sys.last_traceback # pylint: disable=no-member # noqa: E501\n" ] }

False-positive - successful raster create execution - RuntimeError: see raster create workflow execution 5c19c558-857d-4184-8f05-c66e760ff42f:

  "job_status": "job-failed",
  "traceback": "Traceback (most recent call last):\n  File \"/home/ops/verdi/ops/hysds-1.2.12/hysds/job_worker.py\", line 1237, in run_job\n    raise RuntimeError(\"Got non-zero exit code: {}\".format(status))\nRuntimeError: Got non-zero exit code: 255\n",
  "errors": [
    "SDS threw an error"
  ]

recent failed UAT executions

This issue was observed while reviewing / testing: (https://github.com/podaac/swodlr-ui/issues/72)

note: No test data (SIT/UAT) for the SWOT_XDF_ORBIT_REV_FILE_2.0 collection

davidcolemanjpl commented 4 months ago

SWODLR UI (UAT) – Re-TEST: (v1.0.0-rc.8 Pre-Alpha) SWODLR API: v0.0.1-alpha48 podaac-app-services-uat-1858 podaac-app-swot-uat-3235 (s3)

22

UPDATE: 02/26/24: Issue still happens today: Certain service-swodlr-uat-raster-create executions show error ("SDS threw an error") – note: this type of SDS error is OK (Per DEV) - (see recent successful (false-positive) service-swodlr-uat-raster-creater executions - 114774e6-ff49-4a36-be97-c109aef51532 or c0342ae4-2439-4e71-8826-03f9efa14b90 )

Issue still happens today: User currently unable to download generated products via SWODLR UI (UAT); 404 (PAGE NOT FOUND) error displays after selecting the download icon (Download URL column (MyData page))

OKAY / PASS today: Download Ready email - User currently able to download product as expected from the SWODLR UAT Download Ready email (using user's SIT EDL credentials)

davidcolemanjpl commented 4 months ago

Re-TEST: SWODLR UI (UAT) (v1.0.0-rc.8 Pre-Alpha) SWODLR API: v0.0.1-alpha48 podaac-app-services-uat-1858 podaac-app-swot-uat-3235 (s3)

SWODLR Front-End issues:

SWODLR Back-end: OKAY

davidcolemanjpl commented 4 months ago

Re-TEST: SWODLR UI (UAT) (v1.0.0-rc.8 Pre-Alpha) SWODLR API: v0.0.1-alpha48 podaac-app-services-uat-1858 podaac-app-swot-uat-3235 (s3)

SWODLR Front-End issues: Okay now/PASS - User currently unable to download generated products via SWODLR UI; 404 (Page Not Found) error displays after selecting the download icon ('My Data' page, 'Download URL' column)

Still an issue - User must zoom in on Map in UI to properly locate footprint scenes (locating scenes via MAP polygon intermittent ('Customization' page))