[gnutls-devel] GnuTLS | Test failure in test-ciphers-api.sh (#764)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu May 9 05:10:53 CEST 2019



New Issue was created.

Issue 764: https://gitlab.com/gnutls/gnutls/issues/764
Author:    Ricardo M_ Correia
Assignees: 

## Description of problem:

I am getting `FAIL: test-ciphers-api.sh` when running tests on aarch64.

## Version of gnutls used:

3.6.7

## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)

NixOS

## How reproducible:

100%.

Steps to Reproduce:

 * Try to build gnutls on NixOS on an aarch64 machine.

## Actual results:

A bunch of assertion failures like these:

```
FAIL: test-ciphers-api.sh
=========================

trying aes128-gcm
cipher-api-test: gcm.c:429: nettle_gcm_update: Assertion `ctx->auth_size % GCM_BLOCK_SIZE == 0' failed.
cipher-api-test: gcm.c:479: nettle_gcm_encrypt: Assertion `ctx->data_size % GCM_BLOCK_SIZE == 0' failed.
trying aes256-gcm
cipher-api-test: gcm.c:429: nettle_gcm_update: Assertion `ctx->auth_size % GCM_BLOCK_SIZE == 0' failed.
cipher-api-test: gcm.c:479: nettle_gcm_encrypt: Assertion `ctx->data_size % GCM_BLOCK_SIZE == 0' failed.
trying aes128-cbc
cipher-api-test: cbc.c:53: nettle_cbc_encrypt: Assertion `!(length % block_size)' failed.
trying aes256-cbc
cipher-api-test: cbc.c:53: nettle_cbc_encrypt: Assertion `!(length % block_size)' failed.

(...)

check_status:206: Child died with signal 4
SSSE3 cipher tests failed
FAIL test-ciphers-api.sh (exit status: 1)

============================================================================
Testsuite summary for GnuTLS 3.6.7
============================================================================
# TOTAL: 6
# PASS:  5
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/slow/test-suite.log
Please report to bugs at gnutls.org
============================================================================
make[4]: *** [Makefile:1975: test-suite.log] Error 1
make[4]: Leaving directory '/build/gnutls-3.6.7/tests/slow'
```

## Expected results:

No test failure.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/764
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190509/b37bfc71/attachment.html>


More information about the Gnutls-devel mailing list