<!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: 0.875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,0.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,0.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.com/adrian.wijaya">Adrian Wijaya</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1509">#1509</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: 0.3em; border-bottom-width: 1px; border-bottom-color: #e6e6ea; border-bottom-style: solid; color: #333238; margin: 0 0 16px;" align="initial">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Description of problem:</h2>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Whenever I try to run <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; 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; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>make check</code> or <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; 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; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>make check suite</code>, there are several test case on suite that fails.</p>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: 0.3em; border-bottom-width: 1px; border-bottom-color: #e6e6ea; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Version of gnutls used:</h2>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">3.8.x</p>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: 0.3em; border-bottom-width: 1px; border-bottom-color: #e6e6ea; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Arch Linux</p>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: 0.3em; border-bottom-width: 1px; border-bottom-color: #e6e6ea; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>How reproducible:</h2>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">Steps to Reproduce:</p>
<ul dir="auto" style="text-align: initial; list-style-type: disc; margin: 0 0 16px; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">Set the default shell into another shell that is not bash. In this case I use <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; 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; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>sudo ln -sfT dash /usr/bin/sh</code>
</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">run <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; 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; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>make check</code> (of course we have to build the program beforehand)</li>
</ul>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: 0.3em; border-bottom-width: 1px; border-bottom-color: #e6e6ea; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Actual results:</h2>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: 4px; 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: 0.875rem; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; 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; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">PASS: chain.sh</span>
<span id="LC2" class="line" lang="plaintext">SKIP: testrng.sh</span>
<span id="LC3" class="line" lang="plaintext">SKIP: testcompat-polarssl-serv.sh</span>
<span id="LC4" class="line" lang="plaintext">SKIP: testcompat-polarssl-serv-compat.sh</span>
<span id="LC5" class="line" lang="plaintext">SKIP: testcompat-polarssl-serv-no-etm.sh</span>
<span id="LC6" class="line" lang="plaintext">SKIP: testcompat-openssl-cli.sh</span>
<span id="LC7" class="line" lang="plaintext">SKIP: testcompat-openssl-cli-compat.sh</span>
<span id="LC8" class="line" lang="plaintext">SKIP: testcompat-openssl-cli-no-etm.sh</span>
<span id="LC9" class="line" lang="plaintext">SKIP: testcompat-openssl-serv.sh</span>
<span id="LC10" class="line" lang="plaintext">SKIP: testcompat-openssl-serv-compat.sh</span>
<span id="LC11" class="line" lang="plaintext">SKIP: testcompat-openssl-serv-no-etm.sh</span>
<span id="LC12" class="line" lang="plaintext">SKIP: testcompat-openssl-serv-no-tickets.sh</span>
<span id="LC13" class="line" lang="plaintext">SKIP: testcompat-openssl-serv-no-safe-renegotiation.sh</span>
<span id="LC14" class="line" lang="plaintext">SKIP: testcompat-openssl-serv-safe-renegotiation.sh</span>
<span id="LC15" class="line" lang="plaintext">PASS: testrandom.sh</span>
<span id="LC16" class="line" lang="plaintext">PASS: test-ciphersuite-names.sh</span>
<span id="LC17" class="line" lang="plaintext">FAIL: tls-fuzzer/tls-fuzzer-nocert.sh</span>
<span id="LC18" class="line" lang="plaintext">FAIL: tls-fuzzer/tls-fuzzer-cert.sh</span>
<span id="LC19" class="line" lang="plaintext">FAIL: tls-fuzzer/tls-fuzzer-alpn.sh</span>
<span id="LC20" class="line" lang="plaintext">FAIL: tls-fuzzer/tls-fuzzer-nocert-tls13.sh</span>
<span id="LC21" class="line" lang="plaintext">FAIL: tls-fuzzer/tls-fuzzer-psk.sh</span>
<span id="LC22" class="line" lang="plaintext">FAIL: tls-fuzzer/tls-fuzzer-nolimit.sh</span>
<span id="LC23" class="line" lang="plaintext">FAIL: tls-fuzzer/tls-fuzzer-nolimit-tls13.sh</span>
<span id="LC24" class="line" lang="plaintext">PASS: multi-ticket-reception.sh</span>
<span id="LC25" class="line" lang="plaintext">FAIL: testcompat-openssl-tls13-cli.sh</span>
<span id="LC26" class="line" lang="plaintext">FAIL: testcompat-openssl-tls13-serv.sh</span>
<span id="LC27" class="line" lang="plaintext">PASS: testdane.sh</span>
<span id="LC28" class="line" lang="plaintext">PASS: eagain.sh</span>
<span id="LC29" class="line" lang="plaintext">PASS: prime-check</span>
<span id="LC30" class="line" lang="plaintext">============================================================================</span>
<span id="LC31" class="line" lang="plaintext">Testsuite summary for GnuTLS 3.8.1</span>
<span id="LC32" class="line" lang="plaintext">============================================================================</span>
<span id="LC33" class="line" lang="plaintext"># TOTAL: 29</span>
<span id="LC34" class="line" lang="plaintext"># PASS:  7</span>
<span id="LC35" class="line" lang="plaintext"># SKIP:  13</span>
<span id="LC36" class="line" lang="plaintext"># XFAIL: 0</span>
<span id="LC37" class="line" lang="plaintext"># FAIL:  9</span>
<span id="LC38" class="line" lang="plaintext"># XPASS: 0</span>
<span id="LC39" class="line" lang="plaintext"># ERROR: 0</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">On <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; 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; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>tests/suite/tls-fuzzer/tls-fuzzer-cert.log</code>:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: 4px; 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: 0.875rem; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; 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; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">reserved port 41039</span>
<span id="LC2" class="line" lang="plaintext">./tls-fuzzer/tls-fuzzer-cert.sh: 39: ./tls-fuzzer/tls-fuzzer-common.sh: pushd: not found</span>
<span id="LC3" class="line" lang="plaintext">sed: can't read ../gnutls-cert.json: No such file or directory</span>
<span id="LC4" class="line" lang="plaintext">/usr/bin/python: can't open file '/home/adrian/Public/gnutls/tests/suite/tests/scripts_retention.py': [Errno 2] No such file or directory</span>
<span id="LC5" class="line" lang="plaintext">./tls-fuzzer/tls-fuzzer-cert.sh: 56: ./tls-fuzzer/tls-fuzzer-common.sh: popd: not found</span>
<span id="LC6" class="line" lang="plaintext">unreserved port 41039</span>
<span id="LC7" class="line" lang="plaintext">FAIL tls-fuzzer/tls-fuzzer-cert.sh (exit status: 2)</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">On <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; 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; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>tests/suite/testcompat-openssl-tls13-serv.log</code>:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true" style='display: block; font-size: 14px; color: #333238; line-height: 1.6em; overflow-x: auto; border-radius: 4px; 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: 0.875rem; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: 4px; 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; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">./testcompat-openssl-tls13-serv.sh: 65: Syntax error: redirection unexpected</span>
<span id="LC2" class="line" lang="plaintext">FAIL testcompat-openssl-tls13-serv.sh (exit status: 2)</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">If we see the log, we can see that the tests can't recognize some of the bash syntax even
though the test script begin with <code style='font-size: 0.875rem; color: #1f1e24; word-wrap: break-word; background-color: #ececef; border-radius: 4px; 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; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>#!/bin/bash</code></p>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: 0.3em; border-bottom-width: 1px; border-bottom-color: #e6e6ea; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Expected results:</h2>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial">The test pass without any problems (assume bash is installed)</p>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: 0.3em; border-bottom-width: 1px; border-bottom-color: #e6e6ea; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a id="user-content-misc" class="anchor" href="#misc" aria-hidden="true" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Misc:</h2>
<p dir="auto" style="color: #333238; margin: 0;" align="initial">I suspect this issue can be reproduced on fedora or debian if we change the default shell.</p>
</div>

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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1509">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.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/8dcca99ef4df4371eb8407ecbabf4bcc/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/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.com/gnutls/gnutls/-/issues/1509"}}</script>


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