For addressing the points raised by Diego, the following was done yesterday afternoon:
- "the situation about the peculiar way PyHWS is started should be made more robust"
- PyHWS package has been updated/tagged, aligned with use of latest CMT Conda environment, PmInstalled in /virgoApp with version v1r1 and corresponding update in the VPM config was done.
- PyHWS (version v1r1 form /virgoApp) is now running started from VPM as user virgorun (since latest results pointed to the fact that there was not actual difference between running as virgorun or as a specific user). So from now on PyHWS can be simply stopped/restarted from VPM as any other process
- "hwsAna.py should be made more Python3-compliant"
- Python3 compliance should be the final goal, for the moment in order to insure proper starting as Python2 script into the default conda environment in which PyHWS now runs and where default Python is actually Python3, the shebang put at the beginning of hwsAna.py has been updated from #!/usr/bin/env python to #!/usr/bin/env python2. Actually this should be done for any Python2 remnant script still around since at a certain point the swap to python=python3 default will be made at site level environment.
Then, 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"
I monitored the situation this night and restarted the same acquisition sequence again at around 22:38 and 04:50
Looking inside the storage directories:
- /data/tcs/buffer/test/HWS-RC/DET/20230316T1754
- /data/tcs/buffer/test/HWS-RC/DET/20230316T2237
- /data/tcs/buffer/test/HWS-RC/DET/20230317T0449
pending experts confirmation, it looks like that the three tonight acquisition sequences ended all successfully with 225 iterations each.
Considering that the failure of Wednesday night seems totally uncorrelated with previous problems and related instead to a totally wrong acquired image (with the hypothesis of the sled beam intensity either sudden decrease or long term drift being currently investigated) the current configuration could be tried with further fully automated measurements and see the results.