[DevOps]: Enable and verify the daily PACE upload on Compy
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- bash, linux, python
- Área
- devops, infrastructure
Línea de trabajo
Read the operations runbook at docs/operations/archive-uploads.md and use the deployment-local /compyfs/simboard/operations/compy.crontab on the Compy cron host. The checklist covers the test schedule, crontab backup and install, process monitoring, logs, upload report, and PACE search. Done means the upload is verified, then the temporary entry is replaced by the approved daily schedule and the installed crontab is checked.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Enable the daily PACE upload on Compy. Manage it alongside SimBoard in the deployment-local /compyfs/simboard/operations/compy.crontab on the same host and account. Do not edit SimBoard’s version-controlled template. See the operations runbook.
1. Preflight and approval
- Set up the checkout and logs, pull #139, and verify
/usr/bin/python3withrequests. - Set up private
~/.paceccand pass preflight, including theflockand log permission checks. - Confirm the schedule and historical Jenkins timezone, rule out duplicate jobs, review archive permissions and side effects, and get operator approval.
2. Schedule a test in UTC
- On the Compy cron host, print a job line for five minutes from now. Keep it on one line below
CRON_TZ=UTCin the deployment-local file. Use it instead of the daily PACE line for the test. Regenerate if you miss the scheduled minute.
printf '%s %s\n' "$(date -u -d '+5 minutes' '+%M %H %d %m *')" 'PACE_PYTHON=/usr/bin/python3 /usr/bin/flock -n /compyfs/pace_operations/logs/compy-pace.lock /compyfs/pace_operations/pace/portal/utils/compy_pace.sh >> /compyfs/pace_operations/logs/compy-pace.log 2>&1'
nano /compyfs/simboard/operations/compy.crontab
06 23 30 11 * is November 30 at 23:06 UTC (3:06 p.m. Pacific Standard Time), not a reusable five-minute delay.
- Back up and compare the current crontab. Stop if the backup fails unexpectedly or the diff shows unrelated changes. Installing the file replaces the entire account crontab, so preserve every existing job.
backup=$(mktemp "$HOME/crontab.compy.XXXXXX") && crontab -l > "$backup" && printf 'Backup: %s\n' "$backup"
diff -u "$backup" /compyfs/simboard/operations/compy.crontab
- Install before the scheduled UTC minute and verify that the SimBoard entries are intact and PACE appears exactly once.
crontab /compyfs/simboard/operations/compy.crontab && crontab -l
3. Verify and switch to the daily schedule
- On the cron host, check whether the wrapper, processor, or uploader is running. No output means none is running right now; the job may not have started or may already have finished.
pgrep -a -f -u "$USER" 'compy_pace\.sh|e3sm_perf_archive\.perl|pace-upload3'
- If the main log pauses at
Large file list:, check the wrapper’s process tree. Afindcommand with-exec lsis listing files over 50 MiB inlarge-files-removed.txt, not deleting them. The deletion scan runs next, then processing and upload. Do not start another run while this one is active.
# Replace the example PIDs with the current wrapper and find PIDs.
pstree -ap 2434472
ps -p 2434479 -o pid,etime,stat,args
tail -n 30 -F /compyfs/pace_operations/logs/compy-pace.log
- After the job exits, check the log and upload report for errors. Confirm the expected Compy experiments appear in PACE. Ctrl+C stops watching the log, not the job.
tail -n 100 /compyfs/pace_operations/logs/compy-pace.log
- Remove the temporary entry after the test so it does not repeat next year. If the test passed, replace its five schedule fields with the approved daily schedule (
0 0 * * *for midnight UTC). Reinstall the reviewed file and verify withcrontab -l.
- Lenguaje dominante
- Python
- Estrellas
- 3
- Forks
- 1
- Merge medio
- 10 min
- PR fusionados (30 d)
- 5
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de E3SM-Project/pace
-
[DevOps]: Consider moving PACE deployment from ORNL to NERSCQuizá libre de nuevo @grnydawn la tomó hace 55 días y no hay ningún pull request abierto. Abierto
E3SM-Project/pace#136 · 2 asignados ·
-
Support GPU metrics and fix metrics displayed for v4 `pm-gpu` runsQuizá libre de nuevo @grnydawn la tomó hace 55 días y no hay ningún pull request abierto. Abierto
E3SM-Project/pace#135 · 1 comentario · 2 asignados ·
-
Endpoint for zipfile downloadsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
E3SM-Project/pace#130 ·
-
Adding a new machine checklistAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
E3SM-Project/pace#123 ·
-
Safe unzipAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
E3SM-Project/pace#103 ·
Todos los issues de E3SM-Project/pace
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Posiblemente ocupada @cestercian la tomó hoy. Abiertocomp/cli P2 type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NousResearch/hermes-agent#162259 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
AOSSIE-Org/PictoPy#1802 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
-
community-request
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA-NeMo/Run#727 ·
Los mantenedores suelen responder en 1 día
-
bot-triaged module: higher order operators module: pickle module: pt2-dispatcher oncall: pt2 triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
pytorch/pytorch#207247 · 1 comentario ·
Los mantenedores suelen responder en 1 día