Virgo Logbook
UTC--:--:--
GPS-

Search results

40 results Latest activity first Clear
2 / 2

Words are matched anywhere in the title or body and all must appear. Put a phrase in "quotes" to keep it together, or separate spelling variants with commas to match any of them (65Hz, 65 Hz).

Reset
AdV-TCS›Point Absorbers Mitigation Updated · comment 14 Apr · 17:49 poulton carbognani 14 Apr 2023 · 16:49 #59796

Added servers to control/ monitor Point Absorbers Mitigation

A PicoControl server has been added for the Point Absorbers Mitigation (PAM) in the Virgo Online VPM, this is different to the other PicoControllers in operation due to it being able to do Closed-loop operations. To enable the closed loop operations the PicoControl software needed to be updated so a handler could be added to enable/ disable the closed loop operations. This has not been tested yet due to the device still being installed.

In addition, a Hameg server was created to monitor Hameg (Rhode & Schwartz) HMC8041 power supply. Due to differences to the Hameg (Rhode & Schwartz) HMC4040 currently in operation, this required updating the Hameg software to work with the HMC8041 since it has fewer channels (4 vs 1) and a slightly different command set. The new server is up and running and the power supply can be monitored from the web interface.

These changes have been deployed on /virgoDev along with an associated merge request into the relevant software

Installation of remote control for Thermal Camera Flip Mirrors

Today, we have installed the remote controls box for the Thermal Camera Flip mirror on WI and NI in the TCS room. We installed the box in the fourth rack and plugged the ethernet on the 17 port of the switch HP JG311A. You can find the process inside the TCS area under Monitoring System, and It is called TCS_FLIP_MIRROR (as shown in the picture). There are two buttons (one for each flip mirror) that create a pulse to control the position of the flip mirror. The new setup has been tested together with C. Taranto, and it works properly.

4
AdV-COM›automation Updated · comment 10 Mar · 10:07 ballardin, bersanetti, carbognani, nardecchia, poulton, rocchi 24 Feb 2023 · 09:58 #59016

Investigations on HWS measurements automation issues

A meeting was held this week dedicated to the current issues experienced on the HWS measurements automation. As part of the meeting Giulio has prepared the following presentation

Main meeting notes were:

  • It is confirmed that current statistics show that  running manually the hwsAna.py lead to successful end of the measurement sessions
  • Because of larger latency of the python postprocessing, the TCS team plan for the moment to keep using the matlab postprocessing for the faster thermal transition measurement to be done by hand and the python postprocessing for the slower transients to be measured during the nights
  • Automated measurements tend to fail at the very end of the sequence

Identified action items in rough priority/sequential order were:
1 - Try an automated night measurement, with smaller number of acquisitions to asses if they can end successfully (Alessio, Ilaria)
2 - redirect the output to a log file while calling hwsAna.py  inside PyHWS.py (Franco, Diego), redirect the output to a log file while calling take inside hwsAna.py (Giulio)
3 - Increase the size (possibly doubling) of the image storing area (/data/tcs) since the filling of it for the long sessions could be suspected (Franco, EGO IT)
4 - check the user setting for virgorun and standard users (since manual run are done as standard users and automated ones as virgorun) (Franco)
5 - run PyHWS as Ilaria or another standard user (Franco, Diego, Ilaria)
6 - try the use of simpletake in place of take inside PyHSAna.py
7 - make the merging of PyHWS.py and PyHSAna.py in order to eliminate a redirection level (Giulio, Rhys)
8 - Installation of latest version of the vendor main library
9 - Proceed with the python3 porting of all still python2 applications including the University of Adelaide postprocessing code (Giulio, Rhys)

So far, out of those actions:

  •     Action 2.1 (redirect the output to a log file while calling hwsAna.py) has been implemented
  •     Action 3 (increase size from 4 TB to 8TB) has been performed
  •     Action 5 (PyHWS running as fcarbogn) has been done

This evening, after checking at the end of the shift that no other standard HWS measurements could be performed, a test measurement has been started triggering it as:

  • cm_send('PyHWS','RUN', "-r INJ /virgoDev/Sa/TCS/cfg/test/INJ.cfg"
  • cm_send('PyHWS','RUN', "-l INJ /virgoDev/Sa/TCS/cfg/test/INJ.cfg"

Images acquisition and processing is currently ongoing with the logs made available into: /virgoLog/TCS/PyHWSSystem.log

Tomorrow morning the outcome of the test will be checked.

 

3
carbognani · 24 Feb 2023 · 10:29 #59023

Looking at the logs: /virgoLog/TCS/PyHWSSystem.log

and inside the storage directory:

/data/tcs/buffer/test/HWS-RC/INJ/20230223T2258/

pending experts confirmation, it looks like that tonight acquisition sequence ended successfully with 360 iterations.

ballardin, bersanetti, carbognani, nardecchia · 9 Mar 2023 · 16:53 #59195

Since we had a failure on a  HWS-DET  measurement  we progressed to implement the defined Action 6  (try the use of simpletake in place of take inside PyHSAna.py).

Giulio implemented a new version of HWS_ANA (v3r0) using the simple_take_raw developed command. PyHWS config file was updated to point to it and then the process restarted.

This afternoon, as agreed during the daily meeting, a test measurement has then been started triggering it as:

  • cm_send('PyHWS','RUN', "-r DET /virgoDev/Sa/TCS/cfg/test/DET.cfg"
  • cm_send('PyHWS','RUN', "-l DET /virgoDev/Sa/TCS/cfg/test/DET.cfg"

Images acquisition and processing is currently ongoing. Tomorrow morning the outcome of the test will be checked.

carbognani · 10 Mar 2023 · 10:07 #59204

I monitored the situation this night and restarted the same acquisition sequence again at 22:30 and 03:10

Looking inside the storage directories:

  • /data/tcs/buffer/test/HWS-RC/DET/20230309T1617
  • /data/tcs/buffer/test/HWS-RC/DET/20230309T2228
  • /data/tcs/buffer/test/HWS-RC/DET/20230310T0310

pending experts confirmation, it looks like that the three tonight acquisition sequences ended all successfully with 200 iterations each

Lnfs100 process not responsive

Today at around 10:05, one of the Lnfs100 devices was put into local mode for 20 minutes meaning that the Lnfs100 process in the VPM could not communicate with the device. Even after the device was put back into remote mode the process still could not communicate with the Lnfs100 device. This caused the process at about 11:53 to become unresponsive and not responding to SIGTERM and the SIGKILL needed to be sent to the process so a new process could be started. The device has been put into local mode in the past for an extended amount of time, but this is the first time it caused an error.

The process should be able to survive the device being put into a local mode as it was tested on the test instance of the device, but the change to local mode was only tested in the order of a few minutes. I will perform further tests with the device in local mode for an extended amount of time to see this to see if can be reproduced.

Update of Lnfs100 server for managing the new 81.5 MHz frequency

As a follow up of the EOM 81.5 MHz installation yesterday morning we have updated the Lnfs100 server to the v4r1 version of the PyLNFS100 software.

This version:

  • add the tuning of the 81.5 MHz frequency into the SETFREQ command handler as: 81.5MHz = 8 * 3 * 13 * / 4 (actually in the code: new_freq_81_5 = new_freq_8 / 8.0 * 78)
  • add the command SET81AMPL in order to set the 81.5 MHz amplitude

Also this version, in the frame of removal of the remaining critical dependencies on Tango within the Automation (see 56721), has merged in the direct LNFS interfacing functionalities of the Lnfs100 Tango server which is now dismissed (and removed from the INJ Tango config).

To proceed in putting in operation the new version we have:

  • Put the 2nd LNFS into remote control mode (It has always been on local mode so far)
  • Rebooted the ethernet/serial bridge connecting both LNFS boxes
  • Updated the Lnfs100.cfg by inserting the HOST and PORT for both devices, namely:
    • HOST1 192.168.226.45
    • HOST2 192.168.226.45
    • PORT1 2001
    • PORT2 2011

Once done, after few fixes in the code we had the server up and running and then we checked the availability of the data into the DAQ. The existing channels naming for the 1st LNFS remain the same, and for the 2nd LNFS the "_2_" prefix has been added. See Fig. 1.

We checked then the proper behaviour of the new functionalities by running the SETFREQ and SET81AMPL commands from ipython. Results are shown in Fig. 2 and 3.

For finalizing the tests it would be advisable trigger an FModErr cycle from the Automation INJ_MAIN node. This has been discussed and provisionally scheduled for this Friday.

 

3
Detector Characterisation›Tools Updated · comment 20 Oct · 11:10 narnaud, poulton, fiori 20 Oct 2022 · 10:10 #57479

Running O3 python2 BruCo on recent raw data

To run the O3, python2-based, version of BruCo on new raw data produced with a recent version of the Frame library, one needs to set 

export PYTHONPATH=/olusers/virgorun/DO_NOT_REMOVE/PyFd-python2

before launching the usual command

/virgoApp/brucoVirgo/v2r3/src/bruco-master/bruco.py

This is e.g. how the BruCo run reported in entry #57339 was produced.

AdV-SGD›FDS commissioning Updated · comment 22 Sep · 19:10 bawaj, carbognani, poulton, swinkels 22 Sep 2022 · 18:10 #57116

PyPllServer and pllGUI

Turn off pllGUI every time you use it to avoid problems!

pllGUI process communication protocol with the PyPllServer was discussed and as the result, the cm_send_receive() was substituted with a ConnectOnline() to FbmPyAccess.

This is a common solution in such a case in Virgo. It requires some attention from the pllGUI users due to connection limit to the FbmPyAccess. Remember to turn off pllGUI every time you use it to avoid problems.

After the update all PyPllServer processes were restarted at 1347709101  20 Sep 2022 11:38:03 UTC  (20 Sep 2022 13:38:03 CEST).

Flooded log files were removed.

AdV-DET›Commissioning Updated · comment 22 Aug · 17:19 gouaty 22 Aug 2022 · 12:13 #56796

Problem of Vbias/shutter enabling for B1p quadrants

This morning I was alerted by the control room of a problem concerning the enabling of the B1p quadrants. They had to be rearmed and opened manually as they were not enabled automatically as we expected.

Fig.1 shows an ITF unlock that happened yesterday and produced a flash triggering the closing of the B1p QPD shutter and switch off of their Vbias. This explains why this morning we started with quadrants disabled (Vbias OFF and shutter closed).

During the relocks of this morning, The DRMI_LOCK node tried many times to enable the quadrants and we can infer it from the messages written in its log file:

2022-08-22-07h24m57-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h24m57-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h25m03-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h25m03-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h30m04-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h30m04-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h35m54-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h35m54-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h36m00-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h36m00-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h39m23-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h39m23-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h48m59-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h48m59-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2
2022-08-22-07h49m05-UTC>WARNING-Starting Quadrant_cmd for B1p_QD1
2022-08-22-07h49m05-UTC>WARNING-Starting Quadrant_cmd for B1p_QD2

However these commands did not seem to produce any effect on the quadrants as shown on Fig.2: the Vbias remained off and the shutter closed (no power seen on B1p_QD1/2_Sum) until 07h53 utc when the quadrants were enabled manually (with the vpm commands).

There does not seem to be any communication problem with the quadrant (the ethernet bridge ethmt7 answers to ping request, the commands sent to the QPD with VPM works). This suggests a possible software issue. To be further investigated.

1 2
carbognani, poulton · 22 Aug 2022 · 16:19 #56801

Investigating the problem, this seems specific to the utilization of Popen inside the automation in the action_QPD() function. What is happening is that the environment inherited in the Popen is not set correctly including the PATH variable and then the command telnet used for connecting to the ethernet bridge is not found.

The problem was indeed repeatedly reported by the DRMI_LOCK node in the log file wich also include the python errors themselves (the META_ one) as:

couldn't execute "telnet": no such file or directory
    while executing
"spawn telnet $remote_server $port"
    (file "/virgoData/VirgoOnline/Quadrant_cmd.exp" line 32)


From those log files it seems the problem started at the time of the automation porting to python3 done on the 9th of July.


While we keep investigating, we have solved the problem by passing explicitly the content of the current environment to the Popen via env=. This resulted in the following modification inside the action_QPD() function (META_library.py):

from:
handle = Popen(['/virgoData/VirgoOnline/Quadrant_cmd.exp', server, port, device, commandStr])
to:
d = dict(os.environ)
handle = Popen(['/virgoData/VirgoOnline/Quadrant_cmd.exp', server, port, device, commandStr], env=d)


We have tested this modification by trying a shutter opening (offline in the TESTTRON1 node and while already open not to interfere with ongoing shift) and verfing that the error above was not reported anymore.

AdV-COM›automation Updated · comment 12 Jul · 07:51 carbognani, poulton 9 Jul 2022 · 18:03 #56396

Transition of the Automation nodes from python 2 to python 3

On today shift we successfully ported the Virgo Automation (metatron) from python 2 to python 3.

For the purpose we followed those steps:

  1. backup the current (python2 based) automation user code (in /virgoDev/Automation/userapps) into: /data/archive/software/SWRepository/misc/Automation/userapps/
  2. convert all scripts in /virgoDev/Automation/userapps to python 3 using the 2to3 utility including Meta_library
  3. reach the best locking achievable state (LOCKED_ARMS_BEAT_DRMI_1F) and then bring ITF_LOCK to DOWN and stop all nodes
  4. attempt manually to restart few test nodes (INJ_MAIN, SUS_*) using the latest version of python3 metatron installed in the production area: /virgoApp/metatron
  5. make default command line metatron and metamedm executables point to python3 install, ex:
    • metatron -> /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metatron-conda
    • metamedm -> /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metamedm-conda
  6. and so updating also the VPM configuration (which use the default metatron command)
  7. For all automation nodes (one at a time)
    1. start the node from VPM
    2. Run the corresponding python3 medm interface to control the node from ICEwm menu
    3. Drive the node in the further achievable state in stand alone
    4. Once all nodes have been started with python3 attempt to put the ITF in the further achievable locking state


While working and discovering some problem we have cycled trough the procedure 8.1-8.4 few times until stabilizing on version v0r2p1. In particular:

  • It was required that the python-ezca package was updated to include some extra conversions to python3.
  • In addition the metatron package was updated to include the metamedm-conda executable and to also kill any ghost guardian processes.
  • To get the medm client from the conda environment the epics-medm package was installed. The conda installation also installed the (LIGO) ezca package (which was required by the cdsutils package and must of been force removed before). But since we want to use the (VIRGO) ezca, the (LIGO) ezca was uninstalled along with cdsutils.
  • There was a problem with sudden missing channels, which could be due to the virgoLog filling ongoing at that moment. Once the filling (due to core files flooding by MBTA processes) was solved the probem did not occurr anymore.
  • It was also necessary to add guardlog into the InstallArea so the guardlog from conda would not be picked up.


At the end of the shift we leave all automation nodes running with python3 and the metamedm user interface pointing to the python3 version.

For full comparison, attached to this entry are the differences for all files into the userapp directory that have been introduced by our activities.

Activitiy and tests have started on the SQZ nodes at the end of our shift and will probably reported on a separate entry.

Further details:

  • The python3 based version of metratron (as separate guardian/ezca branches) are in Gitlab:
    • https://git.ligo.org/virgo/virgoapp/guardian-py3/-/tree/virgo
    • https://git.ligo.org/virgo/virgoapp/python-ezca/-/tree/virgo
  • This metatron version is taking all its dependencies from the cmt-conda standards environments inline with all the rest of python3 control application in Cascina (at the moment: /virgo/conda/envs/cmt-conda-py39-20220317)
  • In order to ease the python3 porting, what has been done is a pure replica of the existing integration of guardian into the Virgo environment and DAQ. A planned future step (most probably for the O5 timeframe) is the development of a unified IGWN guardian/metatron (similarly to the current effort for the kafka python client).
3 1
masserot · 11 Jul 2022 · 06:43 #56404

This morning I found that several metatron servers are using 100% of an olserver52 core :

  PID   TID  PPID USER     TT       PSR %CPU  NI PRI POL WCHAN     VSZ    SZ     ELAPSED COMMAND

12349 12349 12343 virgod   ?         18 99.8   0  19 TS  -      2095956 523989  15:25:30 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12952 12952 12946 virgod   ?         22 99.8   0  19 TS  -      2095956 523989  15:25:25 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
23872 23872 23866 virgod   ?         21 99.9   0  19 TS  -      2183412 545853 1-13:41:56 guardian SQZ_MAIN /virgoDev/Automation/userapps/SQZ_MAIN.py
34108 34108 34094 virgod   ?         31 99.9   0  19 TS  -      2183412 545853 1-12:47:26 guardian SQZ_MAIN /virgoDev/Automation/userapps/SQZ_MAIN.py
 5854  5854  5845 virgod   ?         25 99.9   0  19 TS  -      2093132 523283 1-07:03:41 guardian SQZ_FLT /virgoDev/Automation/userapps/SQZ_FLT.py

Morevover it seems that there is more than one instance of the ITF_LOCK  and SQZ_MAIN  metatron servers. Below the ITF_LOCK case where there is 3 instances of the ITF_LOCK metatron server

  PID   TID  PPID USER     TT       PSR %CPU  NI PRI POL WCHAN     VSZ    SZ     ELAPSED COMMAND
17222 17222     1 virgod   ?         16  0.0   0  19 TS  poll_s  28948  7237  1-14:15:22 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
17223 17223 17222 virgod   ?          9  0.0   0  19 TS  do_wai 113420 28355  1-14:15:22 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
17966 17966 17223 virgod   ?         27  0.0   0  19 TS  do_wai 113300 28325  1-14:15:22 bash /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
19151 19151 17966 virgod   ?         22  3.5   0  19 TS  poll_s 2104916 526229 1-14:15:20 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19151 19248 17966 virgod   ?         24  0.0   0  19 TS  futex_ 2104916 526229 1-14:15:16 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19250 19151 virgod   ?         18  1.3   1  18 TS  futex_ 2602420 650605 1-14:15:16 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19261 19151 virgod   ?         24  0.0   1  18 TS  futex_ 2602420 650605 1-14:15:16 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19262 19151 virgod   ?         29  0.2   1  18 TS  futex_ 2602420 650605 1-14:15:16 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19269 19151 virgod   ?         29  0.0   1  18 TS  skb_wa 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19272 19151 virgod   ?         28  0.0   1  18 TS  sk_wai 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19273 19151 virgod   ?         26  0.0   1  18 TS  futex_ 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19275 19151 virgod   ?         20  0.0   1  18 TS  sk_wai 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19276 19151 virgod   ?         20  0.0   1  18 TS  futex_ 2602420 650605 1-14:15:15 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19277 19151 virgod   ?         28  0.0   1  18 TS  sk_wai 2602420 650605 1-14:15:14 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19278 19151 virgod   ?         28  0.0   1  18 TS  futex_ 2602420 650605 1-14:15:14 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19281 19151 virgod   ?         22  0.0   1  18 TS  sk_wai 2602420 650605 1-14:14:51 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
19250 19282 19151 virgod   ?         29  0.0   1  18 TS  futex_ 2602420 650605 1-14:14:51 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
11868 11868     1 virgod   ?          2  0.0   0  19 TS  poll_s  28948  7237    15:39:58 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
11869 11869 11868 virgod   ?          9  0.0   0  19 TS  do_wai 113420 28355    15:39:58 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12343 12343 11869 virgod   ?         28  0.0   0  19 TS  do_wai 113300 28325    15:39:57 bash /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12349 12349 12343 virgod   ?         30 99.8   0  19 TS  -      2095956 523989  15:39:55 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12349 12968 12343 virgod   ?         21  0.0   0  19 TS  futex_ 2095956 523989  15:39:48 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12471 12471     1 virgod   ?          8  0.0   0  19 TS  poll_s  28948  7237    15:39:53 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12472 12472 12471 virgod   ?          4  0.0   0  19 TS  do_wai 113420 28355    15:39:53 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12946 12946 12472 virgod   ?         27  0.0   0  19 TS  do_wai 113300 28325    15:39:52 bash /virgoApp/metatron/v0r2p1/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_LOCK.cfg ITF_LOCK
12952 12952 12946 virgod   ?         28 99.8   0  19 TS  -      2095956 523989  15:39:50 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12952 12974 12946 virgod   ?         29  0.0   0  19 TS  futex_ 2095956 523989  15:39:46 guardian ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12970 12970 12349 virgod   ?         26  0.0   1  18 TS  futex_ 2102308 525577  15:39:48 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py
12976 12976 12952 virgod   ?         28  0.0   1  18 TS  futex_ 2102308 525577  15:39:46 guardian-worker ITF_LOCK /virgoDev/Automation/userapps/ITF_LOCK.py

 

The situation has to be improved by the experts

carbognani, poulton · 11 Jul 2022 · 16:17 #56411
The duplicate process have been cleaned up by Alain.

The quick fix in order to prevent this problem occurring again was to have the killing of automation node duplicated process (zombies) mechanism restored. The duplicated process were not being killed anymore because of a change in behavior of the command to stop processes (most likely introduced in the computing upgrade). This has been resolved by correcting the command to stop the process before starting a new node process. This required a new version of metatron v0r2p2 to be deployed, this was tested by stopping and restarting a low-impact Node (ITF_STATUS) selected by the operator along with further test to the GUI log, graph and edit.
A longer term investigation on restoring full proper stopping/restarting of automation nodes from VPM has been started.
masserot · 12 Jul 2022 · 06:51 #56415

This morning there is still one metatron server ITF_STATUS using 100% of one of the olserver52 cpus :

Tue Jul 12 07:32:01 CEST 2022
27273 27273 26542 virgod   ?         25  0.0   0  19 TS  do_wai 113300 28325    14:57:00 bash /virgoApp/metatron/v0r2p2/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
27583 27583 26817 virgod   ?         30  0.0   0  19 TS  do_wai 113304 28326    14:57:00 bash /virgoApp/metatron/v0r2p2/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
26542 26542 26541 virgod   ?         14  0.0   0  19 TS  do_wai 113420 28355    14:57:01 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
26817 26817 26815 virgod   ?          9  0.0   0  19 TS  do_wai 113420 28355    14:57:01 bash /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
27593 27623 27583 virgod   ?         31  0.0   0  19 TS  futex_ 2104116 526029  14:56:54 guardian ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27592 27621 27273 virgod   ?         23  0.0   0  19 TS  futex_ 2104116 526029  14:56:55 guardian ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
43538 43538 15909 virgod   pts/4     43  0.0   0  19 TS  pipe_w 112816 28204       00:00 grep --color=auto -E PID|ITF_STATUS
26541 26541     1 virgod   ?         24  0.0   0  19 TS  poll_s  28948  7237    14:57:01 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
26815 26815     1 virgod   ?         22  0.0   0  19 TS  poll_s  28948  7237    14:57:01 /usr/bin/k5start -U -b -f /home/virgod/krb5keytab_virgod /virgo/InstallArea/Linux-x86_64-CL7/bin/metatron /virgoData/Automation/ITF_STATUS.cfg ITF_STATUS
27627 27627 27592 virgod   ?         30  0.0   1  18 TS  futex_ 2106192 526548  14:56:54 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27639 27593 virgod   ?         23  0.0   1  18 TS  futex_ 2449616 612404  14:56:21 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27631 27593 virgod   ?         18  0.0   1  18 TS  futex_ 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27635 27593 virgod   ?         22  0.0   1  18 TS  futex_ 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27633 27593 virgod   ?         25  0.0   1  18 TS  skb_wa 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27638 27593 virgod   ?         26  0.0   1  18 TS  sk_wai 2449616 612404  14:56:21 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27634 27593 virgod   ?         28  0.0   1  18 TS  sk_wai 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27632 27593 virgod   ?         19  0.2   1  18 TS  futex_ 2449616 612404  14:56:53 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27626 27626 27593 virgod   ?         30  1.0   1  18 TS  poll_s 2449616 612404  14:56:54 guardian-worker ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27593 27593 27583 virgod   ?         28  2.9   0  19 TS  poll_s 2104116 526029  14:56:58 guardian ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
27592 27592 27273 virgod   ?         22 99.9   0  19 TS  -      2104116 526029  14:56:58 guardian ITF_STATUS /virgoDev/Automation/userapps/ITF_STATUS.py
  PID   TID  PPID USER     TT       PSR %CPU  NI PRI POL WCHAN     VSZ    SZ     ELAPSED COMMAND

All the ITF_STATUS processes were stopped by hand and the ITF_STATUS Metatron server restarted from VPM

Online Computing›Online System Processes Updated · comment 14 Apr · 20:00 carbognani, letendre, masserot, pacaud, poulton 14 Apr 2022 · 19:00 #55534

ITF Applications restart

Once the IT systems were again online  this morning we started the procedure for the ITF Applications restart with the folowing sequence:

Cm Name Servers and VPM processes restart

  • In this phase we profided for the creation of the CascinaLVTest domain to be associated to the LowLatencyTest VPM

DAQ restart (Collection, Storage, Access)
All other Virgo application restart
#1

  • Start of all Moni processes
  • Start of DMS processes

#2

  • Start of all MiniTower processes
  • Start of all INJ processes including TANGO ones (from Astor)
  • Start of all SQZ processes
  • Start of all Env Monitoring and Infrastructure processes
  • Start of all TCS processes
  • Start of all SAT processes including TANGO ones (from Astor)
  • Start of all VACUUM processes including TANGO ones (from Astor as supervis user on ctrl2)

#3

  • Start LowLatency Analysis processes
  • Start of all Automation processes
  • Start of all Detector Monitoring processes

As far as the:

  • Closing all Control Loops of minitowers and SAT towers
  • Closing all Control Loops of suspended benches

Those are still ongoing and will be covered by a separate entry

 

Online Computing›Software Management Updated · comment 9 Apr · 17:12 carbognani, poulton 9 Apr 2022 · 16:12 #55496

Migration of VPM python applications to latest cmt-conda environment and users to latest IGWN environment

Python ITF control applications running from VPM in Cascina need to:

  • have available libraries that for any reason may not make sense to install at IGWN level into the igwn standard environments
  • point explicitly to the instance of a conda environment from were they get their libraries so that an update of the environment do not impact them (as it happen on C/C++ libraries with the rpath mechanism)

Such needs have been satisfied by:

  • the introduction of Cascina specific conda envisonments (so called cmt-conda envs) cloned from igwn standard ones and adding on top any further needed library. Those environment are made accessible at site level into the /virgo/conda/envs shared NFS HA area
  • The introduction of the Conda CMT package https://git.ligo.org/virgo/virgoapp/Conda from were pointing to a specific environment is managed via the standard "use" CMT mechanism

On today shift we have put in operation those mechanisms by running version of the pyton applications aligned on top of Conda v2r1p0 pointing to /virgo/conda/envs/cmt-conda-py39-20220317/

The cmt-conda-py39-20220317 contains the following additional/updated packages respect to the standard igwn-py39-20220317 environment:

  1. PyCm  - v7r5p6 - Required to fix pointer error described here: https://git.ligo.org/virgo/virgoapp/PyCm/-/issues/1
  2. websockets - 10.2   - Required by PyDdsServer
  3. pytango - 9.3.3 - Required by TangoDAQSmsBridge
  4. pyusb - 1.2.1 - Required by PyAgilis
  5. pymodbus  - 2.5.3 - Required by PySb

The testing sequence has been as follow:

  1. Put ITF to DOWN

  2. Stop all running phyton3 based applications from VPM:

    • All Python based slow control processes (See list of corresponding python pakages with their updated version below)
    • All Tango -> DAQ bridges (TangoDAQSmsBridge package)
  3. Verify that PyCm/ PyFd/ PythonVirgoTools is correctly setup by:

    1. Running the test suite that comes with the packages

    2. Attempt to read data from an ffl

    3. Connect online to a process and extract its data

  4. Stop/restart one automation node (ITF_LOCK) and to check no impact on python2 based applications

  5. Restart all previously running phyton3 based applications and verify they run correctly. For few of them some cm commanding from VPM vas attempted (ex: SIB2_MotSwitch on/off)

  6. Put the ITF in the further achievable locking state which went all smooth

Once this was achived we proceeded in updating the standard igwn environment in Cascina to the latest gwn-py39-20220317 one (by updating the igwn-py39 link under /cvmfs). This way recent additions like the Igwn Alert are now available ( which hop: /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39/bin/hop).

From now on we intend to remain in sync with the update cycle of igwn envs

We should remind that default python(2) installation is still the previous anaconda2 one, that is supporting legacy python2 aplications (such as metatron or PyALP) until they are fully ported to python3. So if a user need to access the igwn python, must explicitly use the python3, ipython3, jupyter3 and pip3 commands.

-------------------------------

List of python based packages referred in VPM (except automation)

## Updated
PyRingHeater v1r4
PyPlc v2r2
PySb v4r4
PyLnfs100 v2r3
PySbEth v1r5
PartCount v2r3
PyGenie v2r3
PyVPMlauncher v1r3
PyCernpli v2r6
EnvSwepts v1r5
TangoDAQSmsBridge v6r3
PySat v2r3
PyGRBSNAlert v2r3

### Not updated
PyKeopsys - Waiting for https://git.ligo.org/virgo/virgoapp/PyKeopsys/-/merge_requests/2
PyALP - Waiting for https://git.ligo.org/virgo/virgoapp/PyALP/-/merge_requests/1
PyAgilis v3r3 - Need to understand what is the latest version with developers
PyDdsServer - using own conda env
VIRGODQR -waiting for new version with LIGO
Seismon - waiting for new version with LIGO
PyThorlabs - no repository
PyHWS - no repository
DMSserver  - No cmt directory/ python2
DMSpublisher  - still in python 2
DMSguard - No cmt directory/ python2
dms_web_app  - No cmt directory/ python2
 

 

 

AdV-ISC›Commissioning up to first full interferometer lock Updated · comment 10 Feb · 10:58 bersanetti, capocasa 9 Feb 2022 · 03:24 #54773

ISC Shift: Tests of LowNoise1 and Scan for SR AA Signals for DRMI Configuration

Today we wanted to work on the two items of testing again the LowNoise1 configuration (also disabling the ITM coils) and exploring the DRMI configuration (arms on beating signals and out of resonance for the IR, DRMI locked on 3f) in order to find viable error signals for a SR drift control in such phase, in order to make the alignment configuration for the DRMI repeatable during the CARM offset reduction phase of the lock acquisition.

At the very beginning of the shift we had some difficulties in acquiring the lock of the DRMI and keeping it, as we unlocked several times before the PR AA loops could be engaged; later during the shift, this problem partially mitigated itself.

We had only a small number of unlocks before reaching CARM Null, DRMI acquisition excluded:

  • 18:23:26 UTC : we unlocked because of a widespread missing of data, which triggered the new protection of the ALS_NARM node in case either the green source is missing or PSTAB is malfunctioning (Figure 1); although this was a good (and first, I guess) test of such protection, it makes us a little more vulnerable when this kind of events happens;
  • 18:43:56 UTC : unlock during the engagement of the SSFS.

We did several locks at CARM Null (trend in Figure 2), but almost all of them were quite fast in their degradation, especially in terms of stability of cavity powers and dark fringe power; many times a sort "bi-stable" behaviour showed up, sometimes related to the DARM optical spring becoming negative. About this, the general need for a high SRCL_SET was not present, as most of times the pole frequency was already around 20 Hz at the beginning of the lock and did not drift up considerably; during the locks we did the usual manual tunings of BS and SR TX, PR and DIFFp setpoints, DARM and SRCL boost filters were engaged; today, the BS_TX drift control was not reliable, but the cause has not been investigated yet.

During our trials, we made a short scan on SR in the aforementioned configuration: the data are from 20:33 to 20:40 UTC (quick trend in Figure 3) and we will look at the data offline.

Given that our trials to make the ITF more stable once in CARM Null were not very much successfull, towards the end of the shift we decided to do a very quick optimization and test the LowNoise1 configuration quite soon after reaching CARM Null and performing the usual manual operations:

  • 20:47:22 UTC : we reached CARM_NULL_1F, manual tunings started;
  • 20:50:00 UTC : 180s of clean data in HighPower configuration (the standard one);
  • 20:53:00 UTC : LowNoise1 configuration engaged;
  • 20:53:38 UTC : ITM coils moved to the 10k resistor configuration; In Figure 4 we can see the trend of the operations: while the switch from ITM to ETM was successfull, we are not sure that the disengagement of the ITM coils was as well: look more closely (Figure 5) we can see that the ITM coils (if these are good channels to look at) show a little jump, but not temporally correlated with the GPS of the command; also, the processes related to these threw several errors during the procedure, of the type:
    • 2022-02-08-20h53m38-UTC>INFO...-setting binary key 000000000000000000000000
      2022-02-08-20h53m38-UTC>INFO...-setting relay 24 to 0
      2022-02-08-20h53m38-UTC>ERROR..-unpack requires a buffer of 4 bytes
      2022-02-08-20h53m38-UTC>ERROR..-Modbus Error: [Input/Output] Unable to decode request
      Traceback (most recent call last):
        File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39/lib/python3.9/site-packages/pymodbus/transaction.py", line 208, in execute
          self.client.framer.processIncomingPacket(response,
        File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39/lib/python3.9/site-packages/pymodbus/framer/socket_framer.py", line 153, in processIncomingPacket
          self._process(callback)
        File "/cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39/lib/python3.9/site-packages/pymodbus/framer/socket_framer.py", line 175, in _process
          raise ModbusIOException("Unable to decode request")
      pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Unable to decode request
  • 21:03:30 UTC : we unlocked, after several minutes of increased instability of the ITF, of the same kind of the one described above, showing though that the LN1 actuation can withstand these conditions; we did not see in this time frame any particular glitch on DARM, which was thought to have caused the unlocks during the previous tests; the only notable one was at 21:03:10 UTC, but with the ITF already quite degraded and the glitch was of a different, slower nature;
  • after the unlock we reverted the ITM coils to their standard state, again witnessing the same process errors as the one reported above.

We then left the ITF to the other scheduled activity.

1 5
carbognani, poulton · 10 Feb 2022 · 10:58 #54788

The reported Modbus error is followed up in this issue:
https://git.ligo.org/virgo/virgoapp/PySb/-/issues/1

To make the story short it seems that the commands sent are actually correctly executed so those errors can be discarded. Waiting for a final solution (which may imply the upgrade of the relay boards firmware) we will attemp to identify and silence this error so is not flooding the logs and possibly hide other errors.

A corresponding new version of the PySb code should be ready soon.

Online Computing›Software Management Updated · comment 24 Sep · 23:20 carbognani, poulton 24 Sep 2021 · 22:20 #53270

Partial migration of Virgo users environment to IGWN env

In this afternoon shift we attempted to put in operation the IGWN based users environment by activating igwn-py39. While working we realized that a full activation would imply strong impact on CMT based C/C++ compilations in Cascina so we preferred to postpone a full activation to a later stage.

We also encountered strange problems while working directly with the igwn-py39 so we preferred to proceed in using the igwn-py39-testing one on which all our previous tests were made. Further checks will be done in parallel, and after today work, the eventual swap to igwn-py39 will be trivial.

What we have done is a partial migration by basically sobstituting the python3 coming from anaconda with the igwn-py39-testing one and by making avalable all Virgo and Ligo software installed under the igwn-py39-testing bin area via the $PATH mechanism.

The testing sequence has been as follow:

  1. Put ITF to DOWN

  2. Stop all running phyton3 based applications from VPM:

    • All Python based slow control processes (See list from Fig. 1, 2)
    • All Tango -> DAQ bridges (See list from Fig. 3)
  3. Modify the bashr_virgo to set the new PATH configuration and add the following new env variables needed by the conda installed version of PythonVirgoTools:

    • LEAP_FILE=/virgoData/LeapSeconds/leap-seconds.list

    • CHANNEL_PREFIX="V1:"

    • FFLPATH="/virgoData/ffl"

  4. Modify the local igwn-py39-testing env by adding the following packages needed by the mentioned applications this way:

    • pip3 install pymodbus

    • pip3 install pyusb

    • conda install -c tango-controls tango

    • conda install -c tango-controls pytango

    • copied over: cp /virgoApp/pyserver/v1r0/scripts/tangodata.py /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/envs/igwn-py39-testing/lib/python3.9/site-packages/  (this need to be fixed at pyserver package level)

  5. Verify that PyCm/ PyFd/ PythonVirgoTools is correctly setup by:

    1. Running the test suite that comes with the packages

    2. Attempt to read data from an ffl

    3. Connect online to a process and extract its data

  6. Stop/restart one automation node (NARM_LOCK) and one PyALP server from VPM to check no impact on python2 based applications

  7. Restart all previously running phyton3 based applications and verify they run correctly. For some of them attempt some cm commanding from VPM vas attempted (SNEB_MotSwitch on/off)

  8. Have the Operator check that the main python based user GUI were running fine

  9. Put the ITF in the further achievable locking state wich went all smooth

In this configuration, users in cascina will be able to access all python3 igwn software, and more in general find all command line igwn applications.

Big care should be taken that the default python(2) installation is still the previous anaconda2 one, that is supporting legacy python2 aplications (such as metatron or PyALP) until they are fully ported to python3. So if a user need to access the igwn python, must explicitly use the python3, ipython3, jupyter3 and pip3 commands.

 

 

 

3
AdV-COM›automation Updated · comment 8 Feb · 08:37 carbognani, masserot 22 Jan 2021 · 17:56 #50550

Largely fluctuating latency of Automation nodes

It has been known for some time (back already in O3) that the Automation nodes were characterized by a strange oscillating, increasing and then resetting back latency impacting the downstream DAQ (See Daq_FbmAlpTest_TESTTRON2_latency channel on Fig. 1 and 2).
This behaviour has been investigated and traced back to the way the metatron nodes are plugged in into the DAQ chain within the ezca library.
Modifications have been made on the main metatron/DAQ integration loop making it more similar to the one implemented into the PyALP application and boling down into respecting the following order while dealing with frames in the loop:

  1. frame.close()
  2. frame = fdio.get_frame()
  3. out_frame = frame.copy()
  4. out_frame.write_sms_prefix(.....)
  5. fdio.put_frame(out_frame)

Those modification have been implemented into metatron-1.5 and tested within the VirgoOnlineTest framework. Results can be seen on Fig. 3 were the latency of the TESTTRON2 node is now fluctuating around an average value (approx 2.2sec). The behaviour of the channels accessed into the user code seems unaffected (as shown by the count/COUNTER channels).
We intend to put in operation this new version of metatron on the dedicated shift next Monday afternoon

6 3
bersanetti, carbognani, poulton · 25 Jan 2021 · 23:22 #50570

During this afternoon shift we attempted to put in operation the new metatron version as tested offline.
We soon discovered that the fixing of the latency was corresponding to the writing of metratron specific channel (like the node _index) with a second of additional delay (Fig.1) respect to the previous metatron version (See Fig.2)
After deep investigations, we resorted in spitting the frames interaction between check_connections() and the new manage_connections() ezca method to replicate the same situation in PyALP corresponding to the sequence:

  • check_connections()
    • frame = fdio.get_frame()
    • out_frame = frame.copy()
  • user code
  • manage_connections()
    • out_frame.write_sms_prefix(.....)
    • fdio.put_frame(out_frame)
    • frame.close()


Many tests involving nodes stop/restart and NARM_LOCK + WARM_LOCK driving to locked were done from single user installation.
Then at the end of the shift a site installation of metatron 1.5 (containing the updated version 1.4 of guardian and ezca) was done and a last locking of the arms performed.
Fig 3 show the fixed latency of all restarted nodes and Fig. 4 show the absence of the additional one sec delay.

 

bersanetti · 26 Jan 2021 · 17:53 #50579

Something very unexpected seems to have happened, which is most probably related to yesterday's activity, although the reason is still unclear. Anyway, for the time being, do not pause Metatron nodes, or they will eat up all the memory of olserver52 (this is probably the cause of the sudden death of many *Moni processes earlier this afternoon).

Verifications ongoing.

carbognani · 26 Jan 2021 · 23:30 #50585
Problem analyzed, fully understood, and new version of metatron in development.
For the time being is better to roll back to the previous metatron version (1.4) and then goes as far as possible with testing offline of the new version which should be possible on the TESTTRON nodes.
I will check with the control room or agree during the next daily on the best short time slot for a restart of all automation nodes.
bersanetti, carbognani · 27 Jan 2021 · 21:32 #50599

This afternoon we rolled back to Metatron version 1.4, the one in use up until monday afternoon, restoring the previous situation (nodes are pausable, latency can fluctuate). After some more offline tests, the new version will be re-deployed in a dedicated time slot.

carbognani · 7 Feb 2021 · 16:37 #50708

Today I have put in operation release 1.6 of metatron (corresponding to ezca v1r6 and guardian v1r5) fixing the large latency fluctuations without introducing memory leaks.
This has been done by adding a flag, at the level of the guardian library, in the worker.py main loop running the user code. The flag triggers the execution of manage_connections(), at the very beginning of the loop, in case this has not happened at the previous cycle because of any reason (automation node in pause, exceptions in the user code, etc.).
The solution has been verified first on the TESTRON2 node. In Fig. 1 the memory leak is immediately evident from the memory increase reports on the node logs in VPM, and the on Fig. 2 the memory leak is not anymore there when the node is paused. Fig. 3 show that the latency is back to a normal behaviour and unaffected during the pause period.

All running automation nodes have been then brought to DOWN, restarted on top of the new 1.6 release and then brought back to the upper possible states namely:

  • INJ_MAIN: IMC_RESTORED
  • NARM_LOCK: LOCKED_ON_B7_BOOST_ON
  • WARM_LOCK: LOCKED_ON_B8_BOOST_ON
  • SQZ_MAIN: LOCKED_PLL_INT

without problems.
Fig. 4 show the latency of all running node back to normal and it can be also compared with the FbmMain (from which the nodes are getting the frames) one.
Fig. 5 provide a snapshot of the situation whit a couple of nodes (INJ_MAIN, SQZ_MAIN) put in pause. Nodes latency and olserver52 (the nodes running machine) memory are not effected.
I leave the interferometer with both arms locked on the IR beam as I found it this morning.

masserot · 8 Feb 2021 · 08:37 #50711

The latency reduction can be seeing in the attached plot