>>> lua-copas: Building community/lua-copas 2.0.2-r3 (using abuild 3.9.0_rc2-r1) started Sun, 24 Oct 2021 06:33:57 +0000 >>> lua-copas: Checking sanity of /home/buildozer/aports/community/lua-copas/APKBUILD... >>> lua-copas: Analyzing dependencies... >>> lua-copas: Installing for build: build-base lua-socket lua5.1-coxpcall lua-sec luajit lua5.1 lua5.2 lua5.3 (1/16) Installing lua-socket (3.0_rc1_git20160306-r3) (2/16) Installing lua5.1-libs (5.1.5-r7) (3/16) Installing lua5.1 (5.1.5-r7) (4/16) Installing lua5.1-socket (3.0_rc1_git20160306-r3) (5/16) Installing lua5.1-coxpcall (1.17.0-r0) (6/16) Installing lua-sec (1.0.2-r2) (7/16) Installing lua5.1-sec (1.0.2-r2) (8/16) Installing luajit (2.1_p20210510-r0) (9/16) Installing lua5.2-socket (3.0_rc1_git20160306-r3) (10/16) Installing lua5.2-sec (1.0.2-r2) (11/16) Installing linenoise (1.0-r1) (12/16) Installing lua5.3-libs (5.3.6-r0) (13/16) Installing lua5.3 (5.3.6-r0) (14/16) Installing lua5.3-socket (3.0_rc1_git20160306-r3) (15/16) Installing lua5.3-sec (1.0.2-r2) (16/16) Installing .makedepends-lua-copas (20211024.063409) Executing busybox-1.34.1-r1.trigger OK: 320 MiB in 105 packages >>> lua-copas: Cleaning up srcdir >>> lua-copas: Cleaning up pkgdir >>> lua-copas: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/lua-copas-2.0.2.tar.gz >>> lua-copas: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/lua-copas-2.0.2.tar.gz >>> lua-copas: Checking sha512sums... lua-copas-2.0.2.tar.gz: OK default-tls1.2.patch: OK test-certs.patch: OK ipv4-only.patch: OK skip-broken-test.patch: OK >>> lua-copas: Unpacking /var/cache/distfiles/v3.15/lua-copas-2.0.2.tar.gz... >>> lua-copas: default-tls1.2.patch patching file src/copas/http.lua >>> lua-copas: test-certs.patch patching file .gitignore patching file src/copas.lua patching file tests/certs/clientA.pem patching file tests/certs/clientAcert.pem patching file tests/certs/clientAkey.pem patching file tests/certs/clientAreq.pem patching file tests/certs/rootA.pem patching file tests/certs/rootAkey.pem patching file tests/certs/rootAreq.pem patching file tests/certs/serverA.pem patching file tests/certs/serverAcert.pem patching file tests/certs/serverAkey.pem patching file tests/certs/serverAreq.pem patching file .gitignore patching file Makefile patching file src/copas/http.lua patching file tests/certs/_readme.md patching file tests/certs/all.bat patching file tests/certs/all.sh patching file tests/certs/clientA.bat patching file tests/certs/clientA.cnf patching file tests/certs/clientA.pem patching file tests/certs/clientA.sh patching file tests/certs/clientAcert.pem patching file tests/certs/clientAkey.pem patching file tests/certs/clientAreq.pem patching file tests/certs/clientB.bat patching file tests/certs/clientB.cnf patching file tests/certs/clientB.sh patching file tests/certs/rootA.bat patching file tests/certs/rootA.cnf patching file tests/certs/rootA.pem patching file tests/certs/rootA.sh patching file tests/certs/rootAkey.pem patching file tests/certs/rootAreq.pem patching file tests/certs/rootB.bat patching file tests/certs/rootB.cnf patching file tests/certs/rootB.sh patching file tests/certs/serverA.bat patching file tests/certs/serverA.cnf patching file tests/certs/serverA.pem patching file tests/certs/serverA.sh patching file tests/certs/serverAcert.pem patching file tests/certs/serverAkey.pem patching file tests/certs/serverAreq.pem patching file tests/certs/serverB.bat patching file tests/certs/serverB.cnf patching file tests/certs/serverB.sh >>> lua-copas: ipv4-only.patch patching file tests/largetransfer.lua Hunk #1 succeeded at 39 (offset -2 lines). Hunk #2 succeeded at 52 (offset -2 lines). >>> lua-copas: skip-broken-test.patch patching file tests/httpredirect.lua >>> lua-copas: Testing on lua5.1 cd ./tests/certs && \ ./rootA.sh && \ ./rootB.sh && \ ./serverA.sh && \ ./serverB.sh && \ ./clientA.sh && \ ./clientB.sh && \ cd ../.. Ignoring -days without -x509; not generating a certificate .............++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- subject=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Santo Tonico Ltda, OU = Department of Computer Science, CN = Root A issuer=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Santo Tonico Ltda, OU = Department of Computer Science, CN = Root A Ignoring -days without -x509; not generating a certificate .........................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ...................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- subject=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Sao Tonico Ltda, OU = Department of Computer Science, CN = Root B issuer=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Sao Tonico Ltda, OU = Department of Computer Science, CN = Root B Ignoring -days without -x509; not generating a certificate .......................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .................................................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- subject=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Sao Tonico Ltda, OU = Department of Computer Science, CN = Server A issuer=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Santo Tonico Ltda, OU = Department of Computer Science, CN = Root A Ignoring -days without -x509; not generating a certificate ............................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ....................................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- subject=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Sao Tonico Ltda, OU = Department of Computer Science, CN = Server B issuer=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Sao Tonico Ltda, OU = Department of Computer Science, CN = Root B Ignoring -days without -x509; not generating a certificate ...........++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ...............++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- subject=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Sao Tonico Ltda, OU = Department of Computer Science, CN = Client A issuer=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Santo Tonico Ltda, OU = Department of Computer Science, CN = Root A Ignoring -days without -x509; not generating a certificate .............++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ..................................++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ----- subject=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Sao Tonico Ltda, OU = Department of Computer Science, CN = Client B issuer=C = BR, ST = Espirito Santo, L = Santo Antonio do Canaa, O = Sao Tonico Ltda, OU = Department of Computer Science, CN = Root B lua5.1 -e "print(([[=]]):rep(70))" -e "package.path='src/?.lua;'..package.path" tests/largetransfer.lua ====================================================================== starting loop 1 seconds: 1.0433349609375 2 seconds: 2.3355350494385 3 seconds: 3.6366391181946 4 seconds: 5.34810090065 5 seconds: 6.7938129901886 6 seconds: 8.4588050842285 7 seconds: 10.171355009079 Writing... 49500... Done! 10.177969932556 nil 52428800 Reading... 49500... Done! 11.106260061264 nil 52428800 8 seconds: 12.039313077927 Writing... 49501... Done! 12.039608001709 nil 52428800 Reading... 49501... Done! 12.972559928894 nil 52428800 9 seconds: 13.039474964142 Loop done starting loop 1 seconds: 1.2163679599762 2 seconds: 2.4626250267029 3 seconds: 3.7803139686584 4 seconds: 4.8233830928802 5 seconds: 6.0325329303741 6 seconds: 7.4969999790192 7 seconds: 9.1566820144653 8 seconds: 11.800203084946 Writing... 49500... Done! 11.816174030304 nil 52428800 Writing... 49501... Done! 11.826818943024 nil 52428800 Reading... 49500... Done! 12.756888866425 nil 52428800 Reading... 49501... Done! 13.72763800621 nil 52428800 9 seconds: 13.727937936783 Loop done lua5.1 -e "print(([[=]]):rep(70))" -e "package.path='src/?.lua;'..package.path" tests/request.lua 'http://www.google.com' ====================================================================== Testing copas.http.request with url http://www.google.com Starting loop Starting request Finished request after 6824 thread switches Status: HTTP/1.1 200 OK, content: 14490 bytes Finished loop lua5.1 -e "print(([[=]]):rep(70))" -e "package.path='src/?.lua;'..package.path" tests/request.lua 'https://www.google.nl' ====================================================================== Testing copas.http.request with url https://www.google.nl Starting loop Starting request Finished request after 16196 thread switches Status: HTTP/1.1 200 OK, content: 14447 bytes Finished loop lua5.1 -e "print(([[=]]):rep(70))" -e "package.path='src/?.lua;'..package.path" tests/httpredirect.lua ====================================================================== ====================================================================== Fetching: https://goo.gl/UBCUc5 ==> 200 HTTP/1.1 200 OK at: https://github.com/brunoos/luasec https -> https redirect OK! ====================================================================== Fetching: http://goo.gl/UBCUc5 ==> 200 HTTP/1.1 200 OK at: https://github.com/brunoos/luasec http -> https redirect OK! ====================================================================== Fetching: https://goo.gl/tBfqNu ==> Unallowed insecure redirect https to http nil at: nil https -> http redirect, while not allowed OK!: Unallowed insecure redirect https to http ====================================================================== Fetching: https://goo.gl/tBfqNu ==> 404 HTTP/1.1 404 Not Found at: http://www.thijsschreijer.nl/blog/ tests/httpredirect.lua:58: assertion failed! thread: 0xf7ad0d70 tcp{client}: 0xf7a349d4 Some checks above failed make: *** [Makefile:43: test] Error 1 >>> ERROR: lua-copas: check failed >>> lua-copas: Uninstalling dependencies... (1/16) Purging lua5.1-sec (1.0.2-r2) (2/16) Purging lua5.1-socket (3.0_rc1_git20160306-r3) (3/16) Purging lua5.2-sec (1.0.2-r2) (4/16) Purging lua5.2-socket (3.0_rc1_git20160306-r3) (5/16) Purging lua5.3-sec (1.0.2-r2) (6/16) Purging lua5.3-socket (3.0_rc1_git20160306-r3) (7/16) Purging .makedepends-lua-copas (20211024.063409) (8/16) Purging lua-socket (3.0_rc1_git20160306-r3) (9/16) Purging lua5.1-coxpcall (1.17.0-r0) (10/16) Purging lua-sec (1.0.2-r2) (11/16) Purging luajit (2.1_p20210510-r0) (12/16) Purging lua5.1 (5.1.5-r7) (13/16) Purging lua5.3 (5.3.6-r0) (14/16) Purging lua5.1-libs (5.1.5-r7) (15/16) Purging linenoise (1.0-r1) (16/16) Purging lua5.3-libs (5.3.6-r0) Executing busybox-1.34.1-r1.trigger OK: 316 MiB in 89 packages