openqa-force-result #134873
closed[qe-core][tools]test fails in update_install, 'query_smelt' - wrong response code returned auto_review:"Unexpected response code from SMELT":force_result:softfailed
Description
Observation¶
openQA test in scenario sle-15-SP2-Server-DVD-Incidents-Install-aarch64-qam-incidentinstall@aarch64-virtio fails in
update_install
Test suite description¶
Testsuite maintained at https://gitlab.suse.de/qa-maintenance/qam-openqa-yml. Incident Installation TEST
MAX_JOB_TIME=9000 due to long texlive update
Reproducible¶
Fails since (at least) Build :30387:amazon-ecs-init
Expected result¶
Last good: :30381:MozillaFirefox (or more recent)
Further details¶
Always latest result in this scenario: latest
Updated by rfan1 over 1 year ago
From the log, we can't see right code prints there. So the url may not be able to return the right response code.
However, at the same time, we may need to revise our test code:
Here comes the current output:
testapi::record_info(title="Response: Mojo::Transaction::HTTP=HASH(0xaaaada2a14f8)->res->code
[it only prints the string "->res->code" rather than the code ]
There might be some issue with line record_info "Response: $transaction->res->code", "Unexpected response code from SMELT";
sub query_smelt {
my $graphql = $_[0];
my $transaction = Mojo::UserAgent->new->post("https://smelt.suse.de/graphql/" => json => {query => "$graphql"});
if ($transaction->res->code != 200) {
die "Unexpected response code from SMELT: $transaction->res->code";
}
return $transaction->res->body;
}
Updated by rfan1 over 1 year ago
- Subject changed from [qe-core]test fails in update_install to [qe-core]test fails in update_install, wrong response code returned
Updated by rfan1 over 1 year ago
- Subject changed from [qe-core]test fails in update_install, wrong response code returned to [qe-core][tools]test fails in update_install, wrong response code returned
I can't reproduce the issue on my local setup, So I am wondering something wrong with openQA workers.
#cat abc.pl
use strict;
use warnings;
use Mojo::UserAgent;
sub query_smelt {
my $graphql = $_[0];
my $transaction = Mojo::UserAgent->new->post("https://smelt.suse.de/graphql/" => json => {query => "$graphql"});
my $resp_code = $transaction->res->code;
if ($ resp_code!= 200) {
die "Unexpected response code from SMELT: $resp_code";
}
print $transaction->res->code;
}
query_smelt "{incidents(incidentId: 30389){edges{node{incidentpackagesSet{edges{node{package{name}}}}}}}}";
# perl abc.pl
200
Updated by rfan1 over 1 year ago
- Subject changed from [qe-core][tools]test fails in update_install, wrong response code returned to [qe-core][tools]test fails in update_install, 'query_smelt' - wrong response code returned
Updated by vsvecova over 1 year ago
Hello, I see this issue is blocking a lot of approvals for qam-openqa review group and it is currently unassigned. Is there any progress on this?
Updated by dzedro over 1 year ago
I guess the connection from new PRG location (osd) to NUE (smelt.suse.de) is bad.
Maybe open ticket to infra or add retry ?
Updated by szarate over 1 year ago
- Subject changed from [qe-core][tools]test fails in update_install, 'query_smelt' - wrong response code returned to [qe-core][tools]test fails in update_install, 'query_smelt' - wrong response code returned auto_review:"Unexpected response code from SMELT":force_result:softfailed
Updated by szarate over 1 year ago
- Tracker changed from action to openqa-force-result
- Project changed from openQA Tests (public) to openQA auto review
- Category deleted (
Bugs in existing tests) - Start date deleted (
2023-08-31)
Updated by szarate about 1 year ago
- Related to action #135896: [qe-core] test fails in update_install added
Updated by amanzini about 1 year ago
it's difficult to reproduce, but PR https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/17795 try to address also this