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

Synk report fix: Update docker/Dockerfile #29

Open
jamesfwood opened this issue Jan 19, 2024 · 12 comments · Fixed by #30 or #33
Open

Synk report fix: Update docker/Dockerfile #29

jamesfwood opened this issue Jan 19, 2024 · 12 comments · Fixed by #30 or #33
Assignees
Labels
bug Something isn't working

Comments

@jamesfwood
Copy link
Contributor

jamesfwood commented Jan 19, 2024

Use latest LTS version.

Needs the docker file base image "node" updated to node:21.6+ or so.

Check here:

https://app.snyk.io/org/po.daac/projects

podaac/hitide-profile

@jamesfwood
Copy link
Contributor Author

@jbyrne6 node 21.6 failing. Please test locally first.

@jbyrne6 jbyrne6 added the bug Something isn't working label Apr 8, 2024
@jamesfwood
Copy link
Contributor Author

@davidcolemanjpl Please test HiTIDE (4.17.2-RC.4) in UAT, with the new HiTIDE Profile (4.10.1-rc.10) version.

Thanks!

@davidcolemanjpl
Copy link

HiTIDE UAT v4.17.2-RC.4
HiTIDE profile v4.10.1-rc.1

HiTIDE functionality / subsetting seems to be currently okay in UAT.

I'll need more deets regarding this requirement testing / acceptance criteria.

It seems like the base image node:21.6 still shows issues in SNYK: (podaac/hitide-profile docker/Dockerfile)
https://app.snyk.io/org/po.daac/project/0a3f1fd9-06b5-4531-9f06-b2185b894722?action=retest&success=false&result=FAILED_RETEST

HiTIDE profile - SNYK report - 050124

Functionality passed in HiTIDE UAT:
UAT-test-latestcode-HiTIDE-1

@davidcolemanjpl
Copy link

davidcolemanjpl commented May 1, 2024

HiTIDE UAT v4.17.2-RC.4
HiTIDE profile v4.10.1-rc.1

Updated AC, per DEV:
"check the network tab to make sure there is only one graphql call to get all collection data instead of one rest api call per collection. And to make sure collection resolution is present and thumbnails work still."

FAIL:
Collections in HiTIDE UAT UI currently have no associated Metadata & Granule Availability Image.
Also, Spatial Resolution is listed as 'Not Available' for several cloud datasets:

see cloud datasets:
AMSRE-REMSS-L2P-v7a
ALTIKA_SARAL_L2_OST_XOGDR
AMSR2-REMSS-L2P-v8.2
AMSR2-REMSS-L2P_RT-v8.2
AMSR2-REMSS-L2P_RT_v8a
VIIRS_NPP-STAR-L2P-v2.80
VIIRS_N20-NAVO-L2P-v3.0
ASCATA-L2-25km
ASCATB-L2-Coastal
ASCATB_ESDR_L2_WIND_STRESS_V1.1
ASCATC-L2-25km
ASCATC-L2-Coastal
AVHRRF_MA-STAR-L2P-v2.80
AVHRRF_MB-STAR-L2P-v2.80
AVHRRF_MC-STAR-L2P-v2.80
AVHRRMTA_G-NAVO-L2P-v2.0
AVHRRMTB_G-NAVO-L2P-v2.0
AVHRRMTC_G-NAVO-L2P-v2.0
AVHRR_SST_METOP_B-OSISAF-L2P-v1.0
CYGNSS_NOAA_L2_SWSP_25KM_V1.2
JASON-1_L2_OST_GPN_E
JASON-1_L2_OST_GPR_E
JASON-1_L2_OST_GPS_E
MERGED_TP_J1_OSTM_OST_CYCLES_V42
MODIS_A-JPL-L2P-v2019.0
MODIS_T-JPL-L2P-v2019.0
N21-VIIRS-L2P-ACSPO-v2.80
OS2_OSCAT_LEVEL_2B_OWV_COMP_12_V2
PRIM_SMAP_L2_V1
QSCAT_LEVEL_2B_OWV_COMP_12_KUSST_LCRES_4.1
QSCAT_LEVEL_2B_OWV_COMP_12_LCR_3.1
RSCAT_LEVEL_2B_OWV_CLIM_12_V2
SMAP_RSS_L2_SSS_V4
SMAP_RSS_L2_SSS_V5
SMAP_RSS_L2_SSS_V6
(***ALL SWOT collections affected)
SWOT_L2_LR_SSH_BASIC_1.0
SWOT_L2_LR_SSH_BASIC_1.1
SWOT_L2_LR_SSH_BASIC_2.0
SWOT_L2_LR_SSH_EXPERT_1.0
SWOT_L2_LR_SSH_EXPERT_1.1
SWOT_L2_LR_SSH_EXPERT_2.0
SWOT_L2_LR_SSH_WINDWAVE_2.0
TMI-REMSS-L2P-v4
VIIRS_N20-NAVO-L2P-v3.0 (duplicate collection in UI)
VIIRS_N20-NAVO-L2P-v3.0
VIIRS_N20-OSPO-L2P-v2.61
VIIRS_N20-STAR-L2P-v2.80
VIIRS_N21-NAVO-L2P-v3.0
VIIRS_NPP-JPL-L2P-v2016.2

no resolution - altika in hitide UAT-1

note:
2 graphql calls ('xhr' and 'preflight' types) display in the network tab f/when user selects a dataset in UI:
(same behavior is currently in HiTIDE OPS UI (v4.17.1))

2 graphql calls when dataset selected-1
21-graphql calls-network tab

@jamesfwood
Copy link
Contributor Author

@davidcolemanjpl Hi David. Please retest this in UAT again. Should be fixed.
Thanks!

@davidcolemanjpl
Copy link

davidcolemanjpl commented May 8, 2024

HiTIDE-UI UAT v4.17.2-RC.5
HiTIDE-profile v4.10.1-rc.10

The graphql calls ('xhr' type) to get all collection data seems to currently function okay in HiTIDE-UI UAT.
The collections Spatial Resolution is present and the associated dataset thumbnails appear okay.

NOTE: the following datasets Spatial Resolution in UAT is noted as 'Not Applicable':
AQUARIUS_L2_SSS_CAP_V5
AQUARIUS_L2_SSS_V5
JASON-1_L2_OST_GPS_E
JASON-1_L2_OST_GPN_E
JASON-1_L2_OST_GPR_E
SWOT_L2_NALT_GDR_SGDR_2.0
SWOT_L2_NALT_GDR_SSHA_2
SWOT_L2_NALT_IGDR_GDR_2.0
SWOT_L2_NALT_IGDR_SGDR_2.0
SWOT_L2_NALT_IGDR_SSHA_2.0
SWOT_L2_NALT_OGDR_GDR_2.0
SWOT_L2_NALT_OGDR_SSHA_2.0
SWOT_L2_RAD_IGDR_2.0
SWOT_L2_RAD_OGDR_2.0

Side Observation:(Blocker)
Errors currently displayed today in UI console
(See JIRA PODAAC-6247)

@jamesfwood
Copy link
Contributor Author

@davidcolemanjpl Please test this in UAT. Updated hitide-profile version in UAT.
David, can you ask @jimmie how to update that Synk report?

@davidcolemanjpl
Copy link

davidcolemanjpl commented Jun 13, 2024

HITIDE UAT UI V4.17.2-RC.9
HiTIDE profile: v4.10.1-rc.13
chrome v125.0.6422.142 (Official Build) (arm64)

***I'll need more details / information regarding the "SNYK update" requirement

note:
JIRA PODAAC-6247 is still an issue in this version, 500 (Internal Server Error) and 400 (Bad Request) errors still display in UI console.

note2:
Currently, in SNYK, there are 3 related HiTIDE Profile Projects / targets:
podaac/hitide profile
/podaac/hitide-profile.git
podaac/hitde-profile

HiTIDEProfile-TargetsinSNYK(3)

@jamesfwood
Copy link
Contributor Author

jamesfwood commented Jul 29, 2024

Hi @davidcolemanjpl Please test again in HiTIDE UAT
Thanks!
Fixing the 500 error in another ticket.

@davidcolemanjpl
Copy link

HITIDE (UAT) UI v4.17.2-rc.10
HiTIDE-profile: v4.10.1-rc.15
chrome v127.0.6533.74 (Official Build) (arm64)
snyk- hitide-profile Dockerfile Base Image = node:21.6

The graphql calls ('xhr' type) to get all collection data currently seems to function as expected in HiTIDE-UI UAT.

Test Failed:

The following collection in HiTIDE UAT UI currently has no associated Metadata & Granule Availability Image:
MERGED_TP_J1_OSTM_OST_CYCLES_V42 - image broken

Spatial Resolution = Not Available
MERGED_TP_J1_OSTM_OST_CYCLES_V52

Image

NOTE:
Metadata & Granule Availability Spatial Resolution = 'Not Applicable' in HiTIDE-UI :

AQUARIUS_L2_SSS_CAP_V5
AQUARIUS_L2_SSS_V5
JASON-1_L2_OST_GPN_E
JASON-1_L2_OST_GPR_E
JASON-1_L2_OST_GPS_E
PRIM_SMAP_L2_V1
SWOT_L2_NALT_GDR_SGDR_2.0
SWOT_L2_NALT_GDR_SSHA_2.0
SWOT_L2_NALT_IGDR_GDR_2.0
SWOT_L2_NALT_IGDR_SGDR_2.0
SWOT_L2_NALT_IGDR_SSHA_2.0
SWOT_L2_NALT_IGDR_SSHA_2.0
SWOT_L2_NALT_OGDR_SSHA_2.0
SWOT_L2_RAD_OGDR_2.0
SWOT_L2_RAD_IGDR_2.0

NOTE2:
Side Observation:(Blocker) - this issue will be addressed separately ; Errors currently display in HiTIDE-UI console when selecting dataset's info icon (See JIRA PODAAC-6247 / podaac/hitide-ui#70)

  • User can see 400/500 errors in console when selecting info icon for the following datasets:
    ASCATC-L2-Coastal
    ASCATB-L2-Coastal
    ASCATB-L2-25km
    CYGNSS_L2_CDR_V1.0
    PRIM_SMAP_L2_V1
    SMAP_RSS_L2_SSS_V6
    QSCAT_LEVEL_2B_OWV_COMP_12_KUSST_LCRES_4.1

@jamesfwood
Copy link
Contributor Author

Hi @davidcolemanjpl please test again. This ticket should be only to make sure hitide works with node 21.6. All the collection issues should go into a new ticket.
Thanks!

@davidcolemanjpl
Copy link

HiTIDE-UI UAT v4.17.2-rc.10
HiTIDE Profile v4.10.1-rc.16
l2ss-py:2.11.0rc8
concise v0.9.0rc5
Harmony (UAT) UI - v0.0.1075
snyk- hitide-profile Dockerfile Base Image = node:21.6

The graphql calls ('xhr' type) to get all collection data currently seems to function as expected in HiTIDE-UI UAT.

Test Complete

snyk-docker-1
snyk-docker-2


NOTE:
major issue still associated w/ this development ticket (SIT/UAT):

see PODAAC-6406

The following collection in HiTIDE UAT UI currently has no associated Metadata & Granule Availability Image:
MERGED_TP_J1_OSTM_OST_CYCLES_V42 - image broken

Spatial Resolution = Not Available
MERGED_TP_J1_OSTM_OST_CYCLES_V52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: ✅ Done
3 participants