Skip to content
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

Fix openqa_install+publish scenario #145

Merged
merged 1 commit into from Sep 14, 2023

Conversation

perlpunk
Copy link
Contributor

@perlpunk perlpunk commented Sep 12, 2023

It needs machine and product.
At least the missing machine will make the next+previous tab not working because NULL is passed to postgres.
Not sure what effect the missing product has.

See for example this test shows no previous or next tests: https://openqa.opensuse.org/tests/3570330#next_previous
Compared to this openqa_from_git: https://openqa.opensuse.org/tests/3570329#next_previous

It needs machine and product.
At least the missing machine will make the next+previous tab not working
because `NULL` is passed to postgres.
Not sure what effect the missing product has.
@@ -39,6 +39,7 @@ job_templates:
settings:
OPENQA_WEB_PROXY: 'nginx'
openqa_install+publish:
<<: *common
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did you notice this was broken? https://openqa.opensuse.org/tests/3570245#next_previous looks all green to me

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I should have added this link: https://openqa.opensuse.org/tests/3570330#next_previous
This only shows one test.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think we can make the error more prominent in openQA? Overall the test was working quite nicely but the error in openQA is rather subtle, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would first like to find out why the SQL query didn't work with machine set to NULL, because when I tried it manually in psql, the query returned the expected rows.

@mergify mergify bot merged commit 5f8354b into os-autoinst:master Sep 14, 2023
5 checks passed
@perlpunk perlpunk deleted the fix-openqa_install+publish branch October 2, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants