[DevOps]: Enable and verify the daily PACE upload on Compy
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 20/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- bash, linux, python
- Ambito
- devops, infrastructure
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 3
- Fork
- 1
- Merge medio
- 10m
- PR unite (30g)
- 5
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di E3SM-Project/pace
-
[DevOps]: Consider moving PACE deployment from ORNL to NERSCForse di nuovo libera @grnydawn l’ha presa 55 giorni fa e non c’è nessuna pull request aperta. Aperta
E3SM-Project/pace#136 · 2 assegnatari ·
-
Support GPU metrics and fix metrics displayed for v4 `pm-gpu` runsForse di nuovo libera @grnydawn l’ha presa 55 giorni fa e non c’è nessuna pull request aperta. Aperta
E3SM-Project/pace#135 · 1 commento · 2 assegnatari ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
E3SM-Project/pace#130 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
E3SM-Project/pace#123 ·
-
Safe unzipAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
E3SM-Project/pace#103 ·
Tutte le issue di E3SM-Project/pace
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
jxxghp/MoviePilot#7699 ·
I maintainer di solito rispondono entro 1 giorno
-
test_real_pandoc_failure_is_one_path_free_line fails on macOS CI with current Homebrew pandocApertabug TAG: unit tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
learningequality/ricecooker#898 ·
-
next
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
j3ko/agent-plugins#80 ·
I maintainer di solito rispondono entro 1 giorno
-
bug:unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Heroic-Games-Launcher/HeroicGamesLauncher#6187 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 82/100
BCStudentSoftwareDevTeam/cas#491 ·
I maintainer di solito rispondono entro 8 giorni