Skip to content

Conversation

@mikkbachmann
Copy link
Contributor

@mikkbachmann mikkbachmann commented Sep 23, 2025

As a Security Server Administrator I want the diagnostics information available for global configuration and TSA to be improved so that I can more easily figure out issues with it.

Also refactored the diagnostic error handling to use new XrdRuntimeException and ErrorCode enum that goes with it.

Also created this confluence page to further explain those errors: https://nordic-institute.atlassian.net/wiki/spaces/XRDDEV/pages/1280016431/How+to+Interpret+Security+Server+Diagnostics+Error+Messages

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17961066774]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 5.048932080 g
CO₂ from manufacturing (embodied carbon) is: 0.562707305 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 5.611639 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Build environment setup28.3363638.6124.18152.87
Build, unit tests and packaging59.95898266.85.871407.88
Packaging and upload artifacts31.10381791.484.35411.49
Total Run80.7510696.895.421972.24
Additional overhead from Eco CIN/A33.515.126.55

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17961066774]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 0.745731680 g
CO₂ from manufacturing (embodied carbon) is: 0.104855678 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 0.850587 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up arm packaging30.7359475.8994.27111.39
Packaging for arm architecture30.10161104.044.31256.12
Total Run39.421579.944.30367.51
Additional overhead from Eco CIN/A10.124.752.13

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageOnArm
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core :service:signer:signer-api:make 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17961066774]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.806348720 g
CO₂ from manufacturing (embodied carbon) is: 0.219571800 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.025921 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up E2E tests29.20411163.984.29271.63
E2E tests48.28412663.035.35497.95
Total Run58.593827.014.97769.58
Additional overhead from Eco CIN/A10.602.554.16

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17961066774]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.942530160 g
CO₂ from manufacturing (embodied carbon) is: 0.241187174 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.183717 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up Central Server tests25.9085700.6694.16168.38
Test Central Server45.22233414.865.04676.96
Total Run50.384115.534.87845.34
Additional overhead from Eco CIN/A21.474.894.39

@github-actions
Copy link

github-actions bot commented Sep 23, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17961066774]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 2.309562080 g
CO₂ from manufacturing (embodied carbon) is: 0.304994755 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.614557 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up Security Server tests37.2618589.2694.62127.55
Test Security Server37.58594303.874.57941.43
Total Run42.034893.144.581068.98
Additional overhead from Eco CIN/A21.354.794.46

Mikk Bachmann added 5 commits September 24, 2025 03:00
…mation available for global configuration and TSA to be improved so that I can more easily figure out issues with it

timestamping

refs: XRDDEV-2921
…mation available for global configuration and TSA to be improved so that I can more easily figure out issues with it

global conf

refs: XRDDEV-2921
…mation available for global configuration and TSA to be improved so that I can more easily figure out issues with it

ui

refs: XRDDEV-2921
…mation available for global configuration and TSA to be improved so that I can more easily figure out issus with it

ocsp

refs: XRDDEV-2921
…mation available for global configuration and TSA to be improved so that I can more easily figure out issues with it

tests

refs: XRDDEV-2921
@github-actions
Copy link

github-actions bot commented Sep 24, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17962140941]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 5.175999200 g
CO₂ from manufacturing (embodied carbon) is: 0.587235733 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 5.763235 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Build environment setup24.5123368.2273.9293.86
Build, unit tests and packaging59.87928129.615.881383.76
Packaging and upload artifacts28.8552468.264.25580.59
Total Run72.9610966.105.332058.21
Additional overhead from Eco CIN/A34.204.807.13

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Sep 24, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17962140941]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 0.779517440 g
CO₂ from manufacturing (embodied carbon) is: 0.110607604 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 0.890125 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up arm packaging22.035571.2793.88147.25
Packaging for arm architecture33.38691080.244.49240.42
Total Run41.761651.524.26387.67
Additional overhead from Eco CIN/A11.394.672.44

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageOnArm
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core :service:signer:signer-api:make 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Sep 24, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17962140941]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.646940160 g
CO₂ from manufacturing (embodied carbon) is: 0.190215863 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 1.837156 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up E2E tests33.26381067.934.45239.91
E2E tests53.92952421.355.67426.78
Total Run65.903489.285.23666.69
Additional overhead from Eco CIN/A11.953.143.80

@github-actions
Copy link

github-actions bot commented Sep 24, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17962140941]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.899139200 g
CO₂ from manufacturing (embodied carbon) is: 0.238088667 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.137228 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up Central Server tests24.6981717.964.10175.17
Test Central Server44.66053305.645.01659.31
Total Run49.854023.604.82834.48
Additional overhead from Eco CIN/A23.145.314.36

@github-actions
Copy link

github-actions bot commented Sep 24, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 17962140941]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 2.390425120 g
CO₂ from manufacturing (embodied carbon) is: 0.319739772 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.710165 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up Security Server tests25.9566760.0954.11185.05
Test Security Server38.03824304.364.60935.61
Total Run42.325064.464.521120.66
Additional overhead from Eco CIN/A27.025.434.98

…mation available for global configuration and TSA to be improved so that I can more easily figure out issues with it

further error code and messages tweaks

refs: XRDDEV-2921
@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 18142068996]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 5.125429120 g
CO₂ from manufacturing (embodied carbon) is: 0.573352363 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 5.698781 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Build environment setup24.5301291.4353.8675.47
Build, unit tests and packaging59.91318543.835.871455.46
Packaging and upload artifacts28.63852023.694.23478.62
Total Run75.2010858.965.402009.55
Additional overhead from Eco CIN/A30.944.476.92

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 18142068996]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 0.728890720 g
CO₂ from manufacturing (embodied carbon) is: 0.098518858 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 0.827410 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up arm packaging31.5817538.1244.35123.74
Packaging for arm architecture34.30891006.144.54221.56
Total Run45.631544.264.47345.30
Additional overhead from Eco CIN/A11.594.872.38

@github-actions
Copy link

Job Summary for Gradle

Build and test :: BuildAndPackageOnArm
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core :service:signer:signer-api:make 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 18142068996]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.653873840 g
CO₂ from manufacturing (embodied carbon) is: 0.193200245 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 1.847074 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up E2E tests33.58191024.474.45230.39
E2E tests52.03142479.55.55446.76
Total Run63.463503.975.17677.15
Additional overhead from Eco CIN/A8.302.293.62

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 18142068996]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.903901680 g
CO₂ from manufacturing (embodied carbon) is: 0.237215606 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.141117 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up Central Server tests25.7825709.5014.17170.20
Test Central Server44.90083324.195.03661.22
Total Run50.184033.694.85831.42
Additional overhead from Eco CIN/A23.515.484.29

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 18142068996]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 2.351447360 g
CO₂ from manufacturing (embodied carbon) is: 0.308284423 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.659732 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up Security Server tests36.5668602.8774.59131.47
Test Security Server38.273643794.61949.04
Total Run42.724981.884.611080.51
Additional overhead from Eco CIN/A22.795.024.54

@mikkbachmann mikkbachmann marked this pull request as ready for review September 30, 2025 21:56
@mikkbachmann mikkbachmann requested a review from a team as a code owner September 30, 2025 21:56
@mikkbachmann mikkbachmann requested review from enelir and pau-dim and removed request for a team and pau-dim September 30, 2025 21:56
…mation available for global configuration and TSA to be improved so that I can more easily figure out issues with it

CR changes

refs: XRDDEV-2921
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 1, 2025

@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Eco CI Output [RUN-ID: 18161628484]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 5.082769760 g
CO₂ from manufacturing (embodied carbon) is: 0.571691837 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 5.654462 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Build environment setup31.6316311.4524.3371.85
Build, unit tests and packaging59.70998152.975.861391.23
Packaging and upload artifacts29.21282304.164.26540.65
Total Run73.9510768.585.372003.73
Additional overhead from Eco CIN/A31.824.696.79

@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Job Summary for Gradle

Build and test :: BuildAndPackageWithUnitTests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core build sonar test intTest jacocoTestReport 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Eco CI Output [RUN-ID: 18161628484]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 0.730509680 g
CO₂ from manufacturing (embodied carbon) is: 0.100073818 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 0.830583 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up arm packaging27.1614438.4574.01109.30
Packaging for arm architecture35.77261109.234.59241.45
Total Run44.241547.694.41350.75
Additional overhead from Eco CIN/A9.904.712.10

@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Job Summary for Gradle

Build and test :: BuildAndPackageOnArm
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
x-road-core :service:signer:signer-api:make 9.0.0 Build Scan not published

@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Eco CI Output [RUN-ID: 18161628484]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.810861040 g
CO₂ from manufacturing (embodied carbon) is: 0.220230875 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.031092 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up Central Server tests35.9084522.4374.55114.71
Test Central Server44.88113314.135.04657.18
Total Run50.223836.574.97771.89
Additional overhead from Eco CIN/A21.365.563.84

@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Eco CI Output [RUN-ID: 18161628484]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 2.295949600 g
CO₂ from manufacturing (embodied carbon) is: 0.304270057 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 2.600220 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up Security Server tests34.1011626.8334.50139.27
Test Security Server37.46484237.474.57927.17
Total Run41.924864.304.561066.44
Additional overhead from Eco CIN/A21.354.714.53

@github-actions
Copy link

github-actions bot commented Oct 1, 2025

Eco CI Output [RUN-ID: 18161628484]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.716173120 g
CO₂ from manufacturing (embodied carbon) is: 0.204761161 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 1.920934 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Set up E2E tests32.45211144.434.44257.99
E2E tests50.40752491.535.42459.68
Total Run62.073635.965.07717.67
Additional overhead from Eco CIN/A10.522.713.88

@mikkbachmann mikkbachmann merged commit 0f6835c into develop Oct 1, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants