https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842019-10-01T08:35:46ZopenSUSE Project Management ToolopenQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2472712019-10-01T08:35:46Zcoolocoolo@suse.com
<ul><li><strong>Target version</strong> set to <i>Ready</i></li></ul><p>We need to properly track this from isotovideo into the DB into the UI, please no hacks</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2634742019-12-10T12:00:20Zokurzokurz@suse.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/263474/diff?detail_id=259667">diff</a>)</li><li><strong>Status</strong> changed from <i>New</i> to <i>Workable</i></li></ul> openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2660102019-12-20T08:35:18ZXiaojing_liuxliu1@suse.com
<ul><li><strong>Status</strong> changed from <i>Workable</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>Xiaojing_liu</i></li><li><strong>Target version</strong> changed from <i>Ready</i> to <i>Current Sprint</i></li></ul> openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2693542020-01-09T07:31:11ZXiaojing_liuxliu1@suse.com
<ul></ul><p>The first solution was saving the spent times in a separate file. This was not good so close the PR.<br>
As Oliver and Mkittler suggestions, should save the spent times in details file, and change the structure of details file to HASH.</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2708452020-01-14T06:18:23ZXiaojing_liuxliu1@suse.com
<ul></ul><p>Here are PRs:<br>
<a href="https://github.com/os-autoinst/openQA/pull/2654" class="external">https://github.com/os-autoinst/openQA/pull/2654</a><br>
<a href="https://github.com/os-autoinst/os-autoinst/pull/1335" class="external">https://github.com/os-autoinst/os-autoinst/pull/1335</a></p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2794512020-02-21T09:38:44Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>so the openQA PRs have been merged for a longer time already, we have the state deployed to both o3 and osd at least. The os-autoinst PR <a href="https://github.com/os-autoinst/os-autoinst/pull/1335" class="external">https://github.com/os-autoinst/os-autoinst/pull/1335</a> is still open but I guess we can merge it soon.</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2798172020-02-22T14:25:36Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>We have merged the os-autoinst change and it is effective on os-autoinst as well now. Newer jobs, e.g. <a href="https://openqa.opensuse.org/tests/1182767" class="external">https://openqa.opensuse.org/tests/1182767</a> show the correct display of execution time per module as well as does the api, e.g. <code>openqa-client --host https://openqa.opensuse.org jobs/1182767/details</code> returns <code>execution_time => "21s"</code> and such.</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2801142020-02-24T18:45:44Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Workable</i></li></ul><p>Please see <a href="https://github.com/os-autoinst/os-autoinst/pull/1335#issuecomment-590322387" class="external">https://github.com/os-autoinst/os-autoinst/pull/1335#issuecomment-590322387</a> and followup.</p>
<p>EDIT: 2020-02-25: Suggestion by mkittler was that Xiaojing_liu continues based on the suggestions given. The latest build in <a href="https://openqa.suse.de/tests/overview?distri=sle&version=12-SP4&build=4.12.14-474.1.gcb202a6&groupid=214" class="external">https://openqa.suse.de/tests/overview?distri=sle&version=12-SP4&build=4.12.14-474.1.gcb202a6&groupid=214</a> has updated results after I retriggered jobs. Take a look at <a href="https://openqa.suse.de/tests/3911436#step/f00f/8" class="external">https://openqa.suse.de/tests/3911436#step/f00f/8</a> for a failed example that can also be used as a template for reproducing the problem and checking any suggested solution.</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2840332020-03-09T07:39:18ZXiaojing_liuxliu1@suse.com
<ul><li><strong>Status</strong> changed from <i>Workable</i> to <i>In Progress</i></li></ul><p>rework this ticket.<br>
PR: <a href="https://github.com/os-autoinst/os-autoinst/pull/1361" class="external">https://github.com/os-autoinst/os-autoinst/pull/1361</a><br>
<a href="https://github.com/os-autoinst/openQA/pull/2819" class="external">https://github.com/os-autoinst/openQA/pull/2819</a></p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2925232020-04-14T06:02:22ZXiaojing_liuxliu1@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>The two prs has been merged, and the test works well. e.g. <a href="https://openqa.suse.de/tests/4116090" class="external">https://openqa.suse.de/tests/4116090</a> </p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2925412020-04-14T06:55:43Zokurzokurz@suse.com
<ul></ul><p>yes, this looks good so far. I need to adjust <a href="https://github.com/os-autoinst/openqa_review" class="external">https://github.com/os-autoinst/openqa_review</a> but besides that everything else looks good so far.</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2925442020-04-14T07:03:57Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>AC2 fulfilled, e.g. <code>curl -s https://openqa.suse.de/api/v1/jobs/4116090/details | jq '.job | .testresults | .[] | .name,.execution_time' | less</code> shows:</p>
<pre><code>"boot_ltp"
"22s"
"f00f"
null
"crash01"
null
"crash02"
null
"mem01"
"1s"
"fork12"
"8s"
"shutdown_ltp"
"27s"
</code></pre> openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2926702020-04-14T09:56:33Zpvorelpetr.vorel@suse.com
<ul></ul><p>Thanks for implementing this, I really appreciate it.</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2932582020-04-16T10:56:34Zpvorelpetr.vorel@suse.com
<ul></ul><p>BTW some tests spent just 0s (<a href="https://openqa.suse.de/tests/4125076#step/cve-2015-0235/8" class="external">https://openqa.suse.de/tests/4125076#step/cve-2015-0235/8</a>), thus "execution_time" : 0 in ./testresults/result-FOO.json, but because change_sec_to_word() returns empty string instead of 0. IMHO it'd be better to write 0s instead of nothing, but not sure if we want to bother that. it's probably again some LTP specific issue.<br>
If we do care I can fix it.</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2937082020-04-17T10:50:24ZXiaojing_liuxliu1@suse.com
<ul></ul><p>pvorel wrote:</p>
<blockquote>
<p>BTW some tests spent just 0s (<a href="https://openqa.suse.de/tests/4125076#step/cve-2015-0235/8" class="external">https://openqa.suse.de/tests/4125076#step/cve-2015-0235/8</a>), thus "execution_time" : 0 in ./testresults/result-FOO.json, but because change_sec_to_word() returns empty string instead of 0. IMHO it'd be better to write 0s instead of nothing, but not sure if we want to bother that. it's probably again some LTP specific issue.<br>
If we do care I can fix it.</p>
</blockquote>
<p>Hmm, actually it does not show the 0s is my expectation :)</p>
openQA Project - action #57419: Display time spent on particular modulehttps://progress.opensuse.org/issues/57419?journal_id=2937112020-04-17T11:23:24Zpvorelpetr.vorel@suse.com
<ul></ul><p>OK, no problem for me :). It was a bit confusing, because I didn't expect that something was that quick that would take less than 1s, so it looked like error.</p>