<!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">

<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">I am getting <code>FAIL: test-ciphers-api.sh</code> when running tests on aarch64.</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.7</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">NixOS</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<p dir="auto">100%.</p>
<p dir="auto">Steps to Reproduce:</p>
<ul dir="auto">
<li>Try to build gnutls on NixOS on an aarch64 machine.</li>
</ul>
<h2 dir="auto">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true"></a>Actual results:</h2>
<p dir="auto">A bunch of assertion failures like these:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">FAIL: test-ciphers-api.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">trying aes128-gcm</span>
<span id="LC5" class="line" lang="plaintext">cipher-api-test: gcm.c:429: nettle_gcm_update: Assertion `ctx->auth_size % GCM_BLOCK_SIZE == 0' failed.</span>
<span id="LC6" class="line" lang="plaintext">cipher-api-test: gcm.c:479: nettle_gcm_encrypt: Assertion `ctx->data_size % GCM_BLOCK_SIZE == 0' failed.</span>
<span id="LC7" class="line" lang="plaintext">trying aes256-gcm</span>
<span id="LC8" class="line" lang="plaintext">cipher-api-test: gcm.c:429: nettle_gcm_update: Assertion `ctx->auth_size % GCM_BLOCK_SIZE == 0' failed.</span>
<span id="LC9" class="line" lang="plaintext">cipher-api-test: gcm.c:479: nettle_gcm_encrypt: Assertion `ctx->data_size % GCM_BLOCK_SIZE == 0' failed.</span>
<span id="LC10" class="line" lang="plaintext">trying aes128-cbc</span>
<span id="LC11" class="line" lang="plaintext">cipher-api-test: cbc.c:53: nettle_cbc_encrypt: Assertion `!(length % block_size)' failed.</span>
<span id="LC12" class="line" lang="plaintext">trying aes256-cbc</span>
<span id="LC13" class="line" lang="plaintext">cipher-api-test: cbc.c:53: nettle_cbc_encrypt: Assertion `!(length % block_size)' failed.</span>
<span id="LC14" class="line" lang="plaintext"></span>
<span id="LC15" class="line" lang="plaintext">(...)</span>
<span id="LC16" class="line" lang="plaintext"></span>
<span id="LC17" class="line" lang="plaintext">check_status:206: Child died with signal 4</span>
<span id="LC18" class="line" lang="plaintext">SSSE3 cipher tests failed</span>
<span id="LC19" class="line" lang="plaintext">FAIL test-ciphers-api.sh (exit status: 1)</span>
<span id="LC20" class="line" lang="plaintext"></span>
<span id="LC21" class="line" lang="plaintext">============================================================================</span>
<span id="LC22" class="line" lang="plaintext">Testsuite summary for GnuTLS 3.6.7</span>
<span id="LC23" class="line" lang="plaintext">============================================================================</span>
<span id="LC24" class="line" lang="plaintext"># TOTAL: 6</span>
<span id="LC25" class="line" lang="plaintext"># PASS:  5</span>
<span id="LC26" class="line" lang="plaintext"># SKIP:  0</span>
<span id="LC27" class="line" lang="plaintext"># XFAIL: 0</span>
<span id="LC28" class="line" lang="plaintext"># FAIL:  1</span>
<span id="LC29" class="line" lang="plaintext"># XPASS: 0</span>
<span id="LC30" class="line" lang="plaintext"># ERROR: 0</span>
<span id="LC31" class="line" lang="plaintext">============================================================================</span>
<span id="LC32" class="line" lang="plaintext">See tests/slow/test-suite.log</span>
<span id="LC33" class="line" lang="plaintext">Please report to bugs@gnutls.org</span>
<span id="LC34" class="line" lang="plaintext">============================================================================</span>
<span id="LC35" class="line" lang="plaintext">make[4]: *** [Makefile:1975: test-suite.log] Error 1</span>
<span id="LC36" class="line" lang="plaintext">make[4]: Leaving directory '/build/gnutls-3.6.7/tests/slow'</span></code></pre>
<h2 dir="auto">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true"></a>Expected results:</h2>
<p dir="auto">No test failure.</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/764">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/1f6ef425d9e1c8bf729f2b57c0f59f96/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/764"}}</script>

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