<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>

<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<p class="details" style="font-style: italic; color: #737278;">
<a href="https://gitlab.rtems.org/frank_k">Frank Kuehndel</a> created an issue: <a href="https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/13">#13</a>
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: .3em; border-bottom-width: 1px; border-bottom-color: #bfbfc3; border-bottom-style: solid; color: #333238; margin: 0 0 16px;" align="initial">
<a href="#summary" aria-hidden="true" class="anchor" id="user-content-summary" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Summary</h2>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">We have a CI job which regular checks the <a href="https://gitlab.rtems.org/rtems/tools/rtems-tools/-/blob/main/Rust%20documentation%20in%20the%20RTEMS%20user%20manual" class="gfm" style="margin-top: 0;">Rust documentation in the RTEMS user manual</a>. It failed 2024-08-29T03:30:57+02:00 with the following Error:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">$ rtems-run --rtems-bsp=rv64imafdc hello_rtems_riscv.exe</span>
<span id="LC2" class="line" lang="plaintext"></span>
<span id="LC3" class="line" lang="plaintext"></span>
<span id="LC4" class="line" lang="plaintext">RTEMS Testing - Run, 6.0.not_released</span>
<span id="LC5" class="line" lang="plaintext"> Command Line: /opt/rtems/6/bin/rtems-run --rtems-bsp=rv64imafdc hello_rtems_riscv.exe</span>
<span id="LC6" class="line" lang="plaintext"> Host: Linux 0d087dc755c2 5.14.21-150500.55.73-default #1 SMP PREEMPT_DYNAMIC Tue Aug 6 15:51:33 UTC 2024 (a0ede6a) x86_64</span>
<span id="LC7" class="line" lang="plaintext"> Python: 3.12.3 (main, Jul 31 2024, 17:43:48) [GCC 13.2.0]</span>
<span id="LC8" class="line" lang="plaintext">Host: Linux-5.14.21-150500.55.73-default-x86_64-with-glibc2.39 (Linux 0d087dc755c2 5.14.21-150500.55.73-default #1 SMP PREEMPT_DYNAMIC Tue Aug 6 15:51:33 UTC 2024 (a0ede6a) x86_64 x86_64)</span>
<span id="LC9" class="line" lang="plaintext">Traceback (most recent call last):</span>
<span id="LC10" class="line" lang="plaintext">  File "/opt/rtems/6/bin/rtems-run", line 42, in <module></span>
<span id="LC11" class="line" lang="plaintext">    tester.rt.run.run(sys.argv)</span>
<span id="LC12" class="line" lang="plaintext">  File "/opt/rtems/6/share/rtems/tester/rt/run.py", line 144, in run</span>
<span id="LC13" class="line" lang="plaintext">    tst.run()</span>
<span id="LC14" class="line" lang="plaintext">  File "/opt/rtems/6/share/rtems/tester/rt/run.py", line 75, in run</span>
<span id="LC15" class="line" lang="plaintext">    self.config.run()</span>
<span id="LC16" class="line" lang="plaintext">  File "/opt/rtems/6/share/rtems/tester/rt/config.py", line 403, in run</span>
<span id="LC17" class="line" lang="plaintext">    self.load(self.name)</span>
<span id="LC18" class="line" lang="plaintext">  File "/opt/rtems/6/share/rtems/rtemstoolkit/config.py", line 772, in load</span>
<span id="LC19" class="line" lang="plaintext">    dir, info, data = self._process_directive(r, dir, info, data)</span>
<span id="LC20" class="line" lang="plaintext">                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</span>
<span id="LC21" class="line" lang="plaintext">  File "/opt/rtems/6/share/rtems/rtemstoolkit/config.py", line 638, in _process_directive</span>
<span id="LC22" class="line" lang="plaintext">    directive, into, data = self._directive_filter(results, directive, info, data)</span>
<span id="LC23" class="line" lang="plaintext">                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^</span>
<span id="LC24" class="line" lang="plaintext">  File "/opt/rtems/6/share/rtems/tester/rt/config.py", line 358, in _directive_filter</span>
<span id="LC25" class="line" lang="plaintext">    self._dir_execute(ds, total, index, fexe, bsp_arch, bsp)</span>
<span id="LC26" class="line" lang="plaintext">  File "/opt/rtems/6/share/rtems/tester/rt/config.py", line 240, in _dir_execute</span>
<span id="LC27" class="line" lang="plaintext">    self.console.open(index, total)</span>
<span id="LC28" class="line" lang="plaintext">TypeError: console.open() takes 1 positional argument but 3 were given</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">So the command <code style='font-size: 90%; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; margin-top: 0; font-weight: inherit; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>rtems-run --rtems-bsp=rv64imafdc hello_rtems_riscv.exe</code> caused the error. The GIT_HEADs for the failed build where:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">BUILD_GIT_RSB="7298cc8103d90177f46517d577f9b661de8424b9"</span>
<span id="LC2" class="line" lang="plaintext">BUILD_GIT_RTEMS="ad51286e2b00f0e2bdd080397f4287646f512ef1"</span>
<span id="LC3" class="line" lang="plaintext">BUILD_GIT_RTEMS_DOCS="b48c84bc4906d74ae644f005ae485e108cdb006d"</span>
<span id="LC4" class="line" lang="plaintext">Python 3.12.3</span>
<span id="LC5" class="line" lang="plaintext">Container OS: Ubuntu 24.04.1 LTS</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">The last run of this CI job without showing this error was on 2024-08-26T03:32:02+02:00. The GIT_HEADs for the good bild where:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">BUILD_GIT_RSB="f279f357e61e2e4ab56eef4c718d45c0f7cdd652"</span>
<span id="LC2" class="line" lang="plaintext">BUILD_GIT_RTEMS="07728e0913d694751abc429acb3598d91aff0cb9"</span>
<span id="LC3" class="line" lang="plaintext">BUILD_GIT_RTEMS_DOCS="b48c84bc4906d74ae644f005ae485e108cdb006d"</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">I assume the error is triggered by the merge of <a href="https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/24" data-reference-type="merge_request" data-original="https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/24" data-link="false" data-link-reference="true" data-merge-request="317" data-project="6" data-project-path="rtems/tools/rtems-tools" data-iid="24" data-container="body" data-placement="top" title="Added niosvc10lp BSP support" class="gfm gfm-merge_request" style="margin-top: 0;">!24 (merged)</a> because it changed the relevant line in <code style='font-size: 90%; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>tester/rt/config.py</code>:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">        self.process = tester.rt.exe.exe(bsp_arch, bsp, trace = self.exe_trace('exe'))</span>
<span id="LC2" class="line" lang="plaintext">        if not self.in_error:</span>
<span id="LC3" class="line" lang="plaintext">            if self.console:</span>
<span id="LC4" class="line" lang="plaintext">                self.console.open()</span>
<span id="LC5" class="line" lang="plaintext">                self.console.open(index, total)</span>
<span id="LC6" class="line" lang="plaintext">            if not self.opts.dry_run():</span>
<span id="LC7" class="line" lang="plaintext">                self.process.open(data,</span>
<span id="LC8" class="line" lang="plaintext">                                  ignore_exit_code = self.defined('exe_ignore_ret'),</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial"><a href="https://gitlab.rtems.org/kirspelk" data-reference-type="user" data-user="40" data-container="body" data-placement="top" class="gfm gfm-project_member js-user-link" title="Kevin Kirspel" style="background-color: #cbe2f9; border-radius: .25rem; color: #0b5cad; margin-top: 0; padding: 0 2px;">@kirspelk</a> I cannot assign this issue but may I ask you to have a look into this issue? Thanks.</p>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: .3em; border-bottom-width: 1px; border-bottom-color: #bfbfc3; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a href="#steps-to-reproduce" aria-hidden="true" class="anchor" id="user-content-steps-to-reproduce" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Steps to reproduce</h2>
<p dir="auto" style="color: #333238; margin: 0;" align="initial">The CI job which found this issue carries out the exact instructions you can find in section <a href="https://docs.rtems.org/branches/master/user/rust/bare-metal.html#bare-metal-rust-with-rtems" rel="nofollow noreferrer noopener" target="_blank" style="margin-top: 0;">Bare Metal Rust with RTEMS</a>. It actually extracts the instructions from the source code of the page in the <code style='font-size: 90%; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>rtems-docs</code> repository.</p>
</div>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">

<br>
<a href="https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/13">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.rtems.org">gitlab.rtems.org</a>. <a href="https://gitlab.rtems.org/-/sent_notifications/148e858745545bb3b93acf91018cbf88/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.rtems.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.rtems.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/13"}}</script>


</p>
</div>
</body>
</html>