Commit Graph
9340 Commits
Author SHA1 Message Date
maliakal_d 86ff8e7e79 cli and test side wip 2026-10-13 12:04:47 +02:00
mazzol_a 6df1aba669 10.1.0/upload documentation workflow (#1617)
Build on RHEL9 docker image / build (push) Successful in 4m42s
Build on RHEL8 docker image / build (push) Successful in 5m2s
Run Simulator Tests on local RHEL9 / build (push) Successful in 19m31s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m5s
* Fix/automate documentation (#1611)

* also update developer

* mofified for testing

* fixed error message

* temporarily disable all workflows

* reference branch with /ref/head

* force cherry-pick

* allow empty commit

* set write permissions

* dont push update when updating version

* Revert "temporarily disable all workflows"

This reverts commit d8c67354d6.

* use indices from relese list

* removed versions.yaml

* always sort the releases

* forgot to use github token (#1616)

* forgot to use github token

* fix for minor version
2026-10-09 09:12:23 +02:00
Erik Fröjdh ecdee14999 updated RPM builds to match 9.2.1 pattern (#1600)
Build on RHEL9 docker image / build (push) Successful in 4m34s
Build on RHEL8 docker image / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL9 / build (push) Successful in 19m32s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m59s
2026-10-06 11:42:47 +02:00
Erik Fröjdh 6ee4239659 Fix/fifo race (#1591) (#1595)
Build on RHEL9 docker image / build (push) Successful in 4m12s
Build on RHEL8 docker image / build (push) Successful in 5m23s
Run Simulator Tests on local RHEL9 / build (push) Successful in 19m29s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m59s
* fix race condition in Fifo::FreeAddress

(cherry picked from commit dd5b2360d6)
2026-10-05 15:03:35 +02:00
maliakal_d 853f48b7fe 1010/jf chip1.2 part2 (#1588)
Build on RHEL8 docker image / build (push) Successful in 5m32s
Build on RHEL9 docker image / build (push) Successful in 5m35s
Run Simulator Tests on local RHEL9 / build (push) Successful in 19m30s
Run Simulator Tests on local RHEL8 / build (push) Successful in 23m1s
* Jungfrau chip v1.2 Part 2
- Enable reset step reduction for v1.2
- Electron collection mode => reset and bypass cds
- filter resistor: default value is the lower resistor
- 1.1+: changing filter resistor updates asic ds timer (0x1f for lower, 0x5f for higher)
- 1.2: default special dac values for G0 and G1 are pointing to different values
- auto comp disable: disabled by default (as before but now explicitly set)
- compdisabletime defaults (v1.0: 5us, v1.2: 2us)

* jf binary in

* storagecells for v1.2: not allowed in funcs

* binary in
2026-10-05 11:02:54 +02:00
maliakal_d 0f205e676e 1010/ refactored test_dac_caller (#1576)
Build on RHEL9 docker image / build (push) Successful in 3m35s
Build on RHEL8 docker image / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Successful in 19m29s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m59s
* refactored test_dac_caller

* some more dac tests from developer
2026-09-24 12:12:59 +02:00
maliakal_d a891b1c5c7 1010/fix receiver num 2 interfaces fwrite (#1569)
Build on RHEL9 docker image / build (push) Successful in 3m29s
Build on RHEL8 docker image / build (push) Successful in 5m19s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m56s
Run Simulator Tests on local RHEL9 / build (push) Successful in 19m29s
* when changing num interfaces, also setting up file writer if file write was enabled. added tests inside numinterface (from 2 to 1) to take an acquisition and check if the file exists

* separate the tests that need files for github
2026-09-23 11:58:00 +02:00
maliakal_d 79bfea8212 Give a tip when the test fails at num frames caught(pc tuning options) (#1571) 2026-09-23 11:51:42 +02:00
maliakal_d 4a5884af51 1010/pr automation 6 (#1574)
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m23s
Build on RHEL9 docker image / build (push) Successful in 3m53s
Build on RHEL8 docker image / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m56s
* user should be allowed to manually remove detector label

* automation script fix
2026-09-23 11:40:36 +02:00
maliakal_d eef55109d4 refactoring copied from developer, missing to pass tests in 10.1.0 (#1570)
Build on RHEL8 docker image / build (push) Successful in 5m15s
Build on RHEL9 docker image / build (push) Successful in 5m33s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m59s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m16s
2026-09-22 11:48:04 +02:00
fc5d20a32a 1010/fix jungfrau pedestal max loops (#1548)
Build on RHEL8 docker image / build (push) Successful in 4m42s
Build on RHEL9 docker image / build (push) Successful in 4m47s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m57s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
* jf firmware already fixed max loops for pedestalmode. allow the max now. should have been in 9.1 firmware

* binary in

* fixed tests

* unnecessary checks

* binary in

* formatting

* Fix cmake workflow dependency installation for HDF5

Co-authored-by: AliceMazzoleni99 <201970197+AliceMazzoleni99@users.noreply.github.com>

* Revert "Fix cmake workflow dependency installation for HDF5"

This reverts commit fb03f1a7e8.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: AliceMazzoleni99 <201970197+AliceMazzoleni99@users.noreply.github.com>
Co-authored-by: Alice <alice.mazzoleni@psi.ch>
2026-09-21 14:29:49 +02:00
maliakal_d dba175e986 added pr automation workflows from developer (#1568)
Build on RHEL9 docker image / build (push) Successful in 3m33s
Build on RHEL8 docker image / build (push) Successful in 4m41s
Run Simulator Tests on local RHEL9 / build (push) Failing after 9m9s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m20s
2026-09-21 14:15:48 +02:00
maliakal_d 094d0cbb1f 10.1.0: refactored rx_roi tests (#1531)
Build on RHEL9 docker image / build (push) Successful in 4m0s
Build on RHEL8 docker image / build (push) Successful in 4m45s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m58s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m16s
* refactored rx_roi tests a bit

* missed the call, typo

* wip, phase2 refactor

* compiles

* fixed tests
2026-08-19 12:46:03 +02:00
maliakal_d 44d2591049 corrected chip version tests for jf (#1526)
Build on RHEL9 docker image / build (push) Successful in 4m38s
Build on RHEL8 docker image / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m54s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
2026-08-18 11:22:32 +02:00
maliakal_d ae6e663995 10.1.0: fix no rx roi port (#1529)
* rx_roi fixed when there is no roi for a particular port. Fixed tests for it

* removing todo check if files created because its not enough to count matching pattern file names, but also look at timestamp and create files with timestamp else you read older ones. For now, checking individual rois is enough
2026-08-18 11:18:57 +02:00
maliakal_dandlunin_l 529f91c4ae 1010/docs typos svg images (#1524)
Build on RHEL9 docker image / build (push) Successful in 3m48s
Build on RHEL8 docker image / build (push) Successful in 4m40s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m55s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m20s
* replaced png images with svg

* fixed docs typos

* fix filename

* fix image references, filename in index

* fixed drawio svg export, upd drawio plots

---------

Co-authored-by: lrlunin <lunin.leonid@gmail.com>
2026-08-14 15:55:21 +02:00
maliakal_d 95379fe660 1010/update doc dependency (#1522)
Build on RHEL9 docker image / build (push) Successful in 4m20s
Build on RHEL8 docker image / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m55s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m21s
* update documentation regarding dependencies

* compiles
2026-08-14 14:26:26 +02:00
maliakal_d af7c5ab09f 1010/jf chip version1.2 part 1 (#1518)
Build on RHEL9 docker image / build (push) Successful in 4m24s
Build on RHEL8 docker image / build (push) Successful in 4m43s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m54s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
* chipversion changed to chipversioninfpga, chipindex, vals and type introduced with string for 3 different types for chip v1.2 and 1.3.

* changed chipversion to chipindex (more apt?) and refactored

* fix without the list.h

* formatting

* scanning string instead of int from server config file for version

* scan works in config now

* chip versions =1.2 divided again

* minor refactoring

* formatting

* startup set features allowed with chip index

* fixed existing features

* updated features for chip (dacs not done)

* fixed a test

* fixed another test and removed and unused reg

* fixed check for storage cell feature

* jf binary in

* diable a test for github checking rx_missing packets

* removed a comment

* formatting

* changed some minor comments specifying v1.1

* server binary in

* minor

* removed comment. minor

* use has feature functions and fix reverse bits using configuration

* binary in

* minor

* minor

* updated fw versioning (not compatible with old)

* binary in

* moved storage cell delay also to storage cell reg and removed 2 reg field defines that is not used anymore

* binary in
2026-08-14 12:00:26 +02:00
maliakal_d 00d7ad27cf 1010/eiger vthreshold undefined settings (#1514)
Build on RHEL9 docker image / build (push) Successful in 3m50s
Build on RHEL8 docker image / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m54s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m20s
* eiger: setting vthreshold dac should also set settings to undefined

* compiled server with new release version and changed name to match

* release notes
2026-08-07 11:40:54 +02:00
maliakal_d 4c6b7f5922 fix the path to update versioning for servers (#1512)
Build on RHEL9 docker image / build (push) Successful in 3m46s
Build on RHEL8 docker image / build (push) Successful in 4m54s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m57s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m19s
2026-08-07 09:33:09 +02:00
maliakal_d b07f289133 updated package and client version (#1510)
Build on RHEL9 docker image / build (push) Successful in 4m45s
Build on RHEL8 docker image / build (push) Successful in 4m46s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m58s
Run Simulator Tests on local RHEL8 / build (push) Successful in 22m16s
2026-08-06 16:28:58 +02:00
maliakal_d 0aaea316c5 1010/update rx metadata threshold m3 (#1508)
* update rx master file for all threshold energies(m3) when setting dac directly, custom trimbits, setting settings, trimbits etc

* formatting

* refactored for future modifications for eier

* renaming

* release notes
2026-08-06 16:28:00 +02:00
maliakal_d 281943eb69 formatting
Build on RHEL9 docker image / build (push) Successful in 3m48s
Build on RHEL8 docker image / build (push) Successful in 4m40s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m46s
Run Simulator Tests on local RHEL9 / build (push) Failing after 13m24s
2026-08-06 11:10:01 +02:00
maliakal_d d7cc22f7ef 1010/test should not set rx hostname (#1505)
Build on RHEL9 docker image / build (push) Successful in 3m43s
Build on RHEL8 docker image / build (push) Successful in 4m41s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m42s
Run Simulator Tests on local RHEL9 / build (push) Failing after 13m24s
* removed the test that set rx_hostname because it will reset parameters and some failures might be hidden for past or future tests

* reverted last change
2026-08-06 09:29:07 +02:00
maliakal_dandmazzol_a 91ccb982a3 1010/fix/blockadded check if reciever is running (#1502)
Build on RHEL9 docker image / build (push) Successful in 3m49s
Build on RHEL8 docker image / build (push) Successful in 4m49s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m38s
Run Simulator Tests on local RHEL9 / build (push) Successful in 18m59s
* added check if reciever is running

* added some tests

* uups dummy test - deleted test file

* changed test

* stopped receiver

* added some more tests as they also affect fifo structure

* fixed tests to work with test_simualtor for all cmdcall tests

* minor

* fix fro cmdcall back to detectorintegration

* removed the .rx marker that we did at soe point

* typo

* brekaing api change removed

---------

Co-authored-by: mazzol_a <mazzol_a@pc17378.psi.ch>
2026-08-05 17:32:28 +02:00
mazzol_a 4d53950b09 removed some python tests from other PRs
Build on RHEL9 docker image / build (push) Successful in 3m35s
Build on RHEL8 docker image / build (push) Successful in 4m40s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m39s
Run Simulator Tests on local RHEL9 / build (push) Failing after 13m26s
2026-08-03 15:07:30 +02:00
maliakal_dandErik Fröjdh fc39fe0719 Dev/refactor caller tests master attributes (#1462)
Build on RHEL9 docker image / build (push) Successful in 3m41s
Build on RHEL8 docker image / build (push) Successful in 4m41s
Run Simulator Tests on local RHEL9 / build (push) Failing after 7m0s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m37s
* refactoring

* wip

* refactored, yet to take out checkers

* checker added

* wip acquire ctb state

* wip acquire ctb state

* wip, acq test

* acquire moved out

* fix

* wip, To fix masterattribtues

* wip, masterfilecheks

* wip, at ctbexpectedstate

* wip, fixing acquire

* wip, acquire done

* wip

* compiles

* refactoring

* minor

* minor

* reduced unnecessary includes

* fix in tests

* removed ctb state check

* ctb fix with ctb state

* fixed ctb guard tests

* minor debug

* work for xilinx ctb

---------

Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2026-08-03 14:12:39 +02:00
mazzol_a edc3d88d0e proper fix when using log files in simulator tests 2026-08-03 12:37:14 +02:00
mazzol_a 2195431c64 fixed killprocess in test script
Build on RHEL9 docker image / build (push) Successful in 3m51s
Build on RHEL8 docker image / build (push) Successful in 4m42s
Run Simulator Tests on local RHEL9 / build (push) Failing after 6m55s
Run Simulator Tests on local RHEL8 / build (push) Failing after 8m36s
2026-08-03 12:20:14 +02:00
mazzol_a 2a94597e8c fix:use powerchip for xilinx
Run Simulator Tests on local RHEL8 / build (push) Failing after 2m43s
Build on RHEL9 docker image / build (push) Successful in 3m28s
Build on RHEL8 docker image / build (push) Successful in 4m38s
Run Simulator Tests on local RHEL9 / build (push) Failing after 6m58s
2026-08-03 11:37:35 +02:00
maliakal_dandErik Fröjdh 670db88cbc Dev/include file (#1306)
* create a include command calling the same function as parameters (cmd generation and autocompletion), testing parameters and include

* added include in command line and python and its supposed to do the same as parameters command. both are tested

* added colorama

* moved test_free and test_command python tests to tests/scripts folder from python/tests due to CI issues with dependencies

* generated commands

* formatting

---------

Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
2026-08-03 11:13:16 +02:00
mazzol_a 22d001c534 fixed run processes for log files 2026-08-03 11:07:18 +02:00
mazzol_a c16ab5b0e1 fixed corrupted merge conflicts/discrepancies 2026-08-03 11:06:11 +02:00
maliakal_dandmazzol_a 9c0bfe3517 dev: zmq hwm rebind (#1480)
* move hwm into the zmq constructor and reconstruct the socket instead of rebind. seems to work better than rebind (most connections cant bind so fast?)

* fix after merge

* added tests to reconnect zmq sockets when setting rx zmqport and rx zmqhwm, changed the tests scripts a bit to make the receiver starting tcp port configurable

* tests: slsreceiver also starting up  with 2000 as default tcp port, using latest cli args for receiver and multi receiver

* releasr notes

---------

Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch>
2026-08-03 09:34:57 +02:00
maliakal_dandmazzol_a 3a780271c6 debugging (still fails for old cache) (#1485)
* debugging (still fails for old cache)

* verification removed. Leaving the creating and restorign cachec at v1.6.1 instead of latest for cache-apt-pkgs-action

* cache-apt-pkgs-action at v1.6.1 also for build_documentation yaml

* Clean up run_tests.yaml by removing comments

Removed commented-out line for clarity.

---------

Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch>
2026-08-03 09:32:15 +02:00
maliakal_d 2554e7520d Dev/fix workflow cmake cache (#1484)
* Validate restored apt packages in CI before CMake configuration

Add checks for cached apt dependencies to catch incomplete installations. A temporary Ubuntu mirror/package index mismatch caused apt installation to fail, but the failure was not detected before CMake ran.

* continue on error uncommented to see that it actually restores the previous step. The previous commit was to check the error message on failure to install the packages

* repair didnt run earlier.. checking on condition from custom message

* Remove redundant HDF5 verification step from CI. And fix broken repairs half configured dependenceies before reinstalling requested packages

* fix the simulator tests workflow for the same reason as previous commit (not failing for actual failure to restore installation from cache)

* removed redundant checks for repair as we are not repairing anymore

* use a different cache (changing version)

* changing ubuntu back to 22 instead of 24 (latest) because of 'E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/c/curl/libcurl4-openssl-dev_8.5.0-2ubuntu10.9_amd64.deb 404 Not Found'

* cache at specific version

* version typo

* go back to original version number  (was changed earlier to create a new cache everytime)

* added the other yaml

* minor, but recreating new caches with v1.0 version
2026-08-03 09:31:58 +02:00
Erik Fröjdh 5fb0e2c941 Better error message on socket (#1477)
* checking errno

* improved socket error message

* improved message

* decode error code

* format

* clearer msg

* report write errors, handle SIGPIPE

* retry and cleaned up timeout

* removed read/write in DataSocket
2026-08-03 09:31:26 +02:00
mazzol_a a01d96e892 treating warnings as errors during workflows (#1473)
* treating warnings as errors during workflows

* suppress warnings for moench calibration

* no format overflow

* revert formatting

* bettter conditional branching in cmake
2026-08-03 09:30:53 +02:00
mazzol_a 7a4af4e7e1 Fix/segmentation fault in virtual detectors (#1472)
* fix overflow in copying of image to packet

* overflow fixed for xilinx
2026-08-03 09:29:56 +02:00
lunin_landmaliakal_d faedb0acf1 Add rx_streamdummyheader command (#1442)
* add rx_restream_stop command. This allows to send a ZMQ dummy header any time user wants to do so. For example this allows to pre-configure the ZMQ processing software before the acquisition begins. Therefore, the dummy header was adapted in order to contain the fields stored in the receiver.

* renamed command, changed inherit, moved commands to zmq related section

* update filename in restreamstop

* renamed helper function, sorted header fields alphabetically

* fixed fnametostream set

* renamed functions, add SetFileName method, format JSON parameters order

* added python bindings and formatting (does nothing really)

* renamed restream stop functions to stream dummy

* checkout .github files from ed8c885

* release notes

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-08-03 09:27:53 +02:00
lunin_landmazzol_a 504e5c0d58 CI: Use conda-build instead conda build (#1464)
* repalce conda build with conda-build, bump actions versions

* updated github actions versions to run on node 24

---------

Co-authored-by: Alice <alice.mazzoleni@psi.ch>
2026-08-03 09:20:47 +02:00
maliakal_d 033312ad3f removed the unzooming at the start of every acquisition so that right click zoom should stay (#1451) 2026-08-03 09:17:46 +02:00
Erik Fröjdh 9b77aaf877 removed unused function readDataFile/writeDataFile (#1456)
* removed unused function readDataFile/writeDataFile

* release notes
2026-08-03 09:17:01 +02:00
mazzol_a c2b4007de3 Dev/doc/add ctb to doc (#1455)
* added numpy for patterngenerator

* treat warnings as errors

* fix warnings during docu build

* added power and ctb to documentation
2026-08-03 09:13:52 +02:00
mazzol_aandmaliakal_d 732599bc10 fixed python simulator test fixture (#1350)
* fixed python simulator test fixture

* clear_roi after every test to bring it back to default state, test passing multiple parameters

* Exposing the ctb api tests now to CI

* Revert "Exposing the ctb api tests now to CI"

This reverts commit 411fad1b27.

* fixed tests removed uneccessary stuff

* did not save properly

* updated documentation, renamed file

---------

Co-authored-by: Dhanya Thattil <dhanya.thattil@psi.ch>
2026-08-03 09:10:07 +02:00
Erik Fröjdh 73f9d4299a Add support for building RPMs (#1439)
* rpm

* versioned binaries

* also zmq process

* use distro style naming

* added gui
2026-08-02 23:32:53 +02:00
maliakal_d f1bb4f7ab4 fix synchronizer test script (#1440) 2026-08-02 23:32:02 +02:00
mazzol_a 778e941329 updated documentation workflow (#1436) 2026-08-02 23:31:36 +02:00
maliakal_d 948b1ed93c Dev/jungfrau 1m root display support (#1364)
* Aldo Mozzanica added support for 2 modules in 1M configuration for root display

* deleted the wrong files
2026-08-02 23:30:26 +02:00
maliakal_d 2d7a48e584 rm unnecessary hidden test tags (#1415)
* removed hidden tags other than .detectorintegration and .disable_check_data_file

* updated label, minor
2026-08-02 23:28:16 +02:00