Skip to content

chore: Switch proxy-ui-api to yaml based db property source. #2060

chore: Switch proxy-ui-api to yaml based db property source.

chore: Switch proxy-ui-api to yaml based db property source. #2060

GitHub Actions / Security Server system tests failed Feb 28, 2025 in 1s

129 passed, 1 failed and 2 skipped

Tests failed

❌ src/security-server/system-test/build/test-results/systemTest/TEST-org.niis.xroad.ss.test.SecurityServerUiBehavioralTest.xml

132 tests were completed in 830s with 129 passed, 1 failed and 2 skipped.

Test suite Passed Failed Skipped Time
org.niis.xroad.ss.test.SecurityServerUiBehavioralTest 129✅ 1❌ 2⚪ 830s

❌ org.niis.xroad.ss.test.SecurityServerUiBehavioralTest

✅ Security server is initialized
✅ Default token is initialized
✅ Example #1.1
✅ Example #1.2
✅ Token edit page is navigable
✅ Example #1.1
✅ Example #1.2
✅ Add key wizard is navigable
✅ CSR can be deleted
✅ Generating multiple CSR for key
✅ Token PIN can be changed
✅ Inactive token can be deleted
✅ User can create API key with all privileges
✅ API key is created and revoked
✅ API key is created and edited
✅ User can only assign roles they have when creating/editing API key
✅ Security server address is update fails
✅ Timestamping service is selected and deleted
✅ Timestamping service is selected
✅ Add client was cancelled
✅ Example #1.1
✅ Add subsystem was cancelled
✅ Example #1.1
✅ Example #1.2
✅ Example #1.3
✅ New Subsystem is added, but management registration fails
❌ Example #1.1
	Element should be text "Good" {By.xpath: //tbody[ tr/td/div[@class ='name-wrap-top']//div[contains(@class,'identifier-wrap')]//span[text() = 'test acme signing key']]//td[@data-test='ocsp-status']}
✅ Example #1.2
✅ Certificate ordering is disabled when external account binding credentials are required but missing
✅ Certificate is ordered on existing CSR
✅ Example #1.1
✅ Example #1.2
✅ Example #1.3
✅ Example #1.4
✅ Example #1.5
✅ Example #1.6
✅ Local group is not added as it already exists
✅ Local groups are sorted by default
✅ Local groups are sorted by Description
✅ Local groups are filtered to "group"
✅ Local groups are filtered to "aaa-1"
✅ Local group aaa-1 is deleted
✅ Local group group-1 is edited
✅ Local group group-1 member is removed
✅ Client details are displayed
✅ Client Disable button is clicked
✅ Client Internal servers are configured
✅ Client service with invalid openApi spec is not added
✅ Client service with invalid openApi spec is not added
✅ Client service with openApi yaml spec is added
✅ Client service with openApi json spec is added
✅ Client service is edited
✅ Client service has access rights added to it
✅ Client service has one access rights removed
✅ Client service has all access rights removed
✅ Client service has new endpoint added to it
✅ Only manually added endpoints can be edited
✅ Manually added endpoints can be deleted
✅ Newly added services are enabled and one of them disabled
✅ Newly added service is edited
✅ Newly added service is deleted
✅ Client service with openApi 3.1 json is added
✅ Adding service with invalid openApi version fails
✅ Client service with Base Path is configured
✅ Client Rest service with duplicate service code is not added
✅ Client Rest service with duplicate url is not added
✅ Updating service url to duplicate url is not allowed
✅ Client service is edited
✅ Client service has access rights added to it
✅ Client service has one access rights removed
✅ Client service has all access rights removed
✅ Client service has new endpoint added to it
✅ Manually added endpoints can be edited
✅ Manually added endpoints can be deleted
✅ Newly added services are enabled and one of them disabled
✅ Newly added service is edited
✅ Newly added service is deleted
✅ Call REST listMethod
✅ Client WSDL service is configured
✅ Client WSDL service is not duplicated
✅ Client WSDL service is not valid
✅ Client WSDL service url does not respond
✅ Client WSDL service url is updated
✅ Client WSDL service service testOp1 is edited
✅ Client service has access rights added to it
✅ Client service access rights subjects search filter clearing restore initial state
✅ Client service has one access rights removed
✅ Client service has all access rights removed
✅ Newly added services are enabled and one of them disabled
✅ Newly added service is deleted
✅ Service is refreshed
✅ Multiple Service clients are added
✅ Service client list can be filtered and sorted
✅ Service client can be edited with additional access rights
✅ Service client can be can have all of its service codes removed and re-added
✅ Service client can be can have single service code removed
✅ Service client can have all of its service codes removed and member is not present anymore
✅ Service client is removed if its service is deleted
✅ Client List search
✅ Client List default sorting by name
✅ Client List sorting by ID desc
✅ Client List sorting by Status asc
✅ Configuration can be backed up and deleted
✅ Configuration backup can be downloaded and uploaded
✅ Already existing configuration backup is overwritten on upload
✅ Configuration can be restored from backup
✅ Configuration backups can be filtered
✅ System administrator sees only relevant pages
✅ Registration officer sees only relevant pages
✅ Security officer sees only relevant pages
✅ Observer sees only relevant pages
✅ Service administrator sees only relevant pages
✅ Invalid password is rejected
✅ Invalid username is rejected
✅ User is able to log out from security server
✅ Automatic logout happens when timeout passes
✅ Diagnostics checks are successful
✅ Message log encryption is enabled
✅ Administrator can download diagnostics report
⚪ Message log archive encryption should have per member configuration
✅ Proxymonitor responds with correct response for TotalPhysicalMemory
✅ Proxymonitor responds with correct response for XroadProcessDump
✅ Proxymonitor responds with correct response
✅ Proxymonitor responds with correct response for TotalPhysicalMemory request
✅ Messagelog contains metrics requests
✅ Retrieving Operational Data of Security Server
✅ Retrieving Health Data of Security Server
✅ Valid and registered AUTH key is forcibly enabled
✅ Healthcheck is fails when HSM is not operational
✅ Healthcheck is fails when signer is down
⚪ Healthcheck is fails when database is down
✅ Global conf sign keys rotation

Annotations

Check failure on line 291 in src/security-server/system-test/src/intTest/java/org/niis/xroad/ss/test/ui/glue/KeyAndCertStepDefs.java

See this annotation in the file changed.

@github-actions github-actions / Security Server system tests

org.niis.xroad.ss.test.SecurityServerUiBehavioralTest ► Example #1.1

Failed test found in:
  src/security-server/system-test/build/test-results/systemTest/TEST-org.niis.xroad.ss.test.SecurityServerUiBehavioralTest.xml
Error:
  Element should be text "Good" {By.xpath: //tbody[ tr/td/div[@class ='name-wrap-top']//div[contains(@class,'identifier-wrap')]//span[text() = 'test acme signing key']]//td[@data-test='ocsp-status']}
Raw output
Element should be text "Good" {By.xpath: //tbody[ tr/td/div[@class ='name-wrap-top']//div[contains(@class,'identifier-wrap')]//span[text() = 'test acme signing key']]//td[@data-test='ocsp-status']}
Element: '<td data-test="ocsp-status" data-v-3566c1ac>Disabled</td>'
Actual value: text="Disabled"
Screenshot: file:/home/runner/work/X-Road/X-Road/src/security-server/system-test/build/reports/test-automation/selenide-failures/1740756766831.0.png
Page source: file:/home/runner/work/X-Road/X-Road/src/security-server/system-test/build/reports/test-automation/selenide-failures/1740756766831.0.html
Timeout: 15 s.
	at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:125)
	at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:102)
	at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:78)
	at app//com.codeborne.selenide.commands.Should.execute(Should.java:24)
	at app//com.codeborne.selenide.FluentCommand.execute(FluentCommand.java:27)
	at app//com.codeborne.selenide.FluentCommand.execute(FluentCommand.java:19)
	at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:160)
	at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:131)
	at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:83)
	at app/jdk.proxy3/jdk.proxy3.$Proxy158.shouldBe(Unknown Source)
	at app//org.niis.xroad.ss.test.ui.glue.KeyAndCertStepDefs.validateCert(KeyAndCertStepDefs.java:291)
	at ✽.Token: softToken-0 - has key "test acme signing key" with status "Registered" and ocsp status "Good"(classpath:behavior/01-ui/0505-ss-keys-and-certificates-acme.feature:18)