>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.11.20-r0) started Thu, 06 Jul 2023 13:29:30 +0000 >>> lua-luv: Checking sanity of /home/buildozer/aports/community/lua-luv/APKBUILD... >>> WARNING: lua-luv: No maintainer >>> lua-luv: Analyzing dependencies... >>> lua-luv: Installing for build: build-base cmake libuv-dev lua-compat53-dev ninja luajit-dev lua5.1-dev lua5.4-dev (1/19) Installing libbz2 (1.0.8-r6) (2/19) Installing xz-libs (5.4.3-r1) (3/19) Installing libarchive (3.6.2-r3) (4/19) Installing rhash-libs (1.4.3-r2) (5/19) Installing libuv (1.46.0-r0) (6/19) Installing cmake (3.26.4-r2) (7/19) Installing libuv-dev (1.46.0-r0) (8/19) Installing lua-compat53-dev (0.10-r1) (9/19) Installing samurai (1.2-r4) (10/19) Installing luajit (2.1_p20230410-r3) (11/19) Installing luajit-dev (2.1_p20230410-r3) (12/19) Installing lua5.1-libs (5.1.5-r12) (13/19) Installing lua5.1 (5.1.5-r12) (14/19) Installing lua5.1-dev (5.1.5-r12) (15/19) Installing lua5.4-libs (5.4.6-r0) (16/19) Installing readline (8.2.1-r2) (17/19) Installing lua5.4 (5.4.6-r0) (18/19) Installing lua5.4-dev (5.4.6-r0) (19/19) Installing .makedepends-lua-luv (20230706.132931) Executing busybox-1.36.1-r3.trigger OK: 313 MiB in 121 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Cleaning up tmpdir >>> lua-luv: Fetching https://github.com/luvit/luv/archive/1.45.0-0/lua-luv-1.45.0-0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 127k 100 127k 0 0 403k 0 --:--:-- --:--:-- --:--:-- 1272k >>> lua-luv: Fetching https://github.com/luvit/luv/archive/1.45.0-0/lua-luv-1.45.0-0.tar.gz >>> lua-luv: Checking sha512sums... lua-luv-1.45.0-0.tar.gz: OK disable-udp-test.patch: OK >>> lua-luv: Unpacking /var/cache/distfiles/lua-luv-1.45.0-0.tar.gz... >>> lua-luv: disable-udp-test.patch patching file tests/test-udp.lua -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.5") -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-5.1 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.4.6") -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-5.4 [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.4") -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-jit [1/5] Building C object CMakeFiles/libluv.dir/src/luv.c.o [2/5] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/5] Linking C shared module luv.so [4/5] Linking C shared library libluv.so.1.45.0 [5/5] Creating library symlink libluv.so.1 libluv.so -- The C compiler identification is GNU 13.1.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found Libuv: /usr/lib/libuv.so -- Found Lua: /usr/lib/liblua.so;/usr/lib/libm.a (found version "5.1.5") -- Configuring done (0.1s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0/build-static [1/4] Building C object CMakeFiles/libluv_a.dir/src/luv.c.o [2/4] Building C object CMakeFiles/luv.dir/src/luv.c.o [3/4] Linking C shared module luv.so [4/4] Linking C static library libluv.a >>> lua-luv: Running tests with lua5.1 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7ac33c0 "closed" uv_timer_t: 0xf7ac33c0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7ac3420 "closed" { } uv_timer_t: 0xf7ac3420 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { port = 80, protocol = "tcp", socktype = "stream", family = "inet6", addr = "::1" }, { port = 80, protocol = "tcp", socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { port = 80, protocol = "tcp", socktype = "stream", family = "inet6", addr = "::1" }, { port = 80, protocol = "tcp", socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" }, { addr = "206.189.225.172", protocol = "udp", socktype = "dgram", family = "inet", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", socktype = "dgram", family = "inet6", canonname = "luvit.io" } } 4 ok 12 dns - Get all adresses for luvit.io { service = "0", hostname = "0.0.0.0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { service = "0", hostname = "build-edge-armv7.local" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { service = "0", hostname = "::" } ok 16 dns - Lookup local ipv6 address { service = "0", hostname = "build-edge-armv7.local" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 19 } { stat = { nlink = 1, ino = 28084275, mtime = table: 0xf7b041a0, gid = 101, mode = 33188, size = 6060, dev = 66308, gen = 0, rdev = 0, atime = table: 0xf7b04140, blksize = 4096, uid = 100, type = "file", flags = 0, ctime = table: 0xf7b04200, birthtime = table: 0xf7b04260, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 19 } { stat = { nlink = 1, ino = 28084275, mtime = table: 0xf7ad5b40, gid = 101, mode = 33188, size = 6060, dev = 66308, gen = 0, rdev = 0, atime = table: 0xf7ad5b10, blksize = 4096, uid = 100, type = "file", flags = 0, ctime = table: 0xf7ad5ba0, birthtime = table: 0xf7ad5bd0, blocks = 16 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 28 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = ".github", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "lib", type = "directory" } } { { name = "build-static", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = "src", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "README.md", type = "file" } } { { name = "examples", type = "directory" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = ".github", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "lib", type = "directory" } } { { name = "build-static", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = "src", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "README.md", type = "file" } } { { name = "examples", type = "directory" } } uv_dir_t: 0xf7ad4c88 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = ".github", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "lib", type = "directory" } } { { name = "build-static", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = "src", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "README.md", type = "file" } } { { name = "examples", type = "directory" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = ".github", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".clangd", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-5.1", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = "tests", type = "directory" }, { name = "Makefile", type = "file" }, { name = "lib", type = "directory" }, { name = "build-static", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "docs.md", type = "file" }, { name = "src", type = "directory" }, { name = "cmake", type = "directory" }, { name = ".ci", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "README.md", type = "file" }, { name = "examples", type = "directory" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = ".github", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".clangd", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-5.1", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = "tests", type = "directory" }, { name = "Makefile", type = "file" }, { name = "lib", type = "directory" }, { name = "build-static", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "docs.md", type = "file" }, { name = "src", type = "directory" }, { name = "cmake", type = "directory" }, { name = ".ci", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "README.md", type = "file" }, { name = "examples", type = "directory" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bavail = 94576757, type = 61267, bsize = 4096, files = 57991168, bfree = 106178373, ffree = 54827299, blocks = 228028083 } ok 41 fs - fs.statfs sync { bavail = 94576757, type = 61267, bsize = 4096, files = 57991168, bfree = 106178373, ffree = 54827299, blocks = 228028083 } ok 42 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { loop_count = 66, events = 33, events_waiting = 0 } { loop_count = 67, events = 33, events_waiting = 0 } ok 56 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 57 misc - uv.guess_handle { version = 77312, version_string = "1.46.0" } ok 58 misc - uv.version and uv.version_string { rss = 1396736, total = 269265068032, free = 264175001600, constrained = 9.2233720368548e+18, available = 264175001600 } ok 59 misc - memory size { uptime = 437612.81 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 348255, sec = 0 }, oublock = 64, stime = { usec = 348339, sec = 0 }, nivcsw = 8, minflt = 679, idrss = 0, majflt = 0, nvcsw = 68, isrss = 0, nswap = 0, maxrss = 1776, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { speed = 0, times = table: 0xf7b0f650, model = "unknown" }, { speed = 0, times = table: 0xf7ad5ab0, model = "unknown" }, { speed = 0, times = table: 0xf7ad5c00, model = "unknown" }, { speed = 0, times = table: 0xf7ad5cc0, model = "unknown" }, { speed = 0, times = table: 0xf7ad5d80, model = "unknown" }, { speed = 0, times = table: 0xf7ad3380, model = "unknown" }, { speed = 0, times = table: 0xf7ad3500, model = "unknown" }, { speed = 0, times = table: 0xf7ad3620, model = "unknown" }, { speed = 0, times = table: 0xf7abb410, model = "unknown" }, { speed = 0, times = table: 0xf7abb560, model = "unknown" }, { speed = 0, times = table: 0xf7abb6b0, model = "unknown" }, { speed = 0, times = table: 0xf7ab88f0, model = "unknown" }, { speed = 0, times = table: 0xf7ab8aa0, model = "unknown" }, { speed = 0, times = table: 0xf7ad1c40, model = "unknown" }, { speed = 0, times = table: 0xf7ad1d90, model = "unknown" }, { speed = 0, times = table: 0xf7ad1ee0, model = "unknown" }, { speed = 0, times = table: 0xf7b0d130, model = "unknown" }, { speed = 0, times = table: 0xf7b0d280, model = "unknown" }, { speed = 0, times = table: 0xf7ad3770, model = "unknown" }, { speed = 0, times = table: 0xf7ad3890, model = "unknown" }, { speed = 0, times = table: 0xf7ad3950, model = "unknown" }, { speed = 0, times = table: 0xf7ad3a70, model = "unknown" }, { speed = 0, times = table: 0xf7af84f0, model = "unknown" }, { speed = 0, times = table: 0xf7ad7310, model = "unknown" }, { speed = 0, times = table: 0xf7ad74c0, model = "unknown" }, { speed = 0, times = table: 0xf7b0dfd0, model = "unknown" }, { speed = 0, times = table: 0xf7ae78c0, model = "unknown" }, { speed = 0, times = table: 0xf7aba870, model = "unknown" }, { speed = 0, times = table: 0xf7aba990, model = "unknown" }, { speed = 0, times = table: 0xf7abaa50, model = "unknown" }, { speed = 0, times = table: 0xf7abab10, model = "unknown" }, { speed = 0, times = table: 0xf7ae6c90, model = "unknown" }, { speed = 0, times = table: 0xf7ae6e10, model = "unknown" }, { speed = 0, times = table: 0xf7abc700, model = "unknown" }, { speed = 0, times = table: 0xf7abc910, model = "unknown" }, { speed = 0, times = table: 0xf7abc9d0, model = "unknown" }, { speed = 0, times = table: 0xf7abca90, model = "unknown" }, { speed = 0, times = table: 0xf7ab98b0, model = "unknown" }, { speed = 0, times = table: 0xf7ab9a60, model = "unknown" }, { speed = 0, times = table: 0xf7ad2b70, model = "unknown" }, { speed = 0, times = table: 0xf7ad2cc0, model = "unknown" }, { speed = 0, times = table: 0xf7ad2de0, model = "unknown" }, { speed = 0, times = table: 0xf7ad2f00, model = "unknown" }, { speed = 0, times = table: 0xf7b04200, model = "unknown" }, { speed = 0, times = table: 0xf7b04320, model = "unknown" }, { speed = 0, times = table: 0xf7ad2060, model = "unknown" }, { speed = 0, times = table: 0xf7ad21b0, model = "unknown" }, { speed = 0, times = table: 0xf7ab9fa0, model = "unknown" }, { speed = 0, times = table: 0xf7aba120, model = "unknown" }, { speed = 0, times = table: 0xf7aba1e0, model = "unknown" }, { speed = 0, times = table: 0xf7ae7bc0, model = "unknown" }, { speed = 0, times = table: 0xf7ae7e90, model = "unknown" }, { speed = 0, times = table: 0xf7af8880, model = "unknown" }, { speed = 0, times = table: 0xf7af8af0, model = "unknown" }, { speed = 0, times = table: 0xf7b06ff0, model = "unknown" }, { speed = 0, times = table: 0xf7b07a40, model = "unknown" }, { speed = 0, times = table: 0xf7ae48c0, model = "unknown" }, { speed = 0, times = table: 0xf7ab84a0, model = "unknown" }, { speed = 0, times = table: 0xf7b0dc40, model = "unknown" }, { speed = 0, times = table: 0xf7b055b0, model = "unknown" }, { speed = 0, times = table: 0xf7af7fe0, model = "unknown" }, { speed = 0, times = table: 0xf7af82b0, model = "unknown" }, { speed = 0, times = table: 0xf7afa800, model = "unknown" }, { speed = 0, times = table: 0xf7afaad0, model = "unknown" }, { speed = 0, times = table: 0xf7b068d0, model = "unknown" }, { speed = 0, times = table: 0xf7b06ab0, model = "unknown" }, { speed = 0, times = table: 0xf7ad5450, model = "unknown" }, { speed = 0, times = table: 0xf7ad6680, model = "unknown" }, { speed = 0, times = table: 0xf7ad6890, model = "unknown" }, { speed = 0, times = table: 0xf7ad69e0, model = "unknown" }, { speed = 0, times = table: 0xf7abbbc0, model = "unknown" }, { speed = 0, times = table: 0xf7abbcb0, model = "unknown" }, { speed = 0, times = table: 0xf7afa110, model = "unknown" }, { speed = 0, times = table: 0xf7ae73e0, model = "unknown" }, { speed = 0, times = table: 0xf7ae7620, model = "unknown" }, { speed = 0, times = table: 0xf7ad4b50, model = "unknown" }, { speed = 0, times = table: 0xf7ad4c70, model = "unknown" }, { speed = 0, times = table: 0xf7ad4e50, model = "unknown" }, { speed = 0, times = table: 0xf7ad7be0, model = "unknown" }, { speed = 0, times = table: 0xf7b0f620, model = "unknown" } } ok 63 misc - uv.cpu_info "lo" { { mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", internal = true, family = "inet", ip = "127.0.0.1" }, { mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", internal = true, family = "inet6", ip = "::1" } } "eth0" { { mac = "\0>ˆÏˆ", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.29.107" }, { mac = "\0>ˆÏˆ", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe88:cf88" } } ok 64 misc - uv.interface_addresses { 6.78, 9.7, 9.19 } ok 65 misc - uv.loadavg "/usr/bin/lua5.1" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { username = "buildozer", uid = 100, gid = 101, homedir = "/home/buildozer", shell = "/bin/sh" } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 4.3761282510704e+14 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "6.1.36-0-lts", machine = "armv8l", version = "#1-Alpine SMP Wed, 28 Jun 2023 15:27:12 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1688650186 uv.gettimeofday 1688650186.000634 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { nsec = 831313758, sec = 437613 } nil "realtime" { nsec = 831331678, sec = 437613 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7ad7160 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7ac4890 "timeout" uv_timer_t: 0xf7ac3720 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7ac4c10 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { handle = uv_process_t: 0xf7aef3c0, pid = 59481 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7ac42b0, pid = 59482 } "exit" uv_process_t: 0xf7ac42b0 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7af4c60, pid = 59483 } "exit" uv_process_t: 0xf7af4c60 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7af4290, pid = 59485 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { signal = 0, pid = 59488, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 36779, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7af01c0 } { req = uv_connect_t: 0xf7add298, client = uv_tcp_t: 0xf7af0910 } "server on connection" uv_tcp_t: 0xf7af01c0 "client on connect" uv_tcp_t: 0xf7af0910 nil "client on shutdown" uv_tcp_t: 0xf7af0910 nil "client on close" uv_tcp_t: 0xf7af0910 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 37895, ip = "::1" }, server = uv_tcp_t: 0xf7af0d90 } { req = uv_connect_t: 0xf7afedc8, client = uv_tcp_t: 0xf7b122e0 } "server on connection" uv_tcp_t: 0xf7af0d90 "client on connect" uv_tcp_t: 0xf7b122e0 nil "client on shutdown" uv_tcp_t: 0xf7b122e0 nil "client on close" uv_tcp_t: 0xf7b122e0 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 45487, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7b12370 } { req = uv_write_t: 0xf7b0dad8, socket = uv_tcp_t: 0xf7b12d00 } "client onwrite" uv_tcp_t: 0xf7b12d00 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 33893, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7ab52e0 } { req = uv_write_t: 0xf7b0dad8, socket = uv_tcp_t: 0xf7ab5520 } "client onwrite" uv_tcp_t: 0xf7ab5520 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { address = { family = "inet", port = 42255, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7ab5880 } { req = uv_write_t: 0xf7b0dad8, socket = uv_tcp_t: 0xf7ab5be0 } "client onwrite" uv_tcp_t: 0xf7ab5be0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 46193, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7ab5d90 } { req = uv_write_t: 0xf7b0dad8, socket = uv_tcp_t: 0xf7ab5eb0 } "client onwrite" uv_tcp_t: 0xf7ab5eb0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 42785, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7b14130 } { req = uv_write_t: 0xf7b0dad8, socket = uv_tcp_t: 0xf7b146d0 } "client onwrite" uv_tcp_t: 0xf7b146d0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 38997, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7afb880 } { req = uv_write_t: 0xf7b0dad8, socket = uv_tcp_t: 0xf7b152e0 } "client onwrite" uv_tcp_t: 0xf7b152e0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0xf5a98d84 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7c1d464 Runing uv_thread_t: 0xf7c1d464 { delay = 100, elapsed = 100 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0xf7ac35a0 "closed" uv_timer_t: 0xf7ac35a0 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7ac3600 "interval" uv_timer_t: 0xf7ac3600 "interval" uv_timer_t: 0xf7ac3600 "closed" uv_timer_t: 0xf7ac3600 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7ac36c0 "timeout" uv_timer_t: 0xf7ac3660 "interval" uv_timer_t: 0xf7ac36c0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7ac3720 0 "interval" uv_timer_t: 0xf7ac3720 8 "interval" uv_timer_t: 0xf7ac3720 4 "interval" uv_timer_t: 0xf7ac3720 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7ac3780 0 "interval" uv_timer_t: 0xf7ac3780 8 "interval" uv_timer_t: 0xf7ac3780 4 "interval" uv_timer_t: 0xf7ac3780 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7abdab0 } { req = 0, client = uv_udp_t: 0xf7abdbb0 } "client on send" uv_udp_t: 0xf7abdbb0 nil "server on recv" uv_udp_t: 0xf7abdab0 "PING" { family = "inet", port = 60182, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7abdab0 "client on close" uv_udp_t: 0xf7abdbb0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7abdea0 } { req = 0, client = uv_udp_t: 0xf7abdfa0 } "client on send" uv_udp_t: 0xf7abdfa0 nil "server on recv" uv_udp_t: 0xf7abdea0 "PING" { family = "inet", port = 59667, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7abdea0 "client on close" uv_udp_t: 0xf7abdfa0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7abe290 } { req = 0, client = uv_udp_t: 0xf7abe390 } "client on send" uv_udp_t: 0xf7abe390 nil "server on recv" uv_udp_t: 0xf7abe290 "PING" { family = "inet6", port = 42622, ip = "::1" } { } "server on close" uv_udp_t: 0xf7abe290 "client on close" uv_udp_t: 0xf7abe390 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0xf7abee60 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7abee60 "PING" { family = "inet", port = 50324, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7abee60 "PING" { family = "inet", port = 41334, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7abee60 "PING" { family = "inet", port = 41334, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7abee60 nil nil { } "server on recv" uv_udp_t: 0xf7abee60 "PING" { family = "inet", port = 36667, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7abeee0 "server on close" uv_udp_t: 0xf7abee60 ok 130 udp - udp connect "PING" { family = "inet", port = 43304, ip = "127.0.0.1" } "PING" { family = "inet", port = 43304, ip = "127.0.0.1" } "PING" { family = "inet", port = 43304, ip = "127.0.0.1" } "PING" { family = "inet", port = 43304, ip = "127.0.0.1" } "PING" { family = "inet", port = 43304, ip = "127.0.0.1" } "PING" { family = "inet", port = 43304, ip = "127.0.0.1" } "PING" { family = "inet", port = 43304, ip = "127.0.0.1" } "PING" { family = "inet", port = 43304, ip = "127.0.0.1" } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0xf7aa4d84" "hello" uv_thread_t: 0xf7aa4d84 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: ? ok 137 work - test threadpool with invalid return value # All tests passed hello world from thread 6 >>> lua-luv: Running tests with lua5.4 1..137 "in async notify callback" "a" true 250.0 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7d59380 "closed" uv_timer_t: 0xf7d59380 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7d593e0 "closed" { } uv_timer_t: 0xf7d593e0 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { addr = "::1", protocol = "tcp", port = 80, family = "inet6", socktype = "stream" }, { addr = "127.0.0.1", protocol = "tcp", port = 80, family = "inet", socktype = "stream" } } 2 ok 8 dns - Get all local http addresses { { addr = "::1", protocol = "tcp", port = 80, family = "inet6", socktype = "stream" }, { addr = "127.0.0.1", protocol = "tcp", port = 80, family = "inet", socktype = "stream" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", canonname = "luvit.io", family = "inet" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", canonname = "luvit.io", family = "inet" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", canonname = "luvit.io", family = "inet6" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", canonname = "luvit.io", family = "inet" }, { addr = "206.189.225.172", protocol = "udp", socktype = "dgram", canonname = "luvit.io", family = "inet" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", canonname = "luvit.io", family = "inet6" }, { addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp", socktype = "dgram", canonname = "luvit.io", family = "inet6" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "build-edge-armv7.local", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "build-edge-armv7.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 19 } { stat = { birthtime = table: 0xf7d6c140, flags = 0, blocks = 16, ino = 28084275, mtime = table: 0xf7d6bff0, mode = 33188, gid = 101, dev = 66308, type = "file", uid = 100, gen = 0, ctime = table: 0xf7d6c050, blksize = 4096, rdev = 0, atime = table: 0xf7d6bfc0, size = 6060, nlink = 1 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 19 } { stat = { birthtime = table: 0xf7d69fe0, flags = 0, blocks = 16, ino = 28084275, mtime = table: 0xf7d5daa0, mode = 33188, gid = 101, dev = 66308, type = "file", uid = 100, gen = 0, ctime = table: 0xf7d5dad0, blksize = 4096, rdev = 0, atime = table: 0xf7d5da70, size = 6060, nlink = 1 } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 28 fs - fs.scandir { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { ftype = "directory", name = ".ci" } { ftype = "file", name = ".clang-format" } { ftype = "file", name = ".clangd" } { ftype = "file", name = ".editorconfig" } { ftype = "directory", name = ".github" } { ftype = "file", name = ".gitignore" } { ftype = "file", name = ".gitmodules" } { ftype = "file", name = "CMakeLists.txt" } { ftype = "file", name = "LICENSE.txt" } { ftype = "file", name = "Makefile" } { ftype = "file", name = "README.md" } { ftype = "file", name = "appveyor.yml" } { ftype = "directory", name = "build-5.1" } { ftype = "directory", name = "build-5.4" } { ftype = "directory", name = "build-jit" } { ftype = "directory", name = "build-static" } { ftype = "directory", name = "cmake" } { ftype = "directory", name = "deps" } { ftype = "file", name = "docs.md" } { ftype = "directory", name = "examples" } { ftype = "directory", name = "lib" } { ftype = "file", name = "libluv.pc.in" } { ftype = "file", name = "luv-scm-0.rockspec" } { ftype = "file", name = "msvcbuild.bat" } { ftype = "directory", name = "rockspecs" } { ftype = "directory", name = "src" } { ftype = "directory", name = "tests" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { type = "directory", name = ".github" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = ".clangd" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "tests" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = "src" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "libluv.pc.in" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "examples" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "directory", name = ".github" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = ".clangd" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "tests" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = "src" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "libluv.pc.in" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "examples" } } uv_dir_t: 0xf7d6b7e8 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "directory", name = ".github" } } { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = "luv-scm-0.rockspec" } } { { type = "file", name = ".gitmodules" } } { { type = "file", name = ".clangd" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = ".gitignore" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = ".clang-format" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "deps" } } { { type = "directory", name = "tests" } } { { type = "file", name = "Makefile" } } { { type = "directory", name = "lib" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = "src" } } { { type = "directory", name = "cmake" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "libluv.pc.in" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "appveyor.yml" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "examples" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "directory", name = ".github" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".gitmodules" }, { type = "file", name = ".clangd" }, { type = "file", name = "msvcbuild.bat" }, { type = "directory", name = "build-5.1" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "build-5.4" }, { type = "file", name = ".clang-format" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "deps" }, { type = "directory", name = "tests" }, { type = "file", name = "Makefile" }, { type = "directory", name = "lib" }, { type = "directory", name = "build-static" }, { type = "directory", name = "build-jit" }, { type = "file", name = "docs.md" }, { type = "directory", name = "src" }, { type = "directory", name = "cmake" }, { type = "directory", name = ".ci" }, { type = "file", name = "libluv.pc.in" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "appveyor.yml" }, { type = "file", name = "README.md" }, { type = "directory", name = "examples" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "directory", name = ".github" }, { type = "file", name = "LICENSE.txt" }, { type = "file", name = "luv-scm-0.rockspec" }, { type = "file", name = ".gitmodules" }, { type = "file", name = ".clangd" }, { type = "file", name = "msvcbuild.bat" }, { type = "directory", name = "build-5.1" }, { type = "file", name = ".gitignore" }, { type = "directory", name = "build-5.4" }, { type = "file", name = ".clang-format" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "deps" }, { type = "directory", name = "tests" }, { type = "file", name = "Makefile" }, { type = "directory", name = "lib" }, { type = "directory", name = "build-static" }, { type = "directory", name = "build-jit" }, { type = "file", name = "docs.md" }, { type = "directory", name = "src" }, { type = "directory", name = "cmake" }, { type = "directory", name = ".ci" }, { type = "file", name = "libluv.pc.in" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "appveyor.yml" }, { type = "file", name = "README.md" }, { type = "directory", name = "examples" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { type = 61267, bsize = 4096, bfree = 106194139, ffree = 54830889, files = 57991168, blocks = 228028083, bavail = 94592523 } ok 41 fs - fs.statfs sync { type = 61267, bsize = 4096, bfree = 106194139, ffree = 54830889, files = 57991168, blocks = 228028083, bavail = 94592523 } ok 42 fs - fs.statfs async { code = "ENOENT", err = "ENOENT: no such file or directory: BAD_FILE!" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { events = 33, loop_count = 66, events_waiting = 0 } { events = 33, loop_count = 67, events_waiting = 0 } ok 56 metrics - idle time "stdio fd types" { [1] = "file", [2] = "file", [0] = "file" } ok 57 misc - uv.guess_handle { version_string = "1.46.0", version = 77312 } ok 58 misc - uv.version and uv.version_string { constrained = 9.2233720368548e+18, total = 269265068032.0, available = 264136544256.0, rss = 1490944, free = 264136544256.0 } ok 59 misc - memory size { uptime = 437621.28 } ok 60 misc - uv.uptime { nivcsw = 4, utime = { usec = 356361, sec = 0 }, majflt = 0, stime = { usec = 319718, sec = 0 }, nvcsw = 73, minflt = 616, oublock = 80, msgsnd = 0, isrss = 0, nsignals = 0, ixrss = 0, inblock = 0, msgrcv = 0, nswap = 0, idrss = 0, maxrss = 1728 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { times = table: 0xf7d5efa0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5f000, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5f0c0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5f120, speed = 0.0, model = "unknown" }, { times = table: 0xf7d69050, speed = 0.0, model = "unknown" }, { times = table: 0xf7d7a620, speed = 0.0, model = "unknown" }, { times = table: 0xf7d778f0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5afe0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5b190, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5d740, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5d800, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5e700, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5e8b0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5e910, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5e9d0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5cc90, speed = 0.0, model = "unknown" }, { times = table: 0xf7d6c050, speed = 0.0, model = "unknown" }, { times = table: 0xf7d94a30, speed = 0.0, model = "unknown" }, { times = table: 0xf7d85810, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5f030, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5fed0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5ff30, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5ff90, speed = 0.0, model = "unknown" }, { times = table: 0xf7d5fff0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60050, speed = 0.0, model = "unknown" }, { times = table: 0xf7d600b0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60110, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60170, speed = 0.0, model = "unknown" }, { times = table: 0xf7d601d0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60230, speed = 0.0, model = "unknown" }, { times = table: 0xf7d602c0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60320, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60380, speed = 0.0, model = "unknown" }, { times = table: 0xf7d603e0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60440, speed = 0.0, model = "unknown" }, { times = table: 0xf7d604a0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60500, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60560, speed = 0.0, model = "unknown" }, { times = table: 0xf7d605c0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60620, speed = 0.0, model = "unknown" }, { times = table: 0xf7d606b0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60710, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60770, speed = 0.0, model = "unknown" }, { times = table: 0xf7d607d0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60830, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60890, speed = 0.0, model = "unknown" }, { times = table: 0xf7d608f0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60950, speed = 0.0, model = "unknown" }, { times = table: 0xf7d609b0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60a10, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60aa0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60b00, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60b60, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60bc0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60c20, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60c80, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60ce0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60d40, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60da0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60e00, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60e90, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60ef0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60f50, speed = 0.0, model = "unknown" }, { times = table: 0xf7d60fb0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61010, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61070, speed = 0.0, model = "unknown" }, { times = table: 0xf7d610d0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61130, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61190, speed = 0.0, model = "unknown" }, { times = table: 0xf7d611f0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61280, speed = 0.0, model = "unknown" }, { times = table: 0xf7d612e0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61340, speed = 0.0, model = "unknown" }, { times = table: 0xf7d613a0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61400, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61460, speed = 0.0, model = "unknown" }, { times = table: 0xf7d614c0, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61520, speed = 0.0, model = "unknown" }, { times = table: 0xf7d61580, speed = 0.0, model = "unknown" }, { times = table: 0xf7d615e0, speed = 0.0, model = "unknown" } } ok 63 misc - uv.cpu_info "lo" { { family = "inet", mac = "\0\0\0\0\0\0", internal = true, netmask = "255.0.0.0", ip = "127.0.0.1" }, { family = "inet6", mac = "\0\0\0\0\0\0", internal = true, netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", ip = "::1" } } "eth0" { { family = "inet", mac = "\0>ˆÏˆ", internal = false, netmask = "255.255.255.0", ip = "172.16.29.107" }, { family = "inet6", mac = "\0>ˆÏˆ", internal = false, netmask = "ffff:ffff:ffff:ffff::", ip = "fe80::216:3eff:fe88:cf88" } } ok 64 misc - uv.interface_addresses { 6.32, 9.56, 9.14 } ok 65 misc - uv.loadavg "/usr/bin/lua5.4" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { shell = "/bin/sh", username = "buildozer", gid = 101, homedir = "/home/buildozer", uid = 100 } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 4.3762128670485e+14 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { machine = "armv8l", version = "#1-Alpine SMP Wed, 28 Jun 2023 15:27:12 +0000", release = "6.1.36-0-lts", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1688650195 uv.gettimeofday 1688650195.000095 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { nsec = 290004435, sec = 437622 } nil "realtime" { nsec = 290023275, sec = 437622 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7d58060 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7d58260 "timeout" uv_timer_t: 0xf7d59560 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7d58560 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { pid = 59515, handle = uv_process_t: 0xf7d709e0 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { pid = 59516, handle = uv_process_t: 0xf7d4f460 } "exit" uv_process_t: 0xf7d4f460 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { pid = 59517, handle = uv_process_t: 0xf7d65380 } "exit" uv_process_t: 0xf7d65380 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { pid = 59519, handle = uv_process_t: 0xf7d4f0a0 } "stdout" { chunk = "Hello World" } "exit" { code = 0, signal = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 59522, code = 0, signal = 0 } ok 100 signal - Catch SIGINT { server = uv_tcp_t: 0xf7d57e20, address = { port = 46859, family = "inet", ip = "127.0.0.1" } } { client = uv_tcp_t: 0xf7d637f0, req = uv_connect_t: 0xf7d659b8 } "server on connection" uv_tcp_t: 0xf7d57e20 "client on connect" uv_tcp_t: 0xf7d637f0 nil "client on shutdown" uv_tcp_t: 0xf7d637f0 nil "client on close" uv_tcp_t: 0xf7d637f0 ok 101 tcp - basic tcp server and client (ipv4) { server = uv_tcp_t: 0xf7d57b50, address = { port = 33303, family = "inet6", ip = "::1" } } { client = uv_tcp_t: 0xf7d57c70, req = uv_connect_t: 0xf7d597d8 } "server on connection" uv_tcp_t: 0xf7d57b50 "client on connect" uv_tcp_t: 0xf7d57c70 nil "client on shutdown" uv_tcp_t: 0xf7d57c70 nil "client on close" uv_tcp_t: 0xf7d57c70 ok 102 tcp - basic tcp server and client (ipv6) { server = uv_tcp_t: 0xf7d57880, address = { port = 46427, family = "inet", ip = "127.0.0.1" } } { socket = uv_tcp_t: 0xf7d579a0, req = uv_write_t: 0xf7d57c08 } "client onwrite" uv_tcp_t: 0xf7d579a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { server = uv_tcp_t: 0xf7d6cbc0, address = { port = 35447, family = "inet", ip = "127.0.0.1" } } { socket = uv_tcp_t: 0xf7d57910, req = uv_write_t: 0xf7d57b78 } "client onwrite" uv_tcp_t: 0xf7d57910 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { server = uv_tcp_t: 0xf7d579a0, address = { port = 33691, family = "inet", ip = "127.0.0.1" } } { socket = uv_tcp_t: 0xf7d57be0, req = uv_write_t: 0xf7d57d28 } "client onwrite" uv_tcp_t: 0xf7d57be0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { server = uv_tcp_t: 0xf7d57910, address = { port = 43475, family = "inet", ip = "127.0.0.1" } } { socket = uv_tcp_t: 0xf7d57b50, req = uv_write_t: 0xf7d57c98 } "client onwrite" uv_tcp_t: 0xf7d57b50 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { server = uv_tcp_t: 0xf7d57880, address = { port = 44461, family = "inet", ip = "127.0.0.1" } } { socket = uv_tcp_t: 0xf7d579a0, req = uv_write_t: 0xf7d57c08 } "client onwrite" uv_tcp_t: 0xf7d579a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { server = uv_tcp_t: 0xf7d63c70, address = { port = 43165, family = "inet", ip = "127.0.0.1" } } { socket = uv_tcp_t: 0xf7d57910, req = uv_write_t: 0xf7d57b78 } "client onwrite" uv_tcp_t: 0xf7d57910 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0xf5d41d84 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7f0c464 Runing uv_thread_t: 0xf7f0c464 { delay = 100, elapsed = 100 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0xf7d59930 "closed" uv_timer_t: 0xf7d59930 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7d59a50 "interval" uv_timer_t: 0xf7d59a50 "interval" uv_timer_t: 0xf7d59a50 "closed" uv_timer_t: 0xf7d59a50 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7d59320 "timeout" uv_timer_t: 0xf7d59ab0 "interval" uv_timer_t: 0xf7d59320 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7d59380 0 "interval" uv_timer_t: 0xf7d59380 8 "interval" uv_timer_t: 0xf7d59380 4 "interval" uv_timer_t: 0xf7d59380 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7d593e0 0 "interval" uv_timer_t: 0xf7d593e0 8 "interval" uv_timer_t: 0xf7d593e0 4 "interval" uv_timer_t: 0xf7d593e0 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x4fef40 } { client = uv_udp_t: 0xf7d5ad70, req = 0 } "client on send" uv_udp_t: 0xf7d5ad70 nil "server on recv" uv_udp_t: 0x4fef40 "PING" { port = 34183, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x4fef40 "client on close" uv_udp_t: 0xf7d5ad70 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7d5adf0 } { client = uv_udp_t: 0xf7d5ae70, req = 0 } "client on send" uv_udp_t: 0xf7d5ae70 nil "server on recv" uv_udp_t: 0xf7d5adf0 "PING" { port = 55571, family = "inet", ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7d5adf0 "client on close" uv_udp_t: 0xf7d5ae70 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7d5ad70 } { client = uv_udp_t: 0xf7d5aef0, req = 0 } "client on send" uv_udp_t: 0xf7d5aef0 nil "server on recv" uv_udp_t: 0xf7d5ad70 "PING" { port = 47750, family = "inet6", ip = "::1" } { } "server on close" uv_udp_t: 0xf7d5ad70 "client on close" uv_udp_t: 0xf7d5aef0 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0xf7d5ad70 } { port = 9123, family = "inet", ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7d5ad70 "PING" { port = 43267, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7d5ad70 "PING" { port = 51138, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7d5ad70 "PING" { port = 51138, family = "inet", ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7d5ad70 nil nil { } "server on recv" uv_udp_t: 0xf7d5ad70 "PING" { port = 44355, family = "inet", ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7d5ae70 "server on close" uv_udp_t: 0xf7d5ad70 ok 130 udp - udp connect "PING" { port = 49575, family = "inet", ip = "127.0.0.1" } "PING" { port = 49575, family = "inet", ip = "127.0.0.1" } "PING" { port = 49575, family = "inet", ip = "127.0.0.1" } "PING" { port = 49575, family = "inet", ip = "127.0.0.1" } "PING" { port = 49575, family = "inet", ip = "127.0.0.1" } "PING" { port = 49575, family = "inet", ip = "127.0.0.1" } "PING" { port = 49575, family = "inet", ip = "127.0.0.1" } "PING" { port = 49575, family = "inet", ip = "127.0.0.1" } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250.0 2.0 4.0 "uv_thread_t: 0xf7d4dd84" "hello" uv_thread_t: 0xf7d4dd84 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 hello world from thread 6 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: in ? ok 137 work - test threadpool with invalid return value # All tests passed >>> lua-luv: Running tests with luajit 1..137 "in async notify callback" "a" true 250 ok 1 async - test pass async between threads "timeout" uv_timer_t: 0xf7969830 "closed" uv_timer_t: 0xf7969830 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7969830 "closed" { } uv_timer_t: 0xf7969830 ok 3 callbacks - luv_handle_t: callable table ok 4 callbacks - luv_req_t: function ok 5 callbacks - luv_req_t: callable table skipped ok 6 conversions - basic 64bit conversions begin wait end wait ok 7 coroutines - coroutines { { socktype = "stream", family = "inet6", protocol = "tcp", port = 80, addr = "::1" }, { socktype = "stream", family = "inet", protocol = "tcp", port = 80, addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { protocol = "tcp", socktype = "stream", family = "inet6", port = 80, addr = "::1" }, { protocol = "tcp", socktype = "stream", family = "inet", port = 80, addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", family = "inet", canonname = "luvit.io", socktype = "stream", protocol = "tcp" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io", addr = "206.189.225.172" }, { protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io", addr = "2604:a880:400:d0::1b9f:2001" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { canonname = "luvit.io", socktype = "stream", family = "inet", addr = "206.189.225.172", protocol = "tcp" }, { canonname = "luvit.io", socktype = "dgram", family = "inet", addr = "206.189.225.172", protocol = "udp" }, { canonname = "luvit.io", socktype = "stream", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "tcp" }, { canonname = "luvit.io", socktype = "dgram", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001", protocol = "udp" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { hostname = "0.0.0.0", service = "0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "build-edge-armv7.local", service = "0" } ok 15 dns - Lookup local 127.0.0.1 ipv4 address { hostname = "::", service = "0" } ok 16 dns - Lookup local ipv6 address { hostname = "build-edge-armv7.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 19 } { stat = { blocks = 16, flags = 0, gen = 0, atime = table: 0xf785bc90, mtime = table: 0xf78d9d90, ctime = table: 0xf786ec70, birthtime = table: 0xf7862dd8, type = "file", size = 6060, dev = 66308, mode = 33188, nlink = 1, uid = 100, gid = 101, rdev = 0, ino = 28084275, blksize = 4096 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 19 } { stat = { dev = 66308, mode = 33188, nlink = 1, uid = 100, gid = 101, rdev = 0, ino = 28084275, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf786ff50, mtime = table: 0xf78dae70, ctime = table: 0xf78db678, birthtime = table: 0xf78e0800, size = 6060, type = "file" } } { chunk = 6060 } ok 21 fs - read a file async ok 22 fs - fs.write ok 23 fs - fs.write data refs ok 24 fs - fs.stat sync ok 25 fs - fs.stat async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 26 fs - fs.stat sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 27 fs - fs.stat async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 28 fs - fs.scandir { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 29 fs - fs.scandir sync error { err = "ENOENT: no such file or directory: BAD_FILE!" } ok 30 fs - fs.scandir async error { name = ".ci", ftype = "directory" } { name = ".clang-format", ftype = "file" } { name = ".clangd", ftype = "file" } { name = ".editorconfig", ftype = "file" } { name = ".github", ftype = "directory" } { name = ".gitignore", ftype = "file" } { name = ".gitmodules", ftype = "file" } { name = "CMakeLists.txt", ftype = "file" } { name = "LICENSE.txt", ftype = "file" } { name = "Makefile", ftype = "file" } { name = "README.md", ftype = "file" } { name = "appveyor.yml", ftype = "file" } { name = "build-5.1", ftype = "directory" } { name = "build-5.4", ftype = "directory" } { name = "build-jit", ftype = "directory" } { name = "build-static", ftype = "directory" } { name = "cmake", ftype = "directory" } { name = "deps", ftype = "directory" } { name = "docs.md", ftype = "file" } { name = "examples", ftype = "directory" } { name = "lib", ftype = "directory" } { name = "libluv.pc.in", ftype = "file" } { name = "luv-scm-0.rockspec", ftype = "file" } { name = "msvcbuild.bat", ftype = "file" } { name = "rockspecs", ftype = "directory" } { name = "src", ftype = "directory" } { name = "tests", ftype = "directory" } ok 31 fs - fs.scandir async ok 32 fs - fs.scandir with no iteration "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" ok 33 fs - fs.realpath ok 34 fs - fs.copyfile { { name = ".github", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "lib", type = "directory" } } { { name = "build-static", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = "src", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "README.md", type = "file" } } { { name = "examples", type = "directory" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = ".github", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "lib", type = "directory" } } { { name = "build-static", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = "src", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "README.md", type = "file" } } { { name = "examples", type = "directory" } } uv_dir_t: 0xf78c48e8 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = ".github", type = "directory" } } { { name = "LICENSE.txt", type = "file" } } { { name = "luv-scm-0.rockspec", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "msvcbuild.bat", type = "file" } } { { name = "build-5.1", type = "directory" } } { { name = ".gitignore", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "deps", type = "directory" } } { { name = "tests", type = "directory" } } { { name = "Makefile", type = "file" } } { { name = "lib", type = "directory" } } { { name = "build-static", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = "src", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = ".ci", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "appveyor.yml", type = "file" } } { { name = "README.md", type = "file" } } { { name = "examples", type = "directory" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = ".github", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".clangd", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-5.1", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = "tests", type = "directory" }, { name = "Makefile", type = "file" }, { name = "lib", type = "directory" }, { name = "build-static", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "docs.md", type = "file" }, { name = "src", type = "directory" }, { name = "cmake", type = "directory" }, { name = ".ci", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "README.md", type = "file" }, { name = "examples", type = "directory" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = ".github", type = "directory" }, { name = "LICENSE.txt", type = "file" }, { name = "luv-scm-0.rockspec", type = "file" }, { name = ".gitmodules", type = "file" }, { name = ".clangd", type = "file" }, { name = "msvcbuild.bat", type = "file" }, { name = "build-5.1", type = "directory" }, { name = ".gitignore", type = "file" }, { name = "build-5.4", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "CMakeLists.txt", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "deps", type = "directory" }, { name = "tests", type = "directory" }, { name = "Makefile", type = "file" }, { name = "lib", type = "directory" }, { name = "build-static", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "docs.md", type = "file" }, { name = "src", type = "directory" }, { name = "cmake", type = "directory" }, { name = ".ci", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "appveyor.yml", type = "file" }, { name = "README.md", type = "file" }, { name = "examples", type = "directory" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bavail = 94593086, ffree = 54830900, files = 57991168, blocks = 228028083, bsize = 4096, type = 61267, bfree = 106194702 } ok 41 fs - fs.statfs sync { blocks = 228028083, bfree = 106194702, files = 57991168, ffree = 54830900, bavail = 94593086, type = 61267, bsize = 4096 } ok 42 fs - fs.statfs async { err = "ENOENT: no such file or directory: BAD_FILE!", code = "ENOENT" } ok 43 fs - fs.statfs sync error { err = "ENOENT: no such file or directory: BAD_FILE@" } ok 44 fs - fs.statfs async error ok 45 fs - fs.mkdtemp async ok 46 fs - fs.mkdtemp sync ok 47 fs - fs.mkdtemp async error ok 48 fs - fs.mkdtemp sync error ok 49 fs - fs.mkstemp async ok 50 fs - fs.mkstemp sync ok 51 fs - fs.mkstemp async error ok 52 fs - fs.mkstemp sync error "fs_rename" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" "fs_link" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_symlink" nil "EEXIST: file already exists: _test_ -> _testdir_" "EEXIST" "fs_copyfile" nil "EISDIR: illegal operation on a directory: _test_ -> _testdir_" "EISDIR" ok 53 fs - errors with dest paths ok 54 handle - get type ok 55 loop - uv.loop_mode { events_waiting = 0, loop_count = 66, events = 33 } { events_waiting = 0, loop_count = 67, events = 33 } ok 56 metrics - idle time "stdio fd types" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version = 77312, version_string = "1.46.0" } ok 58 misc - uv.version and uv.version_string { rss = 1912832, total = 269265068032, constrained = 9.2233720368548e+18, available = 264193380352, free = 264193380352 } ok 59 misc - memory size { uptime = 437629.72 } ok 60 misc - uv.uptime { oublock = 80, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 66, nivcsw = 6, utime = { sec = 0, usec = 379233 }, stime = { sec = 0, usec = 310024 }, maxrss = 1868, ixrss = 0, idrss = 0, isrss = 0, minflt = 467, majflt = 0, nswap = 0, inblock = 0 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { times = table: 0xf78d9d48, model = "unknown", speed = 0 }, { times = table: 0xf785a5a8, model = "unknown", speed = 0 }, { times = table: 0xf783ea18, model = "unknown", speed = 0 }, { times = table: 0xf786f000, model = "unknown", speed = 0 }, { times = table: 0xf7848278, model = "unknown", speed = 0 }, { times = table: 0xf78c4040, model = "unknown", speed = 0 }, { times = table: 0xf78db678, model = "unknown", speed = 0 }, { times = table: 0xf783d628, model = "unknown", speed = 0 }, { times = table: 0xf785a6e8, model = "unknown", speed = 0 }, { times = table: 0xf7870dc0, model = "unknown", speed = 0 }, { times = table: 0xf7875638, model = "unknown", speed = 0 }, { times = table: 0xf7843008, model = "unknown", speed = 0 }, { times = table: 0xf78d9d90, model = "unknown", speed = 0 }, { times = table: 0xf78dcdb8, model = "unknown", speed = 0 }, { times = table: 0xf78db9d8, model = "unknown", speed = 0 }, { times = table: 0xf783c3f8, model = "unknown", speed = 0 }, { times = table: 0xf7846528, model = "unknown", speed = 0 }, { times = table: 0xf78751b0, model = "unknown", speed = 0 }, { times = table: 0xf78d2618, model = "unknown", speed = 0 }, { times = table: 0xf7846448, model = "unknown", speed = 0 }, { times = table: 0xf7843468, model = "unknown", speed = 0 }, { times = table: 0xf785ca88, model = "unknown", speed = 0 }, { times = table: 0xf785d308, model = "unknown", speed = 0 }, { times = table: 0xf786eb80, model = "unknown", speed = 0 }, { times = table: 0xf7848030, model = "unknown", speed = 0 }, { times = table: 0xf7846a10, model = "unknown", speed = 0 }, { times = table: 0xf7850f38, model = "unknown", speed = 0 }, { times = table: 0xf78de148, model = "unknown", speed = 0 }, { times = table: 0xf786f300, model = "unknown", speed = 0 }, { times = table: 0xf784b778, model = "unknown", speed = 0 }, { times = table: 0xf78614e8, model = "unknown", speed = 0 }, { times = table: 0xf7861eb8, model = "unknown", speed = 0 }, { times = table: 0xf78dd5b8, model = "unknown", speed = 0 }, { times = table: 0xf78dae18, model = "unknown", speed = 0 }, { times = table: 0xf7851390, model = "unknown", speed = 0 }, { times = table: 0xf784eba0, model = "unknown", speed = 0 }, { times = table: 0xf78e0640, model = "unknown", speed = 0 }, { times = table: 0xf78dda78, model = "unknown", speed = 0 }, { times = table: 0xf7876570, model = "unknown", speed = 0 }, { times = table: 0xf7867210, model = "unknown", speed = 0 }, { times = table: 0xf78db4f0, model = "unknown", speed = 0 }, { times = table: 0xf7864f78, model = "unknown", speed = 0 }, { times = table: 0xf783d448, model = "unknown", speed = 0 }, { times = table: 0xf7875ad0, model = "unknown", speed = 0 }, { times = table: 0xf7873e30, model = "unknown", speed = 0 }, { times = table: 0xf78721c0, model = "unknown", speed = 0 }, { times = table: 0xf78618c8, model = "unknown", speed = 0 }, { times = table: 0xf7873698, model = "unknown", speed = 0 }, { times = table: 0xf783d7c8, model = "unknown", speed = 0 }, { times = table: 0xf783e500, model = "unknown", speed = 0 }, { times = table: 0xf785c708, model = "unknown", speed = 0 }, { times = table: 0xf786a1a8, model = "unknown", speed = 0 }, { times = table: 0xf7863b70, model = "unknown", speed = 0 }, { times = table: 0xf78cd8e8, model = "unknown", speed = 0 }, { times = table: 0xf7863768, model = "unknown", speed = 0 }, { times = table: 0xf7872970, model = "unknown", speed = 0 }, { times = table: 0xf78684f0, model = "unknown", speed = 0 }, { times = table: 0xf78cc1d8, model = "unknown", speed = 0 }, { times = table: 0xf78cc358, model = "unknown", speed = 0 }, { times = table: 0xf783ba58, model = "unknown", speed = 0 }, { times = table: 0xf783bbd8, model = "unknown", speed = 0 }, { times = table: 0xf7869bb8, model = "unknown", speed = 0 }, { times = table: 0xf7869d38, model = "unknown", speed = 0 }, { times = table: 0xf7860c28, model = "unknown", speed = 0 }, { times = table: 0xf7860da8, model = "unknown", speed = 0 }, { times = table: 0xf7866a50, model = "unknown", speed = 0 }, { times = table: 0xf7866bd0, model = "unknown", speed = 0 }, { times = table: 0xf7860840, model = "unknown", speed = 0 }, { times = table: 0xf7874830, model = "unknown", speed = 0 }, { times = table: 0xf7866348, model = "unknown", speed = 0 }, { times = table: 0xf78664c8, model = "unknown", speed = 0 }, { times = table: 0xf783dca0, model = "unknown", speed = 0 }, { times = table: 0xf783de20, model = "unknown", speed = 0 }, { times = table: 0xf785e938, model = "unknown", speed = 0 }, { times = table: 0xf785eab8, model = "unknown", speed = 0 }, { times = table: 0xf7870f98, model = "unknown", speed = 0 }, { times = table: 0xf7871118, model = "unknown", speed = 0 }, { times = table: 0xf785f5c8, model = "unknown", speed = 0 }, { times = table: 0xf785f748, model = "unknown", speed = 0 }, { times = table: 0xf78738a0, model = "unknown", speed = 0 } } ok 63 misc - uv.cpu_info "eth0" { { mac = "\0>ˆÏˆ", netmask = "255.255.255.0", family = "inet", internal = false, ip = "172.16.29.107" }, { mac = "\0>ˆÏˆ", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", internal = false, ip = "fe80::216:3eff:fe88:cf88" } } "lo" { { mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", family = "inet", internal = true, ip = "127.0.0.1" }, { mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", internal = true, ip = "::1" } } ok 64 misc - uv.interface_addresses { 5.42, 9.26, 9.05 } ok 65 misc - uv.loadavg "/usr/bin/luajit-2.1.0-beta3" ok 66 misc - uv.exepath "/home/buildozer" ok 67 misc - uv.os_homedir "/tmp" ok 68 misc - uv.os_tmpdir { gid = 101, shell = "/bin/sh", homedir = "/home/buildozer", username = "buildozer", uid = 100 } ok 69 misc - uv.os_get_passwd "/home/buildozer/aports/community/lua-luv/src/luv-1.45.0-0" "/" ok 70 misc - uv.cwd and uv.chdir 4.3762973215467e+14 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "6.1.36-0-lts", version = "#1-Alpine SMP Wed, 28 Jun 2023 15:27:12 +0000", sysname = "Linux", machine = "armv8l" } ok 73 misc - uv.os_uname os.time 1688650203 uv.gettimeofday 1688650203.000541 ok 74 misc - uv.gettimeofday ok 75 misc - uv.os_environ ok 76 misc - uv.sleep ok 77 misc - uv.random async ok 78 misc - uv.random sync ok 79 misc - uv.random errors ok 80 misc - uv errno ok 81 misc - uv constants 1024 nil ok 82 misc - uv.cpumask_size "monotonic" { sec = 437630, nsec = 738188830 } nil "realtime" { sec = 437630, nsec = 738200550 } nil ok 83 misc - uv.clock_gettime ok 84 pipe - pipe chmod ok 85 pipe - pipe ping pong ok 86 pipe - pipe close fd "prepare" uv_prepare_t: 0xf7969d10 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7969d10 "timeout" uv_timer_t: 0xf78ea100 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7969d10 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { pid = 59550, handle = uv_process_t: 0xf78ea1c0 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { pid = 59551, handle = uv_process_t: 0xf78ea220 } "exit" uv_process_t: 0xf78ea220 { signal = 2, status = 0 } ok 93 process - spawn and kill by pid { pid = 59552, handle = uv_process_t: 0xf78ea110 } "exit" uv_process_t: 0xf78ea110 { signal = 15, status = 0 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { pid = 59554, handle = uv_process_t: 0xf78ea1d0 } "stdout" { chunk = "Hello World" } "exit" { signal = 0, code = 0 } ok 96 process - process stdio ok 97 process - get pid ok 98 req - cancel ok 99 req - get type Sending child SIGINT "sigint\n" "exit" { pid = 59557, signal = 0, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", ip = "127.0.0.1", port = 35257 }, server = uv_tcp_t: 0x0063ac60 } { client = uv_tcp_t: 0xf78ea690, req = uv_connect_t: 0xf7843380 } "server on connection" uv_tcp_t: 0x0063ac60 "client on connect" uv_tcp_t: 0xf78ea690 nil "client on shutdown" uv_tcp_t: 0xf78ea690 nil "client on close" uv_tcp_t: 0xf78ea690 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", ip = "::1", port = 37793 }, server = uv_tcp_t: 0x0063ac70 } { client = uv_tcp_t: 0xf78ea680, req = uv_connect_t: 0xf7843380 } "server on connection" uv_tcp_t: 0x0063ac70 "client on connect" uv_tcp_t: 0xf78ea680 nil "client on shutdown" uv_tcp_t: 0xf78ea680 nil "client on close" uv_tcp_t: 0xf78ea680 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", ip = "127.0.0.1", port = 35413 }, server = uv_tcp_t: 0x0063ac60 } { req = uv_write_t: 0xf78dc4f0, socket = uv_tcp_t: 0xf78ea690 } "client onwrite" uv_tcp_t: 0xf78ea690 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", ip = "127.0.0.1", port = 33967 }, server = uv_tcp_t: 0x0063ac70 } { req = uv_write_t: 0xf7867490, socket = uv_tcp_t: 0xf78ea680 } "client onwrite" uv_tcp_t: 0xf78ea680 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 104 tcp - tcp echo server and client with methods "./tests/test-tcp.lua:140: Invalid IP address or port [127.0.0.100005:1000]" ok 105 tcp - tcp invalid ip address { address = { family = "inet", ip = "127.0.0.1", port = 38773 }, server = uv_tcp_t: 0x0063ac70 } { req = uv_write_t: 0xf7879420, socket = uv_tcp_t: 0xf78ea690 } "client onwrite" uv_tcp_t: 0xf78ea690 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", ip = "127.0.0.1", port = 37575 }, server = uv_tcp_t: 0x0063ac60 } { req = uv_write_t: 0xf7879420, socket = uv_tcp_t: 0xf78ea680 } "client onwrite" uv_tcp_t: 0xf78ea680 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", ip = "127.0.0.1", port = 41523 }, server = uv_tcp_t: 0x0063ac70 } { req = uv_write_t: 0xf7879420, socket = uv_tcp_t: 0xf78ea690 } "client onwrite" uv_tcp_t: 0xf78ea690 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", ip = "127.0.0.1", port = 35783 }, server = uv_tcp_t: 0x0063ac60 } { req = uv_write_t: 0xf7879420, socket = uv_tcp_t: 0xf78ea680 } "client onwrite" uv_tcp_t: 0xf78ea680 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 109 tcp - tcp close reset accepted after shutdown ok 110 tcp - socketpair ping pong In uv_thread_t: 0xf57cbd84 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf796b464 Runing uv_thread_t: 0xf796b464 { delay = 100, elapsed = 100 } ok 113 thread - test thread sleep msecs in main thread { delay = 100, elapsed = 101 } ok 114 thread - test thread create with options table ok 115 thread - test thread arguments limit ok 116 thread - test avoid thread be released before it done ok 117 thread - thread_getcpu ok 118 thread - getaffinity, setaffinity "timeout" uv_timer_t: 0xf78ea220 "closed" uv_timer_t: 0xf78ea220 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf78ea100 "interval" uv_timer_t: 0xf78ea100 "interval" uv_timer_t: 0xf78ea100 "closed" uv_timer_t: 0xf78ea100 ok 120 timer - simple interval "interval" uv_timer_t: 0xf78ea1c0 "timeout" uv_timer_t: 0xf78ea160 "interval" uv_timer_t: 0xf78ea1c0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf78ea220 0 "interval" uv_timer_t: 0xf78ea220 8 "interval" uv_timer_t: 0xf78ea220 4 "interval" uv_timer_t: 0xf78ea220 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf78ea100 0 "interval" uv_timer_t: 0xf78ea100 8 "interval" uv_timer_t: 0xf78ea100 4 "interval" uv_timer_t: 0xf78ea100 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7969030 } { client = uv_udp_t: 0xf79690b0, req = 0 } "client on send" uv_udp_t: 0xf79690b0 nil "server on recv" uv_udp_t: 0xf7969030 "PING" { family = "inet", ip = "127.0.0.1", port = 60057 } { } "server on close" uv_udp_t: 0xf7969030 "client on close" uv_udp_t: 0xf79690b0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x0063a130 } { client = uv_udp_t: 0x0063a1b0, req = 0 } "client on send" uv_udp_t: 0x0063a1b0 nil "server on recv" uv_udp_t: 0x0063a130 "PING" { family = "inet", ip = "127.0.0.1", port = 44390 } { } "server on close" uv_udp_t: 0x0063a130 "client on close" uv_udp_t: 0x0063a1b0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7969030 } { client = uv_udp_t: 0xf79690b0, req = 0 } "client on send" uv_udp_t: 0xf79690b0 nil "server on recv" uv_udp_t: 0xf7969030 "PING" { family = "inet6", ip = "::1", port = 48803 } { } "server on close" uv_udp_t: 0xf7969030 "client on close" uv_udp_t: 0xf79690b0 ok 128 udp - basic udp server and client (ipv6) ./tests/test-udp.lua:85: bad argument #3 to 'udp_send' (Host must be string or nil) ./tests/test-udp.lua:87: bad argument #4 to 'udp_send' (Port must be number or nil) ./tests/test-udp.lua:89: bad argument #3 to 'udp_send' (Both host and port must be nil if one is nil) ./tests/test-udp.lua:91: bad argument #4 to 'udp_send' (Both host and port must be nil if one is nil) ok 129 udp - udp send args { server = uv_udp_t: 0xf7969030 } { family = "inet", ip = "127.0.0.1", port = 9123 } "server on recv" uv_udp_t: 0xf7969030 "PING" { family = "inet", ip = "127.0.0.1", port = 47482 } { } "server on recv" uv_udp_t: 0xf7969030 "PING" { family = "inet", ip = "127.0.0.1", port = 45984 } { } "server on recv" uv_udp_t: 0xf7969030 "PING" { family = "inet", ip = "127.0.0.1", port = 45984 } { } "server on recv" uv_udp_t: 0xf7969030 nil nil { } "server on recv" uv_udp_t: 0xf7969030 "PING" { family = "inet", ip = "127.0.0.1", port = 58008 } { } "client on close" uv_udp_t: 0xf79690b0 "server on close" uv_udp_t: 0xf7969030 ok 130 udp - udp connect "PING" { family = "inet", ip = "127.0.0.1", port = 55821 } "PING" { family = "inet", ip = "127.0.0.1", port = 55821 } "PING" { family = "inet", ip = "127.0.0.1", port = 55821 } "PING" { family = "inet", ip = "127.0.0.1", port = 55821 } "PING" { family = "inet", ip = "127.0.0.1", port = 55821 } "PING" { family = "inet", ip = "127.0.0.1", port = 55821 } "PING" { family = "inet", ip = "127.0.0.1", port = 55821 } "PING" { family = "inet", ip = "127.0.0.1", port = 55821 } ok 131 udp - udp recvmmsg ok 132 work - test threadpool with return none "Please be patient, the test cost a lots of time" "run 10%" "run 20%" "run 30%" "run 40%" "run 50%" "run 60%" "run 70%" "run 80%" "run 90%" "run 100%" ok 133 work - test threadpool "in async notify callback" "a" true 250 2 4 "uv_thread_t: 0xf7839d84" "hello" uv_thread_t: 0xf7839d84 finish hello ok 134 work - test threadpool with async 1 2 3 4 5 7 8 ok 135 work - test threadpool with coro ok 136 work - test threadpool with invalid argument Uncaught Error: Error: thread arg not support type 'table' at 1 stack traceback: [C]: at 0xf78b217d ok 137 work - test threadpool with invalid return value # All tests passed hello world from thread 6 >>> lua-luv: Entering fakeroot... -- Install configuration: "" -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/lua/5.1/luv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.a -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h -- Install configuration: "" -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/lua/5.1/luv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1.45.0 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so.1 -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/libluv.so -- Installing: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/lib/pkgconfig/libluv.pc -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/luv.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/util.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lhandle.h -- Up-to-date: /home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr/include/luv/lreq.h >>> lua-luv-static*: Running split function static... >>> lua-luv-static*: Preparing subpackage lua-luv-static... >>> lua-luv-static*: Stripping binaries >>> lua-luv-static*: Running postcheck for lua-luv-static >>> lua-luv-dev*: Running split function dev... >>> lua-luv-dev*: Preparing subpackage lua-luv-dev... >>> lua-luv-dev*: Stripping binaries >>> lua-luv-dev*: Running postcheck for lua-luv-dev >>> libluv*: Running split function libluv... '/home/buildozer/aports/community/lua-luv/pkg/lua-luv/usr' -> '/home/buildozer/aports/community/lua-luv/pkg/libluv/usr' >>> libluv*: Preparing subpackage libluv... >>> libluv*: Stripping binaries >>> libluv*: Running postcheck for libluv >>> lua5.1-luv*: Running split function _subpackage... >>> lua5.1-luv*: Preparing subpackage lua5.1-luv... >>> lua5.1-luv*: Stripping binaries >>> lua5.1-luv*: Running postcheck for lua5.1-luv >>> lua5.4-luv*: Running split function _subpackage... >>> lua5.4-luv*: Preparing subpackage lua5.4-luv... >>> lua5.4-luv*: Stripping binaries >>> lua5.4-luv*: Running postcheck for lua5.4-luv >>> lua-luv*: Running postcheck for lua-luv >>> lua-luv*: Preparing package lua-luv... >>> lua-luv*: Stripping binaries >>> WARNING: lua-luv*: No arch specific binaries found so arch should probably be set to "noarch" >>> libluv*: Scanning shared objects >>> lua-luv-dev*: Scanning shared objects >>> lua-luv-static*: Scanning shared objects >>> lua-luv*: Scanning shared objects >>> lua5.1-luv*: Scanning shared objects >>> lua5.4-luv*: Scanning shared objects >>> libluv*: Tracing dependencies... so:libc.musl-armv7.so.1 so:libuv.so.1 >>> libluv*: Package size: 124.0 KB >>> libluv*: Compressing data... >>> libluv*: Create checksum... >>> libluv*: Create libluv-1.45.0.0-r0.apk >>> lua-luv-dev*: Tracing dependencies... libluv=1.45.0.0-r0 pkgconfig >>> lua-luv-dev*: Package size: 56.0 KB >>> lua-luv-dev*: Compressing data... >>> lua-luv-dev*: Create checksum... >>> lua-luv-dev*: Create lua-luv-dev-1.45.0.0-r0.apk >>> lua-luv-static*: Tracing dependencies... >>> lua-luv-static*: Package size: 180.0 KB >>> lua-luv-static*: Compressing data... >>> lua-luv-static*: Create checksum... >>> lua-luv-static*: Create lua-luv-static-1.45.0.0-r0.apk >>> lua-luv*: Tracing dependencies... >>> lua-luv*: Package size: 4.0 KB >>> lua-luv*: Compressing data... >>> lua-luv*: Create checksum... >>> lua-luv*: Create lua-luv-1.45.0.0-r0.apk >>> lua5.1-luv*: Tracing dependencies... lua5.1 so:libc.musl-armv7.so.1 so:libuv.so.1 >>> lua5.1-luv*: Package size: 152.0 KB >>> lua5.1-luv*: Compressing data... >>> lua5.1-luv*: Create checksum... >>> lua5.1-luv*: Create lua5.1-luv-1.45.0.0-r0.apk >>> lua5.4-luv*: Tracing dependencies... lua5.4 so:libc.musl-armv7.so.1 so:libuv.so.1 >>> lua5.4-luv*: Package size: 148.0 KB >>> lua5.4-luv*: Compressing data... >>> lua5.4-luv*: Create checksum... >>> lua5.4-luv*: Create lua5.4-luv-1.45.0.0-r0.apk >>> lua-luv: Build complete at Thu, 06 Jul 2023 13:30:09 +0000 elapsed time 0h 0m 39s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/19) Purging .makedepends-lua-luv (20230706.132931) (2/19) Purging cmake (3.26.4-r2) (3/19) Purging libuv-dev (1.46.0-r0) (4/19) Purging libuv (1.46.0-r0) (5/19) Purging lua-compat53-dev (0.10-r1) (6/19) Purging luajit-dev (2.1_p20230410-r3) (7/19) Purging luajit (2.1_p20230410-r3) (8/19) Purging lua5.1-dev (5.1.5-r12) (9/19) Purging lua5.1 (5.1.5-r12) (10/19) Purging lua5.1-libs (5.1.5-r12) (11/19) Purging lua5.4-dev (5.4.6-r0) (12/19) Purging lua5.4 (5.4.6-r0) (13/19) Purging lua5.4-libs (5.4.6-r0) (14/19) Purging libarchive (3.6.2-r3) (15/19) Purging libbz2 (1.0.8-r6) (16/19) Purging readline (8.2.1-r2) (17/19) Purging rhash-libs (1.4.3-r2) (18/19) Purging samurai (1.2-r4) (19/19) Purging xz-libs (5.4.3-r1) Executing busybox-1.36.1-r3.trigger OK: 269 MiB in 102 packages >>> lua-luv: Updating the community/armv7 repository index... >>> lua-luv: Signing the index...