https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842021-10-11T09:31:31ZopenSUSE Project Management ToolopenQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4538362021-10-11T09:31:31Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>Restarted twice, but always failed with the same error</p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4538512021-10-11T09:54:36Zlivdywanliv.dywan@suse.com
<ul></ul><p>This seems to file in <code>browser.py</code> in this spot:</p>
<pre><code>content = r.json() if as_json else r.content.decode("utf8")
</code></pre>
<p>So I'm guessing we're not getting JSON but something else. And the something else wasn't caught as a <code>HTTPError</code>.</p>
<p>Here's a small PR to expose the error to start with: <a href="https://github.com/os-autoinst/openqa_review/pull/180" class="external">https://github.com/os-autoinst/openqa_review/pull/180</a></p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4539772021-10-11T11:16:07Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>Thanks to the User-Agent header, from the log I could determine which url it was:<br>
<a href="https://openqa.opensuse.org/tests/1961715/file/details-libreoffice_recent_documents.json" class="external">https://openqa.opensuse.org/tests/1961715/file/details-libreoffice_recent_documents.json</a></p>
<p>It's empty, and all <code>details-*.json</code> files for this test are empty:</p>
<pre><code>ls -l /var/lib/openqa/testresults/01961/01961715-opensuse-Tumbleweed-DVD-x86_64-Build20211008-desktopapps-documentation@64bit/details-*
</code></pre> openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4539892021-10-11T11:31:23Zlivdywanliv.dywan@suse.com
<ul><li><strong>Subject</strong> changed from <i>openqa-review pipeline failed</i> to <i>openqa-review pipeline failed because details-* JSON is empty</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>livdywan</i></li></ul><p>I'm taking this ticket. With Tina's assessment I think it's pretty clear what we need to do here.</p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4541632021-10-11T17:07:45Zokurzokurz@suse.com
<ul><li><strong>Target version</strong> set to <i>Ready</i></li></ul> openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4542142021-10-12T04:09:46Zopenqa_reviewopenqa-review@suse.de
<ul><li><strong>Due date</strong> set to <i>2021-10-26</i></li></ul><p>Setting due date based on mean cycle time of SUSE QE Tools</p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4579382021-10-22T09:52:19Zokurzokurz@suse.com
<ul></ul><p>brought up in weekly. @cdywan Please check if you have a related PR or something prepared locally.</p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4580162021-10-22T12:15:16Zlivdywanliv.dywan@suse.com
<ul></ul><blockquote>
<p>Here's a small PR to expose the error to start with: <a href="https://github.com/os-autoinst/openqa_review/pull/180" class="external">https://github.com/os-autoinst/openqa_review/pull/180</a></p>
</blockquote>
<p>Not merged yet, because I was having issues locally runnings the tests. And apparently <a href="https://app.travis-ci.com/github/os-autoinst/openqa_review/jobs/543450089" class="external">deprecation warnings are breaking one of the Travis tests</a>.</p>
<blockquote>
<p>I'm taking this ticket. With Tina's assessment I think it's pretty clear what we need to do here.</p>
</blockquote>
<p>Next time I better type out what I was going to, since I can't find the branch I thought I had.</p>
<p>That said, I had another thought: <code># Reason: isotovideo done: Can't use an undefined value as a symbol reference at /home/squamata/os-autoinst/myjsonrpc.pm line 54.</code> can prevent some jobs from writing the file. So that might be the underlying cause.</p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4580222021-10-22T12:42:41Zokurzokurz@suse.com
<ul></ul><p>interesting. Then <a href="https://github.com/os-autoinst/os-autoinst/pull/1828" class="external">https://github.com/os-autoinst/os-autoinst/pull/1828</a> could help</p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4585322021-10-25T14:08:49Zlivdywanliv.dywan@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p><a href="https://github.com/os-autoinst/openqa_review/pull/180" class="external">https://github.com/os-autoinst/openqa_review/pull/180</a> got merged as did <a href="https://github.com/os-autoinst/os-autoinst/pull/1828" class="external">https://github.com/os-autoinst/os-autoinst/pull/1828</a> so in theory I expect:</p>
<ul>
<li>empty files don't fail the pipeline</li>
<li>invalid file descriptors fail affected jobs with <code>myjsonprc: called on undefined file descriptor</code></li>
</ul>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4585382021-10-25T14:16:18Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>The title of <a href="https://github.com/os-autoinst/os-autoinst/pull/1828" class="external">https://github.com/os-autoinst/os-autoinst/pull/1828</a> was a bit misleading. I changed it from <br>
"myjsonrpc: Prevent warning 'Can't use an undefined value as a symbol reference'"<br>
to <br>
"myjsonrpc: Prevent error 'Can't use an undefined value as a symbol reference'"<br>
as this is actually already a fatal error in perl and not a warning.</p>
<p>So affected jobs have been failing before, just now with a better error message.</p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4585772021-10-25T16:19:05Zlivdywanliv.dywan@suse.com
<ul><li><strong>Due date</strong> changed from <i>2021-10-26</i> to <i>2021-11-05</i></li></ul><p>tinita wrote:</p>
<blockquote>
<p>The title of <a href="https://github.com/os-autoinst/os-autoinst/pull/1828" class="external">https://github.com/os-autoinst/os-autoinst/pull/1828</a> was a bit misleading. I changed it from <br>
"myjsonrpc: Prevent warning 'Can't use an undefined value as a symbol reference'"<br>
to <br>
"myjsonrpc: Prevent error 'Can't use an undefined value as a symbol reference'"<br>
as this is actually already a fatal error in perl and not a warning.</p>
<p>So affected jobs have been failing before, just now with a better error message.</p>
</blockquote>
<p>Ack. Note that I'm bumping the <strong>Due date</strong> to reflect both the latest and earliest I will be able to check that reports are fine. Maybe somebody can check it earlier.</p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4609722021-11-03T10:08:08Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p><a href="https://github.com/os-autoinst/openqa_review/pull/180" class="external">https://github.com/os-autoinst/openqa_review/pull/180</a> introduced an error, and a fix was merged: <a href="https://github.com/os-autoinst/openqa_review/pull/188" class="external">https://github.com/os-autoinst/openqa_review/pull/188</a></p>
openQA Project - action #100709: openqa-review pipeline failed because details-* JSON is emptyhttps://progress.opensuse.org/issues/100709?journal_id=4614202021-11-05T13:29:56Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul>