https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842022-02-16T09:26:49ZopenSUSE Project Management ToolopenQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4914352022-02-16T09:26:49Zokurzokurz@suse.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Target version</strong> set to <i>Ready</i></li></ul><p>Adding to backlog with "High" to address urgency of alerting, i.e. exclude from alerting with openqa-logwarn</p>
openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4914652022-02-16T09:41:27Zlivdywanliv.dywan@suse.com
<ul></ul><p>okurz wrote:</p>
<blockquote>
<p>Adding to backlog with "High" to address urgency of alerting, i.e. exclude from alerting with openqa-logwarn</p>
</blockquote>
<p>Imho dropping the message from openQA is what we should do right away if we agree that it's the right solution, otherwise we're just doubling the work</p>
openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4915692022-02-16T11:45:38Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>cdywan wrote:</p>
<blockquote>
<p>Imho dropping the message from openQA is what we should do right away if we agree that it's the right solution, otherwise we're just doubling the work</p>
</blockquote>
<p>I think that might not be trivial though.<br>
The message comes from a <code>die</code> in <code>create_or_update_job_template</code>, and it's called inside a <code>try</code> block, and the catch block collects all errors, logs them and returns them via API.</p>
<p>We still should log unexpected errors (e.g. from the database), but errors like this should not be logged.</p>
<p>So we should differentiate between user errors and unexpected errors.</p>
openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4915752022-02-16T11:48:22Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-3 priority-6 priority-high2 closed behind-schedule" href="/issues/105828">action #105828</a>: 4-7 logreport emails a day cause alert fatigue size:M</i> added</li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4920822022-02-17T10:41:53Zlivdywanliv.dywan@suse.com
<ul><li><strong>Subject</strong> changed from <i>Job template name ... is already used in job group error logged on o3</i> to <i>Job template name ... is already used in job group error logged on o3 size:M</i></li><li><strong>Description</strong> updated (<a title="View differences" href="/journals/492082/diff?detail_id=465553">diff</a>)</li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4921182022-02-17T10:47:10Zlivdywanliv.dywan@suse.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/492118/diff?detail_id=465589">diff</a>)</li><li><strong>Status</strong> changed from <i>New</i> to <i>Workable</i></li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4921302022-02-17T10:55:16Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-3 priority-4 priority-default closed" href="/issues/105909">action #105909</a>: o3 logreports - Ignoring invalid group {"name":"123"} when creating new job</i> added</li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4921362022-02-17T10:56:47Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p><a class="issue tracker-4 status-3 priority-4 priority-default closed" title="action: o3 logreports - Ignoring invalid group {"name":"123"} when creating new job (Resolved)" href="https://progress.opensuse.org/issues/105909">#105909</a> is likely the same issue</p>
openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4921422022-02-17T10:57:51Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-6 priority-4 priority-default closed" href="/issues/105924">action #105924</a>: o3 logreports - Template was modified</i> added</li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4921452022-02-17T10:58:10Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>Also <a class="issue tracker-4 status-6 priority-4 priority-default closed" title="action: o3 logreports - Template was modified (Rejected)" href="https://progress.opensuse.org/issues/105924">#105924</a></p>
openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4921512022-02-17T10:59:22Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-6 priority-4 priority-default closed" href="/issues/106245">action #106245</a>: o3 logreports - Testsuite 'xyz' is invalid</i> added</li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4921542022-02-17T11:00:07Ztinitatina.mueller+trick-redmine@suse.com
<ul></ul><p>aaand <a class="issue tracker-4 status-6 priority-4 priority-default closed" title="action: o3 logreports - Testsuite 'xyz' is invalid (Rejected)" href="https://progress.opensuse.org/issues/106245">#106245</a></p>
openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4935342022-02-21T16:59:28Zmkittlermarius.kittler@suse.com
<ul><li><strong>Assignee</strong> set to <i>mkittler</i></li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4935402022-02-21T17:29:51Zmkittlermarius.kittler@suse.com
<ul><li><strong>Status</strong> changed from <i>Workable</i> to <i>In Progress</i></li></ul><p>Draft: <a href="https://github.com/os-autoinst/openQA/pull/4520" class="external">https://github.com/os-autoinst/openQA/pull/4520</a> (let's see what test it'll break)</p>
openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4936272022-02-22T04:11:03Zopenqa_reviewopenqa-review@suse.de
<ul><li><strong>Due date</strong> set to <i>2022-03-08</i></li></ul><p>Setting due date based on mean cycle time of SUSE QE Tools</p>
openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4951482022-02-24T13:33:30Zmkittlermarius.kittler@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4952982022-02-24T14:54:42Ztinitatina.mueller+trick-redmine@suse.com
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-4 status-3 priority-4 priority-default closed" href="/issues/105909">action #105909</a>: o3 logreports - Ignoring invalid group {"name":"123"} when creating new job</i>)</li></ul> openQA Infrastructure - action #106880: Job template name ... is already used in job group error logged on o3 size:Mhttps://progress.opensuse.org/issues/106880?journal_id=4953882022-02-24T19:44:17Zokurzokurz@suse.com
<ul><li><strong>Due date</strong> deleted (<del><i>2022-03-08</i></del>)</li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p><a href="https://github.com/os-autoinst/openQA/pull/4520" class="external">https://github.com/os-autoinst/openQA/pull/4520</a> is merged as well as your <a href="https://github.com/os-autoinst/openqa-logwarn/pull/28" class="external">https://github.com/os-autoinst/openqa-logwarn/pull/28</a><br>
As the logwarn change is deployed within minutes I triggered a manual deployment on o3 (<code>zypper dup</code>) so that we will not run into this message overnight. I tested the changed functionality by trying to put duplicate job template definitions into <a href="https://openqa.opensuse.org/admin/job_templates/74" class="external">https://openqa.opensuse.org/admin/job_templates/74</a> ("Development Other") of a job template that is already defined in <a href="https://openqa.opensuse.org/admin/job_templates/38" class="external">https://openqa.opensuse.org/admin/job_templates/38</a> ("Development Tumbleweed"):</p>
<pre><code>defaults:
x86_64:
machine: 64bit
priority: 55
products:
opensuse-Tumbleweed-KDE-Live-x86_64:
distri: opensuse
flavor: KDE-Live
version: Tumbleweed
scenarios:
x86_64:
opensuse-Tumbleweed-KDE-Live-x86_64:
- kde_live_upgrade_leap_15.2:
machine: uefi
</code></pre>
<p>and I received no log message in /var/log/openqa at all but a good message in the UI telling us:</p>
<blockquote>
<p>There was a problem applying the changes:<br>
Job template name 'kde_live_upgrade_leap_15.2' with opensuse-Tumbleweed-KDE-Live-x86_64 and uefi is already used in job group 'Development Tumbleweed'</p>
</blockquote>
<p>so I consider this story successfully completed as well \o/</p>