Skip to content

Conversation

DaniilKl
Copy link
Contributor

@DaniilKl DaniilKl requested a review from m-iwanicki July 22, 2025 10:03
@DaniilKl DaniilKl self-assigned this Jul 22, 2025
@DaniilKl DaniilKl force-pushed the add-dts-credentials-tests branch 2 times, most recently from a4c07e8 to 5d1162b Compare July 25, 2025 15:37
@DaniilKl DaniilKl force-pushed the add-dts-credentials-tests branch from 5d1162b to 722d94c Compare August 28, 2025 10:56
@m-iwanicki m-iwanicki force-pushed the add-dts-credentials-tests branch from 722d94c to 8189a3f Compare September 8, 2025 07:28
@m-iwanicki m-iwanicki requested review from m-iwanicki and removed request for m-iwanicki September 8, 2025 15:50
@m-iwanicki m-iwanicki assigned m-iwanicki and unassigned DaniilKl Sep 8, 2025
@m-iwanicki m-iwanicki force-pushed the add-dts-credentials-tests branch from ceb0839 to 83aeed1 Compare September 9, 2025 07:58
@m-iwanicki
Copy link
Contributor

m-iwanicki commented Sep 9, 2025

robot -b cmd_logs.txt -v rte_ip:127.0.0.1 -v config:qemu \
            -L TRACE -v boot_dts_from_ipxe_shell:True \
            -v dts_ipxe_link:http://192.168.4.48:4321/dts.ipxe \
            -v snipeit:no -v dts_config_ref:refs/heads/main \
            -v dpp_email:"$CI_EMAIL" -v dpp_password:"$CI_PASSWORD" \
            -v dpp_email_fw_only:"$CI_DPP_EMAIL" -v dpp_password_fw_only:"$CI_DPP_PASSWORD" \
            -v dpp_email_extensions_only:"$CI_EXTENSIONS_EMAIL"  -v dpp_password_extensions_only:"$CI_EXTENSIONS_PASSWORD" \
            -v dpp_email_no_access:"$CI_NO_ACCESS_EMAIL" -v dpp_password_no_access:"$CI_NO_ACCESS_PASSWORD" \
            -t "E2E00[789]*" dts/dts-e2e.robot

Results:

Details

==============================================================================
Dts-E2E
==============================================================================
E2E007.001 Check credentials are being saved correctly :: Check th... | PASS |
------------------------------------------------------------------------------
E2E007.002 Check old credentials are being overwritten by new :: M... | FAIL |
cloud-pass file should have only 2 lines: 4 != 2
------------------------------------------------------------------------------
E2E007.003 Check wrong credentials should not allow to log into DP... | FAIL |
'Dasharo DPP credentials have been saved
Cannot log in to DPP server.
Press Enter to continue' contains 'Dasharo DPP credentials have been saved'
------------------------------------------------------------------------------
E2E007.004 Check correct credentials should allow to log into DPP ... | PASS |
------------------------------------------------------------------------------
E2E007.005 Check empty e-mail should not pass :: Entering empty e-... | FAIL |
No match found for 'Press Enter to continue' in 15 seconds
Output:


Enter password:    .
------------------------------------------------------------------------------
E2E007.006 Check empty password should not pass :: Entering empty ... | FAIL |
No match found for 'Press Enter to continue' in 3 minutes
Output:

Dasharo DPP credentials have been saved
.
------------------------------------------------------------------------------
E2E007.008 Check DPP credentials with access to only firmware :: T... | PASS |
------------------------------------------------------------------------------
E2E007.009 Check DPP credentials with access to only extensions ::... | FAIL |
'Dasharo DPP credentials have been saved
Checking for Dasharo firmware...
Waiting for network connection ...
Network connection have been established!
Downloading board configs repository
Checking if board is Dasharo compatible.
Waiting for network connection ...
Network connection have been established!
A Dasharo Firmware binary has been found for your platform!
Your credentials give access to:
Dasharo Pro Package (DPP): YES
DTS Extensions: YES
Checking for available DTS extensions...
Installing available DTS extensions...
Installing package txeconfigtool-git-r0.core2_64.rpm...
Downloading package txeconfigtool-git-r0.core2_64.rpm...
`premium/des-packages/txeconfigtool-git-r0.core2_64.rpm` -> `/var/dasharo-package-manager/txeconfigtool-git-r0.core2_64.rpm`
Total: 0 B, Transferred: 21.64 KiB, Speed: 282.65 KiB/s
Package txeconfigtool-git-r0.core2_64.rpm have been downloaded successfully!
Package txeconfigtool-git-r0.core2_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Package txeconfigtool-git-r0.core2_64.rpm have been installed successfully!
Press Enter to continue' does not contain 'Dasharo Pro Package (DPP): NO'
------------------------------------------------------------------------------
E2E007.010 Check DPP credentials without DPP access :: Those crede... | PASS |
------------------------------------------------------------------------------
E2E007.011 Check DPP credentials with both DPP firmware and DTS ex... | PASS |
------------------------------------------------------------------------------
E2E008.001 Reboot UI Option Calls Reboot Command :: Reboot (R) UI ... | PASS |
------------------------------------------------------------------------------
E2E008.002 Poweroff UI Option Calls Poweroff Command :: Poweroff (... | PASS |
------------------------------------------------------------------------------
E2E008.003 Launch SSH Server UI Option Enables SSH Server Command ... | PASS |
------------------------------------------------------------------------------
E2E008.004 Enable Sending Logs UI Option Should Enable DTS Log Sen... | PASS |
------------------------------------------------------------------------------
E2E009.001 DTS extensions are installed and can be used :: Test th... | PASS |
------------------------------------------------------------------------------
Dts-E2E                                                               | FAIL |
15 tests, 10 passed, 5 failed
==============================================================================

Failing tests are to be fixed in dts-scripts

@m-iwanicki m-iwanicki requested a review from 3mkusiak September 9, 2025 08:17
@DaniilKl DaniilKl marked this pull request as ready for review September 9, 2025 13:58
@DaniilKl DaniilKl requested review from aronowski and removed request for 3mkusiak September 9, 2025 13:58
@m-iwanicki m-iwanicki force-pushed the add-dts-credentials-tests branch from 83aeed1 to fbfc7a3 Compare September 15, 2025 10:45
@m-iwanicki m-iwanicki merged commit fbfc7a3 into develop Sep 15, 2025
3 checks passed
@m-iwanicki m-iwanicki deleted the add-dts-credentials-tests branch September 15, 2025 10:49
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