Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
749 commits
Select commit Hold shift + click to select a range
bcc528b
Updating naming scheme
gschindler17 Mar 21, 2025
5b22163
changing order
gschindler17 Mar 21, 2025
c71f84f
Reformatting string sent message
gschindler17 Mar 21, 2025
16ed387
remove print statement
gschindler17 Mar 21, 2025
f28968b
Update sending style
gschindler17 Mar 21, 2025
aed8e73
naming scheme
gschindler17 Mar 21, 2025
1c0875a
SUBClient interfacing with Thermal GUI
gschindler17 Mar 21, 2025
1730af1
Updates to pulling subclient
gschindler17 Mar 21, 2025
f49a28b
changing the order
gschindler17 Mar 21, 2025
3b89e44
conn.receive
gschindler17 Mar 21, 2025
3761e5e
Sending information print statements
gschindler17 Mar 21, 2025
aa8f4a8
updating the order of begin_update
gschindler17 Mar 21, 2025
2b2e980
conn_trigger fix
gschindler17 Mar 21, 2025
7a30a66
Updating orderings
gschindler17 Mar 21, 2025
18b7b57
Fixing comments
gschindler17 Mar 21, 2025
2d657cd
remove error
gschindler17 Mar 21, 2025
614e4eb
prior to assignment
gschindler17 Mar 21, 2025
a3a4d78
testing print statments
gschindler17 Mar 21, 2025
6ec87f1
no more conn
gschindler17 Mar 21, 2025
ecda9a4
new technique
gschindler17 Mar 21, 2025
feedaf6
print statement updates
gschindler17 Mar 21, 2025
c7c7cc0
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 21, 2025
fd032f0
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 21, 2025
fe8a29e
indent fixed
gschindler17 Mar 21, 2025
f927a25
try except
gschindler17 Mar 21, 2025
ace728b
pass
gschindler17 Mar 21, 2025
7962705
return False
gschindler17 Mar 21, 2025
a2bfd93
moved print statements
gschindler17 Mar 21, 2025
662a7e2
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 21, 2025
3d06c1f
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 21, 2025
e525889
xcreated
gschindler17 Mar 21, 2025
40529d8
Update
gschindler17 Mar 21, 2025
3ff2df2
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 21, 2025
b4b6141
fix
gschindler17 Mar 21, 2025
9479950
Update ThermalTestInProgressScene.py
gschindler17 Mar 21, 2025
19b32de
Update ThermalTestConfigScene.py
gschindler17 Mar 21, 2025
2aa4df1
Update ThermalTestConfigScene.py
gschindler17 Mar 21, 2025
5fd44e8
sys
gschindler17 Mar 21, 2025
619752b
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 21, 2025
a10cd64
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 21, 2025
8f8a5ed
Update ThermalTestConfigScene.py
gschindler17 Mar 21, 2025
4a552f3
Accommodating the new format for sending test requests using test names
Mar 25, 2025
7728356
Merge pull request #159 from UMN-CMS/UpdateREP
cros0400 Mar 25, 2025
c70e997
Updating wagon config with correct paths
Mar 25, 2025
098e4ea
Merge branch 'master' of github.com:UMN-CMS/HGCALTestGUI
Mar 25, 2025
e1a720c
Merge pull request #160 from UMN-CMS/UpdateREP
cros0400 Mar 25, 2025
8c81d96
Debugging REP Server update
Mar 25, 2025
512757c
Merge pull request #162 from UMN-CMS/UpdateREP
cros0400 Mar 25, 2025
63cd789
hopefully last fix for REP server
Mar 25, 2025
0590e52
Merge pull request #163 from UMN-CMS/UpdateREP
cros0400 Mar 25, 2025
d333e95
Merge pull request #164 from UMN-CMS/rand_dev
bovard-r Mar 25, 2025
1a9bb46
Automatically load teststand info on GUI start
bovard-r Mar 25, 2025
3bf8c8e
Merge pull request #165 from UMN-CMS/rand_dev
bovard-r Mar 25, 2025
1ccb443
Update for debugging...
gschindler17 Mar 26, 2025
2df754e
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 26, 2025
d4db4f4
more print statemnts
gschindler17 Mar 26, 2025
a99da77
Experimental building of inspection GUI
Mar 27, 2025
7b9daae
Actually send comments when you say you will
bovard-r Mar 27, 2025
d73e4f3
Merge branch 'master' of github.com:UMN-CMS/HGCALTestGUI
bovard-r Mar 27, 2025
6ae05d9
Add path to tkinter search
Mar 27, 2025
da1aec3
Fix home dir
Mar 27, 2025
19fd79e
Change to $HOME
Mar 27, 2025
a829e11
Make desktop file executable
Mar 27, 2025
542b163
Fix Silly env var
Mar 27, 2025
7f6f6bd
Adding log rotation
Mar 27, 2025
76805a6
Fix vars
Mar 27, 2025
fd66c4d
Fix vars again
Mar 27, 2025
aaacad3
Fix vars for real
Mar 27, 2025
d1ee438
Fixed Issue with uploading test stand config
bovard-r Mar 28, 2025
3c3afbe
Merge pull request #166 from UMN-CMS/rand
bovard-r Mar 28, 2025
a0002e1
Deploying Photos
Mar 28, 2025
9fd943a
Update gui log path
Mar 28, 2025
c501809
Fix typo
Mar 28, 2025
6f44b55
Update for old Pillow version
Mar 28, 2025
f2fb003
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 31, 2025
2af2dce
Update ThermalTestSetupResultsScene.py
gschindler17 Mar 31, 2025
121e8e3
Merge pull request #167 from UMN-CMS/deploy-other-guis
kapsiak Apr 1, 2025
4b37c35
Merge branch 'master' of github.com:UMN-CMS/HGCALTestGUI
bovard-r Apr 1, 2025
bdb766b
Merge pull request #168 from UMN-CMS/VICommentUpdate
cros0400 Apr 1, 2025
c72afcd
Fixed double add user
bovard-r Apr 2, 2025
4486346
sys.stdout commented out
gschindler17 Apr 5, 2025
0b1cbf8
while loop statment
gschindler17 Apr 5, 2025
6cf4f13
subclient print outs
gschindler17 Apr 5, 2025
cf5218e
location of prints
gschindler17 Apr 5, 2025
5794ac7
clear prints
gschindler17 Apr 5, 2025
c38825a
print out signal
gschindler17 Apr 5, 2025
2266f93
results received successfully change
gschindler17 Apr 5, 2025
b651128
conn variable name change
gschindler17 Apr 5, 2025
6ff3c41
passing conn into ThermalTestSetupResultsScene
gschindler17 Apr 5, 2025
fa58c3a
results formatted in JSON in GUI
gschindler17 Apr 5, 2025
f528ada
results formatted in JSON from GUI
gschindler17 Apr 5, 2025
85f0a26
Update the GUI with results
gschindler17 Apr 5, 2025
de164fb
changing where states are initialized (outside of loop)
gschindler17 Apr 5, 2025
0147f8a
changed ordering in ThermalTestConfigScene
gschindler17 Apr 14, 2025
337f2d1
reverted order of TestConfigScene
gschindler17 Apr 14, 2025
2b8ab19
counter to break while loop after 5 seconds
gschindler17 Apr 14, 2025
8c5cb64
5 seconds counter (fixed)
gschindler17 Apr 14, 2025
b364ff2
Update ThermalTestSetupResultsScene.py
gschindler17 Apr 14, 2025
b45f9bd
error handling
gschindler17 Apr 14, 2025
7a22246
Change thermal ordering when calling scene
gschindler17 Apr 14, 2025
6431f39
remove counter print
gschindler17 Apr 14, 2025
ecdfba7
Updated readme
gschindler17 May 19, 2025
4753d2c
Removing unneccesary location updates
bovard-r May 22, 2025
2de8ca0
Merge pull request #169 from UMN-CMS/rand_dev
bovard-r May 22, 2025
0b23ea5
Updated logging
bovard-r Jun 6, 2025
207fde0
Updated logging to include errors
bovard-r Jun 6, 2025
b9ae607
Overhauled logging for Main testing GUI
bovard-r Jun 6, 2025
38f658b
More robust image cropping
bovard-r Jun 9, 2025
f8e2975
More robust image cropping
bovard-r Jun 9, 2025
971d0ea
Updated logging for PhotoTakingGUI
bovard-r Jun 9, 2025
2971451
updated scanner logging
bovard-r Jun 9, 2025
a114ecc
Finished revamp of GUI logs
bovard-r Jun 12, 2025
b4f79fd
logging all uncaught errors correctly
bovard-r Jun 12, 2025
3ea1310
Removing vestigial files
bovard-r Jun 13, 2025
51357e9
Adding better keybindings
bovard-r Jun 17, 2025
ce0f69a
Added new keybindings
bovard-r Jun 18, 2025
59b643c
Removed dependance on LabelDB webpage
bovard-r Jun 18, 2025
ab9f424
Removed dependance on LabelDB webpage
bovard-r Jun 18, 2025
291fc9f
Improved debug messages and added error for VI test not uploaded
bovard-r Jun 19, 2025
82042a7
Improved debug messages and added error for VI test not uploaded
bovard-r Jun 19, 2025
325c44f
fixed bug
bovard-r Jun 20, 2025
4df5e9d
Merge pull request #176 from UMN-CMS/rand_dev
bovard-r Jun 20, 2025
559de0f
Hopefully last bug fix
bovard-r Jun 20, 2025
cb89f13
Removed test data feed from logs
bovard-r Jun 20, 2025
26d76f2
Merge pull request #177 from UMN-CMS/rand_dev
bovard-r Jun 20, 2025
259dee5
committing
AndrewOlsen335 Jun 23, 2025
aada1ab
updated thermalsetupresults, now works
AndrewOlsen335 Jun 23, 2025
8023de3
a few tweaks made with Joe
AndrewOlsen335 Jun 24, 2025
6751d94
Fixed more info button on test summary
bovard-r Jun 24, 2025
54bb906
changed scenes to be more updated for thermal test
AndrewOlsen335 Jun 26, 2025
a06d550
all scenes up to thermaltestinprogess complete
AndrewOlsen335 Jul 1, 2025
0c3ed57
small tweaks to scenes
AndrewOlsen335 Jul 1, 2025
1622b6a
added pop ups to confirm early test ending or confirm green light is …
AndrewOlsen335 Jul 1, 2025
d96c0dc
red timer now
AndrewOlsen335 Jul 1, 2025
909b9b7
removed scrollbar for thermalGUI
AndrewOlsen335 Jul 1, 2025
1f4aa94
Fixed more info button on test summary
bovard-r Jul 2, 2025
74c4f38
keeping scrollbar after all
AndrewOlsen335 Jul 3, 2025
ee4299e
Scrollbar, TestSummary, and ScanBoards removed from lefthand side onl…
AndrewOlsen335 Jul 3, 2025
e1b9c65
Added confirm logout popups for each thermal scene.
AndrewOlsen335 Jul 3, 2025
747738f
fixed image submit bug
bovard-r Jul 7, 2025
c870e2d
fixed image submit bug
bovard-r Jul 7, 2025
ef2e53c
commiting changes that track ready channels to be refrenced by Therma…
AndrewOlsen335 Jul 8, 2025
c021093
changed config channel layout to be 4 rows by 5 columns
AndrewOlsen335 Jul 8, 2025
2271440
Add files via upload
AndrewOlsen335 Jul 8, 2025
2012bd9
Remove logging from exec
Jul 9, 2025
f21a2a3
Merge pull request #180 from UMN-CMS/update-logging
kapsiak Jul 9, 2025
6b07d78
Autopopulate manufacturer
bovard-r Jul 14, 2025
480342e
Autopopulate manufacturer
bovard-r Jul 14, 2025
79d2851
Fixed recheck creating new tests
Jul 15, 2025
d6bfe92
Added popups to scenes for user convenience
AndrewOlsen335 Jul 15, 2025
1d57255
Final results page now works
AndrewOlsen335 Jul 15, 2025
af3d7ab
added new case scenarios for fullID check
AndrewOlsen335 Jul 17, 2025
3f0f98c
Update ThermalTestSetupResults, cleanup unnecessary code
AndrewOlsen335 Jul 18, 2025
4098bb9
Update ThermalTestBeginScene.py, Ensure master switch is turned on me…
AndrewOlsen335 Jul 18, 2025
fcc9cd1
SetupResults now has results and recheck boxes in 4x5 orientation
AndrewOlsen335 Jul 21, 2025
778532c
Added failure number display to setup results
AndrewOlsen335 Jul 21, 2025
9bfce7c
Fixed two photo GUI bugs
bovard-r Jul 22, 2025
4177439
Merge pull request #182 from UMN-CMS/rand_dev
bovard-r Jul 22, 2025
08c1a9e
Removed test output from logs
bovard-r Jul 22, 2025
281ac79
Merge pull request #183 from UMN-CMS/rand_dev
bovard-r Jul 22, 2025
6efc1b0
Hiding Buttons on left side that won't be implemented for ThermalCycler
AndrewOlsen335 Jul 24, 2025
840d8aa
hide admit button
AndrewOlsen335 Jul 24, 2025
8723da0
Updated engine batch file
bovard-r Jul 25, 2025
d23176b
Merge pull request #184 from UMN-CMS/rand_dev
bovard-r Jul 25, 2025
604fe3c
added functionality to check in lpGBT mezzanines and flex cables
bovard-r Jul 25, 2025
4febc27
added functionality to check in lpGBT mezzanines and flex cables
bovard-r Jul 25, 2025
0ed1488
Adding lpGBT Mezz to photo gui
bovard-r Jul 28, 2025
e8484bb
Adding lpGBT Mezz to photo gui
bovard-r Jul 28, 2025
f3b7ac9
Merge branch 'master' into andrewolsen
bovard-r Jul 29, 2025
9d92a96
Update GUIWindow.py
bovard-r Jul 29, 2025
d9310ec
Update GUIWindow.py
bovard-r Jul 29, 2025
ef2a475
Update GUIWindow.py
bovard-r Jul 29, 2025
aa7c71d
Update GUIWindow.py
bovard-r Jul 29, 2025
8acec69
Update GUIWindow.py
bovard-r Jul 29, 2025
b793403
Update ScanScene.py
bovard-r Jul 29, 2025
0e7f626
Update SUBClient.py
bovard-r Jul 29, 2025
8c97736
Update SUBClient.py
bovard-r Jul 29, 2025
c34443d
Update __main__.py
bovard-r Jul 29, 2025
f35e928
Update __main__.py
bovard-r Jul 29, 2025
0af99a9
Merge Thermal Testing
bovard-r Jul 29, 2025
24821e5
Add config to spec
Jul 30, 2025
d0194dc
Merge pull request #188 from UMN-CMS/fix-spec
kapsiak Jul 30, 2025
055a8fa
Added scintillator cables
bovard-r Aug 1, 2025
0a54976
Updated flex cfg
bovard-r Aug 1, 2025
1d4f1fc
Merge pull request #189 from UMN-CMS/rand_dev
bovard-r Aug 1, 2025
d553a62
Restored flex cable testing
Aug 1, 2025
7b3d9b5
Merge pull request #190 from UMN-CMS/new_flex
bovard-r Aug 1, 2025
ee44044
Update gui.spec
kapsiak Aug 6, 2025
aa3b633
Merge pull request #191 from UMN-CMS/kapsiak-patch-1
kapsiak Aug 6, 2025
9a06a70
Update Flex_cfg.yaml
kapsiak Aug 6, 2025
62a7357
Merge pull request #192 from UMN-CMS/kapsiak-patch
kapsiak Aug 6, 2025
383452d
Fix database issues causing crashes
joegehrke Aug 7, 2025
3e1bb40
Merge pull request #193 from UMN-CMS/andrewolsen
joegehrke Aug 7, 2025
e01cd88
Cleaned up thermal cycler gui logging
bovard-r Aug 8, 2025
b0c817d
Merge pull request #194 from UMN-CMS/rand_dev
bovard-r Aug 8, 2025
f33233b
Fixed photo taking for zippers
bovard-r Aug 20, 2025
030f617
Fixed photo taking for zippers
bovard-r Aug 20, 2025
1d959f4
Update for zippers
Aug 22, 2025
1844b2b
Merge pull request #200 from UMN-CMS/update-zipper
kapsiak Aug 22, 2025
1183eb0
Fix in progress crashing, make begin scene exit GUI
joegehrke Aug 28, 2025
fa94d8d
Fixed close after start, cleaned up results display
joegehrke Aug 28, 2025
b888424
Updated button description text
joegehrke Aug 28, 2025
57beecd
Fix spacing on legend
joegehrke Aug 28, 2025
811a011
Merge pull request #201 from UMN-CMS/Joe_thermal
joegehrke Sep 3, 2025
5d56d78
Update Engine_batches.yaml
kapsiak Sep 18, 2025
7ad5bec
Merge pull request #202 from UMN-CMS/kapsiak-patch-2
kapsiak Sep 18, 2025
b333fdf
Adding 4 module wagon config
Sep 26, 2025
ecaa073
Merge pull request #203 from UMN-CMS/add-4-module
kapsiak Sep 26, 2025
3584c38
Reduce SetupResults spacing
joegehrke Sep 26, 2025
82ad9ae
Merge pull request #204 from UMN-CMS/Joe_thermal
joegehrke Sep 26, 2025
42ef110
Rename file
Oct 3, 2025
b2def8a
Merge pull request #205 from UMN-CMS/add-4-module
kapsiak Oct 3, 2025
2af87a6
Update Engine Manufacturer For Batch 2
kapsiak Nov 13, 2025
9ffc6c8
Merge pull request #206 from UMN-CMS/update-manufacturer
kapsiak Nov 13, 2025
f0781ae
Add TTM-Piranha to EL10E and EL10W batches
kapsiak Nov 21, 2025
9f57d51
Merge pull request #207 from UMN-CMS/kapsiak-patch-3
kapsiak Nov 21, 2025
0ce9efe
Update hd wagon config
Jan 6, 2026
955a9ef
Merge pull request #208 from UMN-CMS/update_hd_wagon_config
SethBendigo Jan 6, 2026
2f3123f
Fix 4 mod
Feb 5, 2026
e424631
Merge pull request #209 from UMN-CMS/4mod
kapsiak Feb 5, 2026
a024ee8
Add Mod4 Reset test configuration
kapsiak Mar 5, 2026
cc5e8df
Merge pull request #210 from UMN-CMS/mod-4-reset
kapsiak Mar 5, 2026
5e81d12
Update engine batches
kapsiak Mar 10, 2026
eec3900
Merge pull request #211 from UMN-CMS/kapsiak-patch-4
kapsiak Mar 10, 2026
49e95f6
Add Sunshine-Evotronics entries to HD_Wagon_batches.yaml
kapsiak Mar 11, 2026
d0c56a6
Merge pull request #212 from UMN-CMS/kapsiak-patch-4
kapsiak Mar 11, 2026
a92fb84
Adding comment when failing visual inspection due to no LDO
bovard-r Mar 12, 2026
000f468
Adding comment when failing visual inspection due to no LDO
bovard-r Mar 12, 2026
32067d7
Mezzanine Config
Mar 13, 2026
c6687cf
MezzTests
Mar 19, 2026
cbddded
Merge pull request #214 from UMN-CMS/mezztests
patra105 Mar 19, 2026
7c73ff5
Update gui.spec
kapsiak Mar 24, 2026
77e7b9e
Merge pull request #215 from UMN-CMS/kapsiak-patch-4
kapsiak Mar 24, 2026
b3370ff
Update Engine_batches.yaml
nstrobbe Mar 25, 2026
0af4d31
Merge pull request #216 from UMN-CMS/nstrobbe-LMZ2_batch
nstrobbe Mar 25, 2026
337c044
Update update_config.py
nstrobbe Mar 25, 2026
503f508
Merge pull request #217 from UMN-CMS/nstrobbe-patch-1
nstrobbe Mar 25, 2026
fc61d59
Refactor condition for board configuration selection
kapsiak Mar 25, 2026
02e8bfc
Merge pull request #218 from UMN-CMS/kapsiak-patch-5
kapsiak Mar 25, 2026
13e22e6
Update barcode check for mezz
kapsiak Mar 25, 2026
3843f5e
Merge pull request #219 from UMN-CMS/kapsiak-patch-6
kapsiak Mar 25, 2026
58c2c65
Refactor condition for Mezz configuration type
kapsiak Mar 26, 2026
60b08cd
Merge pull request #220 from UMN-CMS/kapsiak-patch-6
kapsiak Mar 26, 2026
06fd976
rpm build for checking
Apr 3, 2026
f3ca838
Merge pull request #222 from UMN-CMS/checkin-rpm
kapsiak Apr 3, 2026
9503214
Update JSON file paths to use home directory
kapsiak Apr 6, 2026
a3f19b1
Merge pull request #223 from UMN-CMS/kapsiak-patch-6
kapsiak Apr 6, 2026
cad2b59
Use GUI_NAME variable for desktop entry name
kapsiak Apr 9, 2026
497edb3
Merge pull request #224 from UMN-CMS/kapsiak-patch-6
kapsiak Apr 9, 2026
22ba706
Hopefully works
Apr 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PythonFiles/Scanner/bin/runScanner
/__pycache__
/PREV-VERSION/__pycache__
/virtualenvironment
Expand All @@ -12,3 +13,4 @@ __pycache__/
*.o
*.log
*.json
GUILogs/*
84 changes: 84 additions & 0 deletions CheckInGUI/Configs/Demo_Local_cfg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---

# Specify which board you want to test here
GUIType: Demo

# Specify if a scanner is used for barcodes
UsingScanner: false

# How the tests will be run (local, ssh, or ZMQ)
# Uncomment the test handler which you would like to use
#
# Note that for SSH, the username and hostname must be specified.
# It is assumed that you have set up SSH key access for this username
# On the specified host.
#
# ZMQ will use the built-in request server and client.
# The IP address of the GUI node and testing node must be specified separately
# Additionally, SSH key access removes the need to start the server
# on the tester by hand. Path and server file name needed for remote
# server start up
#
TestHandler: {name: Local, remoteip: localhost}
#TestHandler: {name: SSH, username: <username>, hostname: <hostname>, remoteip: <remoteip>}
#TestHandler: {name: ZMQ, localip: <localip>, remoteip: <remoteip>, username: <username>, serverpath: <serverpath>, serverscript: <serverscript>}


# Let the GUI know if you want to check serial numbers for multiple board types at a single testing location
SerialCheckSafe: false

# Order of tests matters here
# This should be the same order that you want the tests to be run in
# Number of test will also be decided by this list so don't miss any
# TestClass, TestScript, and TestPath fields will be used to write the REPserver script
# TestPath should be in reference to the testing home directory
Test:
- name: Counting
required: true
desc_short: Count to ten
desc_long: Simple for loop with waits to simulate a tests running locally
TestClass: counting
TestPath: Tests
TestScript: demo_count.py
- name: Counting
required: true
desc_short: Count to ten
desc_long: Simple for loop with waits to simulate a tests running locally
TestClass: counting
TestPath: Tests
TestScript: demo_count.py

########################################
# NOTE TO SELF: Add in test sequence as #
# a separate entry in config #
# All tests in one area, not physical #
# vs. automatic and add a test type #
# #
########################################


# Tests which require a physical measurement
# The pass fail criteria for these tests are specified here
PhysicalTest:
- name: SAMPLE test
required: true
desc_short: Some short description of the test
desc_long: Long description of the test
criteria:
- first testing criteria
- second testing criteria
- third testing criteria

#################################
# REMOVE FOR DEMO #
#################################

# Information for sending and receiving data to/from the database
# Needs to be different based on board type
DBInfo:
use_database: false
name: WagonDB
reader: WagonDBReadUser
inserter: WagonDBInserter
baseURL: "http://cmslab3.spa.umn.edu/~cros0400/cgi-bin/WagonDB"
...
71 changes: 71 additions & 0 deletions CheckInGUI/Configs/Demo_SSH_cfg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
#-----------------------------------------------
# Note: Demo will not work out of the box
# Need to follow installation procedure in
# README.md
#-----------------------------------------------

# Specify which board you want to test here
# this doesn't actually matter much, the GUI type will update based on the board type entered in scan scene
GUIType: Demo

# Specify if a scanner is used for barcodes
UsingScanner: false

# How the tests will be run (local, ssh, or ZMQ)
# Uncomment the test handler which you would like to use
#
# Note that for SSH, the username and hostname must be specified.
# It is assumed that you have set up SSH key access for this username on the specified host.
#
# ZMQ will use the built-in request server and client.
# The IP address of the GUI node and testing node must be specified separately
# Additionally, SSH key access removes the need to start the server
# on the tester by hand. Path and server file name needed for remote
# server start up
#TestHandler: {name: Local, remoteip: localhost}
TestHandler: {name: SSH, username: bovar008, hostname: cmsfactory2, remoteip: <remoteip>}
#TestHandler: {name: ZMQ, localip: <localip>, remoteip: <remoteip>, username: <username>, serverpath: <serverpath>, serverscript: <serverscript>}

# Let the GUI know if you want to check serial numbers for multiple board types at a single testing location
SerialCheckSafe: false

# Order of tests matters here
# This should be the same order that you want the tests to be run in
# Number of test will also be decided by this list so don't miss any
# TestPath and TestScript aren't used in SSH
# TestCommand field is the command run in SSH, -u is needed for realtime output from a python script
# TestPath should be in reference to the testing home directory
Test:
- name: Counting
required: true
desc_short: Count to ten
desc_long: Simple for loop with waits to simulate a tests running locally
TestClass: counting
TestPath: Tests
TestScript: demo_count.py
TestCommand: python3 -u HGCALTestGUI/Tests/demo_count.py
TestConfig: HGCALTestGUI/Tests/test_configs/counting.yaml

# Tests which require a physical measurement
# The pass fail criteria for these tests are specified here
PhysicalTest:
- name: SAMPLE test
required: true
desc_short: Some short description of the test
desc_long: Long description of the test
criteria:
- first testing criteria
- second testing criteria
- third testing criteria


# Information for sending and receiving data to/from the database
# Needs to be different based on board type
DBInfo:
use_database: false
name: WagonDB
reader: WagonDBReadUser
inserter: WagonDBInserter
baseURL: "http://cmslab3.spa.umn.edu/~cros0400/cgi-bin/WagonDB"
...
223 changes: 223 additions & 0 deletions CheckInGUI/Configs/Engine_cfg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
base_path = "/home/HGCAL_dev/test_scripts"

from dumpToYaml import dump_to_yaml

masterCfg = {

"GUIType": "Engine",

"UsingScanner": True,


# Order of tests matters here
# This should be the same order that you want the tests to be run in
# Number of test will also be decide by this list so don't miss any
"Test": [
{
"name": "Power-Ground Resistance",
"required": 1,
"desc_short": "Measure resistance between power and ground",
"desc_long": "Check that the power and grounds are not shorted at the terminal, or between the inputs.",
"TestClass" : "TestPowerGround",
},
{
"name": "1.5V Input Check",
"required": 1,
"desc_short": "Check that the 1.5V input is not shorted.",
"desc_long": "Check that resistance between across C906 or C908 is non-zero.",
"TestClass" : "Test1.5VInput",
},
{
"name": "10V Input Check",
"required": 1,
"desc_short": "Check that the 10V input is not shorted.",
"desc_long": "Check that resistance between across C907 or C909 is non-zero.",
"TestClass" : "Test10VInput",
},
{
"name": "1.2V Output Check",
"required": 1,
"desc_short": "Check that the 1.2V output is not shorted.",
"desc_long": "Check that resistance between across C904 or C904 or TP901 is non-zero.",
"TestClass" : "Test1.2VOutput",
},
{
"name": "RX 2.5V Output Check",
"required": 1,
"desc_short": "Check that the RX 2.5V output is not shorted.",
"desc_long": "Check that resistance across C902 is non-zero.",
"TestClass" : "TestRX2.5VOutput",
},
{
"name": "TX 2.5V Output Check",
"required": 1,
"desc_short": "Check that the TX 2.5V output is not shorted.",
"desc_long": "Check that resistance across either C903 or TP902 is non-zero.",
"TestClass" : "TestTX2.5VOutput",
},
# Power on Tests
{
"name": "LDO Output",
"required": 1,
"desc_short": "Check that the LDO output voltage is around 1.2V",
"desc_long": "Measure the votlage across either R911 or TP901 and verify that it is appropriate.",
"TestClass" : "TestLDOOutput",
},
{
"name": "LinPol RX Check",
"required": 1,
"desc_short": "Check that the RX voltage from the linppol is operating correctly",
"desc_long": "Check that voltages across either R905 or R902 is 2.5V.",
"TestClass" : "TestLinPolRX",
},
{
"name": "LinPol TX Check",
"required": 1,
"desc_short": "Check that the TX voltage from the linppol is operating correctly",
"desc_long": "Measure the voltage across either TP902 or R906 or C903 is 2.5V.",
"TestClass" : "TestLinPolTX",
},

#Operations Tests
{
"name": "X_PWR",
"required": 1,
"desc_short": "Check the the X_PWR voltage is correct.",
"desc_long": "Measure using the tester, and should find approximately 1.2V.",
"TestClass" : "TestXPWR",
},
{
"name": "lpGBT setup",
"required": 1,
"desc_short": "Ensure setup can be performed",
"desc_long": "Perform nominal setup from BE. Do setup, link trick, setup. Check PUSMStatus (0x1d9) reports READY (0x13) for all 3 lpGBTs. Check lpGBTs locked to BE All 3 RX equal within 200 Hz. Check All 3 RX-DV equal within 200 Hz",
"TestClass" : "TestlpGBTsetup",
},
{
"name": "EClock Rates",
"required": 1,
"desc_short": "Ensure EClock rates are correct",
"desc_long": "Check that all EClocks are running at 320MHz.",
"TestClass" : "TestEClock",
},
{
"name": "lpGBT IC/EC communication",
"required": 1,
"desc_short": "Check operability of lpGBT IC/EC communication",
"desc_long": "Read and write to lpBGT registers via ICEC. Check DAQ lpGBT read of registers via IC. Check Trigger lpGBTs: successful read registers via EC. Ensure write and readback to user ID registers (0x004 - 0x007)",
"TestClass" : "TestlpGBTcom",
},
{
"name": "I2C",
"required": 1,
"desc_short": "Engine can use I2C master",
"desc_long": "Check that engine can communicate as an I2C master",
#"TestScript": "engine_test_suite.py",
"TestClass" : "TestI2C",

},
{
"name": "GPIO functionality",
"required": 1,
"desc_short": "Check the quality of the GPIOs",
"desc_long": "Read and write to all GPIO channels and verify levels. Write nominal configuration and then toggle each line one-by-one and verify change in both lpGBT status and voltage level",
"TestClass" : "TestGpio"
},
{
"name": "ADC functionality",
"required": 1,
"desc_short": "Check quality of the ADCs",
"desc_long": "Measure known voltages/resistances. Check measured values for all 4 gains within tolerances, (only need to do all 4 gains for one measurement).",
"TestClass" : "TestAdc"
},
{
"name": "Uplink quality",
"required": 1,
"desc_short": "Check the quality of the uplinks",
"desc_long": "PRBS validation from lpGBTs. Check bit error rate below threshold.",
"TestClass" : "TestUplink"
},
{
"name": "Downlink quality",
"required": 1,
"desc_short": "Check the quality of the downlinks",
"desc_long": "Eye opening test. Check eye opening width and height below threshold.",
"TestClass" : "TestDownlink",
},
{
"name": "Fast Command quality",
"required": 1,
"desc_short": "Check the quality of the Fast Command path",
"desc_long": "PRBS validation from and back to ZCU. Check bit error rate below threshold.",
"TestClass" : "TestFC"
},
{
"name": "Elink quality",
"required": 1,
"desc_short": "Check the quality of the elinks",
"desc_long": "PRBS validation from and back to ZCU. Check bit error rate below threshold.",
"TestClass" : "TestElinkUp"
},
{
"name": "Crossover link quality",
"required": 1,
"desc_short": "Check the quality of the crossover links",
"desc_long": "PRBS validation from and back to ZCU. Check bit error rate below threshold.",
"TestClass" : "TestCrossover",
},
],


"PhysicalTest": [
#{
# "name": "SAMPLE test",
# "required": 1,
# "desc_short": "Some short description",
# "desc_long": "Really long description for later purposes.",
# "criteria": {
# "first testing criteria",
# "second testing criteria",
# "third testing criteria",
# },

#},

],

"Board_type": [
{
"name": "Engine V3 Right",
"type_sn": "100300",
"requiredTests": [0, 1, 2, 3, 4],
},
{
"name": "Engine V3 Left",
"type_sn": "100310",
"requiredTests": [0, 1, 2, 3, 4],
},
],
# People who you would like to add as testers by default
# HGCAL_dev can be used for debug testing in the beginning
# The GUI will require everyone to have their own "account"
"People": [
"Nadja",
"Charlie",
"Bryan",
"Devin",
"HGCAL_dev",
],
# Information for sending and receiving data to/from the database
# Needs to be different based on board type
"DBInfo": {
"use_database": True,
"name": "EngineDB",
"reader": "EngineDBReadUser",
"inserter": "EngineDBInserter",
"admin": "EngineDBInserter",
"baseURL": "http://cmslab3.spa.umn.edu/~cros0400/cgi-bin/EngineDB",
},
}

masterCfg["Test"] = [dict(**x, TestPath=base_path, TestScript= "engine_test_suite.py") for x in masterCfg["Test"] if "TestClass" in x]

dump_to_yaml(masterCfg)
Loading