<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/ametzler">Andreas Metzler</a> created an issue <a href="https://gitlab.com/gnutls/gnutls/-/issues/1007">#1007</a>:
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">My latest upload to Debian failed multiple tests:
<a href="https://buildd.debian.org/status/fetch.php?pkg=gnutls28&arch=amd64&ver=3.6.13-3&stamp=1590697920&raw=0" rel="nofollow noreferrer noopener" target="_blank">https://buildd.debian.org/status/fetch.php?pkg=gnutls28&arch=amd64&ver=3.6.13-3&stamp=1590697920&raw=0</a></p>
<p dir="auto">Afaict the errors all look like this:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">FAIL: sni-hostname.sh</span>
<span id="LC2" class="line" lang="plaintext">=====================</span>
<span id="LC3" class="line" lang="plaintext"></span>
<span id="LC4" class="line" lang="plaintext">Checking SNI hostname in gnutls-cli</span>
<span id="LC5" class="line" lang="plaintext">Echo Server listening on IPv6 :: port 9148...done</span>
<span id="LC6" class="line" lang="plaintext">Could not connect to 127.0.0.1:9148: Connection refused</span>
<span id="LC7" class="line" lang="plaintext">Failure: 1. handshake should have succeeded!</span>
<span id="LC8" class="line" lang="plaintext">Exiting via signal 15</span>
<span id="LC9" class="line" lang="plaintext">FAIL sni-hostname.sh (exit status: 1)</span></code></pre>
<p dir="auto">i.e. gnutls-serv somehow ends up listening only on IPv6 but the corresponding gnutls-cli command tries to connect to 127.0.0.1 (IPv4). I do not know why gnutls-serv does not listen on IPv4, too (perhaps the virtual host has no IPv4 interfaces), but afaiui the testsuite logic really is buggy in that respect.</p>
<h2 dir="auto">
<a id="user-content-version-of-gnutls-used" class="anchor" href="#version-of-gnutls-used" aria-hidden="true"></a>Version of gnutls used:</h2>
<p dir="auto">3.6.13</p>
<h2 dir="auto">
<a id="user-content-distributor-of-gnutls-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-gnutls-eg-ubuntu-fedora-rhel" aria-hidden="true"></a>Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto">Debian</p>

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

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1007">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/ea9f9cd089f4e9d16009e897360fd7e8/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1007"}}</script>


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