https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842022-05-23T10:05:55ZopenSUSE Project Management ToolQA - action #111446: openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retryhttps://progress.opensuse.org/issues/111446?journal_id=5220202022-05-23T10:05:55Zokurzokurz@suse.com
<ul><li><strong>Tags</strong> set to <i>reactive work</i></li></ul> QA - action #111446: openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retryhttps://progress.opensuse.org/issues/111446?journal_id=5220292022-05-23T10:27:37Zandriinikitinandrii.nikitin@suse.com
<ul></ul><p>To me these "digest failed" and "file not found" in the next job look like concurrency issues when rpm is replaced on server during download or after zypper refresh.<br>
There is no protection from that in infrastructure and it is likely to happen if source gets released / published often.<br>
The best idea I have at the moment is just retry <code>zypper ref -f && zypper in ...</code> again</p>
QA - action #111446: openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retryhttps://progress.opensuse.org/issues/111446?journal_id=5222272022-05-24T06:21:45Zokurzokurz@suse.com
<ul></ul><p>andriinikitin wrote:</p>
<blockquote>
<p>To me these "digest failed" and "file not found" in the next job look like concurrency issues when rpm is replaced on server during download or after zypper refresh.<br>
There is no protection from that in infrastructure and it is likely to happen if source gets released / published often.<br>
The best idea I have at the moment is just retry <code>zypper ref -f && zypper in ...</code> again</p>
</blockquote>
<p>Yes, but IMHO that is something that zypper should allow to do in the non-interactive mode. It already offers to retry but I see no point in needing to do that in another way in non-interactive scripts when zypper already offers it in the interactive way.</p>
QA - action #111446: openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retryhttps://progress.opensuse.org/issues/111446?journal_id=5243212022-05-31T09:35:59Zokurzokurz@suse.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul> QA - action #111446: openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retryhttps://progress.opensuse.org/issues/111446?journal_id=5252122022-06-03T14:31:31Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Blocked</i></li><li><strong>Assignee</strong> set to <i>okurz</i></li></ul><p><a href="https://github.com/openSUSE/zypper/issues/420" class="external">https://github.com/openSUSE/zypper/issues/420</a></p>
QA - action #111446: openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retryhttps://progress.opensuse.org/issues/111446?journal_id=5321692022-06-23T14:45:31Zokurzokurz@suse.com
<ul><li><strong>Blocked by</strong> <i><a class="issue tracker-4 status-3 priority-4 priority-default closed" href="/issues/112232">action #112232</a>: [tools] Multiple recurring failures due to zypper failing to download packages temporarily</i> added</li></ul> QA - action #111446: openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retryhttps://progress.opensuse.org/issues/111446?journal_id=5323522022-06-24T08:56:51Zokurzokurz@suse.com
<ul><li><strong>Subject</strong> changed from <i>openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command 'zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 13":retry</i> to <i>openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retry</i></li></ul><p>In the meantime we have updated the test code to use retries but that's not enough, see <a class="issue tracker-4 status-3 priority-4 priority-default closed" title="action: [tools] Multiple recurring failures due to zypper failing to download packages temporarily (Resolved)" href="https://progress.opensuse.org/issues/112232">#112232</a>, the blocker. Updated auto-review expression accordingly.</p>
QA - action #111446: openQA-in-openQA tests fail due to corrupted downloaded rpm auto_review:"Test died: command '.*zypper -n in os-autoinst-distri-opensuse-deps' failed at openqa//tests/install/test_distribution.pm line 1.*":retryhttps://progress.opensuse.org/issues/111446?journal_id=5342182022-07-06T11:23:13Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>Blocked</i> to <i>Resolved</i></li></ul><p>We track the upstream issue. We use <a href="https://software.opensuse.org/package/retry" class="external">https://software.opensuse.org/package/retry</a> and are ok with that because we don't expect the upstream issue to be ever fixed (but never say never). Welcome to the real world</p>