https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842017-10-25T15:06:58ZopenSUSE Project Management ToolopenQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=693742017-10-25T15:06:58Zokurzokurz@suse.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-6 priority-4 priority-default closed behind-schedule" href="/issues/26112">action #26112</a>: [sle][functional] test fails in zypper_lifecycle - bash script fails</i> added</li></ul> openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=693782017-10-25T15:07:23Zokurzokurz@suse.com
<ul></ul><p>latest example: <a href="https://openqa.suse.de/tests/1236471#step/zypper_lifecycle/36" class="external">https://openqa.suse.de/tests/1236471#step/zypper_lifecycle/36</a></p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=706212017-11-06T12:02:40Znicksingernsinger@suse.com
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/70621/diff?detail_id=67594">diff</a>)</li></ul> openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=706242017-11-06T12:05:37Znicksingernsinger@suse.com
<ul></ul><p>Most recent examples:</p>
<ol>
<li><a href="https://openqa.suse.de/tests/1244530#step/zypper_lifecycle/36" class="external">https://openqa.suse.de/tests/1244530#step/zypper_lifecycle/36</a></li>
<li><a href="https://openqa.suse.de/tests/1244490#step/zypper_lifecycle/20" class="external">https://openqa.suse.de/tests/1244490#step/zypper_lifecycle/20</a></li>
<li><a href="https://openqa.suse.de/tests/1244506#step/zypper_lifecycle/20" class="external">https://openqa.suse.de/tests/1244506#step/zypper_lifecycle/20</a></li>
</ol>
<p>Where it all fails because of the unexpected token '('… However, several other tests can pass successfully and the syntax error is even in another line (for the first job).</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=710862017-11-08T08:27:01Zokurzokurz@suse.com
<ul><li><strong>Due date</strong> set to <i>2017-11-22</i></li><li><strong>Target version</strong> set to <i>Milestone 12</i></li></ul> openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=712332017-11-08T15:58:50Zriafarov
<ul><li><strong>Assignee</strong> set to <i>riafarov</i></li></ul> openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=714842017-11-09T14:39:37Zriafarov
<ul><li><strong>Subject</strong> changed from <i>[sle][functional] test fails in zypper_lifecycle because of "unexpected token" in the script</i> to <i>[sle][functional][hard] test fails in zypper_lifecycle because of "unexpected token" in the script</i></li></ul><p>Issue is sporadic, was able to reproduce it 2 out 50 runs. Now I've added logging to see the script content. As of now I suspect that we do not parse some output properly which is then injected into next script and breaks it. Other possibility is that script_output is not reliable and doesn't write file correctly.</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=717402017-11-17T07:30:19Zmgriessmeiermgriessmeier@suse.com
<ul><li><strong>Subject</strong> changed from <i>[sle][functional][hard] test fails in zypper_lifecycle because of "unexpected token" in the script</i> to <i>[sle][functional][hard] different test-modules fail because of "unexpected token" in the script</i></li></ul><p>not only happening in zypper_lifecycle, also seen here:<br>
<a href="https://openqa.suse.de/tests/1251399#step/snapper_create/64" class="external">https://openqa.suse.de/tests/1251399#step/snapper_create/64</a></p>
<p>-> renaming ticket</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=717912017-11-17T09:25:51Zriafarov
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul><p><a class="user active user-mention" href="https://progress.opensuse.org/users/15418">@mgriessmeier</a> I believe this is another problem, as zypper_lifecycle we use script_output and execute downloaded script. And here we get some welcome messages which break syntax. I've created separate ticket for that: <a href="https://progress.opensuse.org/issues/27823" class="external">https://progress.opensuse.org/issues/27823</a></p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=719322017-11-17T11:19:22Zriafarov
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-4 status-3 priority-4 priority-default closed" href="/issues/27823">action #27823</a>: [sle][functional][hard] login output interferes with commands execution on ppc64le</i> added</li></ul> openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=719382017-11-17T11:20:28Zriafarov
<ul></ul><p>So, issue is sporadic, welcome messages are in the script for whatever reason, for example here:</p>
<p>echo $(for repo in Welcome to SUSE Linux Enterprise Server 15 Beta2 (x86_64) - Kernel 4.12.14-3.2-default (ttyS0).</p>
<p>eth0: 10.0.2.15 fec0::5970:498e:9c9b:a910</p>
<p>linux-75xp login: SLE-Product-SLES15-Pool SLE-Product-SLES15-Updates ; do zypper -n -x se -t package -i -s -r $repo ; done | grep name= | head -n 1 |sed -e 's|.<em>name="([<sup>"]</sup></em>)".*|\1|' )</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=723882017-11-20T08:18:43Zriafarov
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>All problems occur due to extra output on serial device, to avoid this issue, we parse results according to our expectations:<br>
<a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3909" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3909</a><br>
<a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3908" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3908</a></p>
<p>For similar issues we should address them in separate tickets, as otherwise this ticket won't ever get resolved if we will get new failures here and there.</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=728862017-11-21T09:32:46Zriafarov
<ul><li><strong>Subject</strong> changed from <i>[sle][functional][hard] different test-modules fail because of "unexpected token" in the script</i> to <i>[sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the script</i></li></ul> openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=728922017-11-21T09:38:49Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>haven't seen this issue in the latest build 343.1 . Whenever we find another instability regarding the use of output of script_output we should either push the os-autoinst change or handle it explicitly in the according test module.</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=731172017-11-21T12:49:16Zthehejikthehejik@suse.com
<ul></ul><p>Maybe the problem wasn't fixed completely, please see <a href="https://openqa.suse.de/tests/overview?distri=sle&version=12-SP3&build=0040&groupid=128" class="external">https://openqa.suse.de/tests/overview?distri=sle&version=12-SP3&build=0040&groupid=128</a> - it is SLE12 SP3 + RT, it worked correctly 2 weeks ago.</p>
<p>But the problem seems to be different, there is no trace of "unexpected token" in script_output output and the XML from zypper seems to be correct and valid. Details here <a href="https://openqa.suse.de/tests/1258673#step/zypper_lifecycle/21" class="external">https://openqa.suse.de/tests/1258673#step/zypper_lifecycle/21</a></p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=731352017-11-21T13:08:00Zthehejikthehejik@suse.com
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Feedback</i></li></ul> openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=731682017-11-21T13:55:49Zriafarov
<ul></ul><p>Ouch, tried to be to picky with regexp, will provide a fix after verification run</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=733602017-11-21T15:35:08Zriafarov
<ul></ul><p>PR: <a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3924" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3924</a></p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=737202017-11-22T10:47:59Zriafarov
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>In Progress</i></li></ul><p>Seems that it didn't work well, as output of this line is not handled properly and script-finished is not parsed on serial: <a href="https://openqa.suse.de/tests/1260361#step/zypper_lifecycle/24" class="external">https://openqa.suse.de/tests/1260361#step/zypper_lifecycle/24</a><br>
script_output 'echo $(for repo in ' . $base_repos . ' ; do zypper -n -x se -t package -i -s -r $repo ; done )'</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=737352017-11-22T11:19:21Zpcervinkapcervinka@suse.com
<ul></ul><p>I can confirm that SLE12 tests are broken by recent change in zypper_lifecycle:<br>
<a href="https://openqa.suse.de/tests/1260164#step/zypper_lifecycle/37" class="external">https://openqa.suse.de/tests/1260164#step/zypper_lifecycle/37</a><br>
<a href="https://openqa.suse.de/tests/1260162#step/zypper_lifecycle/37" class="external">https://openqa.suse.de/tests/1260162#step/zypper_lifecycle/37</a><br>
<a href="https://openqa.suse.de/tests/1260167#step/zypper_lifecycle/37" class="external">https://openqa.suse.de/tests/1260167#step/zypper_lifecycle/37</a></p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=738522017-11-22T14:59:28Zriafarov
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li></ul><p>PR with fix: <a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3931" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/3931</a></p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=744502017-11-24T08:04:47Zriafarov
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>Looks better now:<br>
<a href="https://openqa.suse.de/tests/1269043" class="external">https://openqa.suse.de/tests/1269043</a><br>
<a href="https://openqa.suse.de/tests/1265312" class="external">https://openqa.suse.de/tests/1265312</a></p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=888162018-02-05T15:07:42Zmichalnowakmnowak@suse.com
<ul></ul><p><a href="https://openqa.suse.de/tests/1447743#step/zypper_lifecycle/10" class="external">https://openqa.suse.de/tests/1447743#step/zypper_lifecycle/10</a><br>
<a href="https://openqa.suse.de/tests/1447718#step/zypper_lifecycle/10" class="external">https://openqa.suse.de/tests/1447718#step/zypper_lifecycle/10</a></p>
<p>Was not happening before. Is this the same problem?</p>
openQA Tests - action #25716: [sle][functional][demo][hard] different test-modules fail because of "unexpected token" in the scripthttps://progress.opensuse.org/issues/25716?journal_id=888192018-02-05T16:21:49Zriafarov
<ul></ul><p>@michalnowak, yes, but it got worse because in my improvement I've forgotten to escape $ sign: <a href="https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4349" class="external">https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/4349</a> here is the fix. And this is a new ticket where we handle it: <a href="https://progress.opensuse.org/issues/29646" class="external">https://progress.opensuse.org/issues/29646</a></p>