Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
9965555
huge accordion feature and a lot of other stuff from the last 4 months.
aschwanden1 Feb 14, 2023
0c3cd2a
Revert CSS and update as needed
hategan Feb 14, 2023
8b6fc1d
Removed exaworks logo
hategan Feb 14, 2023
33f0ed8
Changes needed to align tables.
hategan Feb 14, 2023
7274e26
Misc changes for table alignment. Also some minor name updates and re…
hategan Feb 14, 2023
8950edd
change slurm to no scheduler for Uoregon systems
aschwanden1 Feb 14, 2023
2e714ad
use miheals test names and tests, also do for loop implementation of …
aschwanden1 Feb 15, 2023
2433b4d
dont use wilke branch, isntead use main and master. tested with loca…
aschwanden1 Feb 15, 2023
ef881c5
merge miheals latest fix for 24 hours and retest
aschwanden1 Feb 16, 2023
ef92b58
merge miheals fix for the test_result_dict
aschwanden1 Feb 17, 2023
c61e31b
gracefully handle cases where no data is returned as well as empty ob…
aschwanden1 Feb 17, 2023
4892794
The sdk doesn't have some of these keys, so only delete if present
hategan Feb 17, 2023
42d2c29
fix result container results
aschwanden1 Feb 17, 2023
c1eb01f
Merge branch 'fix_pruning_of_data_in_test_ep' into pa-accordian
aschwanden1 Feb 17, 2023
3a6e4ed
fix show branch bubbles
aschwanden1 Feb 17, 2023
44f33fb
change variable name to SiteID
aschwanden1 Feb 22, 2023
43363e3
change variable name domain to SiteID
aschwanden1 Feb 22, 2023
d5e3dd2
remove status table entirely
aschwanden1 Feb 22, 2023
be3f6c9
change variable names
aschwanden1 Feb 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# psij-testing-service
# psij-testing-service

# Helpful aliases:
# for starting the Back end.
alias start='cd ~/psi-j-testing-service;python3 src/psij/testing/service.py'

# set up sym links like this: ln -s customization-psij.js customization.js
11 changes: 4 additions & 7 deletions src/psij/testing/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,9 +406,11 @@ def tests(self, sites_to_get, tests_to_match) -> object:
resp[test.site_id] = {}
# only store the more recent test
if test.test_name not in resp[test.site_id]:
resp[test.site_id][test.test_name] = test.to_mongo().to_dict()
test_dict = test.to_mongo().to_dict()
resp[test.site_id][test.test_name] = test_dict
for key in ['_id', "stdout", "stderr", "log"]:
del resp[test.site_id][test.test_name][key]
if key in test_dict:
del test_dict[key]

add_cors_headers()
return resp
Expand Down Expand Up @@ -437,11 +439,6 @@ def json_handler(*args, **kwargs):
'tools.staticdir.on': True,
'tools.staticdir.dir': '',
'tools.json_out.handler': json_handler
},
'/instance': {
'tools.staticdir.root': '/var/www/html',
'tools.staticdir.on': True,
'tools.staticdir.dir': '',
}
})

Expand Down
172 changes: 166 additions & 6 deletions src/psij/web/style.css → src/psij/web/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ body {
background-color: #e0e0e0;
border: 1pt solid #a0a0a0;
border-radius: 4pt;
width: 190pt;
width: 220pt;
height: 80pt;
z-index: 20;
}
Expand All @@ -45,7 +45,7 @@ body {
.branch-tile {
position: relative;
display: inline-block;
width: 95pt;
width: 110pt;
height: 16pt;
font-size: 8.5pt;
padding: 2pt;
Expand Down Expand Up @@ -461,9 +461,7 @@ td.run-id {
color: rgb(180, 0, 0);
}

#status-calendar table {
position: relative;
}


#status-calendar table tr:first-child th {
position: sticky;
Expand All @@ -482,7 +480,6 @@ td.run-id {
font-weight: normal;
font-size: 11pt;
padding-bottom: 4pt;
border-bottom: 2pt solid #e0e0e0;
margin-bottom: 2pt;
}

Expand Down Expand Up @@ -540,10 +537,173 @@ td.run-id {
background-color: #e0e0e0;
}

.calendar-bubble.state-good {
background-color: rgb(106, 255, 77);
}

.calendar-bubble.state-somewhat-bad {
background-color: rgb(242, 219, 73);
}

.calendar-bubble.state-really-bad {
background-color: #ffb0a0;
}


.bg {
background-color: #f0f0f0;
}

.calendar-cell {
text-align: center;
}

.RowAccordion {
border-top: 1px solid #e0e0e1;
}

.RowAccordion td {
padding: 5px;
position:relative;
}

.RowAccordion .status-cell {
text-align: center;
}

.RowAccordion td:first-child {
cursor: pointer;
color: #333333;
}

.RowAccordion .logo_name {
font-weight: bold;
}

.RowAccordion .ArrowDown {
width: 0;
height: 0;
display: inline-block;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid #333333;
margin-right: 11px;
margin-left: 3px;
}

.RowAccordion .ArrowRight {
display: inline-block;
width: 0;
height: 0;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-left: 8px solid #333334;
padding: 0 6px 0 0;
margin-left: 8px;
margin-right: 8px;
}

.RowAccordion .machineLink {
padding: 5px 5px 5px 35px;
}

.RowAccordion .rowIsClosed {
display: none;
}

.status-table .status-header-cell {
width: 60pt;
}

#status-calendar .RowAccordion td {
height: 32px;
}

#status-calendar td.logo_name {
width: 100%;
}

#status-calendar .schedulerCol {
width: 0;
}

.status-table th.status-header-cell {
text-align: center;
}

.status-table .status-cell {
padding: 0;
width: 60pt;
min-width: 60pt;
}

.status-table th, .status-table td {
font-size: 11pt;
}

.status-table th {
font-weight: normal;
}

#status-calendar.status-table .status-table-header, #status-calendar .RowAccordion {
width: 700pt;
max-width: 700pt;
}

#curated-sites-home.status-table .status-table-header, #curated-sites-home .RowAccordion {
width: 600pt;
max-width: 600pt;
}

.status-table .status-table-header {
border-bottom: 2pt solid #e0e0e0;
}

#status-calendar > div:first-of-type > table.RowAccordion {
border-top: none;
}

#status {
margin-top: 16pt;
}

.status-table .scheduler-header-cell, .status-table .scheduler-cell {
width: 100pt;
}

.status-table .scheduler-header-cell {
text-align: left;
}

.open_close_arrow {
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-top: 8px solid #444444;
margin-left: 8px;
cursor: pointer;
}

.open_close_arrow[position="otherPos"] {
display: none;
}

.open_close_arrow[position="oneRowOnly"] {
display: none;
}

.open_close_arrow.open {
position: relative;
left: 5px;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-left: 8px solid #444444;
}

.container-for-mini-branches {
display: inline-flex;
flex-direction: column;
flex-wrap: wrap;
vertical-align: middle;
margin-right: auto;
height: 10pt;
}
File renamed without changes
Binary file added src/psij/web/imgs/exaworks-name.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 75 additions & 0 deletions src/psij/web/instance/customization-psij.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
CUSTOMIZATION = {
projectName: "PSI/J"
};

var CONF = {
backendURL: "https://psij.testing.exaworks.org/",
STR: {
"dashboardTitle": "Exascale dashboard testing service"
},
"curated_sites": {
xaxis: [
"Tests Suite",
"Basic test",
"Parallel jobs"
],
xaxisTests: [
"test_simple_job[local:single]",
"test_parallel_jobs[local:single]"
],
yaxis: [
{
logo_src: "",
logo_name: "University of Oregon",
machines: {
"axis1.hidden.uoregon.edu": {
scheduler: "SLURM"
},
"illyad.hidden.uoregon.edu": {
scheduler: ""
},
"jupiter.hidden.uoregon.edu": {
scheduler: ""
},
"reptar.hidden.uoregon.edu": {
scheduler: ""
},
"saturn.hidden.uoregon.edu": {
scheduler: ""
},
"orthus.hidden.uoregon.edu": {
scheduler: ""
}
}
},
{
logo_src: "",
logo_name: "Lawrence Livermore National Lab",
machines: {
"doc.llnl.gov": {
scheduler: "SLURM"
}
}
},
{
logo_src: "",
logo_name: "Nersc National Lab",
machines: {
"cori08.nersc.gov": {
scheduler: "SLURM"
},
"perlmutter.nersc": {
schedulor: "SLURM"
}
}
},
{
logo_src: "",
logo_name: "Oakridge National Lab",
machines: {
}
}
]
}
};

54 changes: 54 additions & 0 deletions src/psij/web/instance/customization-sdk.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
CUSTOMIZATION = {
projectName: "SDK"
};

var CONF = {
backendURL: "https://sdk.testing.exaworks.org/",
STR: {
"dashboardTitle": "Exascale dashboard testing service"
},
"curated_sites": {
xaxis: [
"Tests Suites",
"Flux",
"Parsl",
"Parsl-flux",
"RP",
"Swift-t"
],
xaxisTests: [
"flux",
"parsl",
"parsl-flux",
"rp",
"swift-t"
],
yaxis: [
{
logo_src: "",
logo_name: "Lawrence Livermore National Lab",
machines: {
"llnl-lassen": {
scheduler: "SLURM"
},
"llnl-quartz": {
scheduler: "SLURM"
},
"llnl-ruby": {
scheduler: "SLURM"
}
}
},
{
logo_src: "",
logo_name: "GitHub Actions",
machines: {
"Github Actions": {
scheduler: "none"
}
}
}
]
}
};

Loading