Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • iain.morton/locklost
  • oli.patane/locklost-olifork
  • timothy.ohanlon/locklost
  • benjaminrobert.mannix/locklost
  • austin.jennings/locklost
  • camilla.compton/locklost
  • arnaud.pele/locklost
  • yamamoto/locklost
  • marc.lormand/locklost
  • saravanan.tiruppatturrajamanikkam/locklost
  • nikhil-mukund/locklost
  • patrick.godwin/locklost
  • yannick.lecoeuche/locklost
  • jameson.rollins/locklost
14 results
Show changes
[Unit]
Description=Locklost history plot
[Service]
Type=oneshot
# use system environment settings, for e.g. NDSSERVER, if available
EnvironmentFile=-/etc/sysconfig/ligo
EnvironmentFile=%h/config
Environment=LOG_FMT_NOTIME=t
ExecStart=%h/opt/locklost/bin/locklost plot-history %h/public_html/history.tmp.svg -l '1 week ago'
ExecStartPost=/bin/mv -f %h/public_html/history.tmp.svg %h/public_html/history.svg
TimeoutSec=300
LogLevelMax=emerg
[Install]
WantedBy=default.target
[Unit]
Description=Lockloss history plot timer
# FIXME: LHO systems are not recognizing the FQDN
#ConditionHost=detchar.ligo-*.caltech.edu
ConditionHost=|detchar.ligo-la.caltech.edu
ConditionHost=|detchar
[Timer]
OnCalendar=minutely
Persistent=true
[Install]
WantedBy=timers.target
[Unit]
Description=Locklost search backfill
[Service]
Type=oneshot
# use system environment settings, for e.g. NDSSERVER, if available
EnvironmentFile=-/etc/sysconfig/ligo
EnvironmentFile=%h/config
Environment=LOG_FMT_NOTIME=t
ExecStart=%h/opt/locklost/bin/locklost search --condor '2 weeks ago' now
TimeoutSec=300
LogLevelMax=emerg
[Install]
WantedBy=default.target
[Unit]
Description=Lockloss search backfill timer
# FIXME: LHO systems are not recognizing the FQDN
#ConditionHost=detchar.ligo-*.caltech.edu
ConditionHost=|detchar.ligo-la.caltech.edu
ConditionHost=|detchar
[Timer]
OnCalendar=Wed *-*-* 1:00:00
Persistent=true
[Install]
WantedBy=timers.target
[Unit]
Description=Locklost summary plots
[Service]
Type=oneshot
# use system environment settings, for e.g. NDSSERVER, if available
EnvironmentFile=-/etc/sysconfig/ligo
EnvironmentFile=%h/config
Environment=LOG_FMT_NOTIME=t
ExecStart=%h/opt/locklost/bin/locklost summary
TimeoutSec=900
LogLevelMax=emerg
[Install]
WantedBy=default.target
[Unit]
Description=Lockloss summary plot timer
# FIXME: LHO systems are not recognizing the FQDN
#ConditionHost=detchar.ligo-*.caltech.edu
ConditionHost=|detchar.ligo-la.caltech.edu
ConditionHost=|detchar
[Timer]
OnCalendar=weekly
Persistent=true
[Install]
WantedBy=timers.target
......@@ -8,18 +8,16 @@ export IFO
case $IFO in
'H1')
START=1238440000
#END=1238444000
END='2019-04-04 20:13:02 UTC'
NEVENTS=2
EVENT=1238442185
;;
START=1388947100
END=1388947200
NEVENTS=1
EVENT=1388947149
;;
'L1')
START=1246938000
#END=1246942000
END='2019-07-12 04:46:22 UTC'
NEVENTS=2
EVENT=1246938609
START=1389001700
END=1389001800
NEVENTS=1
EVENT=1389001751
;;
*)
echo "TEST FAIL: unknown IFO"
......@@ -34,11 +32,6 @@ export LOCKLOST_WEB_ROOT=https://ldas-jobs.ligo.caltech.edu/~lockloss
# create local nds2 lightweight server, if one is not already
# available, since for some reason it has access to more data not on
# tape
export NDSSERVER=localhost:31200
# nds_query uses localhost:31200 by default
if ! nds_query --server-version >/dev/null 2>&1 ; then
~lockloss/bin/nds2-server-lightweight &
fi
trap "echo TEST FAIL: see $LOCKLOST_EVENT_ROOT" EXIT
......@@ -64,7 +57,7 @@ $PYTHON -m locklost show $EVENT
$PYTHON -m locklost plot-history $LOCKLOST_EVENT_ROOT/history.svg
# $PYTHON -m locklost summary $LOCKLOST_EVENT_ROOT/summary
$PYTHON -m locklost summary --path $LOCKLOST_EVENT_ROOT/summary
REQUEST_METHOD=GET $PYTHON -m locklost.web >/dev/null
......