-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Included Private ai stack basic sanity test #20015
Conversation
yarunachalam
commented
Aug 20, 2024
- Related ticket: https://jira.suse.com/browse/SUSEAI-8
- Verification run: waiting for job template PR to be merged. So, I can do verification run
e445d4a
to
997329e
Compare
From what was used in pub.cl. and containers tests, it could be that this code flow could be rewritten in other way. Probably it is useful some study on those test modules structures before this changes, unless a new project is ongoing, that I am not aware :) @asmorodskyi comments would be useful here. |
Please check C.I. failing for some syntax to tidy. |
Please, see here below a summary of my suggestions and notes: Taking as basic similitude the code in
|
tests/publiccloud/aistack_basic.pm
Outdated
my $instance; | ||
select_host_console(); | ||
|
||
my $aws_test = get_var('PUBLIC_CLOUD_AWS_TEST', 'basic_sanity'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Being (Private) AI the effective context needing such test, IMHO related parameters should also evoke and reference to AI, having for publiccloud specific parameter with similar meanings.
This is why I suggest here and elsewhere needed in that project, a different name than ...AWS_TEST
, where even AWS could in future be another CSP, to be more related to the AI project.
It should mean: p.c.instance available/1 or not/0, like i.e. longer but clear PUBLIC_CLOUD_INSTANCE_FOR_AI
or else (and variable updated too, accordingly, like i.e.: $has_instance
🙂).
Note: here we should use PUBLIC_CLOUD_QAM
created for that instance status
scope, but let we create a new one to keep separated AI project activities.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -0,0 +1,89 @@ | |||
use Mojo::Base 'publiccloud::basetest'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI still claiming tidy not ok.
Before to push your changes I suggest to run in your local repo the command tools/tidy <path/to/changed_file>
(eventual issue, add ... --force)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
3d13356
to
52505e9
Compare
The CI detected tidy missing, see i.e. L#16 in function call's space before arguments and many similar other. |
52505e9
to
d478e33
Compare
trigger job https://gitlab.suse.de/qac/gravity-cannon/-/merge_requests/81 in progress |
d478e33
to
e575e3a
Compare
Sorry, still a comment about CI failure 😄
|
} | ||
|
||
registercloudguest($instance) if is_byos(); | ||
registercloudguest($instance) if (is_byos() && !$aws_ai_test); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems you didn't deleted previous line100 old-version 🙂 : typo?
#credentials from openwebui | ||
#my $admin_username = get_var('OPENWEBUI_ADMIN'); | ||
#my $admin_password = get_var('OPENWEBUI_PASSWD'); | ||
#my $openwebui_hostname = get_var('OPENWEBUI_HOSTNAME'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can those commented lines be deleted, unless you still need it for some reason?
#validate_openwebui($admin_username, $admin_password, $openwebui_hostname); | ||
# Verify Ollama api endpoint | ||
#verify_api_endpoint(); | ||
# Milvus DB Test | ||
#milvus_db_test(); | ||
# Milvus DB Test | ||
#milvus_db_test(); | ||
# OpenWebUI Integration test | ||
#test_openwebui_interaction(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same comment as for commented lines: can we delete deactivated code?
Please, note we that CI failiing may be related to missing module call, as mentioned in #20384 (comment). |
Great PR! Please pay attention to the following items before merging: Files matching
Files matching
This is an automatically generated QA checklist based on modified files. |
17b0172
to
aaad262
Compare
tests/publiccloud/aistack_basic.pm
Outdated
# - Create VM in EC2 SLE-Micro-6-0-BYOS.x86_64-1.0.0-EC2-Build1.36.raw.xz | ||
# - Installs required dependency to install aistack helmchart and containers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One spaces here at each line end, to delete for C.I. tidy :)
Closing this ticket and redirected the aistack test in new ticket #20427 |