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

hercules baseline fail because of permissions #1930

Closed
DeniseWorthen opened this issue Oct 3, 2023 · 8 comments
Closed

hercules baseline fail because of permissions #1930

DeniseWorthen opened this issue Oct 3, 2023 · 8 comments
Labels
bug Something isn't working EPIC Support Requested

Comments

@DeniseWorthen
Copy link
Collaborator

Description

I attempted to run the RT against baseline /work/noaa/epic/hercules/UFS-WM_RT/NEMSfv3gfs/develop-20231002 to verify one last time for PR #1894. All tests failed with "missing baseline". I believe this is due to permission issue on the baseline directory.

@DeniseWorthen DeniseWorthen added bug Something isn't working EPIC Support Requested labels Oct 3, 2023
@jkbk2004
Copy link
Collaborator

jkbk2004 commented Oct 3, 2023

drwxrwsr-x 166 jongkim epic 16384 Oct 2 07:12 develop-20231002 @DeniseWorthen can you try ?

@DeniseWorthen
Copy link
Collaborator Author

Now I can't run on orion either:

ls: cannot open directory /work/noaa/epic/UFS-WM_RT/NEMSfv3gfs/develop-20231002/: Permission denied
+ [[ 0 -lt 1 ]]
+ echo 'Baseline directory is empty:'
Baseline directory is empty:
+ echo '   /work/noaa/epic/UFS-WM_RT/NEMSfv3gfs/develop-20231002'
   /work/noaa/epic/UFS-WM_RT/NEMSfv3gfs/develop-20231002
+ exit 1
+ echo 'rt.sh finished'

@DeniseWorthen
Copy link
Collaborator Author

On Orion, I can ls the first of these directories, the second is permission denied

drwxr-x--- 134 zshrader noaa-hpc 16384 Sep 29 11:17 develop-20230928
drwxr-s--- 129 jongkim  epic     16384 Oct  2 07:11 develop-20231002

@zach1221
Copy link
Collaborator

zach1221 commented Oct 3, 2023

On Orion, I can ls the first of these directories, the second is permission denied

drwxr-x--- 134 zshrader noaa-hpc 16384 Sep 29 11:17 develop-20230928
drwxr-s--- 129 jongkim  epic     16384 Oct  2 07:11 develop-20231002

so you can access develop-20230928 but not 20231002?

@zach1221
Copy link
Collaborator

zach1221 commented Oct 3, 2023

Can you try again, on both Orion and Hercules @DeniseWorthen ?

@DeniseWorthen
Copy link
Collaborator Author

I was able to run the complete RT on hercules now and the first orion test has sucessfully completed so I think orion is also ok now.

@zach1221
Copy link
Collaborator

zach1221 commented Oct 3, 2023

I was able to run the complete RT on hercules now and the first orion test has sucessfully completed so I think orion is also ok now.

Awesome! I'll keep a watchful eye on those permission going forward.

@natalie-perlin
Copy link
Collaborator

@jkbk2004 @zach1221
Permissions would be a recurrent issue, due to default permissions set to "---" for other users (non-epic group).
My suggestion is to set current and default "r-x" permissions for /work/noaa/epic/UFS-WM_RT/ and for most of the /work/noaa/epic/role-epic directories (contrib, spack-stack, landda, jenkins). This is done using setfacl utility.
Please let me know if this would be a helpful step to do, and if there are any particular directories that would benefit from that update.
At this point, I'm setting current and default permissions for the contrib and for spack-stack directories, recurrently, due to continuous issues with stacks (with no default "r-x" permissions set, any new directories and files would have "---" for the "other" users)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working EPIC Support Requested
Projects
None yet
Development

No branches or pull requests

4 participants