Commit 8409258a authored by Jakub Jirutka's avatar Jakub Jirutka

testing/lua-http: disable tests on aarch64 and armhf

Some test fails on these arches. IMHO it's some problem with these
builders.

    268 successes / 11 failures / 3 errors / 8 pending

    Failure -> spec/compat_prosody_spec.lua @ 32
    http.compat.prosody module can perform a GET request
    spec/compat_prosody_spec.lua:59: Expected objects to be the same.
    Passed in:
    (number) 0
    Expected:
    (number) 200

    Failure -> spec/compat_prosody_spec.lua @ 66
    http.compat.prosody module can perform a POST request
    spec/compat_prosody_spec.lua:104: Expected objects to be the same.
    Passed in:
    (number) 0
    Expected:
    (number) 201

    Failure -> spec/server_spec.lua @ 129
    http.server module works with plain http 1.1 using IP
    spec/server_spec.lua:86: Address not available

    Failure -> spec/server_spec.lua @ 132
    http.server module works with https 1.1 using IP
    spec/server_spec.lua:86: Address not available

    Failure -> spec/server_spec.lua @ 135
    http.server module works with plain http 2.0 using IP
    spec/server_spec.lua:86: Address not available

    Failure -> spec/server_spec.lua @ 138
    http.server module works with https 2.0 using IP
    spec/server_spec.lua:86: Address not available

    Failure -> spec/server_spec.lua @ 156
    http.server module pin server version works when set to http 1.0 without TLS
    spec/server_spec.lua:86: Address not available

    Failure -> spec/server_spec.lua @ 159
    http.server module pin server version works when set to http 1.1 without TLS
    spec/server_spec.lua:86: Address not available

    Failure -> spec/server_spec.lua @ 162
    http.server module pin server version works when set to http 1.0 with TLS
    spec/server_spec.lua:86: Address not available

    Failure -> spec/server_spec.lua @ 165
    http.server module pin server version works when set to http 1.1 with TLS
    spec/server_spec.lua:86: Address not available

    Failure -> spec/server_spec.lua @ 173
    http.server module works to set server version when alpn proto is not a normal http one
    spec/server_spec.lua:86: Address not available

    Error -> spec/compat_socket_spec.lua @ 15
    http.compat.socket module works against builtin server with GET request
    spec/compat_socket_spec.lua:46: spec/compat_socket_spec.lua:39: ./http/server.lua:186: onstream: spec/compat_socket_spec.lua:26: Expected objects to be the same.
    Passed in:
    (string) '[0:0:0:0:0:0:0:1]:33215'
    Expected:
    (string) '[::1]:33215'
    stack traceback:
    	[C]: in function 'error'
    	./http/server.lua:388: in function <./http/server.lua:383>
    	./http/server.lua:186: in function <./http/server.lua:182>
    stack traceback:
    	[C]: in function 'error'
    	spec/helper.lua:9: in function 'assert_loop'
    	spec/compat_socket_spec.lua:39: in function <spec/compat_socket_spec.lua:38>

    Error -> spec/compat_socket_spec.lua @ 49
    http.compat.socket module works against builtin server with POST request
    spec/compat_socket_spec.lua:82: spec/compat_socket_spec.lua:75: ./http/server.lua:186: onstream: spec/compat_socket_spec.lua:60: Expected objects to be the same.
    Passed in:
    (string) '[0:0:0:0:0:0:0:1]:37927'
    Expected:
    (string) '[::1]:37927'
    stack traceback:
    	[C]: in function 'error'
    	./http/server.lua:388: in function <./http/server.lua:383>
    	./http/server.lua:186: in function <./http/server.lua:182>
    stack traceback:
    	[C]: in function 'error'
    	spec/helper.lua:9: in function 'assert_loop'
    	spec/compat_socket_spec.lua:75: in function <spec/compat_socket_spec.lua:74>

    Error -> spec/request_spec.lua @ 757
    http.request module :go method can make request via SOCKS proxy
    /usr/share/lua/5.1/cqueues/socket.lua:202: socket:listen: Address not available
parent 26a988a1
......@@ -14,9 +14,11 @@ subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/daurnimator/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
# luajit is not available for selected arches
case "$CARCH" in
# luajit is not available for s390x
s390x) _luajit="";;
# XXX: Some tests fail with "Address not available".
aarch64 | armhf) options="!check";;
*) checkdepends="$checkdepends luajit" _luajit="jit";;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment