>>> lua-luv: Building community/lua-luv 1.45.0.0-r0 (using abuild 3.13.0-r3) started Tue, 23 Apr 2024 22:03:50 +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.6.1-r3) (3/19) Installing libarchive (3.7.3-r0) (4/19) Installing rhash-libs (1.4.4-r0) (5/19) Installing libuv (1.48.0-r0) (6/19) Installing cmake (3.29.2-r1) (7/19) Installing libuv-dev (1.48.0-r0) (8/19) Installing lua-compat53-dev (0.13-r0) (9/19) Installing samurai (1.2-r5) (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-r13) (13/19) Installing lua5.1 (5.1.5-r13) (14/19) Installing lua5.1-dev (5.1.5-r13) (15/19) Installing lua5.4-libs (5.4.6-r1) (16/19) Installing readline (8.2.10-r0) (17/19) Installing lua5.4 (5.4.6-r1) (18/19) Installing lua5.4-dev (5.4.6-r1) (19/19) Installing .makedepends-lua-luv (20240423.220402) Executing busybox-1.36.1-r25.trigger OK: 505 MiB in 124 packages >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Cleaning up tmpdir >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/lua-luv-1.45.0-0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> lua-luv: Fetching https://github.com/luvit/luv/archive/1.45.0-0/lua-luv-1.45.0-0.tar.gz Connecting to github.com (140.82.121.4:443) Connecting to codeload.github.com (140.82.121.9:443) saving to '/var/cache/distfiles/lua-luv-1.45.0-0.tar.gz.part' lua-luv-1.45.0-0.tar 100% |********************************| 127k 0:00:00 ETA '/var/cache/distfiles/lua-luv-1.45.0-0.tar.gz.part' saved >>> lua-luv: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/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 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.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.2s) -- 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 library libluv.so.1.45.0 [4/5] Creating library symlink libluv.so.1 libluv.so [5/5] Linking C shared module luv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.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.2s) -- 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 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.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.2s) -- 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 library libluv.so.1.45.0 [4/5] Creating library symlink libluv.so.1 libluv.so [5/5] Linking C shared module luv.so CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 13.2.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.2s) -- 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: 0xf7a1a3c0 "closed" uv_timer_t: 0xf7a1a3c0 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7a1a420 "closed" { } uv_timer_t: 0xf7a1a420 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 = "2604:a880:400:d0::1b9f:2001", protocol = "tcp", socktype = "stream", family = "inet6", canonname = "luvit.io" }, { addr = "206.189.225.172", protocol = "tcp", socktype = "stream", family = "inet", canonname = "luvit.io" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for 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" }, { 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" } } 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-3-20-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-3-20-armv7.local" } ok 17 dns - Lookup local ::1 ipv6 address { service = "http", hostname = "::" } ok 18 dns - Lookup local port 80 service { fd = 25 } { stat = { nlink = 1, ino = 97733959, mtime = table: 0xf7a2bdc0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7a2bd60, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7a2bdf0, birthtime = table: 0xf7a2be50, blocks = 16 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { nlink = 1, ino = 97733959, mtime = table: 0xf7a11ab0, gid = 1000, mode = 33188, size = 6060, dev = 64769, gen = 0, rdev = 0, atime = table: 0xf7a11a80, blksize = 4096, uid = 1000, type = "file", flags = 0, ctime = table: 0xf7a11ae0, birthtime = table: 0xf7a11b10, 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 = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } uv_dir_t: 0xf7a5b3c8 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "src", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "Makefile", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "examples", type = "directory" }, { name = "cmake", type = "directory" }, { name = "README.md", type = "file" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".ci", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "deps", type = "directory" }, { name = "docs.md", type = "file" }, { name = ".github", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "src", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "Makefile", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "examples", type = "directory" }, { name = "cmake", type = "directory" }, { name = "README.md", type = "file" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".ci", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "deps", type = "directory" }, { name = "docs.md", type = "file" }, { name = ".github", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bavail = 87694369, type = 61267, bsize = 4096, files = 116916224, bfree = 111081607, ffree = 107051321, blocks = 460041184 } ok 41 fs - fs.statfs sync { bavail = 87694369, type = 61267, bsize = 4096, files = 116916224, bfree = 111081607, ffree = 107051321, blocks = 460041184 } 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 = 77824, version_string = "1.48.0" } ok 58 misc - uv.version and uv.version_string { rss = 1421312, total = 269266784256, free = 256992100352, constrained = 9.2233720368548e+18, available = 256992100352 } ok 59 misc - memory size { uptime = 9700877.2 } ok 60 misc - uv.uptime { inblock = 0, nsignals = 0, utime = { usec = 368750, sec = 0 }, oublock = 72, stime = { usec = 286624, sec = 0 }, nivcsw = 2, minflt = 684, idrss = 0, majflt = 0, nvcsw = 62, isrss = 0, nswap = 0, maxrss = 1800, msgsnd = 0, msgrcv = 0, ixrss = 0 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { speed = 0, times = table: 0xf7a2bc70, model = "unknown" }, { speed = 0, times = table: 0xf7a2bdf0, model = "unknown" }, { speed = 0, times = table: 0xf7a2cba0, model = "unknown" }, { speed = 0, times = table: 0xf7a2cc60, model = "unknown" }, { speed = 0, times = table: 0xf7a2cd20, model = "unknown" }, { speed = 0, times = table: 0xf7a2ce10, model = "unknown" }, { speed = 0, times = table: 0xf7a0f860, model = "unknown" }, { speed = 0, times = table: 0xf7a0f980, model = "unknown" }, { speed = 0, times = table: 0xf7a0fb90, model = "unknown" }, { speed = 0, times = table: 0xf7a29c90, model = "unknown" }, { speed = 0, times = table: 0xf7a29db0, model = "unknown" }, { speed = 0, times = table: 0xf7a29ed0, model = "unknown" }, { speed = 0, times = table: 0xf7a13760, model = "unknown" }, { speed = 0, times = table: 0xf7a13970, model = "unknown" }, { speed = 0, times = table: 0xf7a13a30, model = "unknown" }, { speed = 0, times = table: 0xf7a12470, model = "unknown" }, { speed = 0, times = table: 0xf7a12650, model = "unknown" }, { speed = 0, times = table: 0xf7a2a3e0, model = "unknown" }, { speed = 0, times = table: 0xf7a2a590, model = "unknown" }, { speed = 0, times = table: 0xf7a2a650, model = "unknown" }, { speed = 0, times = table: 0xf7a28c40, model = "unknown" }, { speed = 0, times = table: 0xf7a28d90, model = "unknown" }, { speed = 0, times = table: 0xf7a28ee0, model = "unknown" }, { speed = 0, times = table: 0xf7a64130, model = "unknown" }, { speed = 0, times = table: 0xf7a64310, model = "unknown" }, { speed = 0, times = table: 0xf7a3b8f0, model = "unknown" }, { speed = 0, times = table: 0xf7a10880, model = "unknown" }, { speed = 0, times = table: 0xf7a109d0, model = "unknown" }, { speed = 0, times = table: 0xf7a10b20, model = "unknown" }, { speed = 0, times = table: 0xf7a2a800, model = "unknown" }, { speed = 0, times = table: 0xf7a2a8f0, model = "unknown" }, { speed = 0, times = table: 0xf7a2a9b0, model = "unknown" }, { speed = 0, times = table: 0xf7a29030, model = "unknown" }, { speed = 0, times = table: 0xf7a29150, model = "unknown" }, { speed = 0, times = table: 0xf7a29300, model = "unknown" }, { speed = 0, times = table: 0xf7a11870, model = "unknown" }, { speed = 0, times = table: 0xf7a11990, model = "unknown" }, { speed = 0, times = table: 0xf7a11a50, model = "unknown" }, { speed = 0, times = table: 0xf7a11b10, model = "unknown" }, { speed = 0, times = table: 0xf7a11060, model = "unknown" }, { speed = 0, times = table: 0xf7a111b0, model = "unknown" }, { speed = 0, times = table: 0xf7a11300, model = "unknown" }, { speed = 0, times = table: 0xf7a2c450, model = "unknown" }, { speed = 0, times = table: 0xf7a5c400, model = "unknown" }, { speed = 0, times = table: 0xf7a5c610, model = "unknown" }, { speed = 0, times = table: 0xf7a2d680, model = "unknown" }, { speed = 0, times = table: 0xf7a2d890, model = "unknown" }, { speed = 0, times = table: 0xf7a2d9e0, model = "unknown" }, { speed = 0, times = table: 0xf7a3e410, model = "unknown" }, { speed = 0, times = table: 0xf7a3e650, model = "unknown" }, { speed = 0, times = table: 0xf7a4f220, model = "unknown" }, { speed = 0, times = table: 0xf7a4f370, model = "unknown" }, { speed = 0, times = table: 0xf7a4f670, model = "unknown" }, { speed = 0, times = table: 0xf7a0f440, model = "unknown" }, { speed = 0, times = table: 0xf7a51770, model = "unknown" }, { speed = 0, times = table: 0xf7a51a40, model = "unknown" }, { speed = 0, times = table: 0xf7a4f880, model = "unknown" }, { speed = 0, times = table: 0xf7a4faf0, model = "unknown" }, { speed = 0, times = table: 0xf7a5d9c0, model = "unknown" }, { speed = 0, times = table: 0xf7a3e8c0, model = "unknown" }, { speed = 0, times = table: 0xf7a2e400, model = "unknown" }, { speed = 0, times = table: 0xf7a2e550, model = "unknown" }, { speed = 0, times = table: 0xf7a3c940, model = "unknown" }, { speed = 0, times = table: 0xf7a3cac0, model = "unknown" }, { speed = 0, times = table: 0xf7a64d30, model = "unknown" }, { speed = 0, times = table: 0xf7a66620, model = "unknown" }, { speed = 0, times = table: 0xf7a3ecb0, model = "unknown" }, { speed = 0, times = table: 0xf7a5b1a0, model = "unknown" }, { speed = 0, times = table: 0xf7a5b2f0, model = "unknown" }, { speed = 0, times = table: 0xf7a6e8c0, model = "unknown" }, { speed = 0, times = table: 0xf7a10400, model = "unknown" }, { speed = 0, times = table: 0xf7a10640, model = "unknown" }, { speed = 0, times = table: 0xf7a12b30, model = "unknown" }, { speed = 0, times = table: 0xf7a12bf0, model = "unknown" }, { speed = 0, times = table: 0xf7a12ce0, model = "unknown" }, { speed = 0, times = table: 0xf7a3dc60, model = "unknown" }, { speed = 0, times = table: 0xf7a3de10, model = "unknown" }, { speed = 0, times = table: 0xf7a50f90, model = "unknown" }, { speed = 0, times = table: 0xf7a2eb80, model = "unknown" }, { speed = 0, times = table: 0xf7a2bc40, 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>…/E", netmask = "255.255.255.0", internal = false, family = "inet", ip = "172.16.27.142" }, { mac = "\0>…/E", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "2a02:168:a077:701:216:3eff:fe85:2f45" }, { mac = "\0>…/E", netmask = "ffff:ffff:ffff:ffff::", internal = false, family = "inet6", ip = "fe80::216:3eff:fe85:2f45" } } ok 64 misc - uv.interface_addresses { 6.45, 4.53, 2.53 } 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 = 1000, gid = 1000, 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 9.7008772085319e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { release = "6.1.34-1-lts", machine = "armv8l", version = "#2-Alpine SMP Thu, 15 Jun 2023 03:51:44 +0000", sysname = "Linux" } ok 73 misc - uv.os_uname os.time 1713909858 uv.gettimeofday 1713909858.000636 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 = 214830914, sec = 9700878 } nil "realtime" { nsec = 214850435, sec = 9700878 } 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: 0xf7a1b810 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7a1b9d0 "timeout" uv_timer_t: 0xf7a1a780 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7a1bd50 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: 0xf7a35dc0, pid = 47217 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { handle = uv_process_t: 0xf7a1b760, pid = 47218 } "exit" uv_process_t: 0xf7a1b760 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { handle = uv_process_t: 0xf7a1c6a0, pid = 47219 } "exit" uv_process_t: 0xf7a1c6a0 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { handle = uv_process_t: 0xf7a39700, pid = 47221 } "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 = 47223, code = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 44617, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7a47520 } { req = uv_connect_t: 0xf7a4a548, client = uv_tcp_t: 0xf7a47d90 } "server on connection" uv_tcp_t: 0xf7a47520 "client on connect" uv_tcp_t: 0xf7a47d90 nil "client on shutdown" uv_tcp_t: 0xf7a47d90 nil "client on close" uv_tcp_t: 0xf7a47d90 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 43565, ip = "::1" }, server = uv_tcp_t: 0xf7a691c0 } { req = uv_connect_t: 0xf7a35e28, client = uv_tcp_t: 0xf7a69370 } "server on connection" uv_tcp_t: 0xf7a691c0 "client on connect" uv_tcp_t: 0xf7a69370 nil "client on shutdown" uv_tcp_t: 0xf7a69370 nil "client on close" uv_tcp_t: 0xf7a69370 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 37991, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7a69ac0 } { req = uv_write_t: 0xf7a64ad8, socket = uv_tcp_t: 0xf7a0c1c0 } "client onwrite" uv_tcp_t: 0xf7a0c1c0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 43987, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7a0c490 } { req = uv_write_t: 0xf7a64ad8, socket = uv_tcp_t: 0xf7a0c6d0 } "client onwrite" uv_tcp_t: 0xf7a0c6d0 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 = 39769, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7a0c9a0 } { req = uv_write_t: 0xf7a64ad8, socket = uv_tcp_t: 0xf7a0cc70 } "client onwrite" uv_tcp_t: 0xf7a0cc70 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 39401, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7a0ce20 } { req = uv_write_t: 0xf7a64ad8, socket = uv_tcp_t: 0xf7a6b010 } "client onwrite" uv_tcp_t: 0xf7a6b010 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 41409, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7a6b400 } { req = uv_write_t: 0xf7a64ad8, socket = uv_tcp_t: 0xf7a6b9a0 } "client onwrite" uv_tcp_t: 0xf7a6b9a0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 45609, ip = "127.0.0.1" }, server = uv_tcp_t: 0xf7a6c250 } { req = uv_write_t: 0xf7a64ad8, socket = uv_tcp_t: 0xf7a6c370 } "client onwrite" uv_tcp_t: 0xf7a6c370 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: 0xf59efd84 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7b71f34 Runing uv_thread_t: 0xf7b71f34 { 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: 0xf7a1a600 "closed" uv_timer_t: 0xf7a1a600 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7a1a660 "interval" uv_timer_t: 0xf7a1a660 "interval" uv_timer_t: 0xf7a1a660 "closed" uv_timer_t: 0xf7a1a660 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7a1a720 "timeout" uv_timer_t: 0xf7a1a6c0 "interval" uv_timer_t: 0xf7a1a720 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7a1a780 0 "interval" uv_timer_t: 0xf7a1a780 8 "interval" uv_timer_t: 0xf7a1a780 4 "interval" uv_timer_t: 0xf7a1a780 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7a27980 0 "interval" uv_timer_t: 0xf7a27980 8 "interval" uv_timer_t: 0xf7a27980 4 "interval" uv_timer_t: 0xf7a27980 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7a14ab0 } { req = 0, client = uv_udp_t: 0xf7a14bb0 } "client on send" uv_udp_t: 0xf7a14bb0 nil "server on recv" uv_udp_t: 0xf7a14ab0 "PING" { family = "inet", port = 55257, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7a14ab0 "client on close" uv_udp_t: 0xf7a14bb0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf7a14ea0 } { req = 0, client = uv_udp_t: 0xf7a14fa0 } "client on send" uv_udp_t: 0xf7a14fa0 nil "server on recv" uv_udp_t: 0xf7a14ea0 "PING" { family = "inet", port = 49665, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7a14ea0 "client on close" uv_udp_t: 0xf7a14fa0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7a15290 } { req = 0, client = uv_udp_t: 0xf7a15390 } "client on send" uv_udp_t: 0xf7a15390 nil "server on recv" uv_udp_t: 0xf7a15290 "PING" { family = "inet6", port = 47160, ip = "::1" } { } "server on close" uv_udp_t: 0xf7a15290 "client on close" uv_udp_t: 0xf7a15390 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: 0xf7a15e60 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7a15e60 "PING" { family = "inet", port = 39399, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7a15e60 "PING" { family = "inet", port = 36640, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7a15e60 "PING" { family = "inet", port = 36640, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7a15e60 nil nil { } "server on recv" uv_udp_t: 0xf7a15e60 "PING" { family = "inet", port = 33487, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7a15ee0 "server on close" uv_udp_t: 0xf7a15e60 ok 130 udp - udp connect "PING" { family = "inet", port = 45719, ip = "127.0.0.1" } "PING" { family = "inet", port = 45719, ip = "127.0.0.1" } "PING" { family = "inet", port = 45719, ip = "127.0.0.1" } "PING" { family = "inet", port = 45719, ip = "127.0.0.1" } "PING" { family = "inet", port = 45719, ip = "127.0.0.1" } "PING" { family = "inet", port = 45719, ip = "127.0.0.1" } "PING" { family = "inet", port = 45719, ip = "127.0.0.1" } "PING" { family = "inet", port = 45719, 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: 0xf79fbd84" "hello" uv_thread_t: 0xf79fbd84 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: 0xf78ad380 "closed" uv_timer_t: 0xf78ad380 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf78ad3e0 "closed" { } uv_timer_t: 0xf78ad3e0 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 { { family = "inet6", protocol = "tcp", port = 80, socktype = "stream", addr = "::1" }, { family = "inet", protocol = "tcp", port = 80, socktype = "stream", addr = "127.0.0.1" } } 2 ok 8 dns - Get all local http addresses { { family = "inet6", protocol = "tcp", port = 80, socktype = "stream", addr = "::1" }, { family = "inet", protocol = "tcp", port = 80, socktype = "stream", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { canonname = "luvit.io", family = "inet", protocol = "tcp", socktype = "stream", addr = "206.189.225.172" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { canonname = "luvit.io", family = "inet6", protocol = "tcp", socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001" }, { canonname = "luvit.io", family = "inet", protocol = "tcp", socktype = "stream", addr = "206.189.225.172" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for luvit.io { { canonname = "luvit.io", family = "inet6", protocol = "tcp", socktype = "stream", addr = "2604:a880:400:d0::1b9f:2001" }, { canonname = "luvit.io", family = "inet6", protocol = "udp", socktype = "dgram", addr = "2604:a880:400:d0::1b9f:2001" }, { canonname = "luvit.io", family = "inet", protocol = "tcp", socktype = "stream", addr = "206.189.225.172" }, { canonname = "luvit.io", family = "inet", protocol = "udp", socktype = "dgram", addr = "206.189.225.172" } } 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-3-20-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-3-20-armv7.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 25 } { stat = { birthtime = table: 0xf78b0cc0, nlink = 1, mode = 33188, gid = 1000, blocks = 16, blksize = 4096, ino = 97733959, atime = table: 0xf78af250, dev = 64769, gen = 0, rdev = 0, size = 6060, uid = 1000, mtime = table: 0xf79b6e00, type = "file", ctime = table: 0xf78b0c90, flags = 0 } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { birthtime = table: 0xf78b28b0, nlink = 1, mode = 33188, gid = 1000, blocks = 16, blksize = 4096, ino = 97733959, atime = table: 0xf78b1ad0, dev = 64769, gen = 0, rdev = 0, size = 6060, uid = 1000, mtime = table: 0xf78b2700, type = "file", ctime = table: 0xf78b2880, flags = 0 } } { 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 = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } uv_dir_t: 0xf78ec6d8 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { type = "file", name = "LICENSE.txt" } } { { type = "file", name = ".clangd" } } { { type = "directory", name = "build-static" } } { { type = "directory", name = "src" } } { { type = "file", name = "msvcbuild.bat" } } { { type = "file", name = ".gitignore" } } { { type = "file", name = ".editorconfig" } } { { type = "file", name = "Makefile" } } { { type = "file", name = ".gitmodules" } } { { type = "directory", name = "rockspecs" } } { { type = "directory", name = "lib" } } { { type = "file", name = ".clang-format" } } { { type = "directory", name = "examples" } } { { type = "directory", name = "cmake" } } { { type = "file", name = "README.md" } } { { type = "directory", name = "tests" } } { { type = "directory", name = "build-5.1" } } { { type = "file", name = "libluv.pc.in" } } { { type = "directory", name = ".ci" } } { { type = "file", name = "CMakeLists.txt" } } { { type = "directory", name = "deps" } } { { type = "file", name = "docs.md" } } { { type = "directory", name = ".github" } } { { type = "directory", name = "build-jit" } } { { type = "file", name = "appveyor.yml" } } { { type = "directory", name = "build-5.4" } } { { type = "file", name = "luv-scm-0.rockspec" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "build-static" }, { type = "directory", name = "src" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "Makefile" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "lib" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "examples" }, { type = "directory", name = "cmake" }, { type = "file", name = "README.md" }, { type = "directory", name = "tests" }, { type = "directory", name = "build-5.1" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = ".ci" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "deps" }, { type = "file", name = "docs.md" }, { type = "directory", name = ".github" }, { type = "directory", name = "build-jit" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "luv-scm-0.rockspec" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { type = "file", name = "LICENSE.txt" }, { type = "file", name = ".clangd" }, { type = "directory", name = "build-static" }, { type = "directory", name = "src" }, { type = "file", name = "msvcbuild.bat" }, { type = "file", name = ".gitignore" }, { type = "file", name = ".editorconfig" }, { type = "file", name = "Makefile" }, { type = "file", name = ".gitmodules" }, { type = "directory", name = "rockspecs" }, { type = "directory", name = "lib" }, { type = "file", name = ".clang-format" }, { type = "directory", name = "examples" }, { type = "directory", name = "cmake" }, { type = "file", name = "README.md" }, { type = "directory", name = "tests" }, { type = "directory", name = "build-5.1" }, { type = "file", name = "libluv.pc.in" }, { type = "directory", name = ".ci" }, { type = "file", name = "CMakeLists.txt" }, { type = "directory", name = "deps" }, { type = "file", name = "docs.md" }, { type = "directory", name = ".github" }, { type = "directory", name = "build-jit" }, { type = "file", name = "appveyor.yml" }, { type = "directory", name = "build-5.4" }, { type = "file", name = "luv-scm-0.rockspec" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { bfree = 111659488, bavail = 88272250, type = 61267, ffree = 107120892, bsize = 4096, files = 116916224, blocks = 460041184 } ok 41 fs - fs.statfs sync { bfree = 111659488, bavail = 88272250, type = 61267, ffree = 107120892, bsize = 4096, files = 116916224, blocks = 460041184 } 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.48.0", version = 77824 } ok 58 misc - uv.version and uv.version_string { available = 257640452096.0, constrained = 9.2233720368548e+18, total = 269266784256.0, rss = 1503232, free = 257640452096.0 } ok 59 misc - memory size { uptime = 9700885.66 } ok 60 misc - uv.uptime { nivcsw = 1, nvcsw = 64, stime = { sec = 0, usec = 293603 }, maxrss = 1740, utime = { sec = 0, usec = 344322 }, ixrss = 0, nsignals = 0, msgrcv = 0, msgsnd = 0, oublock = 64, idrss = 0, inblock = 0, nswap = 0, minflt = 621, majflt = 0, isrss = 0 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { model = "unknown", times = table: 0xf78b2100, speed = 0.0 }, { model = "unknown", times = table: 0xf78b2700, speed = 0.0 }, { model = "unknown", times = table: 0xf78b2910, speed = 0.0 }, { model = "unknown", times = table: 0xf78b29d0, speed = 0.0 }, { model = "unknown", times = table: 0xf78cea10, speed = 0.0 }, { model = "unknown", times = table: 0xf78b30c0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b3120, speed = 0.0 }, { model = "unknown", times = table: 0xf78cbce0, speed = 0.0 }, { model = "unknown", times = table: 0xf78ed860, speed = 0.0 }, { model = "unknown", times = table: 0xf78af490, speed = 0.0 }, { model = "unknown", times = table: 0xf78af550, speed = 0.0 }, { model = "unknown", times = table: 0xf78aefe0, speed = 0.0 }, { model = "unknown", times = table: 0xf78bf840, speed = 0.0 }, { model = "unknown", times = table: 0xf78bffc0, speed = 0.0 }, { model = "unknown", times = table: 0xf78c0050, speed = 0.0 }, { model = "unknown", times = table: 0xf78d9bd0, speed = 0.0 }, { model = "unknown", times = table: 0xf78afd30, speed = 0.0 }, { model = "unknown", times = table: 0xf78b1740, speed = 0.0 }, { model = "unknown", times = table: 0xf78b1950, speed = 0.0 }, { model = "unknown", times = table: 0xf78b28b0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b3ed0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b3f30, speed = 0.0 }, { model = "unknown", times = table: 0xf78b3f90, speed = 0.0 }, { model = "unknown", times = table: 0xf78b3ff0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4050, speed = 0.0 }, { model = "unknown", times = table: 0xf78b40b0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4110, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4170, speed = 0.0 }, { model = "unknown", times = table: 0xf78b41d0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4230, speed = 0.0 }, { model = "unknown", times = table: 0xf78b42c0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4320, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4380, speed = 0.0 }, { model = "unknown", times = table: 0xf78b43e0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4440, speed = 0.0 }, { model = "unknown", times = table: 0xf78b44a0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4500, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4560, speed = 0.0 }, { model = "unknown", times = table: 0xf78b45c0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4620, speed = 0.0 }, { model = "unknown", times = table: 0xf78b46b0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4710, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4770, speed = 0.0 }, { model = "unknown", times = table: 0xf78b47d0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4830, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4890, speed = 0.0 }, { model = "unknown", times = table: 0xf78b48f0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4950, speed = 0.0 }, { model = "unknown", times = table: 0xf78b49b0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4a10, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4aa0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4b00, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4b60, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4bc0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4c20, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4c80, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4ce0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4d40, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4da0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4e00, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4e90, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4ef0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4f50, speed = 0.0 }, { model = "unknown", times = table: 0xf78b4fb0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5010, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5070, speed = 0.0 }, { model = "unknown", times = table: 0xf78b50d0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5130, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5190, speed = 0.0 }, { model = "unknown", times = table: 0xf78b51f0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5280, speed = 0.0 }, { model = "unknown", times = table: 0xf78b52e0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5340, speed = 0.0 }, { model = "unknown", times = table: 0xf78b53a0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5400, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5460, speed = 0.0 }, { model = "unknown", times = table: 0xf78b54c0, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5520, speed = 0.0 }, { model = "unknown", times = table: 0xf78b5580, speed = 0.0 }, { model = "unknown", times = table: 0xf78b55e0, speed = 0.0 } } ok 63 misc - uv.cpu_info "lo" { { ip = "127.0.0.1", mac = "\0\0\0\0\0\0", family = "inet", internal = true, netmask = "255.0.0.0" }, { ip = "::1", mac = "\0\0\0\0\0\0", family = "inet6", internal = true, netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff" } } "eth0" { { ip = "172.16.27.142", mac = "\0>…/E", family = "inet", internal = false, netmask = "255.255.255.0" }, { ip = "2a02:168:a077:701:216:3eff:fe85:2f45", mac = "\0>…/E", family = "inet6", internal = false, netmask = "ffff:ffff:ffff:ffff::" }, { ip = "fe80::216:3eff:fe85:2f45", mac = "\0>…/E", family = "inet6", internal = false, netmask = "ffff:ffff:ffff:ffff::" } } ok 64 misc - uv.interface_addresses { 6.09, 4.49, 2.53 } 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 { uid = 1000, homedir = "/home/buildozer", gid = 1000, username = "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 9.7008856656285e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { sysname = "Linux", release = "6.1.34-1-lts", machine = "armv8l", version = "#2-Alpine SMP Thu, 15 Jun 2023 03:51:44 +0000" } ok 73 misc - uv.os_uname os.time 1713909867 uv.gettimeofday 1713909867.000092 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 = 9700886, nsec = 668795815 } nil "realtime" { sec = 9700886, nsec = 668814215 } 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: 0xf78ac720 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf78bf020 "timeout" uv_timer_t: 0xf78ad5c0 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf78ced70 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { pid = 47236, handle = uv_process_t: 0xf78a30f0 } "stdout" { chunk = "Hello World\n" } "exit" { signal = 0, code = 0 } ok 92 process - process stdout { pid = 47237, handle = uv_process_t: 0xf78a35a0 } "exit" uv_process_t: 0xf78a35a0 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { pid = 47238, handle = uv_process_t: 0xf78aab30 } "exit" uv_process_t: 0xf78aab30 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { pid = 47240, handle = uv_process_t: 0xf78a3370 } "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, code = 0, pid = 47242 } ok 100 signal - Catch SIGINT { address = { ip = "127.0.0.1", port = 36995, family = "inet" }, server = uv_tcp_t: 0xf78ab910 } { req = uv_connect_t: 0xf78b81e8, client = uv_tcp_t: 0xf78abb50 } "server on connection" uv_tcp_t: 0xf78ab910 "client on connect" uv_tcp_t: 0xf78abb50 nil "client on shutdown" uv_tcp_t: 0xf78abb50 nil "client on close" uv_tcp_t: 0xf78abb50 ok 101 tcp - basic tcp server and client (ipv4) { address = { ip = "::1", port = 44323, family = "inet6" }, server = uv_tcp_t: 0xf78b7880 } { req = uv_connect_t: 0xf78ad838, client = uv_tcp_t: 0xf78c0bc0 } "server on connection" uv_tcp_t: 0xf78b7880 "client on connect" uv_tcp_t: 0xf78c0bc0 nil "client on shutdown" uv_tcp_t: 0xf78c0bc0 nil "client on close" uv_tcp_t: 0xf78c0bc0 ok 102 tcp - basic tcp server and client (ipv6) { address = { ip = "127.0.0.1", port = 41753, family = "inet" }, server = uv_tcp_t: 0xf78abd00 } { socket = uv_tcp_t: 0xf78abeb0, req = uv_write_t: 0xf78b78a8 } "client onwrite" uv_tcp_t: 0xf78abeb0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { ip = "127.0.0.1", port = 38781, family = "inet" }, server = uv_tcp_t: 0xf78abc70 } { socket = uv_tcp_t: 0xf78c0bc0, req = uv_write_t: 0xf78b78a8 } "client onwrite" uv_tcp_t: 0xf78c0bc0 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 = { ip = "127.0.0.1", port = 39005, family = "inet" }, server = uv_tcp_t: 0xf78b7880 } { socket = uv_tcp_t: 0xf78c0bc0, req = uv_write_t: 0xf78ab938 } "client onwrite" uv_tcp_t: 0xf78c0bc0 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { ip = "127.0.0.1", port = 45081, family = "inet" }, server = uv_tcp_t: 0xf78b77f0 } { socket = uv_tcp_t: 0xf78b7c70, req = uv_write_t: 0xf78ab8a8 } "client onwrite" uv_tcp_t: 0xf78b7c70 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { ip = "127.0.0.1", port = 39887, family = "inet" }, server = uv_tcp_t: 0xf78abeb0 } { socket = uv_tcp_t: 0xf78b7880, req = uv_write_t: 0xf78c0be8 } "client onwrite" uv_tcp_t: 0xf78b7880 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { ip = "127.0.0.1", port = 45105, family = "inet" }, server = uv_tcp_t: 0xf78abe20 } { socket = uv_tcp_t: 0xf78b7880, req = uv_write_t: 0xf78c0be8 } "client onwrite" uv_tcp_t: 0xf78b7880 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: 0xf5895d84 { elapsed = 101, delay = 100 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7a60f34 Runing uv_thread_t: 0xf7a60f34 { elapsed = 100, delay = 100 } ok 113 thread - test thread sleep msecs in main thread { elapsed = 100, delay = 100 } 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: 0xf78ada50 "closed" uv_timer_t: 0xf78ada50 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf78adab0 "interval" uv_timer_t: 0xf78adab0 "interval" uv_timer_t: 0xf78adab0 "closed" uv_timer_t: 0xf78adab0 ok 120 timer - simple interval "interval" uv_timer_t: 0xf78ad380 "timeout" uv_timer_t: 0xf78ad320 "interval" uv_timer_t: 0xf78ad380 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf78ad3e0 0 "interval" uv_timer_t: 0xf78ad3e0 8 "interval" uv_timer_t: 0xf78ad3e0 4 "interval" uv_timer_t: 0xf78ad3e0 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf78ad440 0 "interval" uv_timer_t: 0xf78ad440 8 "interval" uv_timer_t: 0xf78ad440 4 "interval" uv_timer_t: 0xf78ad440 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0x79af40 } { req = 0, client = uv_udp_t: 0xf78aed70 } "client on send" uv_udp_t: 0xf78aed70 nil "server on recv" uv_udp_t: 0x79af40 "PING" { ip = "127.0.0.1", port = 35151, family = "inet" } { } "server on close" uv_udp_t: 0x79af40 "client on close" uv_udp_t: 0xf78aed70 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0xf78aedf0 } { req = 0, client = uv_udp_t: 0xf78aee70 } "client on send" uv_udp_t: 0xf78aee70 nil "server on recv" uv_udp_t: 0xf78aedf0 "PING" { ip = "127.0.0.1", port = 50723, family = "inet" } { } "server on close" uv_udp_t: 0xf78aedf0 "client on close" uv_udp_t: 0xf78aee70 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf78aed70 } { req = 0, client = uv_udp_t: 0xf78aeef0 } "client on send" uv_udp_t: 0xf78aeef0 nil "server on recv" uv_udp_t: 0xf78aed70 "PING" { ip = "::1", port = 48648, family = "inet6" } { } "server on close" uv_udp_t: 0xf78aed70 "client on close" uv_udp_t: 0xf78aeef0 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: 0xf78aed70 } { ip = "127.0.0.1", port = 9123, family = "inet" } "server on recv" uv_udp_t: 0xf78aed70 "PING" { ip = "127.0.0.1", port = 46720, family = "inet" } { } "server on recv" uv_udp_t: 0xf78aed70 "PING" { ip = "127.0.0.1", port = 38840, family = "inet" } { } "server on recv" uv_udp_t: 0xf78aed70 "PING" { ip = "127.0.0.1", port = 38840, family = "inet" } { } "server on recv" uv_udp_t: 0xf78aed70 nil nil { } "server on recv" uv_udp_t: 0xf78aed70 "PING" { ip = "127.0.0.1", port = 50443, family = "inet" } { } "client on close" uv_udp_t: 0xf78aee70 "server on close" uv_udp_t: 0xf78aed70 ok 130 udp - udp connect "PING" { ip = "127.0.0.1", port = 47036, family = "inet" } "PING" { ip = "127.0.0.1", port = 47036, family = "inet" } "PING" { ip = "127.0.0.1", port = 47036, family = "inet" } "PING" { ip = "127.0.0.1", port = 47036, family = "inet" } "PING" { ip = "127.0.0.1", port = 47036, family = "inet" } "PING" { ip = "127.0.0.1", port = 47036, family = "inet" } "PING" { ip = "127.0.0.1", port = 47036, family = "inet" } "PING" { ip = "127.0.0.1", port = 47036, family = "inet" } 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: 0xf6098d84" "hello" uv_thread_t: 0xf6098d84 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: 0xf7dd9830 "closed" uv_timer_t: 0xf7dd9830 ok 2 callbacks - luv_handle_t: function "timeout" { } uv_timer_t: 0xf7d56c80 "closed" { } uv_timer_t: 0xf7d56c80 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", socktype = "stream", protocol = "tcp", family = "inet6", port = 80 }, { addr = "127.0.0.1", socktype = "stream", protocol = "tcp", family = "inet", port = 80 } } 2 ok 8 dns - Get all local http addresses { { protocol = "tcp", port = 80, socktype = "stream", family = "inet6", addr = "::1" }, { protocol = "tcp", port = 80, socktype = "stream", family = "inet", addr = "127.0.0.1" } } 2 ok 9 dns - Get all local http addresses sync { { addr = "206.189.225.172", socktype = "stream", protocol = "tcp", family = "inet", canonname = "luvit.io" } } 1 ok 10 dns - Get only ipv4 tcp adresses for luvit.io { { protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet6", addr = "2604:a880:400:d0::1b9f:2001" }, { protocol = "tcp", canonname = "luvit.io", socktype = "stream", family = "inet", addr = "206.189.225.172" } } 2 ok 11 dns - Get ipv4 and ipv6 tcp adresses for 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", 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" } } 4 ok 12 dns - Get all adresses for luvit.io { hostname = "0.0.0.0", service = "0" } ok 13 dns - Lookup local ipv4 address { service = "0", hostname = "0.0.0.0" } ok 14 dns - Lookup local ipv4 address sync { hostname = "build-3-20-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-3-20-armv7.local", service = "0" } ok 17 dns - Lookup local ::1 ipv6 address { hostname = "::", service = "http" } ok 18 dns - Lookup local port 80 service { fd = 25 } { stat = { size = 6060, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 97733959, blksize = 4096, blocks = 16, flags = 0, gen = 0, atime = table: 0xf7d3e950, mtime = table: 0xf7d3e6d8, ctime = table: 0xf7ce36b0, birthtime = table: 0xf7d4c410, type = "file" } } ok 19 fs - read a file sync ok 20 fs - read a file sync in chunks { fd = 25 } { stat = { flags = 0, gen = 0, atime = table: 0xf7cbe538, mtime = table: 0xf7d46e78, size = 6060, birthtime = table: 0xf7ce8790, type = "file", ctime = table: 0xf7ce3230, dev = 64769, mode = 33188, nlink = 1, uid = 1000, gid = 1000, rdev = 0, ino = 97733959, blksize = 4096, 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 { 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 { 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 = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } ok 35 fs - fs.{open,read,close}dir object sync #1 { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } uv_dir_t: 0xf7cb0f58 closed ok 36 fs - fs.{open,read,close}dir object sync #2 { { name = "LICENSE.txt", type = "file" } } { { name = ".clangd", type = "file" } } { { name = "build-static", type = "directory" } } { { name = "src", type = "directory" } } { { name = "msvcbuild.bat", type = "file" } } { { name = ".gitignore", type = "file" } } { { name = ".editorconfig", type = "file" } } { { name = "Makefile", type = "file" } } { { name = ".gitmodules", type = "file" } } { { name = "rockspecs", type = "directory" } } { { name = "lib", type = "directory" } } { { name = ".clang-format", type = "file" } } { { name = "examples", type = "directory" } } { { name = "cmake", type = "directory" } } { { name = "README.md", type = "file" } } { { name = "tests", type = "directory" } } { { name = "build-5.1", type = "directory" } } { { name = "libluv.pc.in", type = "file" } } { { name = ".ci", type = "directory" } } { { name = "CMakeLists.txt", type = "file" } } { { name = "deps", type = "directory" } } { { name = "docs.md", type = "file" } } { { name = ".github", type = "directory" } } { { name = "build-jit", type = "directory" } } { { name = "appveyor.yml", type = "file" } } { { name = "build-5.4", type = "directory" } } { { name = "luv-scm-0.rockspec", type = "file" } } ok 37 fs - fs.{open,read,close}dir sync one entry { { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "src", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "Makefile", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "examples", type = "directory" }, { name = "cmake", type = "directory" }, { name = "README.md", type = "file" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".ci", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "deps", type = "directory" }, { name = "docs.md", type = "file" }, { name = ".github", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" } } ok 38 fs - fs.{open,read,close}dir sync more entry { { name = "LICENSE.txt", type = "file" }, { name = ".clangd", type = "file" }, { name = "build-static", type = "directory" }, { name = "src", type = "directory" }, { name = "msvcbuild.bat", type = "file" }, { name = ".gitignore", type = "file" }, { name = ".editorconfig", type = "file" }, { name = "Makefile", type = "file" }, { name = ".gitmodules", type = "file" }, { name = "rockspecs", type = "directory" }, { name = "lib", type = "directory" }, { name = ".clang-format", type = "file" }, { name = "examples", type = "directory" }, { name = "cmake", type = "directory" }, { name = "README.md", type = "file" }, { name = "tests", type = "directory" }, { name = "build-5.1", type = "directory" }, { name = "libluv.pc.in", type = "file" }, { name = ".ci", type = "directory" }, { name = "CMakeLists.txt", type = "file" }, { name = "deps", type = "directory" }, { name = "docs.md", type = "file" }, { name = ".github", type = "directory" }, { name = "build-jit", type = "directory" }, { name = "appveyor.yml", type = "file" }, { name = "build-5.4", type = "directory" }, { name = "luv-scm-0.rockspec", type = "file" } } ok 39 fs - fs.{open,read,close}dir with more entry ok 40 fs - fs.opendir and fs.closedir in a loop { ffree = 107120883, files = 116916224, bavail = 88272168, bsize = 4096, blocks = 460041184, bfree = 111659406, type = 61267 } ok 41 fs - fs.statfs sync { ffree = 107120883, files = 116916224, bsize = 4096, blocks = 460041184, bfree = 111659406, bavail = 88272168, type = 61267 } 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" { [0] = "file", [1] = "file", [2] = "file" } ok 57 misc - uv.guess_handle { version = 77824, version_string = "1.48.0" } ok 58 misc - uv.version and uv.version_string { rss = 1867776, total = 269266784256, constrained = 9.2233720368548e+18, available = 257554014208, free = 257554014208 } ok 59 misc - memory size { uptime = 9700894.06 } ok 60 misc - uv.uptime { ixrss = 0, idrss = 0, isrss = 0, minflt = 440, majflt = 0, nswap = 0, inblock = 0, oublock = 72, msgsnd = 0, msgrcv = 0, nsignals = 0, nvcsw = 63, nivcsw = 1, utime = { usec = 366805, sec = 0 }, stime = { usec = 282611, sec = 0 }, maxrss = 1824 } ok 61 misc - uv.getrusage 80 ok 62 misc - uv.available_parallelism { { times = table: 0xf7cb5ad0, model = "unknown", speed = 0 }, { times = table: 0xf7ce4a90, model = "unknown", speed = 0 }, { times = table: 0xf7d47530, model = "unknown", speed = 0 }, { times = table: 0xf7d3e6d8, model = "unknown", speed = 0 }, { times = table: 0xf7cd1bc0, model = "unknown", speed = 0 }, { times = table: 0xf7cd2280, model = "unknown", speed = 0 }, { times = table: 0xf7cbc468, model = "unknown", speed = 0 }, { times = table: 0xf7d359b0, model = "unknown", speed = 0 }, { times = table: 0xf7cd4608, model = "unknown", speed = 0 }, { times = table: 0xf7ce6108, model = "unknown", speed = 0 }, { times = table: 0xf7cd0ab0, model = "unknown", speed = 0 }, { times = table: 0xf7cbe600, model = "unknown", speed = 0 }, { times = table: 0xf7ce3230, model = "unknown", speed = 0 }, { times = table: 0xf7d36568, model = "unknown", speed = 0 }, { times = table: 0xf7cbe100, model = "unknown", speed = 0 }, { times = table: 0xf7ce8b00, model = "unknown", speed = 0 }, { times = table: 0xf7d3e580, model = "unknown", speed = 0 }, { times = table: 0xf7cecee0, model = "unknown", speed = 0 }, { times = table: 0xf7cdccf8, model = "unknown", speed = 0 }, { times = table: 0xf7cbe390, model = "unknown", speed = 0 }, { times = table: 0xf7cd21a8, model = "unknown", speed = 0 }, { times = table: 0xf7cbc958, model = "unknown", speed = 0 }, { times = table: 0xf7cbbc00, model = "unknown", speed = 0 }, { times = table: 0xf7ce4c40, model = "unknown", speed = 0 }, { times = table: 0xf7cb19e8, model = "unknown", speed = 0 }, { times = table: 0xf7cbae48, model = "unknown", speed = 0 }, { times = table: 0xf7ce2df0, model = "unknown", speed = 0 }, { times = table: 0xf7cdcb18, model = "unknown", speed = 0 }, { times = table: 0xf7d4c358, model = "unknown", speed = 0 }, { times = table: 0xf7d46df8, model = "unknown", speed = 0 }, { times = table: 0xf7cb4860, model = "unknown", speed = 0 }, { times = table: 0xf7ce50c8, model = "unknown", speed = 0 }, { times = table: 0xf7d4c658, model = "unknown", speed = 0 }, { times = table: 0xf7cd1820, model = "unknown", speed = 0 }, { times = table: 0xf7cc2918, model = "unknown", speed = 0 }, { times = table: 0xf7ce4dd8, model = "unknown", speed = 0 }, { times = table: 0xf7ce7950, model = "unknown", speed = 0 }, { times = table: 0xf7cd3e58, model = "unknown", speed = 0 }, { times = table: 0xf7cdaa30, model = "unknown", speed = 0 }, { times = table: 0xf7cd1348, model = "unknown", speed = 0 }, { times = table: 0xf7cd3bc8, model = "unknown", speed = 0 }, { times = table: 0xf7caf160, model = "unknown", speed = 0 }, { times = table: 0xf7cdbcc8, model = "unknown", speed = 0 }, { times = table: 0xf7cea590, model = "unknown", speed = 0 }, { times = table: 0xf7cb0aa8, model = "unknown", speed = 0 }, { times = table: 0xf7cd8220, model = "unknown", speed = 0 }, { times = table: 0xf7ce7c08, model = "unknown", speed = 0 }, { times = table: 0xf7ce63a0, model = "unknown", speed = 0 }, { times = table: 0xf7cd99c0, model = "unknown", speed = 0 }, { times = table: 0xf7cc2228, model = "unknown", speed = 0 }, { times = table: 0xf7cb6920, model = "unknown", speed = 0 }, { times = table: 0xf7cbd778, model = "unknown", speed = 0 }, { times = table: 0xf7cb5e58, model = "unknown", speed = 0 }, { times = table: 0xf7cc3308, model = "unknown", speed = 0 }, { times = table: 0xf7cc22b8, model = "unknown", speed = 0 }, { times = table: 0xf7ce3098, model = "unknown", speed = 0 }, { times = table: 0xf7cc19e0, model = "unknown", speed = 0 }, { times = table: 0xf7cdb890, model = "unknown", speed = 0 }, { times = table: 0xf7cb1850, model = "unknown", speed = 0 }, { times = table: 0xf7cb9cd0, model = "unknown", speed = 0 }, { times = table: 0xf7cb9e50, model = "unknown", speed = 0 }, { times = table: 0xf7cb3f98, model = "unknown", speed = 0 }, { times = table: 0xf7cb4118, model = "unknown", speed = 0 }, { times = table: 0xf7cde6c8, model = "unknown", speed = 0 }, { times = table: 0xf7cde848, model = "unknown", speed = 0 }, { times = table: 0xf7cee7b0, model = "unknown", speed = 0 }, { times = table: 0xf7cee930, model = "unknown", speed = 0 }, { times = table: 0xf7cbced8, model = "unknown", speed = 0 }, { times = table: 0xf7d4b600, model = "unknown", speed = 0 }, { times = table: 0xf7cd6e48, model = "unknown", speed = 0 }, { times = table: 0xf7cd6fc8, model = "unknown", speed = 0 }, { times = table: 0xf7cd9400, model = "unknown", speed = 0 }, { times = table: 0xf7cd9580, model = "unknown", speed = 0 }, { times = table: 0xf7ce92c8, model = "unknown", speed = 0 }, { times = table: 0xf7ce9448, model = "unknown", speed = 0 }, { times = table: 0xf7d381d8, model = "unknown", speed = 0 }, { times = table: 0xf7d38358, model = "unknown", speed = 0 }, { times = table: 0xf7d379d0, model = "unknown", speed = 0 }, { times = table: 0xf7d37b50, model = "unknown", speed = 0 }, { times = table: 0xf7ce8d70, model = "unknown", speed = 0 } } ok 63 misc - uv.cpu_info "lo" { { mac = "\0\0\0\0\0\0", netmask = "255.0.0.0", family = "inet", ip = "127.0.0.1", internal = true }, { mac = "\0\0\0\0\0\0", netmask = "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff", family = "inet6", ip = "::1", internal = true } } "eth0" { { mac = "\0>…/E", netmask = "255.255.255.0", family = "inet", ip = "172.16.27.142", internal = false }, { mac = "\0>…/E", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", ip = "2a02:168:a077:701:216:3eff:fe85:2f45", internal = false }, { mac = "\0>…/E", netmask = "ffff:ffff:ffff:ffff::", family = "inet6", ip = "fe80::216:3eff:fe85:2f45", internal = false } } ok 64 misc - uv.interface_addresses { 5.38, 4.39, 2.51 } 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 { shell = "/bin/sh", homedir = "/home/buildozer", username = "buildozer", uid = 1000, gid = 1000 } 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 9.7008940739281e+15 ok 71 misc - uv.hrtime ok 72 misc - uv.getpid { sysname = "Linux", machine = "armv8l", release = "6.1.34-1-lts", version = "#2-Alpine SMP Thu, 15 Jun 2023 03:51:44 +0000" } ok 73 misc - uv.os_uname os.time 1713909875 uv.gettimeofday 1713909875.000501 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 = 79973262, sec = 9700895 } nil "realtime" { nsec = 79985782, sec = 9700895 } 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: 0xf7dd9d10 ok 87 prepare-check-idle-async - simple prepare "check" uv_check_t: 0xf7dd9d10 "timeout" uv_timer_t: 0xf7d56100 ok 88 prepare-check-idle-async - simple check "idle" uv_idle_t: 0xf7dd9d10 ok 89 prepare-check-idle-async - simple idle ok 90 prepare-check-idle-async - simple async ok 91 process - test disable_stdio_inheritance { pid = 47255, handle = uv_process_t: 0xf7d561c0 } "stdout" { chunk = "Hello World\n" } "exit" { code = 0, signal = 0 } ok 92 process - process stdout { pid = 47256, handle = uv_process_t: 0xf7d56220 } "exit" uv_process_t: 0xf7d56220 { status = 0, signal = 2 } ok 93 process - spawn and kill by pid { pid = 47257, handle = uv_process_t: 0xf7d56110 } "exit" uv_process_t: 0xf7d56110 { status = 0, signal = 15 } ok 94 process - spawn and kill by handle ok 95 process - invalid command { pid = 47259, handle = uv_process_t: 0xf7d561d0 } "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 = 47261, code = 0, signal = 0 } ok 100 signal - Catch SIGINT { address = { family = "inet", port = 41121, ip = "127.0.0.1" }, server = uv_tcp_t: 0x00727c60 } { client = uv_tcp_t: 0xf7d56690, req = uv_connect_t: 0xf7cb1758 } "server on connection" uv_tcp_t: 0x00727c60 "client on connect" uv_tcp_t: 0xf7d56690 nil "client on shutdown" uv_tcp_t: 0xf7d56690 nil "client on close" uv_tcp_t: 0xf7d56690 ok 101 tcp - basic tcp server and client (ipv4) { address = { family = "inet6", port = 38849, ip = "::1" }, server = uv_tcp_t: 0x00727c70 } { client = uv_tcp_t: 0xf7d56680, req = uv_connect_t: 0xf7cb1758 } "server on connection" uv_tcp_t: 0x00727c70 "client on connect" uv_tcp_t: 0xf7d56680 nil "client on shutdown" uv_tcp_t: 0xf7d56680 nil "client on close" uv_tcp_t: 0xf7d56680 ok 102 tcp - basic tcp server and client (ipv6) { address = { family = "inet", port = 41019, ip = "127.0.0.1" }, server = uv_tcp_t: 0x00727c60 } { req = uv_write_t: 0xf7cdc9c8, socket = uv_tcp_t: 0xf7d56690 } "client onwrite" uv_tcp_t: 0xf7d56690 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 103 tcp - tcp echo server and client { address = { family = "inet", port = 40445, ip = "127.0.0.1" }, server = uv_tcp_t: 0x00727c70 } { req = uv_write_t: 0xf7cda6c8, socket = uv_tcp_t: 0xf7d56680 } "client onwrite" uv_tcp_t: 0xf7d56680 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 = 46409, ip = "127.0.0.1" }, server = uv_tcp_t: 0x00727c70 } { req = uv_write_t: 0xf7cdc9c8, socket = uv_tcp_t: 0xf7d56690 } "client onwrite" uv_tcp_t: 0xf7d56690 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { err = "ECONNRESET" } ok 106 tcp - tcp close reset client { address = { family = "inet", port = 45181, ip = "127.0.0.1" }, server = uv_tcp_t: 0x00727c60 } { req = uv_write_t: 0xf7cdc9c8, socket = uv_tcp_t: 0xf7d56680 } "client onwrite" uv_tcp_t: 0xf7d56680 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "server read" { } ok 107 tcp - tcp close reset after shutdown { address = { family = "inet", port = 32829, ip = "127.0.0.1" }, server = uv_tcp_t: 0x00727c70 } { req = uv_write_t: 0xf7cdc9c8, socket = uv_tcp_t: 0xf7d56690 } "client onwrite" uv_tcp_t: 0xf7d56690 nil "server read" { data = "Hello" } "client read" { data = "Hello" } "client read" { } ok 108 tcp - tcp close reset accepted { address = { family = "inet", port = 44511, ip = "127.0.0.1" }, server = uv_tcp_t: 0x00727c60 } { req = uv_write_t: 0xf7cdc9c8, socket = uv_tcp_t: 0xf7d56680 } "client onwrite" uv_tcp_t: 0xf7d56680 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: 0xf5c60d84 { delay = 100, elapsed = 101 } ok 111 thread - test thread create ok 112 thread - test thread create with arguments Runing uv_thread_t: 0xf7ddbf34 Runing uv_thread_t: 0xf7ddbf34 { 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: 0xf7d56220 "closed" uv_timer_t: 0xf7d56220 ok 119 timer - simple timeout "interval" uv_timer_t: 0xf7d56100 "interval" uv_timer_t: 0xf7d56100 "interval" uv_timer_t: 0xf7d56100 "closed" uv_timer_t: 0xf7d56100 ok 120 timer - simple interval "interval" uv_timer_t: 0xf7d561c0 "timeout" uv_timer_t: 0xf7d56160 "interval" uv_timer_t: 0xf7d561c0 ok 121 timer - timeout with interval "interval" uv_timer_t: 0xf7d56220 0 "interval" uv_timer_t: 0xf7d56220 8 "interval" uv_timer_t: 0xf7d56220 4 "interval" uv_timer_t: 0xf7d56220 2 ok 122 timer - shrinking interval "interval" uv_timer_t: 0xf7d56100 0 "interval" uv_timer_t: 0xf7d56100 8 "interval" uv_timer_t: 0xf7d56100 4 "interval" uv_timer_t: 0xf7d56100 2 ok 123 timer - shrinking interval using methods ok 124 timer - timer init ok 125 timer - timer huge timeout { server = uv_udp_t: 0xf7dd9030 } { client = uv_udp_t: 0xf7dd90b0, req = 0 } "client on send" uv_udp_t: 0xf7dd90b0 nil "server on recv" uv_udp_t: 0xf7dd9030 "PING" { family = "inet", port = 37368, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0xf7dd9030 "client on close" uv_udp_t: 0xf7dd90b0 ok 126 udp - basic udp server and client (ipv4) { server = uv_udp_t: 0x00727130 } { client = uv_udp_t: 0x007271b0, req = 0 } "client on send" uv_udp_t: 0x007271b0 nil "server on recv" uv_udp_t: 0x00727130 "PING" { family = "inet", port = 44275, ip = "127.0.0.1" } { } "server on close" uv_udp_t: 0x00727130 "client on close" uv_udp_t: 0x007271b0 ok 127 udp - basic udp send from table { server = uv_udp_t: 0xf7dd9030 } { client = uv_udp_t: 0xf7dd90b0, req = 0 } "client on send" uv_udp_t: 0xf7dd90b0 nil "server on recv" uv_udp_t: 0xf7dd9030 "PING" { family = "inet6", port = 36649, ip = "::1" } { } "server on close" uv_udp_t: 0xf7dd9030 "client on close" uv_udp_t: 0xf7dd90b0 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: 0xf7dd9030 } { family = "inet", port = 9123, ip = "127.0.0.1" } "server on recv" uv_udp_t: 0xf7dd9030 "PING" { family = "inet", port = 42401, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dd9030 "PING" { family = "inet", port = 38463, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dd9030 "PING" { family = "inet", port = 38463, ip = "127.0.0.1" } { } "server on recv" uv_udp_t: 0xf7dd9030 nil nil { } "server on recv" uv_udp_t: 0xf7dd9030 "PING" { family = "inet", port = 39392, ip = "127.0.0.1" } { } "client on close" uv_udp_t: 0xf7dd90b0 "server on close" uv_udp_t: 0xf7dd9030 ok 130 udp - udp connect "PING" { family = "inet", port = 56972, ip = "127.0.0.1" } "PING" { family = "inet", port = 56972, ip = "127.0.0.1" } "PING" { family = "inet", port = 56972, ip = "127.0.0.1" } "PING" { family = "inet", port = 56972, ip = "127.0.0.1" } "PING" { family = "inet", port = 56972, ip = "127.0.0.1" } "PING" { family = "inet", port = 56972, ip = "127.0.0.1" } "PING" { family = "inet", port = 56972, ip = "127.0.0.1" } "PING" { family = "inet", port = 56972, 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: 0xf64a5d84" "hello" uv_thread_t: 0xf64a5d84 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 0xf7d1eff5 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: 120.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: 176.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: 148.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 Tue, 23 Apr 2024 22:04:41 +0000 elapsed time 0h 0m 51s >>> lua-luv: Cleaning up srcdir >>> lua-luv: Cleaning up pkgdir >>> lua-luv: Uninstalling dependencies... (1/19) Purging .makedepends-lua-luv (20240423.220402) (2/19) Purging cmake (3.29.2-r1) (3/19) Purging libuv-dev (1.48.0-r0) (4/19) Purging libuv (1.48.0-r0) (5/19) Purging lua-compat53-dev (0.13-r0) (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-r13) (9/19) Purging lua5.1 (5.1.5-r13) (10/19) Purging lua5.1-libs (5.1.5-r13) (11/19) Purging lua5.4-dev (5.4.6-r1) (12/19) Purging lua5.4 (5.4.6-r1) (13/19) Purging lua5.4-libs (5.4.6-r1) (14/19) Purging libarchive (3.7.3-r0) (15/19) Purging libbz2 (1.0.8-r6) (16/19) Purging readline (8.2.10-r0) (17/19) Purging rhash-libs (1.4.4-r0) (18/19) Purging samurai (1.2-r5) (19/19) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r25.trigger OK: 454 MiB in 105 packages >>> lua-luv: Updating the community/armv7 repository index... >>> lua-luv: Signing the index...