>>> lua-copas: Building community/lua-copas 2.0.2-r3 (using abuild 3.9.0_rc2-r1) started Tue, 26 Oct 2021 18:51:50 +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 (20211026.185202) Executing busybox-1.34.1-r2.trigger OK: 717 MiB in 115 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.2419571876526 2 seconds: 2.4356281757355 3 seconds: 4.104816198349 4 seconds: 5.1897161006927 5 seconds: 6.448667049408 6 seconds: 7.789647102356 Writing... 49500... Done! 7.7972071170807 nil 52428800 Reading... 49500... Done! 8.5091691017151 nil 52428800 7 seconds: 9.2115120887756 Writing... 49501... Done! 9.2117660045624 nil 52428800 Reading... 49501... Done! 9.9272680282593 nil 52428800 8 seconds: 10.211899995804 Loop done starting loop 1 seconds: 1.2039811611176 2 seconds: 2.2056560516357 3 seconds: 3.6267030239105 4 seconds: 5.221508026123 5 seconds: 6.3149030208588 6 seconds: 7.5064799785614 Writing... 49500... Done! 7.5065310001373 nil 52428800 Reading... 49500... Done! 8.2535519599915 closed 52428800 7 seconds: 8.8536190986633 Writing... 49501... Done! 10.208153963089 nil 52428800 8 seconds: 10.21103811264 Reading... 49501... Done! 10.942489147186 nil 52428800 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 6633 thread switches Status: HTTP/1.1 200 OK, content: 14457 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 8318 thread switches Status: HTTP/1.1 200 OK, content: 14476 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: 0x7fd1b383fd10 tcp{client}: 0x7fd1b3443118 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 (20211026.185202) (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-r2.trigger OK: 713 MiB in 99 packages